Updated CF Flasher Available

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

Updated CF Flasher Available

27,093 Views
mnorman
NXP Employee
NXP Employee
An updated version of CF Flasher is now available.  Version 3.1.5 adds supports for the new M5253EVB.
 
Did you know?
CF Flasher is a free flash programmer that supports all Freescale ColdFire evaluation kits.  It runs on Windows platforms and communicates with the ColdFire processor's BDM interface via a P&E BDM cable (parallel port or USB version). 
 
Labels (1)
0 Kudos
22 Replies

3,070 Views
petrkriz
Contributor I

This link stopped work.

2,957 Views
TomE
Specialist II
That's a 16 year old link! "freescale" was renamed "nxp" a very long time ago. Just search on NXP's site for "cfflasher" and you'll get a download button.

Tom

5,688 Views
Jingchang_Lu1
Contributor I

I'm flashing M5253DEMO board flash using CF Flasher3.1.10, the board SCH version is SCH-23837 REV-B, board reversion is 700-23837 REV C, the NOR flash type is SST39VF6401B, the BDM interface is the USB type PE interface on board. I get time out error message when erase the flash, the CF cfg content is:

 

DEVICE    MCF5253DEMO
MBAR      10000000
RAMBAR0   20000000
RAMBAR1   30000000
FLASHBASE FF800000

INSTRAM   RAMBAR0  
DATARAM   RAMBAR0
DATASIZE  0x1000

FLASHALG  SST39VF6401B(1x16)

.init
wcreg MBAR    MBAR    0x1
wcreg RAMBAR0 RAMBAR0 0x1

write.w MBAR  0x00000080 FLASHBASE>>0x10 0x00000000
write.w MBAR  0x0000008A 0x1D80
write.l MBAR  0x00000084 0x007F0021

delay 1000

 

the CF alg is:

DEVICE     SST39VF6401B(1x16)
SIZE       0x800000
NUMSEC     2048
NUMDEV    1
WIDTH    16
ALGSIZE    0x100

SEC 0x00000000 0x00001000
SEC 0x00001000 0x00001000
SEC 0x00002000 0x00001000
SEC 0x00003000 0x00001000
SEC 0x00004000 0x00001000

               :

               :

SEC 0x007fc000 0x00001000
SEC 0x007fd000 0x00001000
SEC 0x007fe000 0x00001000
SEC 0x007ff000 0x00001000


.alg
60000052303C00AA2C4DDDFC0000AAAA
3C80303C00553B405554303C00A02C4D
DDFC0000AAAA3C807000301338803214
02810000FFFFB08166F4D7FC00000002
D9FC00000002B7CA6DBA4E714E714AC8
4E7160F6303CAAAA2C4DDDFC0000AAAA
3C80303C55552C4DDDFC000055543C80
303C00802C4DDDFC0000AAAA3C80303C
AAAA2C4DDDFC0000AAAA3C80303C5555
2C4DDDFC000055543C80303C50503880
2214203CFFFFFFFFB08166F44E714E71
4AC84E71

 

can u give me some help for this, is there any jumper need set, how you do this ???

 

Thanks!

Message Edited by Jingchang-Lu on 2009-12-23 04:52 AM
0 Kudos

5,687 Views
vier_kuifjes
Senior Contributor I

Why not start a NEW thread with your question? I see a thread appear with the title "Updated CF Flasher Available". When I read that, I expect to find a new verion of CF Flasher, not a question about a problem that may or may not have anything to do with CF Flasher. Don't expect to find any answers here.

 

Just a suggestion...

0 Kudos

5,687 Views
DaveG_
Contributor I
I would also like this for the M52259 boards. Any chance of releasing the source to this utility so I might look into supporting the TBLCF hardware?
0 Kudos

5,687 Views
stefano664
Contributor I

Good morning,

  I want to use CF flasher to program an MFC52236, mounted on a demo board that I have make, but I encounter some problems, because CF flasher seem to write on the chip but the verify fail. With Codewarrior the board is still working fine, only CF flasher have problems.

 

Best regards,

Stefano

 

P.S. The programmer is the P&E USB-ML-CFE.

0 Kudos

5,687 Views
RuiFaria
Contributor III

Hi Stefano,

 

I am having the same problem with CFFlasher 3.1.10 and CPROGCFZ (verify fails!), did you find a solution for this problem?

 

I am also trying to use CFFlasher by command line but without success and seems to be okay by IDE except the verify! :smileyfrustrated:

 

Are you also having with this problem?

 

Thanks.

 

Best Regards,

Rui Faria

0 Kudos

5,686 Views
sensio
Contributor I
Hello,
 
I'm currently using M52233DEMO board with P&E Micro USB BDM.
 
I managed to erase and program the flash using CF Flasher 3.1 using the GUI.
 
