Editing Talk:SW2-303
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 4: | Line 4: | ||
=== uart protocol for flash programming === | === uart protocol for flash programming === | ||
01 - soh = start of heading(command sending to chip) | 01 - soh = start of heading(command sending to chip) | ||
Line 10: | Line 10: | ||
03 - etx = end of text/end transmission(marker for end of reply from chip/end of command data sent to chip) | 03 - etx = end of text/end transmission(marker for end of reply from chip/end of command data sent to chip) | ||
format of messaging | format of messaging | ||
<stx/soh><length><command/error><data><checksum><etx> | <stx/soh><length><command/error><data><checksum><etx> | ||
=== checksum === | === checksum === | ||
Line 26: | Line 23: | ||
=== get version cmd === | === get version cmd === | ||
01 01 c5 3a 03 = get version c5 | 01 01 c5 3a 03 = get version c5 | ||
Line 48: | Line 44: | ||
FV3: Second decimal place of firmware version | FV3: Second decimal place of firmware version | ||
=== verify? 0x14 cmd === | === verify? 0x14 cmd === | ||
01 01 14 eb 03 = 14 verify flash? | 01 01 14 eb 03 = 14 verify flash? | ||
02 01 10 ef 03 = 10 protection error | 02 01 10 ef 03 = 10 protection error | ||
=== blank block check cmd === | === blank block check cmd === | ||
01 08 32 00 00 00 0b ff ff 00 bd 03 = blank block check | 01 08 32 00 00 00 0b ff ff 00 bd 03 = blank block check | ||
Line 91: | Line 86: | ||
02 01 1b e4 03 | 02 01 1b e4 03 | ||
0x1b = 1BH MRG11 error Internal verify error or blank check error during data write | 0x1b = 1BH MRG11 error Internal verify error or blank check error during data write | ||
=== chip erase cmd === | === chip erase cmd === | ||
01 01 20 df 03 = chip erase | 01 01 20 df 03 = chip erase | ||
Line 101: | Line 96: | ||
02 01 10 ef 03 = protection error | 02 01 10 ef 03 = protection error | ||