Bootloader

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Dmitriy_Chernov
Level 1
Level 1
10 sign-ins 5 replies posted 5 sign-ins

Hi,

I work with CYT2B73CAD.

I have a problem with internal bootloader. In paragraph 1.9 of document 002-27076 Rev. *B (Traveo II Bootloader)  shown example command/response sequence. But after Program Data command I have CY_BOOTLOAD_ERROR_CHECKSUM error code. What am I doing wrong?

Dmitriy_Chernov_0-1643894597605.png

I send data via 500kBod CAN bus. CAN frames sequence shown above.

 

0 Likes
1 Solution
JJack
Level 5
Level 5
Associated Partner - Distributor Rutronik
5 questions asked 25 likes received 100 sign-ins

Hi Dmitriy,

the checksum of the Program Data command in the AppNote is wrong.

Ralf_0-1644503697130.png

 

 The Checksum is the 16-bit 2s complement of the sum of every byte from Start of Packet to the last Data Byte (the byte before the checksum) in each command. According to my calculation the correct checksum of the Program Data command is 0x38, 0xF6 and not 0x0A, 0xF7.

 

View solution in original post

0 Likes
1 Reply
JJack
Level 5
Level 5
Associated Partner - Distributor Rutronik
5 questions asked 25 likes received 100 sign-ins

Hi Dmitriy,

the checksum of the Program Data command in the AppNote is wrong.

Ralf_0-1644503697130.png

 

 The Checksum is the 16-bit 2s complement of the sum of every byte from Start of Packet to the last Data Byte (the byte before the checksum) in each command. According to my calculation the correct checksum of the Program Data command is 0x38, 0xF6 and not 0x0A, 0xF7.

 

0 Likes