But when I try to do the same with the command line interface, I receive this error message:
 
C:\Program Files\Freescale\CF Flasher>cfflasher -t M52233DEMO -e -bdm PE_USB_ML
CF Flasher 3.1
target    = M52233DEMO
prg file  =
file type = s-record
Initializing target...
wcreg   0x0801     0x00000000
wcreg   0x0C05     0x20000001
wcreg   0x0C04     0x00000001
write.l 0x40000000 0x40000001
write.b 0x40100074 0x0F
write.w 0x40120000 0x4007
delay 1000
write.b 0x401D0002 0x52
write.l 0x401D0010 0x00000000
Erasing flash...
Erasing at address 0x00000000
Error: Timeout during erase algorithm
Timeout error
Erasing done.
0 sectors erased
From 0x00000000 to 0x0003FFFF
 
Any idea?
Thanks,
David
0 Kudos

5,687 Views
w2vy
Contributor V

Is there any documentation on the command line options supported?

 

 

0 Kudos

5,687 Views
sensio
Contributor I

Try this!  

C:\Program Files\Freescale\CF Flasher>CFFlasher.exe -h

 

0 Kudos

5,687 Views
w2vy
Contributor V

(blush)

 

I did try -HELP

 

Honest

0 Kudos

5,687 Views
w2vy
Contributor V

Has anyone found a solution to the "Error: Timeout during erase algorithm" problem?

 

Not updating to SP3 is not an option for me (and MANY I am sure)

 

Is it just a USB problem? (will it work on Parallel Port bdms?)

 

tom

0 Kudos

5,687 Views
sensio
Contributor I

fyi,

 

I tried several thins with the parallel BDM (Rev. F) as well, but the result is the same.

I can't erase the flash through cmd line.

 

David @ Sensio

0 Kudos

5,687 Views
FELiXik
Contributor I
Hello sensio,
there is a problem in Windows update:
do NOT install update KB886185. if it is installed, you can use windows restore point or reinstall system without this update. (windows restore point works me only in 50% of trials).

At the moment I am downloading SP3 (XP), so if there will be this simillar problem I write...

And don´t worry - I have reinstalled my system more the 20times in last 24 hours... :smileyvery-happy:
0 Kudos

5,687 Views
FELiXik
Contributor I
omg, please don't install SP3 for XP - it is a way to hell :smileyhappy: (or to Timeout during erase algorithm) :smileyhappy:

it is no possible to take back SP3 by windows restoration point. I think the installer makes some changes before install and it is no possible take it back!
(board was working before I use windows update and during instalation it stops working)

so if you starts SP3 instalation, it is no way back. :smileymad:

previous post is still valid too - it takes simillar error as SP3.


Message Edited by FELiXik on 2008-09-04 01:10 PM

Message Edited by FELiXik on 2008-09-04 01:12 PM
0 Kudos

5,687 Views
sensio
Contributor I
Thanks for the hints with KB886185 and SP3.
I'll try CF Flasher on another system for sure.
 
I forgot to said that I forced my USB ports to version 1.1 from the BIOS in order to use CF Flasher (GUI version, not via command line)) and the P&E Micro BDM properly. If I use USB V2.0, I also have timeouts when erasing. Maybe it's also your problem.
 
Also, for the USB BDM, I installed the drivers from the P&E Micro system website (see MIL-ML_CFE product), but it looks like CF Flasher use its own USB drivers (PE_USB_ML). But  might be wrong.
 
Regards,
David @ Sensio
0 Kudos

5,686 Views
mnorman
NXP Employee
NXP Employee
CF Flasher 3.1.6 is now available!  Support has been added for the M54455EVB.


0 Kudos

5,686 Views
SamuelG
Contributor I
Hi,
 
I've got a M5249C3 EVB and I've managed to trash dBug. I've downloaded CF Flasher ver 3.1.5 and the S19 file for dBug for this EVB. I've got a parallel port BDM pod, supplied with the EVB. I can erase the onboard Flash device and I can use the "memory fill" to program the onboard Flash. When I try programming the S19 though the programmer gives an error for each sector "Error: Timeout during program algorithm".
I've tried this on two different decent PC's with identical results.
 
Any ideas? pretty please?
 
Cheers
Samuel
0 Kudos

5,686 Views
mnorman
NXP Employee
NXP Employee
I just successfully reprogrammed dBUG on a Rev 1.1 M5249C3 with CF Flasher v 3.1.6.  The flash device on my board is a AM29LV160DB-90EC.  Insure that you have JP12 in the 1-2 position.

-Michael
0 Kudos

5,687 Views
thm59
Contributor II
Hello,

Is it possible to use CF Flasher with TBLCF ?

If no, a nice improvement of CF Flasher would be the support of TBLCF.

thierry
0 Kudos