Problem with 56800E Flash Programmer CLI version with 56F8013

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

Problem with 56800E Flash Programmer CLI version with 56F8013

5,685 Views
jag
Contributor IV
Hi,
I'm trying to use the 56800E Flash Programmer (v1.0) command line version.

I use this command:
fflash 56801x_flash.cfg pippo.S -remote=127.0.0.1:41475 -LPT1 -llog.txt

and the program reply with this:

56800E Flash Programmer v1.0
Program ran on: Mon Dec 10 16:54:07 2007
Connected to local CCS server at PORT 41475
Configured to use Parallel Command Converter at port LPT1
The device is not powered up, cannot continue, if the device
  is powered up, attempt a hard reset on the device, and try this action again.

The fact is that the GUI version works well so I don't know exactly what to do (I tried all the possible flags of fflash)...

Any ideas?

Thanks Bye Jack
Labels (1)
Tags (1)
0 Kudos
14 Replies

572 Views
trytohelp
NXP Employee
NXP Employee
Hi,
 
It's working using Parallel port or the USBtap ?
 
Pascal
0 Kudos

572 Views
jag
Contributor IV
Parallel Port sorry.

0 Kudos

572 Views
trytohelp
NXP Employee
NXP Employee
Do you have an USBTap to check if you meet the same problem ?
 
With the Parallel port we experienced several connection problems.
For sure I can not explain you why it worked in GUI and not in command line.
It seems to be a configuration problem.
on the windows side, may be the configuration of the host parallel port is not the same if the GUI is used ....
 
The USBtap fixes the problem.
 
Pascal
0 Kudos

572 Views
jag
Contributor IV
Ok, I'll check with the USBTap.

But should be better using parallel port than USB...

Bye Jack
0 Kudos

572 Views
trytohelp
NXP Employee
NXP Employee
Hi,
 
You're using the flash programmer.
There are 2 ways to use this tool:
 - 56800E Flash Programmer.exe
 - FFLASH.exe
 
In command line you can debug in remote.
Remote option and LPT must not be used at the same time.
If it's your PC you shouln't need the remote option.
Only the LPT is required.
Please have a look to the Flash programmer users guide.doc manual.
 
Pascal
0 Kudos

572 Views
jag
Contributor IV
Hi,
for remote and LPT option ok, it was a try. I trid with7without remote, with/without LPT, ecc. Nothing change.
I've read the user guide, and I can't find out why is not working.
With the same board, same PC, same parallel-JTAG converter the 56800E Flash Programmer.exe works fine, the FFLASH.exe no.
Have you and idea?

Thanks

Jack
0 Kudos

572 Views
trytohelp
NXP Employee
NXP Employee
Hi,
 
I don't have a board to test it today.
I will investigate tomorrow.
Sorry for the delay.
Keep you informed
 
Pascal
0 Kudos

572 Views
jag
Contributor IV
Thanks.
I forgot to mention that to use the 56800E Flash Programmer I had to install Codewarrior 8.0.

Bye Jack


Message Edited by jag on 2007-12-17 02:40 PM
0 Kudos

572 Views
jag
Contributor IV
Update:

with my dev pc (where is installed CW 7.3 and CW 8.2) I can programm with fflash without problem.
So maybe the problem is with CW 8.0...

I will try to install CW 8.2 on the production pc to see if it works...

Bye Jack
0 Kudos

572 Views
trytohelp
NXP Employee
NXP Employee
Hello Jack,
 
Now I've access to board.
I don't think there are issue in 8.0.
May be the installation has been damaged.
Let me know if you still meet the problem.
 
Pascal
0 Kudos

572 Views
jag
Contributor IV
Hello,

update2:

I did a new installation of CW 8.2 on a pc that never saw CW.
I tried first with 56800E Flash Programmer.exe -> ok
then tried with FFLASH.exe -> not working

Then I had an idea, I tried to compile and program an example directly from CW -> ok

then tried again with FFLASH.exe -> WORKING!!! :smileyvery-happy:

so I think that CW does an initialization of something (that is kept between restart of win), 56800E Flash Programmer.exe does it too (but is not kept at al, even when  the program finish the  programming), but FFLASH.exe doesn't (and AFAIK there is no parameter to pass to the program). :smileytongue:

So for the moment I found a workaround:
- install  CW
- run CW, compile and run the debug of a program on a real board (I used the example isr_Led)
- clode CW
- use FFLASH.exe

Now I wish to know why I have to do all this to make FFLASH.exe working.

and another thing: it's not possible to have the Flash programmer really stand alone? without having to install CW too?

Bye Jack

0 Kudos

572 Views
jag
Contributor IV
Hi again.

My colleage decided to install the flash programmer on another pc.
I used the same method I described above...without success :smileysad:

So now I'm wondering: it's possible that depends on the configuration of the parallel port (ECP,SPP,whatever...)?

This thing is really beginning to annoy me.

I can't understand why the two flash programmers (CLI and GUI) behave differently....

Bye Jack
0 Kudos

572 Views
trytohelp
NXP Employee
NXP Employee
Hi,
 
Do you have an USBtap to check if it's working ?
 
Pascal
0 Kudos

572 Views
jag
Contributor IV
From the Flash programmer GUI and directly from Codewarrior it works...

Bye Jack
0 Kudos