EmbeddedRelated.com
Forums

s19 file and 3rd party programmers

Started by eric_cina March 22, 2006
Hi all,

I am using CodeWarrior and HC9S12A128 processor. I use s19 files 
created with from CodeWarrior with 3 byte addresses to download our 
FW thru the serial port. This works fine. But now we are trying to 
get our 3rd party manufacture to program the A128 chips using these 
s19 files and they are failing. They use a BP Microsystems 
programmer and the chips come out blank as far as I can tell.

My question is: is their a standard for what s19 files should look 
like for programmers like BP Microsystems? The s19 file only 
contains code in the 0x4000 block and 0xC000 block so the 3 byte 
addresses do not contain pages (00 for page #).  Is it industry 
standard to always use a paged address?

I'm hoping somebody has experience with this or at least trying to 
get a feel for what other HC12 programmers do with their s19 files 
and page numbers.

Thx in advance for any help.
Eric
	
Strictly speaking what you have are not s-records. They are logical 
records. Motorola s-records require linear physical addresses. For the 
HC9S12A128, this means addresses in the range $E0000-$FFFFF. You can 
download a converter program (Log2Phy_12) from P&E Microcomputer Systems 
website at www.pemicro.com which will convert your records.

I'm not exactly sure this is your problem but it is worth a try.

Dave
	eric_cina wrote:

> Hi all,
>
> I am using CodeWarrior and HC9S12A128 processor. I use s19 files
> created with from CodeWarrior with 3 byte addresses to download our
> FW thru the serial port. This works fine. But now we are trying to
> get our 3rd party manufacture to program the A128 chips using these
> s19 files and they are failing. They use a BP Microsystems
> programmer and the chips come out blank as far as I can tell.
>
> My question is: is their a standard for what s19 files should look
> like for programmers like BP Microsystems? The s19 file only
> contains code in the 0x4000 block and 0xC000 block so the 3 byte
> addresses do not contain pages (00 for page #).  Is it industry
> standard to always use a paged address?
>
> I'm hoping somebody has experience with this or at least trying to
> get a feel for what other HC12 programmers do with their s19 files
> and page numbers.
>
> Thx in advance for any help.
> Eric 
>
>
>
>
> 
> >.
>
>
> 
>
	
	
Perfect. This is exactly what I was looking for. Thx so much.

Eric

--- In 68HC12@68HC..., "Dr. David A. Perreault" <dap@...> 
wrote:
>
> Strictly speaking what you have are not s-records. They are 
logical 
> records. Motorola s-records require linear
physical addresses. For 
the 
> HC9S12A128, this means addresses in the range
$E0000-$FFFFF. You 
can 
> download a converter program (Log2Phy_12) from
P&E Microcomputer 
Systems 
> website at www.pemicro.com which will convert your
records.
> 
> I'm not exactly sure this is your problem but it is worth a try.
> 
> Dave
> 
> 
> eric_cina wrote:
> 
> > Hi all,
> >
> > I am using CodeWarrior and HC9S12A128 processor. I use s19 files
> > created with from CodeWarrior with 3 byte addresses to download 
our
> > FW thru the serial port. This works fine. But
now we are trying 
to
> > get our 3rd party manufacture to program the
A128 chips using 
these
> > s19 files and they are failing. They use a BP
Microsystems
> > programmer and the chips come out blank as far as I can tell.
> >
> > My question is: is their a standard for what s19 files should 
look
> > like for programmers like BP Microsystems?
The s19 file only
> > contains code in the 0x4000 block and 0xC000 block so the 3 byte
> > addresses do not contain pages (00 for page #).  Is it industry
> > standard to always use a paged address?
> >
> > I'm hoping somebody has experience with this or at least trying 
to
> > get a feel for what other HC12 programmers do
with their s19 
files
> > and page numbers.
> >
> > Thx in advance for any help.
> > Eric 
> >
> >
> >
> >
> > -----------------------------
-------
> > >.
> >
> >
> > -----------------------------
-------
> >
> 
> 
> 
>
	
Hi Eric,
When you build a CodeWarrior project, in the "bin" folder, a .s19 but
also 
a .phy are generated. The .phy file is the linear physical srecord that you 
need.
Regards,
Gilles
	At 08:29 PM 3/22/2006, you wrote:
>Hi all,
>
>I am using CodeWarrior and HC9S12A128 processor. I use s19 files
>created with from CodeWarrior with 3 byte addresses to download our
>FW thru the serial port. This works fine. But now we are trying to
>get our 3rd party manufacture to program the A128 chips using these
>s19 files and they are failing. They use a BP Microsystems
>programmer and the chips come out blank as far as I can tell.
>
>My question is: is their a standard for what s19 files should look
>like for programmers like BP Microsystems? The s19 file only
>contains code in the 0x4000 block and 0xC000 block so the 3 byte
>addresses do not contain pages (00 for page #).  Is it industry
>standard to always use a paged address?
>
>I'm hoping somebody has experience with this or at least trying to
>get a feel for what other HC12 programmers do with their s19 files
>and page numbers.
>
>Thx in advance for any help.
>Eric
>
>
>
>
>
>
>Yahoo! Groups Links
>
>
>
>