firmware icon indicating copy to clipboard operation
firmware copied to clipboard

T go embed cc1101 buggy RF SPECTRUM

Open realdaveblanch opened this issue 1 year ago • 13 comments

Describe the bug:

Brand new (ver 1.8.1) after boot, click RF, SPECTRUM, after 1sec it reboots the device Steps To Reproduce:

  • Device used: Lily go t embed cc1101

  • Click RF -Click Scpectrum

Expected behavior:

  • Show actual spectrum

Actual behavior:

  • Reboots the device (can't show logs right now) (will provide if needed)

Additional context / logs:

realdaveblanch avatar Jan 22 '25 00:01 realdaveblanch

Logs are important in this case

bmorcelli avatar Jan 22 '25 00:01 bmorcelli

Tried... Won't show as serial interface on Debian, only shows as hid device when using clicker feature, will try tomorrow on Windows

realdaveblanch avatar Jan 22 '25 01:01 realdaveblanch

Logs are important in this case

Selected: Read tag [ 25938][W][Wire.cpp:301] begin(): Bus already started in Master Mode. [ 25945][W][Wire.cpp:301] begin(): Bus already started in Master Mode. [ 35937][V][esp32-hal-ledc.c:231] analogWrite(): GPIO 21 - Using Channel 7, Value = 13 [ 39535][V][esp32-hal-ledc.c:231] analogWrite(): GPIO 21 - Using Channel 7, Value = 255 Selected: Spectrum cc1101 Connection OK cc1101 setMHZ(frequency); cc1101 SetRx(); ESP_ERROR_CHECK failed: esp_err_t 0x105 (ESP_ERR_NOT_FOUND) at 0x40382a74 file: "src/modules/rf/rf.cpp" line 72 func: void initRMT() expression: rmt_driver_install(rxconfig.channel, 2048, 0)

abort() was called at PC 0x40382a77 on core 1

Backtrace: 0x403790ae:0x3fceb7c0 0x40382a81:0x3fceb7e0 0x40389389:0x3fceb800 0x40382a77:0x3fceb880 0x42054315:0x3fceb8a0 0x42056c62:0x3fceb8f0 0x4201565f:0x3fceb930 0x4200e585:0x3fceb950 0x42015af6:0x3fceb9c0 0x4225f4b9:0x3fcebc90 0x42031b11:0x3fcebcb0 0x421285ec:0x3fcebd60

ELF file SHA256: 91d746726a624cc2

Rebooting... ESP-ROM:esp32s3-20210327 Build:Mar 27 2021 rst:0xc (RTC_SW_CPU_RST),boot:0x8 (SPI_FAST_FLASH_BOOT) Saved PC:0x42128fa7 SPIWP:0xee mode:DIO, clock div:1 load:0x3fce3808,len:0x4bc load:0x403c9700,len:0xbd8 load:0x403cc700,len:0x2a0c entry 0x403c98d0 [ 613][D][esp32-hal-tinyusb.c:680] tinyusb_enable_interface(): Interface HID enabled [ 621][D][USBHID.cpp:61] tinyusb_enable_hid_device(): Device[0] len: 79 [ 627][D][USBHID.cpp:61] tinyusb_enable_hid_device(): Device[1] len: 67 E (651) esp_ota_ops: not found otadata [ 652][I][esp32-hal-psram.c:96] psramInit(): PSRAM enabled [ 667][D][main.cpp:298] setup(): Total heap: 245504 [ 672][D][main.cpp:299] setup(): Free heap: 211268 [ 677][D][main.cpp:300] setup(): PSRAM Started [ 681][D][main.cpp:301] setup(): PSRAM Found [ 685][D][main.cpp:303] setup(): Total PSRAM: 8386215 [ 690][D][main.cpp:304] setup(): Free PSRAM: 8381855 [ 695][I][esp32-hal-i2c.c:75] i2cInit(): Initialising I2C Master: sda=8 scl=18 freq=100000 [ 704][I][XPowersCommon.tpp:445] begin(): SDA:8 SCL:18 [ 709][W][Wire.cpp:301] begin(): Bus already started in Master Mode. getInputCurrentLimit: 3250 mA getChargerConstantCurr: 832 mA [ 1302][W][sd_diskio.cpp:174] sdCommand(): no token received [ 1408][W][sd_diskio.cpp:174] sdCommand(): no token received [ 1514][W][sd_diskio.cpp:174] sdCommand(): no token received [ 1620][E][sd_diskio.cpp:199] sdCommand(): Card Failed! cmd: 0x00 [ 1626][W][sd_diskio.cpp:516] ff_sd_initialize(): GO_IDLE_STATE failed [ 1632][E][sd_diskio.cpp:806] sdcard_mount(): f_mount failed: (3) The physical drive cannot work [ 1641][W][sd_diskio.cpp:174] sdCommand(): no token received [ 1747][W][sd_diskio.cpp:174] sdCommand(): no token received [ 1853][W][sd_diskio.cpp:174] sdCommand(): no token received [ 1959][E][sd_diskio.cpp:199] sdCommand(): Card Failed! cmd: 0x00 [ 1966][W][sd_diskio.cpp:174] sdCommand(): no token received [ 2072][W][sd_diskio.cpp:174] sdCommand(): no token received [ 2178][W][sd_diskio.cpp:174] sdCommand(): no token received [ 2284][E][sd_diskio.cpp:199] sdCommand(): Card Failed! cmd: 0x00 [ 2290][W][sd_diskio.cpp:516] ff_sd_initialize(): GO_IDLE_STATE failed [ 2296][E][sd_diskio.cpp:806] sdcard_mount(): f_mount failed: (3) The physical drive cannot work [ 2305][W][sd_diskio.cpp:174] sdCommand(): no token received [ 2411][W][sd_diskio.cpp:174] sdCommand(): no token received [ 2517][W][sd_diskio.cpp:174] sdCommand(): no token received [ 2623][E][sd_diskio.cpp:199] sdCommand(): Card Failed! cmd: 0x00 [ 2653][I][config.cpp:176] fromFile(): Using config from file [ 2660][W][sd_diskio.cpp:174] sdCommand(): no token received [ 2766][W][sd_diskio.cpp:174] sdCommand(): no token received [ 2872][W][sd_diskio.cpp:174] sdCommand(): no token received [ 2978][E][sd_diskio.cpp:199] sdCommand(): Card Failed! cmd: 0x00 [ 2984][W][sd_diskio.cpp:516] ff_sd_initialize(): GO_IDLE_STATE failed [ 2990][E][sd_diskio.cpp:806] sdcard_mount(): f_mount failed: (3) The physical drive cannot work [ 2999][W][sd_diskio.cpp:174] sdCommand(): no token received [ 3105][W][sd_diskio.cpp:174] sdCommand(): no token received [ 3211][W][sd_diskio.cpp:174] sdCommand(): no token received [ 3317][E][sd_diskio.cpp:199] sdCommand(): Card Failed! cmd: 0x00 [ 3347][I][config.cpp:176] fromFile(): Using config from file [ 3365][V][esp32-hal-ledc.c:231] analogWrite(): GPIO 21 - Using Channel 7, Value = 255 { "priColor": "a80f", "secColor": "880f", "bgColor": "0", "rot": 3, "dimmerSet": 10, "bright": 100, "tmz": 0, "soundEnabled": 1, "wifiAtStartup": 0, "ledBright": 75, "ledColor": "0", "webUI": { "user": "admin", "pwd": "bruce" }, "wifiAp": { "ssid": "BruceNet", "pwd": "brucenet" }, "wifi": {}, "irTx": 2, "irRx": 1, "rfTx": 8, "rfRx": 18, "rfModule": 1, "rfFreq": 433.92, "rfFxdFreq": 1, "rfScanRange": 3, "rfidModule": 1, "mifareKeys": [], "gpsBaudrate": 9600, "startupApp": "", "wigleBasicToken": "", "devMode": 0, "disabledMenus": [], "qrCodes": [ { "menuName": "Bruce AP", "content": "WIFI:T:WPA;S:BruceNet;P:brucenet;;" }, { "menuName": "Bruce Wiki", "content": "https://github.com/pr3y/Bruce/wiki" }, { "menuName": "Bruce Site", "content": "https://bruce.computer" }, { "menuName": "Rickroll", "content": "https://youtu.be/dQw4w9WgXcQ" } ] }[ 3411][I][config.cpp:195] saveFile(): config file written successfully [ 3442][W][sd_diskio.cpp:174] sdCommand(): no token received [ 3548][W][sd_diskio.cpp:174] sdCommand(): no token received [ 3654][W][sd_diskio.cpp:174] sdCommand(): no token received [ 3760][E][sd_diskio.cpp:199] sdCommand(): Card Failed! cmd: 0x00 [ 3766][W][sd_diskio.cpp:516] ff_sd_initialize(): GO_IDLE_STATE failed [ 3772][E][sd_diskio.cpp:806] sdcard_mount(): f_mount failed: (3) The physical drive cannot work [ 3781][W][sd_diskio.cpp:174] sdCommand(): no token received [ 3887][W][sd_diskio.cpp:174] sdCommand(): no token received [ 3993][W][sd_diskio.cpp:174] sdCommand(): no token received [ 4099][E][sd_diskio.cpp:199] sdCommand(): Card Failed! cmd: 0x00 [ 4110][E][vfs_api.cpp:113] exists(): File system is not mounted [ 4118][E][vfs_api.cpp:105] open(): /littlefs/boot.jpg does not exist, no permits for creation [ 4126][E][vfs_api.cpp:113] exists(): File system is not mounted [ 4133][E][vfs_api.cpp:105] open(): /littlefs/boot.gif does not exist, no permits for creation [ 10637][V][esp32-hal-ledc.c:231] analogWrite(): GPIO 21 - Using Channel 7, Value = 13 [ 11234][E][vfs_api.cpp:113] exists(): File system is not mounted [ 11242][E][vfs_api.cpp:105] open(): /littlefs/boot.wav does not exist, no permits for creation [ 11450][V][esp32-hal-ledc.c:231] analogWrite(): GPIO 21 - Using Channel 7, Value = 255 [ 11681][W][sd_diskio.cpp:174] sdCommand(): no token received [ 11787][W][sd_diskio.cpp:174] sdCommand(): no token received [ 11893][W][sd_diskio.cpp:174] sdCommand(): no token received [ 11999][E][sd_diskio.cpp:199] sdCommand(): Card Failed! cmd: 0x00 [ 12005][W][sd_diskio.cpp:516] ff_sd_initialize(): GO_IDLE_STATE failed [ 12011][E][sd_diskio.cpp:806] sdcard_mount(): f_mount failed: (3) The physical drive cannot work [ 12020][W][sd_diskio.cpp:174] sdCommand(): no token received [ 12126][W][sd_diskio.cpp:174] sdCommand(): no token received [ 12232][W][sd_diskio.cpp:174] sdCommand(): no token received [ 12338][E][sd_diskio.cpp:199] sdCommand(): Card Failed! cmd: 0x00 [ 12373][I][config.cpp:176] fromFile(): Using config from file [ 21455][V][esp32-hal-ledc.c:231] analogWrite(): GPIO 21 - Using Channel 7, Value = 13 [ 23993][V][esp32-hal-ledc.c:231] analogWrite(): GPIO 21 - Using Channel 7, Value = 255 Selected: Config Selected: RF Frequency { "priColor": "a80f", "secColor": "880f", "bgColor": "0", "rot": 3, "dimmerSet": 10, "bright": 100, "tmz": 0, "soundEnabled": 1, "wifiAtStartup": 0, "ledBright": 75, "ledColor": "0", "webUI": { "user": "admin", "pwd": "bruce" }, "wifiAp": { "ssid": "BruceNet", "pwd": "brucenet" }, "wifi": {}, "irTx": 2, "irRx": 1, "rfTx": 8, "rfRx": 18, "rfModule": 1, "rfFreq": 433.92, "rfFxdFreq": 1, "rfScanRange": 3, "rfidModule": 1, "mifareKeys": [], "gpsBaudrate": 9600, "startupApp": "", "wigleBasicToken": "", "devMode": 0, "disabledMenus": [], "qrCodes": [ { "menuName": "Bruce AP", "content": "WIFI:T:WPA;S:BruceNet;P:brucenet;;" }, { "menuName": "Bruce Wiki", "content": "https://github.com/pr3y/Bruce/wiki" }, { "menuName": "Bruce Site", "content": "https://bruce.computer" }, { "menuName": "Rickroll", "content": "https://youtu.be/dQw4w9WgXcQ" } ] }[ 36261][I][config.cpp:195] saveFile(): config file written successfully [ 36291][W][sd_diskio.cpp:174] sdCommand(): no token received [ 36397][W][sd_diskio.cpp:174] sdCommand(): no token received [ 36503][W][sd_diskio.cpp:174] sdCommand(): no token received [ 36609][E][sd_diskio.cpp:199] sdCommand(): Card Failed! cmd: 0x00 [ 36615][W][sd_diskio.cpp:516] ff_sd_initialize(): GO_IDLE_STATE failed [ 36621][E][sd_diskio.cpp:806] sdcard_mount(): f_mount failed: (3) The physical drive cannot work [ 36630][W][sd_diskio.cpp:174] sdCommand(): no token received [ 36736][W][sd_diskio.cpp:174] sdCommand(): no token received [ 36842][W][sd_diskio.cpp:174] sdCommand(): no token received [ 36948][E][sd_diskio.cpp:199] sdCommand(): Card Failed! cmd: 0x00 Selected: Scan/copy cc1101 Connection OK cc1101 setMHZ(frequency); cc1101 SetRx(); Selected: Range Selected: All ranges { "priColor": "a80f", "secColor": "880f", "bgColor": "0", "rot": 3, "dimmerSet": 10, "bright": 100, "tmz": 0, "soundEnabled": 1, "wifiAtStartup": 0, "ledBright": 75, "ledColor": "0", "webUI": { "user": "admin", "pwd": "bruce" }, "wifiAp": { "ssid": "BruceNet", "pwd": "brucenet" }, "wifi": {}, "irTx": 2, "irRx": 1, "rfTx": 8, "rfRx": 18, "rfModule": 1, "rfFreq": 433.92, "rfFxdFreq": 0, "rfScanRange": 3, "rfidModule": 1, "mifareKeys": [], "gpsBaudrate": 9600, "startupApp": "", "wigleBasicToken": "", "devMode": 0, "disabledMenus": [], "qrCodes": [ { "menuName": "Bruce AP", "content": "WIFI:T:WPA;S:BruceNet;P:brucenet;;" }, { "menuName": "Bruce Wiki", "content": "https://github.com/pr3y/Bruce/wiki" }, { "menuName": "Bruce Site", "content": "https://bruce.computer" }, { "menuName": "Rickroll", "content": "https://youtu.be/dQw4w9WgXcQ" } ] }[ 52614][I][config.cpp:195] saveFile(): config file written successfully [ 52642][W][sd_diskio.cpp:174] sdCommand(): no token received [ 52748][W][sd_diskio.cpp:174] sdCommand(): no token received [ 52854][W][sd_diskio.cpp:174] sdCommand(): no token received [ 52960][E][sd_diskio.cpp:199] sdCommand(): Card Failed! cmd: 0x00 [ 52966][W][sd_diskio.cpp:516] ff_sd_initialize(): GO_IDLE_STATE failed [ 52972][E][sd_diskio.cpp:806] sdcard_mount(): f_mount failed: (3) The physical drive cannot work [ 52981][W][sd_diskio.cpp:174] sdCommand(): no token received [ 53087][W][sd_diskio.cpp:174] sdCommand(): no token received [ 53193][W][sd_diskio.cpp:174] sdCommand(): no token received [ 53299][E][sd_diskio.cpp:199] sdCommand(): Card Failed! cmd: 0x00 cc1101 Connection OK cc1101 setMHZ(frequency); cc1101 SetRx(); Selected: Spectrum cc1101 Connection OK cc1101 setMHZ(frequency); cc1101 SetRx(); ESP_ERROR_CHECK failed: esp_err_t 0x105 (ESP_ERR_NOT_FOUND) at 0x40382a74 file: "src/modules/rf/rf.cpp" line 72 func: void initRMT() expression: rmt_driver_install(rxconfig.channel, 2048, 0)

abort() was called at PC 0x40382a77 on core 1

Backtrace: 0x403790ae:0x3fceb7c0 0x40382a81:0x3fceb7e0 0x40389389:0x3fceb800 0x40382a77:0x3fceb880 0x42054315:0x3fceb8a0 0x42056c62:0x3fceb8f0 0x4201565f:0x3fceb930 0x4200e585:0x3fceb950 0x42015af6:0x3fceb9c0 0x4225f4b9:0x3fcebc90 0x42031b11:0x3fcebcb0 0x421285ec:0x3fcebd60

ELF file SHA256: 91d746726a624cc2

Rebooting... ESP-ROM:esp32s3-20210327 Build:Mar 27 2021 rst:0xc (RTC_SW_CPU_RST),boot:0x8 (SPI_FAST_FLASH_BOOT) Saved PC:0x40056901 SPIWP:0xee mode:DIO, clock div:1 load:0x3fce3808,len:0x4bc load:0x403c9700,len:0xbd8 load:0x403cc700,len:0x2a0c entry 0x403c98d0 [ 613][D][esp32-hal-tinyusb.c:680] tinyusb_enable_interface(): Interface HID enabled [ 621][D][USBHID.cpp:61] tinyusb_enable_hid_device(): Device[0] len: 79 [ 627][D][USBHID.cpp:61] tinyusb_enable_hid_device(): Device[1] len: 67 E (651) esp_ota_ops: not found otadata [ 652][I][esp32-hal-psram.c:96] psramInit(): PSRAM enabled [ 667][D][main.cpp:298] setup(): Total heap: 245504 [ 672][D][main.cpp:299] setup(): Free heap: 211268 [ 677][D][main.cpp:300] setup(): PSRAM Started [ 681][D][main.cpp:301] setup(): PSRAM Found [ 685][D][main.cpp:303] setup(): Total PSRAM: 8386215 [ 690][D][main.cpp:304] setup(): Free PSRAM: 8381855 [ 695][I][esp32-hal-i2c.c:75] i2cInit(): Initialising I2C Master: sda=8 scl=18 freq=100000 [ 704][I][XPowersCommon.tpp:445] begin(): SDA:8 SCL:18 [ 709][W][Wire.cpp:301] begin(): Bus already started in Master Mode. getInputCurrentLimit: 3250 mA getChargerConstantCurr: 832 mA [ 1304][W][sd_diskio.cpp:174] sdCommand(): no token received [ 1409][W][sd_diskio.cpp:174] sdCommand(): no token received [ 1515][W][sd_diskio.cpp:174] sdCommand(): no token received [ 1621][E][sd_diskio.cpp:199] sdCommand(): Card Failed! cmd: 0x00 [ 1627][W][sd_diskio.cpp:516] ff_sd_initialize(): GO_IDLE_STATE failed [ 1633][E][sd_diskio.cpp:806] sdcard_mount(): f_mount failed: (3) The physical drive cannot work [ 1642][W][sd_diskio.cpp:174] sdCommand(): no token received [ 1748][W][sd_diskio.cpp:174] sdCommand(): no token received [ 1854][W][sd_diskio.cpp:174] sdCommand(): no token received [ 1960][E][sd_diskio.cpp:199] sdCommand(): Card Failed! cmd: 0x00 [ 1967][W][sd_diskio.cpp:174] sdCommand(): no token received [ 2073][W][sd_diskio.cpp:174] sdCommand(): no token received [ 2179][W][sd_diskio.cpp:174] sdCommand(): no token received [ 2285][E][sd_diskio.cpp:199] sdCommand(): Card Failed! cmd: 0x00 [ 2291][W][sd_diskio.cpp:516] ff_sd_initialize(): GO_IDLE_STATE failed [ 2297][E][sd_diskio.cpp:806] sdcard_mount(): f_mount failed: (3) The physical drive cannot work [ 2306][W][sd_diskio.cpp:174] sdCommand(): no token received [ 2412][W][sd_diskio.cpp:174] sdCommand(): no token received [ 2518][W][sd_diskio.cpp:174] sdCommand(): no token received [ 2624][E][sd_diskio.cpp:199] sdCommand(): Card Failed! cmd: 0x00 [ 2669][I][config.cpp:176] fromFile(): Using config from file [ 2676][W][sd_diskio.cpp:174] sdCommand(): no token received [ 2782][W][sd_diskio.cpp:174] sdCommand(): no token received [ 2888][W][sd_diskio.cpp:174] sdCommand(): no token received [ 2994][E][sd_diskio.cpp:199] sdCommand(): Card Failed! cmd: 0x00 [ 3000][W][sd_diskio.cpp:516] ff_sd_initialize(): GO_IDLE_STATE failed [ 3006][E][sd_diskio.cpp:806] sdcard_mount(): f_mount failed: (3) The physical drive cannot work [ 3015][W][sd_diskio.cpp:174] sdCommand(): no token received [ 3121][W][sd_diskio.cpp:174] sdCommand(): no token received [ 3227][W][sd_diskio.cpp:174] sdCommand(): no token received [ 3333][E][sd_diskio.cpp:199] sdCommand(): Card Failed! cmd: 0x00 [ 3378][I][config.cpp:176] fromFile(): Using config from file [ 3396][V][esp32-hal-ledc.c:231] analogWrite(): GPIO 21 - Using Channel 7, Value = 255 { "priColor": "a80f", "secColor": "880f", "bgColor": "0", "rot": 3, "dimmerSet": 10, "bright": 100, "tmz": 0, "soundEnabled": 1, "wifiAtStartup": 0, "ledBright": 75, "ledColor": "0", "webUI": { "user": "admin", "pwd": "bruce" }, "wifiAp": { "ssid": "BruceNet", "pwd": "brucenet" }, "wifi": {}, "irTx": 2, "irRx": 1, "rfTx": 8, "rfRx": 18, "rfModule": 1, "rfFreq": 433.92, "rfFxdFreq": 0, "rfScanRange": 3, "rfidModule": 1, "mifareKeys": [], "gpsBaudrate": 9600, "startupApp": "", "wigleBasicToken": "", "devMode": 0, "disabledMenus": [], "qrCodes": [ { "menuName": "Bruce AP", "content": "WIFI:T:WPA;S:BruceNet;P:brucenet;;" }, { "menuName": "Bruce Wiki", "content": "https://github.com/pr3y/Bruce/wiki" }, { "menuName": "Bruce Site", "content": "https://bruce.computer" }, { "menuName": "Rickroll", "content": "https://youtu.be/dQw4w9WgXcQ" } ] }[ 3448][I][config.cpp:195] saveFile(): config file written successfully [ 3482][W][sd_diskio.cpp:174] sdCommand(): no token received [ 3588][W][sd_diskio.cpp:174] sdCommand(): no token received [ 3694][W][sd_diskio.cpp:174] sdCommand(): no token received [ 3800][E][sd_diskio.cpp:199] sdCommand(): Card Failed! cmd: 0x00 [ 3806][W][sd_diskio.cpp:516] ff_sd_initialize(): GO_IDLE_STATE failed [ 3812][E][sd_diskio.cpp:806] sdcard_mount(): f_mount failed: (3) The physical drive cannot work [ 3821][W][sd_diskio.cpp:174] sdCommand(): no token received [ 3927][W][sd_diskio.cpp:174] sdCommand(): no token received [ 4033][W][sd_diskio.cpp:174] sdCommand(): no token received [ 4139][E][sd_diskio.cpp:199] sdCommand(): Card Failed! cmd: 0x00 [ 4150][E][vfs_api.cpp:113] exists(): File system is not mounted [ 4158][E][vfs_api.cpp:105] open(): /littlefs/boot.jpg does not exist, no permits for creation [ 4167][E][vfs_api.cpp:113] exists(): File system is not mounted [ 4175][E][vfs_api.cpp:105] open(): /littlefs/boot.gif does not exist, no permits for creation [ 10637][V][esp32-hal-ledc.c:231] analogWrite(): GPIO 21 - Using Channel 7, Value = 13 [ 11218][E][vfs_api.cpp:113] exists(): File system is not mounted [ 11226][E][vfs_api.cpp:105] open(): /littlefs/boot.wav does not exist, no permits for creation [ 11435][V][esp32-hal-ledc.c:231] analogWrite(): GPIO 21 - Using Channel 7, Value = 255 [ 11666][W][sd_diskio.cpp:174] sdCommand(): no token received [ 11772][W][sd_diskio.cpp:174] sdCommand(): no token received [ 11878][W][sd_diskio.cpp:174] sdCommand(): no token received [ 11984][E][sd_diskio.cpp:199] sdCommand(): Card Failed! cmd: 0x00 [ 11990][W][sd_diskio.cpp:516] ff_sd_initialize(): GO_IDLE_STATE failed [ 11996][E][sd_diskio.cpp:806] sdcard_mount(): f_mount failed: (3) The physical drive cannot work [ 12005][W][sd_diskio.cpp:174] sdCommand(): no token received [ 12111][W][sd_diskio.cpp:174] sdCommand(): no token received [ 12217][W][sd_diskio.cpp:174] sdCommand(): no token received [ 12323][E][sd_diskio.cpp:199] sdCommand(): Card Failed! cmd: 0x00 [ 12369][I][config.cpp:176] fromFile(): Using config from file [ 21435][V][esp32-hal-ledc.c:231] analogWrite(): GPIO 21 - Using Channel 7, Value = 13 [ 26443][V][esp32-hal-ledc.c:231] analogWrite(): GPIO 21 - Using Channel 7, Value = 0

realdaveblanch avatar Jan 22 '25 14:01 realdaveblanch

same issue

Selected: Spectrum
cc1101 Connection OK
cc1101 setMHZ(frequency);
cc1101 SetRx();
ESP_ERROR_CHECK failed: esp_err_t 0x105 (ESP_ERR_NOT_FOUND) at 0x40382a74
file: "src/modules/rf/rf.cpp" line 72
func: void initRMT()
expression: rmt_driver_install(rxconfig.channel, 2048, 0)

abort() was called at PC 0x40382a77 on core 1


Backtrace: 0x403790ae:0x3fceb900 0x40382a81:0x3fceb920 0x40389389:0x3fceb940 0x40382a77:0x3fceb9c0 0x42054319:0x3fceb9e0 0x42056c66:0x3fceba30 0x4201565f:0x3fceba70 0x4200e585:0x3fceba90 0x42015af6:0x3fcebb00 0x4225f4bd:0x3fcebdd0 0x42031b15:0x3fcebdf0 0x421285f0:0x3fcebea0




ELF file SHA256: 5f58de73539f4f64

Rebooting...

varenichek22 avatar Jan 27 '25 19:01 varenichek22

rmt_driver_install(rxconfig.channel, 2048, 0)

This failure is happening due to the LED init, that inits all channels of RMT.. so when spectrum tries to make use of this driver, it is occupied.. I'm working on a fix for that

bmorcelli avatar Jan 28 '25 01:01 bmorcelli

Spent all day trying to turn off these leds when spectrum is on, but nothing things to work, or mb i am just noob and should study more. Turning off Leds permanently helped. crutch :)

