<html><head><meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"><style>body { line-height: 1.5; }blockquote { margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em; }body { font-size: 10.5pt; font-family: ????; color: rgb(0, 0, 0); line-height: 1.5; }</style></head><body>
<div><span></span>Flash disk is used in our normal procedure. We use qspi interface to read and write data from/to a flash disk in order to record our logs.</div><div>The flash disk is parted to several parts. In such case, a new part could be allocated to save the crash data.</div>
<div><br></div><hr style="width: 210px; height: 1px;" color="#b5c4df" size="1" align="left">
<div><span><div style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt"><div>smallphd@aliyun.com</div></div></span></div>
<blockquote style="margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em;"><div> </div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><div style="PADDING-RIGHT: 8px; PADDING-LEFT: 8px; FONT-SIZE: 12px;FONT-FAMILY:tahoma;COLOR:#000000; BACKGROUND: #efefef; PADDING-BOTTOM: 8px; PADDING-TOP: 8px"><div><b>From:</b> <a href="mailto:sebastian.huber@embedded-brains.de">Sebastian Huber</a></div><div><b>Date:</b> 2020-09-18 12:42</div><div><b>To:</b> <a href="mailto:smallphd@aliyun.com">smallphd@aliyun.com</a>; <a href="mailto:devel@rtems.org">devel</a></div><div><b>Subject:</b> Re: does rtems 5.1 support create a core dump file when accessing a invalid address or other fatal errors?</div></div></div><div><div>On 18/09/2020 03:24, smallphd@aliyun.com wrote:</div>
<div> </div>
<div>> It is a good starting place to handle the crash problem. Especially </div>
<div>> the records could be packed to send to a host computer using TCP/IP.</div>
<div>> One of the question for us is there is no network interface. But we </div>
<div>> have a flash disk. So we should modify the send flow using file system </div>
<div>> instead of network.</div>
<div>> Moreover, we need expand the recorded data to get more information of </div>
<div>> the crash.</div>
<div>Saving crash data to a flash disk is normally a bit too complex and </div>
<div>involves interrupts and DMA. I would save the crash data to a volatile </div>
<div>memory area which survives a soft reset. After the soft reset, check if </div>
<div>crash data is available and save it to the disk.</div>
</div></blockquote>
</body></html>