Projekt

Allgemein

Profil

Feature #448

Von Maximilian Seesslen vor etwa 1 Jahr aktualisiert

the readout can be implemented in gdb script.

<pre><code class="shell">
set var $buf=(char *)malloc(0x80)
call (pCanIO->m_flashI2cHw.readData(0, $buf, 0x80))
x/80xb $buf
p/x px *(char (*)[0x80])$buf
dump binary value eeprom_$serrno.bin *(char (*)[0x80])$buf
</code></pre>

The binaries shall be checked in unit tests if the structures can be read and CRC calculation is valid.

Zurück