varenichek22 avatar Jan 28 '25 13:01 varenichek22

Yes.. you can comment this line: https://github.com/pr3y/Bruce/blob/7a7744700f059c933398265508d825b8248ec806/src/main.cpp#L329

I'm trying a few things here, with quite a success, need to test it a little more

bmorcelli avatar Jan 28 '25 13:01 bmorcelli

Can you test the BetaRelease from my repo? https://bmorcelli.github.io/Bruce/flasher

bmorcelli avatar Jan 28 '25 20:01 bmorcelli

Can you test the BetaRelease from my repo? https://bmorcelli.github.io/Bruce/flasher

WORKS! But crashes when i try to go back:

Also i noticed that it works better if usb cable is connected. If USB connected it crashes when i try to go back, with usb disconnected it allows me to go back after a few clicks Overall scan subghz function is really weird, soemtimes it does, sometimes it doesn´t detecct signals, even tho the signal is coming from 1inch

Selected: Spectrum cc1101 Connection OK cc1101 setMHZ(frequency); cc1101 SetRx(); cc1101 Connection OK cc1101 setMHZ(frequency); cc1101 SetRx(); E (31748) rmt: RMT RX BUFFER FULL E (31945) rmt: ---RX buffer too small: 4 E (31946) rmt: ---RX buffer too small: 4 E (31957) rmt: ---RX buffer too small: 4 E (31970) rmt: ---RX buffer too small: 4 E (32001) rmt: ---RX buffer too small: 4 E (32032) rmt: ---RX buffer too small: 4 E (32053) rmt: RMT RX BUFFER FULL E (32263) rmt: RMT RX BUFFER FULL E (32436) rmt: RMT RX BUFFER FULL E (32572) rmt: RMT RX BUFFER FULL E (32826) rmt: RMT RX BUFFER FULL E (32961) rmt: ---RX buffer too small: 4 E (32961) rmt: ---RX buffer too small: 4 E (32962) rmt: ---RX buffer too small: 4 E (32968) rmt: RMT RX BUFFER FULL E (33067) rmt: RMT RX BUFFER FULL E (33190) rmt: ---RX buffer too small: 4 E (33219) rmt: ---RX buffer too small: 4 E (33253) rmt: ---RX buffer too small: 4 E (33280) rmt: RMT RX BUFFER FULL E (33455) rmt: RMT RX BUFFER FULL E (33591) rmt: RMT RX BUFFER FULL E (33722) rmt: RMT RX BUFFER FULL E (33827) rmt: ---RX buffer too small: 4 E (33828) rmt: ---RX buffer too small: 4 E (33828) rmt: ---RX buffer too small: 4 E (33829) rmt: ---RX buffer too small: 4 E (33844) rmt: ---RX buffer too small: 4 E (33852) rmt: RMT RX BUFFER FULL E (34010) rmt: ---RX buffer too small: 4 E (34010) rmt: ---RX buffer too small: 4 E (34011) rmt: ---RX buffer too small: 4 E (34012) rmt: ---RX buffer too small: 4 E (34013) rmt: ---RX buffer too small: 4 E (34017) rmt: ---RX buffer too small: 4 E (34021) rmt: ---RX buffer too small: 4 E (34031) rmt: ---RX buffer too small: 4 E (34050) rmt: RMT RX BUFFER FULL E (34178) rmt: RMT RX BUFFER FULL E (34380) rmt: RMT RX BUFFER FULL E (34516) rmt: RMT RX BUFFER FULL E (34676) rmt: RMT RX BUFFER FULL E (34783) rmt: RMT RX BUFFER FULL E (34852) rmt: RMT RX BUFFER FULL E (34980) rmt: RMT RX BUFFER FULL E (35101) rmt: RMT RX BUFFER FULL E (35231) rmt: RMT RX BUFFER FULL E (35322) rmt: RMT RX BUFFER FULL E (35422) rmt: ---RX buffer too small: 4 E (35433) rmt: ---RX buffer too small: 4 E (35434) rmt: ---RX buffer too small: 4 E (35435) rmt: ---RX buffer too small: 4 E (35435) rmt: ---RX buffer too small: 4 E (35456) rmt: RMT RX BUFFER FULL E (35691) rmt: RMT RX BUFFER FULL E (35829) rmt: RMT RX BUFFER FULL E (35960) rmt: RMT RX BUFFER FULL E (36100) rmt: RMT RX BUFFER FULL CORRUPT HEAP: Bad tail at 0x3fcc4790. Expected 0xbaad5678 got 0x000d8008

