S records keep crashing on download

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

S records keep crashing on download

Jump to solution
3,631 Views
rob18767
Contributor III

After generating S records with linker setting, generate byte addresses unchecked, the flash programmer (56800E Flash Programmer) crashes when I try to download S records over JTAG (my serial port application works just fine).

Labels (1)
Tags (1)
0 Kudos
Reply
1 Solution
1,236 Views
rob18767
Contributor III

Problem sorted with 8.2.2 Patch/Upgrade !!!!!

 

In reply to your Service Request SR 1-577236045:

First of all, please accept our sincerest apology for any inconvenience
you are experiencing with our development tool.

56800E Flash Programmer crashes because of the line below in your
attached S-record file.
S30502000001F7

This is a useless record data, and 56800E linker behaves incorrectly to
generate this data. This is a know issue, and the update 8.2.2 fixed
this problem.

MTWX27665 - Fixed problem where linker generates extra S-records.

Would you please download CW update 8.2.2 and install it?
http://www.freescale.com/webapp/sps/site/overview.jsp?nodeId=01272600617
882140B

Before the installation, please backup your license file.

If the above does not work, please contact me again. I'll be very glad
to help you.

Thank you for your interest in Freescale Semiconductor products and for
the opportunity to serve you.

Should you need to contact us with regard to this message, please see
the notes below.

Best Regards,


XXXXXXXX

View solution in original post

0 Kudos
Reply
8 Replies
1,237 Views
rob18767
Contributor III

Problem sorted with 8.2.2 Patch/Upgrade !!!!!

 

In reply to your Service Request SR 1-577236045:

First of all, please accept our sincerest apology for any inconvenience
you are experiencing with our development tool.

56800E Flash Programmer crashes because of the line below in your
attached S-record file.
S30502000001F7

This is a useless record data, and 56800E linker behaves incorrectly to
generate this data. This is a know issue, and the update 8.2.2 fixed
this problem.

MTWX27665 - Fixed problem where linker generates extra S-records.

Would you please download CW update 8.2.2 and install it?
http://www.freescale.com/webapp/sps/site/overview.jsp?nodeId=01272600617
882140B

Before the installation, please backup your license file.

If the above does not work, please contact me again. I'll be very glad
to help you.

Thank you for your interest in Freescale Semiconductor products and for
the opportunity to serve you.

Should you need to contact us with regard to this message, please see
the notes below.

Best Regards,


XXXXXXXX

0 Kudos
Reply
1,235 Views
trytohelp
NXP Employee
NXP Employee

Fine.

My colleague already answered the problem.

Don't hesitate to contact us.

 

Regards

Pascal

0 Kudos
Reply
1,236 Views
rob18767
Contributor III

Still no reply but.......

 

After programming applications with data for data flash from elf files it seems apparent the data flash is not being programmed.

 

Any suggestions?

0 Kudos
Reply
1,235 Views
trytohelp
NXP Employee
NXP Employee

Hi,

 

Difficult to provide you info abpout this problem excepted you can check the target settings Debugger ¦ Remote Debug Option.

Please have a look to Program Download Options.

There are some options for Initial Launch and Successive Runs.

 

If you are not able to fix the problem, I suggest you to log your request to the Freescale CRM system.
Please use Freescale on line support web page.
  - Go to following URL: http://www.freescale.com/TechSupport
  - Click on Submit a Service Request to create a new one or Manage Existing Service Request.
  - You will come to a login page.
  - You can submit your request through the web from there or view the activities of a SR.

Regards

Pascal 

 

0 Kudos
Reply
1,236 Views
rob18767
Contributor III

Thanks try to help :smileyhappy:

 

I am not sure that I posted in the right place though!!! The problem I am having is with the 56800E Flash Programmer application software rather than with codewarrior. 

 

I forgot to mention that CodeWarrior programs the processors correctly via JTAG. 

 

Is opening a Service Request still the right way to go for the 56800E Flash Programmer software? 

0 Kudos
Reply
1,236 Views
trytohelp
NXP Employee
NXP Employee

Yes, please log it in Service request system (CRM)

 

Regards

Pascal

0 Kudos
Reply
1,236 Views
rob18767
Contributor III
Oh the code crashes with Unhandled exception 0xC0000005 Access Violation.
0 Kudos
Reply
1,236 Views
rob18767
Contributor III
OK no replies but let me add more information.

The 56800E flash programmer utility is not downloading [I]certain types of S record[/I]. If I program the program data file.p.s the the unit programs, the same goes for .Elf files. If I try to program the combined file (data and program in file.s) then the utility crashes. A sample data address S record line from the combined data and program

S31D02002A5C0000000000000000000000000000000000000000000000005A

So the S record address is 0x02002A5C

In Codewarrior (build 5.6.1..1658 – Codewarrior Development Studio for DSC56800/E version 8.2, build GMC1) linker settings the checkbox for 'Generate Byte Addresses' remains unchecked.

From the Flash programmers manual I see

"In the combined S-Record file, data memory locations are distinguished from program memory locations by having addresses greater then 0x02000000 (Word Address). The combined file is the accepted format for the application. The 56800E Flash Programmer will accept any combination of options that the Linker set-up dialog will support except the Generate Byte Addresses must remain unchecked."

So everything appears correct.

My target is an MC56F8355 processor. My settings for the flash downloader are 56835x_flash.cfg device configuration file, 800Hz JTAG clock rate (fails 200Hz too), verify programmed words only checked (fails unchecked too), use remote CCS checked (fails unchecked too) on remote address 127.0.0.1 port 41475, the devices is parallel command converter (LPT1) and CCS Timeout is 5 seconds.
Message Edited by rob18767 on 2009-08-03 03:26 PM
0 Kudos
Reply