Failed to boot SUOTA EEPROM multi_part.bin

3 posts / 0 new
Last post
kamagasako
Offline
Last seen:4 years 10 months ago
加入:2015-03-31 08:47
Failed to boot SUOTA EEPROM multi_part.bin

Hello,

I made SUOTA EEPROM multi_part.bin as described in AN-B-010.

1. build fw_1.hex
2. convert fw_1.hex to fw_1.bin
3. convert fw_1.bin and fw_1.h to fw_1.img
4. do same to make fw_2.img
5. build secondary_bootloader.hex and convert to bin
6. make multi_part.bin from fw_1.img, fw_2.img and secondary_bootloader.bin

Then burnt bin file into EEPROM by SmartSnippets and answer NO to bootable dialog.
Pressed reset button but it doesn't boot to start adv. What is wrong?

Thank you,

Device:
MT_dialog
Offline
Last seen:2 months 1 week ago
工作人员
加入:2015 - 06 -08 11:34
Hi kamagasako,

Hi kamagasako,

Have you properly configured the secondary bootloader to support the EEPROM over the specified interface SPI/I2C (check the AN-B-010.pdf p.8)? Please check the following definition in the bootloader.h file SPI_FLASH_SUPPORTED and EEPROM_FLASH_SUPPORTED also the multipart.bin file should be created with the mkimage.exe multi eeprom secondary_bootloader.bin command.

Thanks MT_dialog

kamagasako
Offline
Last seen:4 years 10 months ago
加入:2015-03-31 08:47
赶快MT_dialog,

Hi MT_dialog,

Thank you for your advise!
I updated secondary_bootloader with #define EEPROM_FLAG_SUPPORTED and #undef SPI_FLAS_SUPPORTED,
succeeded to boot from EEPROM!

Thank you,

--
kamagasako