External flash (MPC5645S)

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

External flash (MPC5645S)

3,512 次查看
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.

标签 (1)
标记 (1)
0 项奖励
回复
3 回复数

3,230 次查看
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 项奖励
回复

3,227 次查看
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

3,227 次查看
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 项奖励
回复