Hi All,
I am trying to get my In-Application Programming up and running on an ST micro uPSD33xx. When activating the newly programmed image I need to switch execution from the boot flash to the main flash. When this happens the micro will just blindy contiune retrieving instructions from the next memory location as if nothing has happened, unaware of the switch in flash device.
For everything to not fall in a big heap I am planning to have a routine which is fixed at the same absolute in both applications - it is this routine which will handle the switching of memory banks (and so the instuctions being retreieved should be identical in both apps).
First of all, does that sound insane to anyone out there?
Secondly, and prehaps a daft question, how should I determine *where* to locate the absolute routine. What guidelines can you offer as to how one determines where to locate such a 'shared' routine?
Cheers for any help/recommendations.
Andy