CodeWarrior Flash Programmer can't download program correctly

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

CodeWarrior Flash Programmer can't download program correctly

1,138 Views
yubingjin
Contributor I

Hi,

 

I met a problem when downloading program to S29WS064R flash IC using flash programmer in CodeWarrior,

following is the detail, please help, Thanks!

 

Board configuration:

CPU: MCF5208

FLASH IC: S29WS064RABBH00  4M*16bit*1

 

Development IDE: CodeWarrior V10.5

Development Tool: P&E MultiLink Universal

 

Error Observation:

 

First build firmware with FLASH_DEBUG_PEBDM configuration,elf file can be built successfully.

After starting debug session in CodeWarrior, flash programmer will download program into flash.

In Flash programmer task, S29WS064J 4M*16*1 is selected as Device,base address is 0x00000000.

 

Sometimes the program can be downloaded and executed successfully.

Sometimes the program can't be downloaded, 2 types of error:

1.Hang at Erase, always display "Erase ...."

2.Hang at Program, always display "Program ..."

 

After the error happen, the flash IC can't recover, same error will always happen when downloading program. Need change to use a new IC.

 

Not sure if this is caused by the flash algorithm not compatible between S29WS064J and S29WS064R.

Any way to resolve this?

Labels (1)
0 Kudos
2 Replies

732 Views
trytohelp
NXP Employee
NXP Employee

Hi,

By default we don't provide other Flash Algorithms that the devices supported on the CodeWarrior Installation.
We could support new devices if a new "Freescale Designed" board will use them.
In this case the next release will add them.

If a customer is looking for a specific device, it's possible to create it using the AN.
Please have a look to the installation folder:

    \CW MCU v10.6.4\MCU\ColdFire_Tools\FlashToolKit\AN3859.pdf

I will contact the Development team to know if the S29WS064R algo is available.

Keep you informed.

Have a great day,
Pascal
NXP Technical Support

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

731 Views
yubingjin
Contributor I

Pascal,

Thanks for reply.

It looks this issue is caused by the compatibility between CodeWarrior 10.5 and P&E USB multilink,

After I reinstalled CodeWarrior 10.5 in a windows 32bit Virtual machine, program downloading using  P&E USB multilink Rev B

works normally so far.

I will keep monitoring this issue.

0 Kudos