p89c51rd2bn IAP problems

Started by Valent, June 08, 2004, 02:54:51 AM

Previous topic - Next topic

erikm

I'd hate to have to live with adapting to various versions of the bootloader.

The simple way to avoid that is not to care about it.

If you need this do the following

1) copy all RAM to XRAM
2) save SP
3) set SP to 7
4) do your thang
5) restore RAM
6) restore SP

And you are in fine shape.  No version dependency, no reason to bitch about the routines and they lived happily ever after.


With bootloaders in FLASH (upgradable - e.g. T89C51RD2, P89V51RD2 and probably others too) you can also "downgrade" if needed.
Not so easy, loading the bootloader require insertion in a parallel programmer.

Erik

erikm

Sorry, what is "GM"?

it has amused many that GM can mean General Manager as well as Gluteus Maximus.

Erik

Jan Waclawek

Bootloaders in FLASH - you don't need a parallel programmer to change it. For example, Philips provides an upgrade for P89V51RD2 - you program it into the user FLASH using the old bootloader, then run it, and it reprograms the bootflash while running from user flash.

Jan Waclawek