HC12 Serial Bootloader Limitations

Started by ga5941 December 28, 2009
I'm downloading my application to a MC9S12DP512 via the Serial Bootloader which resides at $F000 in page $3F of the Flash memory, a protected area. My app starts loading in the programming window at $C000 in page $3F but cannot go beyond $F000. This limits program size to less than 12K bytes, a severe limitation when 512K bytes of Flash are available. The load and erase routines of the Serial Bootloader all reside in $F000 and it can load apps into the same $3F page, so why can't the Serial Bootloader load into other pages of Flash like $20?

The serial bootloader I've used (which comes installed in Wytec's boards) which came from Freescale Semiconductor loads just fine into the entire Flash memory as long as the files are in S29 format.

And there is always using the BDM interface, which will eliminate the need for the bootloader.

Tom Almy
Tualatin, Oregon USA
Internet: t...@almy.us
Website: almy.us

On Dec 28, 2009, at 9:18 AM, ga5941 wrote:

> I'm downloading my application to a MC9S12DP512 via the Serial Bootloader which resides at $F000 in page $3F of the Flash memory, a protected area. My app starts loading in the programming window at $C000 in page $3F but cannot go beyond $F000. This limits program size to less than 12K bytes, a severe limitation when 512K bytes of Flash are available. The load and erase routines of the Serial Bootloader all reside in $F000 and it can load apps into the same $3F page, so why can't the Serial Bootloader load into other pages of Flash like $20?
>
>