Tool/software:
Dear Sir,
We are using Lm Flash loader for dumping .bin file to device @ location 0x4000 through UART. It is working fine . We want to build our utility to avoid change of address by someone or send .bin file to wrong address to make device corrupt.
I capture the log for communication (Transferring .bin file) to device .
Tx:
03 20 20
Rx:
00 CC
Tx:
0B 76 21 00 00 40 00 00 03 EA 28
Rx:
00 CC
Tx:
03 23 23
Rx:
00 CC 03 40 40
Tx:
CC 3F 84 24 70 BA 01 20 01 42 00 00 15 42 00 00
17 42 00 00 19 42 00 00 19 42 00 00 19 42 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
19 42 00 00 19 42 00 00 00 00 00 00 19 42 00 00
Rx:
00 CC
Tx:
03 23 23
Rx:
00 CC 03 40 40
Tx:
CC 3F 45 24 55 AC 01 00 19 42 00 00 19 42 00 00
19 42 00 00 19 42 00 00 19 42 00 00 7D CD 01 00
C1 CE 01 00 19 42 00 00 19 42 00 00 19 42 00 00
19 42 00 00 19 42 00 00 19 42 00 00 19 42 00 00
Rx:
00 CC
The data in blue represent the bin file data ,3F --represent chunk of 63 byte ,24-- represent start of frame but thing mark in red is unknown to me whether its crc or what?
I tried to calculate 8 byte crc of frame but it is not matching.
For sending data to our utility we should know the details. The above are details capturing the port monitor while lmflash loader updating device .bin.
kindly do the needful.boot.htm