On 18/09/2020 03:24, small...@aliyun.com wrote:
It is a good starting place to handle the crash problem. Especially
the records could be packed to send to a host computer using TCP/IP.
One of the question for us is there is no network interface. But we
have a flash disk. So we should modify the send flow using file system
instead of network.
Moreover, we need expand the recorded data to get more information of
the crash.
Saving crash data to a flash disk is normally a bit too complex and
involves interrupts and DMA. I would save the crash data to a volatile
memory area which survives a soft reset. After the soft reset, check if
crash data is available and save it to the disk.
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel