Rikke
03/10/2023, 9:25 AMFirmwareWriter
. The OTA process is spawned, but everything freezes when writing with FirmwareWriter
. I will provide more details soonRikke
03/10/2023, 9:31 AMinfo: 2023-03-10T09:30:57Z: Starting Ota
| -- Allocated memory 2884 | System free memory 40112 | Allocated in object heap 6048 -- |
ota starts now
Writes: 50
Allocated memory 5416 | System free memory 20936 | Allocated in object heap 45416
Writes: 100
Allocated memory 5416 | System free memory 25296 | Allocated in object heap 79528
Writes: 150
Allocated memory 5416 | System free memory 23504 | Allocated in object heap 113640
Writes: 200
Allocated memory 5416 | System free memory 29248 | Allocated in object heap 147564
Guru Meditation Error: Core 0 panic'ed (Cache disabled but cached memory region accessed).
Core 0 register dump:
PC : 0x40196e5c PS : 0x00060034 A0 : 0x8008663e A1 : 0x3ffb1280
A2 : 0x3ffddd30 A3 : 0x3ffddc14 A4 : 0x00000010 A5 : 0x3ffb12c8
A6 : 0x40196e5c A7 : 0x3ffdde24 A8 : 0x800921e5 A9 : 0x3ffb1240
A10 : 0x3ffddd30 A11 : 0x00000010 A12 : 0x3ffb4a90 A13 : 0x0000cdcd
A14 : 0x00060023 A15 : 0x00060021 SAR : 0x00000018 EXCCAUSE: 0x00000007
EXCVADDR: 0x00000000 LBEG : 0x4008b559 LEND : 0x4008b561 LCOUNT : 0x00000027
mikkel.damsgaard
03/10/2023, 9:34 AMRikke
03/10/2023, 9:35 AMRikke
03/10/2023, 9:36 AMmikkel.damsgaard
03/10/2023, 9:38 AMRikke
03/10/2023, 9:43 AMRikke
03/10/2023, 9:45 AMRikke
03/10/2023, 9:46 AMRikke
03/10/2023, 10:05 AMCONFIG_FREERTOS_PLACE_FUNCTIONS_INTO_FLASH=y
has been activated. It was disabled beforemikkel.damsgaard
03/10/2023, 10:07 AMRikke
03/10/2023, 10:15 AMRikke
03/10/2023, 10:16 AMmikkel.damsgaard
03/10/2023, 10:25 AMCONFIG_FREERTOS_PLACE_FUNCTIONS_INTO_FLASH=n
as it will run out of iram. Did you change anything else?Rikke
03/10/2023, 10:25 AMCONFIG_FREERTOS_PLACE_FUNCTIONS_INTO_FLASH
mikkel.damsgaard
03/10/2023, 10:35 AMRikke
03/10/2023, 10:36 AMRikke
03/10/2023, 10:37 AMmikkel.damsgaard
03/10/2023, 10:38 AMmikkel.damsgaard
03/10/2023, 10:39 AMRikke
03/10/2023, 10:40 AMRikke
03/14/2023, 1:08 PM# CONFIG_FREERTOS_PLACE_FUNCTIONS_INTO_FLASH is not set
and # CONFIG_BT_ENABLED is not set
. The same thing happens where it either freezes or panics. I will look through the UART code now.Rikke
03/14/2023, 1:15 PMRikke
03/14/2023, 2:15 PM# CONFIG_FREERTOS_PLACE_FUNCTIONS_INTO_FLASH is not set
and # CONFIG_BT_ENABLED is not set
it works.
UART is active and the same code is used for the 2 versions (except toit version)Rikke
03/14/2023, 2:22 PMkasperl
03/14/2023, 2:45 PMRikke
03/14/2023, 3:02 PMmikkel.damsgaard
03/14/2023, 3:59 PMRikke
03/14/2023, 4:10 PMmikkel.damsgaard
03/14/2023, 4:15 PMmikkel.damsgaard
03/14/2023, 4:29 PMRikke
03/15/2023, 9:50 AM