Configuration file for 56F807 USB TAP

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

Configuration file for 56F807 USB TAP

Jump to solution
2,127 Views
julienbouhraoua
Contributor I

Hello,

We have trouble programming our 56F807 processor using USB TAP. It returns error :

"Could not write to the Program-RAM, this sally means the wrong configuration file is used".

Can someone provide us a config file suitable for for the 56F807 target ?

Thanks a lot

Labels (1)
0 Kudos
Reply
1 Solution
1,301 Views
TICS_Fiona
NXP Employee
NXP Employee

Are you using 56800E Flash Programmer to program 56F807?

56800E Flash Programmer only works for 56800E, and it doesn't not support 56800 product.

To program DSP56F807, please use CodeWarrior, or flash_over_jtag.

CodeWarrior v8.3 can be downloaded from:

http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=CW-56800E-DSC

It supports programming with USBTAP and Parallel.

flash_over_jtag is a command-line tool, however it does not support USBTAP.. It is also included in CodeWarrior v8.3:


C:\Program Files (x86)\Freescale\CodeWarrior for DSC56800E v8.3\ProcessorExpert\Tools\applications\flash_over_jtag\flash_jtag_loader_80x_82x

Fiona Kuang

Technical Information & Commercial Support

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
Reply
5 Replies
1,302 Views
TICS_Fiona
NXP Employee
NXP Employee

Are you using 56800E Flash Programmer to program 56F807?

56800E Flash Programmer only works for 56800E, and it doesn't not support 56800 product.

To program DSP56F807, please use CodeWarrior, or flash_over_jtag.

CodeWarrior v8.3 can be downloaded from:

http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=CW-56800E-DSC

It supports programming with USBTAP and Parallel.

flash_over_jtag is a command-line tool, however it does not support USBTAP.. It is also included in CodeWarrior v8.3:


C:\Program Files (x86)\Freescale\CodeWarrior for DSC56800E v8.3\ProcessorExpert\Tools\applications\flash_over_jtag\flash_jtag_loader_80x_82x

Fiona Kuang

Technical Information & Commercial Support

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply
1,301 Views
paulhoffmann
Contributor I

I think I understand what julienbouhraoua was asking, but I have a similar but slightly different question.  It appears that for the 56F807 the only way to program it is with the .elf file.  Unfortunately, I do not have an .elf file but I already have an s-record file.  Is there any way to get Code Warrior to accept the s-record file or at least convert it back to an .elf so the USB TAP can be used for a direct download to the 56F807? 

Thanks,

0 Kudos
Reply
1,301 Views
TICS_Fiona
NXP Employee
NXP Employee

Hello Paul

CodeWarrior cannot program with S-record  file. And it is impossible to convert a S-record file into ELF because the latter contains much more information.


The only tool that we have is program flash_over_jtag, hwever it does not support USBTAP, it only supports to program with parallel connection on Windows XP:


C:\Program Files (x86)\Freescale\CodeWarrior for DSC56800E v8.3\ProcessorExpert\Tools\applications\flash_over_jtag\flash_jtag_loader_80x_82x

Fiona Kuang

Technical Information & Commercial Support

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply
1,301 Views
paulhoffmann
Contributor I

I have breadboarded the parallel command converter and used the  flash_over_jtag tool as suggested.

The 5V to 3.3V level shift is correct on all pins.  All inputs from the parallel port to the JTAG pins are toggling as expected but TDO does not ever go low (it is pulled up through 10 kohm, power is applied to the 56F807 and it is not in reset).  I am not using an EVM but 56F807 is surface mounted to a pcb.

The command line error is “Command Converter not connected or disabled!” 

My command line is "flash_over_jtag.exe flash807.cfg test807.s -p0xD000 on an XP computer.

Result is:

DSP56F800 Flash loader. Compiled on Jul 23, 2003 15:47:57.

version Epsilon 0.7

(c) Motorola 2001-2002 MCSL

Partial Copyright 2000-2002, Zloba Alexander

I/O port driver started

Using printer port at address 0xD000.

Command Converter not connected or disabled!The target was reset, the application is running

I think the computer is expecting a response from the TDO to avoid that error, but that’s just my guess.

What can I do to avoid this error to allow the flashing to operate correctly?

Thanks, in advance!

0 Kudos
Reply
1,301 Views
paulhoffmann
Contributor I

I have solved this problem in that I had the pinouts for the parallel port's second row (14-25) reversed.  1-13 were ok. Pin 8 was connected to pin 24 instead of instead of pin 15 per the converter schematic.

Here is my new problem if anyone can help....Flash_Over_Jtag.exe from DSC56800E v8.3

I am using the parallel port command converter (running XP) to try and program the target 57F807 chip and there are a few items that I don’t understand.

  1. I’m getting a JTAG ID of 0xFFFFFFFF and I believe it is because Enable OnCE was unsuccessful after attempting 10 polls.  Where is the JTAG ID stored or how is it determined?
  2. All JTAG signals are toggling with command (except TDO which is just spikey noise with each toggle).  My command line is flash_over_jtag.exe flash807.cfg test807.s –p0xd000.  Is the problem based on TDO not toggling correctly?
  3. My CodeWarrior connection server appears to be properly set for Parallel Port (SPP) (lpt:0xD000).  Should I be using the CCS Remote Connection (TYPE) for the debugger preference or does this not matter (it is what I am currently set to)?
0 Kudos
Reply