JayHeng / NXP-MCUBootUtility

恩智浦全系列MCU安全启动一站式工具(研发模式),基于Python2.7.15+wxPython4.0.3
Apache License 2.0
109 stars 32 forks source link

EEXT-13 Small GUI issue with View Bootable Image with SPI NOR/EEPROM #18

Open rammierk opened 1 year ago

rammierk commented 1 year ago

Firstly, great tool of yours, Jay! Thanks

I'm flashing one of the prebuilt images (led_blinky_0x00003000.srec) into LPSPI NOR/EEPROM of EVKB IMXRT1050, after converting it to bootable image using MCUBoot utility v5.1.0. Flashing is successful.

On "View Bootable Image", it shows the expected/correct pattern of 0xd1 (fixed pattern), 0x00 and 0x20 (length of the IVT in bytes), 0x40 (version no.) etc. But, the highlighting (in blue color) of the addresses to indicate where the executable image starts seems to start from 0x1000 (which is the offset for FlexSPI NOR/SEMC NOR), instead of 0x400 which is the expected offset for SPI NOR/EEPROM as per the reference manual.

Is this something that could be easily fixed in the GUI?

Have a good day! Ram

JayHeng commented 1 year ago

0x1000 is the IVT offset for FlexSPI NOR/SEMC NOR, 0x2000 is the image start 0x400 is the IVT offset for SD, NAND and EEPROM, 0x1000 is the image start