We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi,
I am using Phytec LPC3250 board with uVision IDE.
I want my code to boot from an external SPI EEPROM that we connected via the extension board. (Removing J16 jumper) I can successfuly write and read the EEPROM. However, the boot does not occur.
When I used the EEPROM available on the PHYTEC board, there was no problem, the boot successfuly happened. I don't know why the same code in another EEPROM wouldnt work.
Can the problem be that the bootstrap code in the internal ROM can only boot with the EEPROM on the phytec board? The user manual says, any bootable SPI memory connected to SSP0 starts the boot procedure.
May that be possible? How can the bootstrap read the data from "any" SPI flash without knowing the opcodes, etc?
Thanks in advance.
But,
The same code that I had written to the flash on the Phytec Board boots. So, I understand that the code is valid, bug-free.
What else can be the problem?
Thanks.
The details you've provided are pretty scant. You didn't mention what SPI flash your using and whether it is the same as the one on the Phytec board.
The obvious thing to do is look for the differences that might exist.
That isn't necessarily true - there could be some latent bug(s) that you just happened to get away with before...
The Flash I am using now is AT45DB321D.
The Flash on the Phytec board is AT25256A.
NXP says, boot happens when the read opcode is "0x03" and there are 2 or 3 address bytes. My new flash can also be read with "0x03" and has 3 address bytes.
I don't figure out the problem.