neil palmer

Serial bootloader as part of a HCS08 Codewarrior project

Discussion created by neil palmer on Mar 20, 2006
Latest reply on May 30, 2007 by Paul Robinson
Hi all.

AN2295 describes a Serial bootloader which is loaded into a protected area at the top of HCS08 memory (in my case a 9S08GB60). Then you are able to load your main application afterwards through the serial port.
I am trying to create a user application in Codewarrior which already contains the serial bootloader, AND the main user application. The benefit of this is the program can be programmed at the factory using the much quicker BDM interface, and then upgraded later in the field using the serial bootloader. My problem is that in a C project, execution wants to start at _Entrypoint and not the bootloader code. Can anyone give me some pointers on how to integrate the serial bootloader as part of a larger C project in Codewarrior? (I'm also using processor expert).