Hello everyone,
We developed a board using MPC5645S with an external Flash Spansion (S25FL064P). We try to program the flash using Codewarrior via JTAG, changing the Target Settings.
Sorry the message is sent before to write it.
Please, could you provide me information to configure the CodeWarrior to program the External Flash?
How should we configure the SPI/QSPI to send the data?
Best Regards,
Josep Gorgues
Hi,
To program external QSPI you should select proper algorithm within CodeWarrior debugger or P&E Micro programmer. You did not specify the CW version you are using.
For example in CW10.x algorithms should be located in
[CW10.x installation]\MCU\bin\plugins\support\EPPC\gdi\P&E\Spansion_*.PCP".
You can use one of these algorithms in "Debug Configuration" \ "Connection Configuration dialog" (see attached screenshot).
The AN4777 deals with using the QSPI module on MPC564S so you can refer to it.
See http://cache.nxp.com/files/microcontrollers/doc/app_note/AN4777.pdf and
http://cache.nxp.com/files/microcontrollers/doc/app_note/AN4777SW.zip
BR, Petr
Hi,
Thank you, we are working with the CW 5.9. Using the progppcnexus application and the proper algorithm we can erase and read information with the External Flash Memory.
However to program the module we need a Debug/Object file. How should we configure the CodeWarrior to compile a proper file?
Best Regards,
Josep Gorgues