External flash (MPC5645S)

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

External flash (MPC5645S)

1,413 Views
josepgorgues
Contributor II

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.

Labels (1)
0 Kudos
Reply
3 Replies

1,131 Views
josepgorgues
Contributor II

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

0 Kudos
Reply

1,131 Views
PetrS
NXP TechSupport
NXP TechSupport

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

1,131 Views
josepgorgues
Contributor II

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

0 Kudos
Reply