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.
To IB Shy:
I read that chapter many times. I know it has nothing to do with the Phytec board but, as I can succeed something on that board, and cannot succeed somewhere else it will be wise to see the difference between the new environment and the Phytec board.
And finally, considering this, I saw that the EEPROM on the Phytec board has a different communication procedure than the Flash I am working on now.
To Do Per Westermark:
It is a good way to ask the company writing the bootloader but they generally reply too late, therefore I prefer writing and discussing here.
Asking a hardware guy, I learnt that connecting a small resistance between the SPI1_DATIN pin and the flash, the problem can be solved. Without communication, it will feel low, and when the communication starts that small resistance won't affect the communication.
Tomorrow I'll try that and write you the result out of that.
Thanks for your helps.
I finally handled the problem.
Connecting a small resistance to the SPI1_DATIN pin the boot from the external SPI flash works out!!
Thanks a lot for your helps.