BOOTLOADER_ERR_DATA

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

cross mob
jofic_334026
Level 3
Level 3
First like received

I'm trying to troubleshoot a corner case of my boot loader.  For the most part it works.  I can get it in a state though (I don't know how yet) that produces a BOOTLOADER_ERR_CMD (0x04) in response to the Enter_Bootloader (0x38) command.  My problem is that I can't find the documents that describe the proper format of the 0x38 command.  Can any one help me out?

0 Likes
1 Solution
3 Replies
Vison_Zhang
Moderator
Moderator
Moderator
First comment on KBA 750 replies posted 250 sign-ins

Command Package:  W 24 01 38 00 00 C7 FF 17 P ; ENTER BOOTLOADER CMD

Decode:

W            I2C Write

24           I2C Address, you can replace this byte with your own I2C address, this byte not include in package checksum calculation.

01           Package header 0x01,

38           Command code (enter bootloader)

00 00      Data length

C7 FF     Checksum, 0x10000 - (0x01 + 0x38 + 0x0000) = 0xFFC7;

0x17       Package tail

P            I2C Stop

Note: Since data length equals to 0, so no data content in this package and checksum calculate also not include data part.

Capture.JPG

0 Likes

Thanks but I need the document that describes the format of the other boot load commands (i.e. GET_META_DATA).  Can you point me to the right document?

0 Likes