AnsweredAssumed Answered

ADSP-21489 SPI Flash Boot Problems

Question asked by trentrolf on Jan 21, 2016
Latest reply on Jan 21, 2016 by trentrolf

I am trying to boot my application from SPI flash on the ADSP-21489 EZ-Board.  The chip is the Micron M25P16.  I can boot from parallel flash no problem, but when I try to boot from SPI flash it just hangs.  I can program both parallel and SPI flash successfully using the cldp command-line utility.  I believe I have all the jumper and switch settings correct including SW3 enabling the SPI pins.

 

Here is the command I use to program parallel flash:

 

cldp -proc ADSP-21489 -emu hpusb -driver "C:\Analog Devices\ADSP-21489_EZKIT-Rel1.0.0\21489_EZ-Board\Examples\Device_Programmer\serial\21489_m25p16_dpia.dxe" -cmd prog -erase affected -format hex -file "C:\MyApp.ldr"

 

Here is the command I use to program SPI flash:

 

cldp -proc ADSP-21489 -emu hpusb -driver "C:\Analog Devices\ADSP-21489_EZKIT-Rel1.0.0\21489_EZ-Board\Examples\Device_Programmer\parallel\21489_m29w320_dpia.dxe" -cmd prog -erase affected -format hex -file "C:\MyApp.ldr"

 

BOTH of them return successful when I program.  Then I turn SW4 to position 2 which is parallel flash boot.  I reset the board and my application runs successfully.  Then if I turn SW4 to position 1 (SPI flash boot) and reset nothing happens.

 

Any ideas of what I might be doing wrong? 

Outcomes