MCF52235EVB  problem with Flash Programmer

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

MCF52235EVB  problem with Flash Programmer

2,246 Views
Dome74
Contributor I
I have a problem with the Flash programmer of CW, when I try to write the internal flash an error happen (below here there is the log information), if I use a third part CFFLasher all work correctly, have someone an idea of this problem??
In the flash programmer I load the CFM_MCF52235.xlm setting.
Thanks in advance.
Regards
 
Domenico
 
======================================================================
=== Execute: Program
=== Timestamp:  Tue Jul 31 17:15:57 2007
=== Flash Device:         CFM_MCF52235
=== Flash Organization:   8Kx32x1
=== Flash Mem Start Addr: 0x00000000
=== Flash Mem End Addr:   0x0003FFFF
======================================================================
Using Algorithm: CFM_MCFCOMMON.elf
 
Loading Flash Device Driver at: 0x20000000
Flash Driver Buffer is at:      0x20001FB0
Flash Driver Buffer Size is:    0x00006050
Done
Initialization Command Succeeded
System clock:  25000KHz
 
Programming file C:\Test Motorola\52235EVB\52235EVB\bin\M52235EVB_INTERNAL_FLASH.elf
Trying auto-detect...
  File is NOT of type Motorola S-Record Format.
Auto-detection is successful.
  File is of type Elf Format.
Programming 0x00000418 bytes of Target Memory at 0x00000000
Flash Programmer:  Flash driver reports the following error(s):  Chip reported error during program
Timestamp:  Tue Jul 31 17:16:04 2007
Labels (1)
0 Kudos
5 Replies

427 Views
macl
Senior Contributor I
What version of CodeWarrior are you using?  ColdFire v6.3 or 6.4?
0 Kudos

427 Views
Dome74
Contributor I
I'm using the version V6.4, the strange is that if I run the Erase command in Flash Programmer and afrer run the Program command I be able to load the program, but never work when I push the button debug.
Thanks for the interest.
Regards,
 
 
Domenico Ferrari
0 Kudos

427 Views
bkatt
Contributor IV
When using the built-in CodeWarrior flash tool you must always erase before programming. At least you get to decide the exact pieces you want to erase (if you don't want to erase everything).

With CF Flasher, you just hit program and it erases automatically. However, it seems to choose to erase in blocks of 16K. So for example if I have a little 4K boot program at zero, I cannot program something else at the 8K position without my first program being clobbered.

0 Kudos

427 Views
CrasyCat
Specialist III
Hello
 
Did you try to specify the S record file as input file for flash programming (.elf.S19)?
Is that working better?
 
If you cannot get that working I would recommend you to submit a service request for that.

Click here to submit a service request.

Make sure to attach a reproducible project and installed product information to the service request.
To generate the required information:
- Start CodeWarrior
- Open the project
- Select "Help" -> "Pack and Go" and follow instructions on the screen.

Attach the generated .zip file to the SR.
It will also help if you attached the detailed information returned by the programmer.
 
CrasyCat
0 Kudos

427 Views
Dome74
Contributor I
I have tried to seleceted my file S19 and set "Motorola S-Record format"  in the file type but the problem there is again, I will try to do a service request.
Thank you very much for the help.
 
Domenico Ferrari
0 Kudos