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,
Keywords:
Device:
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
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