Feature #448
Von Maximilian Seesslen vor etwa 1 Jahr aktualisiert
the readout can be implemented in gdb script.
<pre><code class="shell">
p/x (char [10])s
dump binary value eeprom_$serrno.bin (char[0x80])s
</code></pre>
The binaries shall be checked in unit tests if the structures can be read and CRC calculation is valid.
more complete:
<pre><code class="shell">
set var $buf = (char*)malloc(0x80)
call (pCanIO->m_flashI2cHw.read($buf, 0x80) $buf=malloc(0x80)
</code></pre>
<pre><code class="shell">
p/x (char [10])s
dump binary value eeprom_$serrno.bin (char[0x80])s
</code></pre>
The binaries shall be checked in unit tests if the structures can be read and CRC calculation is valid.
more complete:
<pre><code class="shell">
set var $buf = (char*)malloc(0x80)
call (pCanIO->m_flashI2cHw.read($buf, 0x80) $buf=malloc(0x80)
</code></pre>