CW7.0 for ColdFire -> Flash tools

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

CW7.0 for ColdFire -> Flash tools

2,411 Views
Nouchi
Senior Contributor II
Hi,

The problem described below was already present on CW6.x, with USB Multilink Pod and, MCF5213, MCF52223 target.
I declared constant segment at the top of flash like that:
Code:
#pragma define_section appident ".appident" far_absolute R__declspec(appident)char appId[] = "My Firware Version";

 in the lcf file:
Code:
appId    (RX)  : ORIGIN = 0x0003FFC0, LENGTH = 0x0000003C.app_id :{ *(.appident)} > appId

The flash tools never want to write this segment, this segment exist in the S19 file, and there's no problem with CFFlasher or ProgCFZ.
The flash tool log reports :
Code:
========================================================================= Execute: Program=== Timestamp:  Wed May 14 09:49:55 2008=== Flash Device:   CFM_MCF52223=== Flash Organization:   8Kx32x1=== Flash Mem Start Addr: 0x00000000=== Flash Mem End Addr:   0x0003FFFF======================================================================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 0x00000000Programming 0x00010000 bytes of Target Memory at 0x00004400Programming 0x00010000 bytes of Target Memory at 0x00014400Programming 0x00000ED0 bytes of Target Memory at 0x00024400Programming 0x00000036 bytes of Target Memory at 0x0003FFC0Flash Programmer:  Flash driver reports the following error(s):  Operation Unsupported  Timed Out  Verify failed


Thanks,
Emmanuel


 

Labels (1)
0 Kudos
4 Replies

345 Views
J2MEJediMaster
Specialist I
I just want to be clear on this. You're talking about the .s19 file being a S-record file, right? The Flash Tool diagnostic is saying it's not an S-record file, but an ELF file. While there's obviously a problem, I'm wondering if the trouble is rooted in the file format it's been given to work with.

---Tom


Message Edited by J2MEJediMaster on 2008-05-14 10:28 AM
0 Kudos

345 Views
Nouchi
Senior Contributor II
Yes, I was talking about s19 file, and was correctly generated, flash tool used the default output linker file in elf format, but i don't know if it's format is ok (it should be)
I tried with the S19 S-Record file, and I've got the same result :


Code:
========================================================================= Execute: Program=== Timestamp:  Wed May 14 16:55:32 2008=== Flash Device:   CFM_MCF52223=== Flash Organization:   8Kx32x1=== Flash Mem Start Addr: 0x00000000=== Flash Mem End Addr:   0x0003FFFF======================================================================Trying auto-detect...Auto-detection is successful.  File is of type Motorola S-Record Format.Programming 0x00000418 bytes of Target Memory at 0x00000000Programming 0x00010000 bytes of Target Memory at 0x00004400Programming 0x00010000 bytes of Target Memory at 0x00014400Programming 0x00002618 bytes of Target Memory at 0x00024400Programming 0x00000036 bytes of Target Memory at 0x0003FFC0Flash Programmer:  Flash driver reports the following error(s):  Operation Unsupported  Timed Out  Verify failed Timestamp:  Wed May 14 16:55:52 2008

 It's not seems to be a file generation problem,.

Emmanuel


0 Kudos

345 Views
J2MEJediMaster
Specialist I
OK, so now we know the problem doesn't have to do with the input format. :smileysad:

This problem is beyond my meager trouble-shooting skills. I suggest you file a service request on this. Click here to file a service request.

---Tom

0 Kudos

345 Views
Nouchi
Senior Contributor II
It's probably a problem between Flashtool and PEmicro Multilink driver......

0 Kudos