assert failed: multi_heap_free multi_heap_poisoning.c:259 (head != NULL)

Backtrace: 0x403790aa:0x3fceb920 0x40382a95:0x3fceb940 0x4038949d:0x3fceb960 0x403890b5:0x3fceba90 0x40379901:0x3fcebab0 0x403894cd:0x3fcebad0 0x4212dd1d:0x3fcebaf0 0x420536e6:0x3fcebb30 0x4205624f:0x3fcebb50 0x42015743:0x3fcebb90 0x4200e621:0x3fcebbb0 0x42015bda:0x3fcebc20 0x4225eee1:0x3fcebef0 0x42031ba5:0x3fcebf10 0x42127df8:0x3fcebfc0

ELF file SHA256: fb6275d506feec28

Rebooting...

realdaveblanch avatar Jan 28 '25 21:01 realdaveblanch

Works well. Sometimes same thing as @realdaveblanch happens, but it reloads and continues to work. I didn't find a difference between the USB cable connection and the disconnected, it works just as well. Also, the square spectrum is strange, still don't understand it's purpose, will made my own :/ Thank you!

varenichek22 avatar Jan 29 '25 11:01 varenichek22

Works well. Sometimes same thing as @realdaveblanch happens, but it reloads and continues to work. I didn't find a difference between the USB cable connection and the disconnected, it works just as well. Also, the square spectrum is strange, still don't understand it's purpose, will made my own :/ Thank you!

Overall the actual problemi is solved, but it needs more refinement.

UNNEDED INFO:

I just found out that it uses the same hardware as Flipper besides the CPU, i think we can collab to make a better software than Flipper

realdaveblanch avatar Jan 29 '25 22:01 realdaveblanch

I just found out that it uses the same hardware as Flipper besides the CPU, i think we can collab to make a better software than Flipper

This is the Idea.. lol... Flipper has an antenna circuit that can handle all ranges, like T-Embed CC1101, the other blue modules we usually use are designed to 433Mhz only... I wish I could find the T-Embed CC1101 chip to bu.

The good part is that Bruce is evolving at a good pace

bmorcelli avatar Jan 29 '25 22:01 bmorcelli

I just found out that it uses the same hardware as Flipper besides the CPU, i think we can collab to make a better software than Flipper

This is the Idea.. lol... Flipper has an antenna circuit that can handle all ranges, like T-Embed CC1101, the other blue modules we usually use are designed to 433Mhz only... I wish I could find the T-Embed CC1101 chip to bu.

The good part is that Bruce is evolving at a good pace

Actually does! It's the highest evolving fw of all

realdaveblanch avatar Feb 19 '25 23:02 realdaveblanch