Join our technical discussions about Freescale Microcontrollers: M68HC12. (Freescale Semiconductor is a Subsidiary of Motorola).
Serial Bootloader for HCS12xDP512 - jsbouchard1978 - Dec 2 15:52:00 2005
Is there something available to replace the serial bootloader that was
available with MC9S12DP256B?
If not, has anyone attempted to modify this serial bootloader created
for the MC9S12DP256B to adapt it to the MC9S12XDP512?
I know that the original code won't work because of the RAM mapping
that is not available on the XGATE series, but there might be a way
around this.

(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )
Re: Serial Bootloader for HCS12xDP512 - jsbouchard1978 - Dec 2 15:54:00 2005
I mean the serial bootloader from Freescale AN2153
--- In 68HC12@68HC..., "jsbouchard1978" <js.bouchard@m...>
wrote:
>
> Is there something available to replace the serial bootloader that
was
> available with MC9S12DP256B?
>
> If not, has anyone attempted to modify this serial bootloader
created
> for the MC9S12DP256B to adapt it to the MC9S12XDP512?
>
> I know that the original code won't work because of the RAM mapping
> that is not available on the XGATE series, but there might be a way
> around this.

(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )
RE: Re: Serial Bootloader for HCS12xDP512 - David Wild - Dec 2 16:03:00 2005
I have no idea what that bootloader was like, but making a bootloader from
scratch for the 9S12 is pretty simple.
Simply make it resident in FE00-FFFF and make sure to include a pseudovector
reference table above the real one (which is at FFDO) I think.
-----Original Message-----
From: 68HC12@68HC... [mailto:68HC12@68HC...] On Behalf Of
jsbouchard1978
Sent: Friday, December 02, 2005 1:54 PM
To: 68HC12@68HC...
Subject: [68HC12] Re: Serial Bootloader for HCS12xDP512
I mean the serial bootloader from Freescale AN2153
--- In 68HC12@68HC..., "jsbouchard1978" <js.bouchard@m...>
wrote:
>
> Is there something available to replace the serial bootloader that
was
> available with MC9S12DP256B?
>
> If not, has anyone attempted to modify this serial bootloader
created
> for the MC9S12DP256B to adapt it to the MC9S12XDP512?
>
> I know that the original code won't work because of the RAM mapping
> that is not available on the XGATE series, but there might be a way
> around this.
------------------------ Yahoo! Groups Sponsor --------------------~-->
1.2 million kids a year are victims of human trafficking. Stop slavery.
http://us.click.yahoo.com/.QUssC/izNLAA/TtwFAA/dN_tlB/TM
--------------------------------------------------------------------~-
Yahoo! Groups Links

(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )
Re: Serial Bootloader for HCS12xDP512 - zeta_alpha2002 - Dec 2 17:17:00 2005
>but there might be a way
> around this.
I did a quick look. You Change ppage $30 (document page 46) to start
at $E0 and ends at $FF for the erase routine.
I think the major changes are where the start of PPAGEs. The other
issue might that the SrecCVT in bank mode maynot support PPAGEs to
cover upto PPAGE = $FF. Anyway, that is what my experiment tells me.
Hopefully other may have some insights.

(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )
RE: Re: Serial Bootloader for HCS12xDP512 - Jean-Sebastien Bouchard - Dec 5 11:01:00 2005
My problem is with the RAM address space relocation. the XGATE family doest
not support memory space relocation. So once the Bootloader is moved to RAM,
it is not able to use address space $F000 as RAM instead of address space
$3000.
_____
From: 68HC12@68HC... [mailto:68HC12@68HC...] On Behalf Of
zeta_alpha2002
Sent: December 2, 2005 4:17 PM
To: 68HC12@68HC...
Subject: [68HC12] Re: Serial Bootloader for HCS12xDP512
>but there might be a way
> around this.
I did a quick look. You Change ppage $30 (document page 46) to start
at $E0 and ends at $FF for the erase routine.
I think the major changes are where the start of PPAGEs. The other
issue might that the SrecCVT in bank mode maynot support PPAGEs to
cover upto PPAGE = $FF. Anyway, that is what my experiment tells me.
Hopefully other may have some insights.
SPONSORED LINKS
Freescale
<http://groups.yahoo.com/gads?t=ms&k=Freescale+semiconductor+inc&w1=Freescal
e+semiconductor+inc&w2=Microcontrollers&w3=Pic+microcontrollers&w4=8051+micr
oprocessor&c=4&s=106&.sig=K2HGv-zFlv5OYUv_QxIq_Q> semiconductor inc
Microcontrollers
<http://groups.yahoo.com/gads?t=ms&k=Microcontrollers&w1=Freescale+semicondu
ctor+inc&w2=Microcontrollers&w3=Pic+microcontrollers&w4=8051+microprocessor&
c=4&s=106&.sig=SYHwNJjjGQXRvtt_GybT4g> Pic
<http://groups.yahoo.com/gads?t=ms&k=Pic+microcontrollers&w1=Freescale+semic
onductor+inc&w2=Microcontrollers&w3=Pic+microcontrollers&w4=8051+microproces
sor&c=4&s=106&.sig=umVbbnUwsPzEzKKD_pQfUw> microcontrollers
8051
<http://groups.yahoo.com/gads?t=ms&k=8051+microprocessor&w1=Freescale+semico
nductor+inc&w2=Microcontrollers&w3=Pic+microcontrollers&w4=8051+microprocess
or&c=4&s=106&.sig=NO-nSKjHoAlh9XtZ8LB1_A> microprocessor
_____
> .
_____
[Non-text portions of this message have been removed]

(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )
Re: Serial Bootloader for HCS12xDP512 - zeta_alpha2002 - Dec 5 12:25:00 2005
>So once the Bootloader is moved to RAM,
> it is not able to use address space $F000 as RAM instead of address
space
> $3000.
Why not use the AN2548/D. I have already fix or ported it for the
S12X. It just uses a small portion in stack to write and erase FLASH.
Right now I am waiting for my GUI guy to fix the uBUG12 from
Technological Arts to support S12X.

(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )