Rikke
03/13/2023, 1:48 PM[wifi] DEBUG: closing
. I've seen this issue when the esp32 goes completely out of memory, and now after not being able to read from sd-card.
******************************************************************************
Decoding by `jag`, device has version <2.0.0-alpha.64>
******************************************************************************
EXCEPTION error.
FILE_NOT_FOUND
0: stat <pkg:pkg-host>/file.toit:197:3
1: is_directory <pkg:pkg-host>/file.toit:178:11
2: get_file_names ../src/sd_card/sd_card_driver.toit:68:6
3: delete_old_files ../src/persistance.toit:182:22
4: handle_data_message.<lambda> ../src/persistance.toit:39:21
******************************************************************************
[wifi] DEBUG: closing
Nothing happens after this, when it is supposed to print out something 1-5 times every second.
I'm unsure how to provide more useful information right now, but I didn't notice this on alpha-47 and I saw this problem when out of memory on alpha-60kasperl
03/13/2023, 1:53 PMkasperl
03/13/2023, 1:53 PMtools/firmware
to build up the bits for your devices?Rikke
03/13/2023, 1:55 PMsdk/bin/toit.compile
, and install with sdk/tools/firmware
kasperl
03/13/2023, 1:55 PM--critical
flag which makes the system restart if the apps terminates with an error.kasperl
03/13/2023, 1:56 PMtools/firmware container install
you can pass --critical
to it.kasperl
03/13/2023, 1:56 PMkasperl
03/13/2023, 1:56 PMRikke
03/13/2023, 1:56 PMRikke
03/13/2023, 1:57 PMkasperl
03/13/2023, 8:33 PM--critical
improves things for you, @Rikke.Rikke
03/14/2023, 7:35 AM