Reply by Gordon Doughman●December 1, 20032003-12-01
John/All,
SRecCvt is now being distributed with a GUI interface for the command
line tool. This should make converting/generating S-Record files much
easier. I've also added the ability to compare the data contained in two
S-Record files. The current version of SRecCvt can be found at:
If you want to generate an S-Record file (linear addresses) containing
random data, the command line would be:
sreccvt -m c0000 fefff 32 -rf -o TestFile.S19
Note that the end address, fefff, assumes a 4K protected boot block. You
may have to adjust the end address if your boot block is a different size.
Regards,
Gordon
johnpititto1976 wrote:
>Hi All,
>
>I have almost finished my bootloader program(thanks to great suppport
>on this message board), except for figuring out the correct
>parameters for the motorola S-Record formatting program SRecCvt. I
>have been passing the string, sreccvt.exe -b 16 0x30 32 -rf -o
>file.s19. The problem is that i using the HCS12DP256 micro in banked
>memory model and the converted file has the program code at the wrong
>location. Has anyone go any tips on how to ensure that the program
>code is forced to the correct location in memory?
>
>Kind Regards,
>
>John Pititto.
>
>--------------------
>
> ">http://docs.yahoo.com/info/terms/
>
--
===============================================================
Gordon Doughman Ph: 937-438-6811
Motorola Semiconductor Fax: 937-434-7457
Field Applications Engineer Pager: 800-759-8352 Pin: 1304089
Suite 175
3131 Newmark Drive
Miamisburg, OH 45342
The SRecCvt parameters line that work for me (also HCS12DP256 micro in banked
memory model) is this one:
c:\sreccvt -m c000 ffffff 32 -o c:\file.s19
>
>Hi All,
>
>I have almost finished my bootloader program(thanks to great suppport
>on this message board), except for figuring out the correct
>parameters for the motorola S-Record formatting program SRecCvt. I
>have been passing the string, sreccvt.exe -b 16 0x30 32 -rf -o
>file.s19. The problem is that i using the HCS12DP256 micro in banked
>memory model and the converted file has the program code at the wrong
>location. Has anyone go any tips on how to ensure that the program
>code is forced to the correct location in memory?
>
>Kind Regards,
>
>John Pititto
Reply by Gilles Blanquin●November 28, 20032003-11-28
Hi John.
I will send you directly the "burner.bbl" (pasted here below) you can
update in your CodeWarrior project to generate both logical (.s19) and
physical (.phy) srecords in your "bin" folder.
This file is valid for all HCS12 devices.
CLOSE
***************** burner.bbl file end *******************************
At 06:40 AM 11/28/2003, you wrote: >Hi All,
>
>I have almost finished my bootloader program(thanks to great suppport
>on this message board), except for figuring out the correct
>parameters for the motorola S-Record formatting program SRecCvt. I
>have been passing the string, sreccvt.exe -b 16 0x30 32 -rf -o
>file.s19. The problem is that i using the HCS12DP256 micro in banked
>memory model and the converted file has the program code at the wrong
>location. Has anyone go any tips on how to ensure that the program
>code is forced to the correct location in memory?
>
>Kind Regards,
>
>John Pititto.
>
>--------------------
>
>">http://docs.yahoo.com/info/terms/
Reply by Darren●November 28, 20032003-11-28
John,
See app note AN2153 page 18 onwards talks about S-records
and the formats etc...
Darren Moore
> -----Original Message-----
> From: johnpititto1976 [mailto:]
>
> Hi All,
>
> I have almost finished my bootloader program(thanks to great suppport
> on this message board), except for figuring out the correct
> parameters for the motorola S-Record formatting program SRecCvt. I
> have been passing the string, sreccvt.exe -b 16 0x30 32 -rf -o
> file.s19. The problem is that i using the HCS12DP256 micro in banked
> memory model and the converted file has the program code at the wrong
> location. Has anyone go any tips on how to ensure that the program
> code is forced to the correct location in memory?
>
> Kind Regards,
>
> John Pititto.
Reply by johnpititto1976●November 28, 20032003-11-28
Hi All,
I have almost finished my bootloader program(thanks to great suppport
on this message board), except for figuring out the correct
parameters for the motorola S-Record formatting program SRecCvt. I
have been passing the string, sreccvt.exe -b 16 0x30 32 -rf -o
file.s19. The problem is that i using the HCS12DP256 micro in banked
memory model and the converted file has the program code at the wrong
location. Has anyone go any tips on how to ensure that the program
code is forced to the correct location in memory?