Open LIFsCode opened 5 months ago
@LIFsCode I'm sure you've considered this..
Is the driving factor behind logging to the SD tracing bugs? If the output is buffered it won't be written to the SD card when a reset occurs so this output will be lost.. It seems RTC memory is persistent during resets but I don't know if thats a viable option.
As I say, I'm sure you've considered this, but just in case!
@OOHehir I know that is a problem, either getting reliable and full log or getting good performance. That's why currently after every log message the buffer is flushed.
Regarding the RTC memory, thanks that's a really good hint but so far I don't have a proper idea how to use it since it is only accessible from core 0 (PRO CPU) which makes it kind of blind for core 1.
This is something to balance out.
@LIFsCode Might be of some use, 'noinit' DRAM should retain its value from resets.
Direct writing to SD card has 2 major drawbacks:
This can be reworked: