iMX233 boot from SPI flash

cancel
Showing results for 
Search instead for 
Did you mean: 

iMX233 boot from SPI flash

Jump to solution
1,336 Views
PotatoChip
Contributor I

Dear all,

I am trying to boot from SPI flash on imx233. I prepared a sb file with bootlet and kernel and programmed it to a SPI flash. The SPI flash is connected to SPI1.

I already set boot mode to boot from SPI1, but I get

0x80502008

     H0x80501003

I wonder if someone can give me any advise on it.

Regards,

JJ

0 Kudos
1 Solution
214 Views
Yuri
NXP TechSupport
NXP TechSupport

Note, i.MX23 SPI bootloader supports only 2-byte addresses for EEPROMs and 3-byte addresses for NORs.

Next, please check if optional configuration block is located (and correct) at byte address 0, as described
in section 35.6.1 (Media Format) of the i.MX23 Reference Manual.

View solution in original post

0 Kudos
3 Replies
214 Views
PotatoChip
Contributor I

I programmed .sb file to a spi flash programmer and other thread said that program sb file to address 0x00 is what needed to be done. I don't know why it give 0x80501003 error. Any suggestion?

0 Kudos
215 Views
Yuri
NXP TechSupport
NXP TechSupport

Note, i.MX23 SPI bootloader supports only 2-byte addresses for EEPROMs and 3-byte addresses for NORs.

Next, please check if optional configuration block is located (and correct) at byte address 0, as described
in section 35.6.1 (Media Format) of the i.MX23 Reference Manual.

View solution in original post

0 Kudos
214 Views
Yuri
NXP TechSupport
NXP TechSupport

0x80501003 is ERROR_ROM_LDR_SIGNATURE, that means image is not properly flashed.

The image header has incorrect signature.

0x80502008 means  ERROR_ROM_USB_CONNECT_TIMEOUT 

If the boot ROM is unable to boot from the device, indicated by the boot mode

(SD, NAND), then it falls back to the USB interface. This error code indicates

that the USB boot failed as well.