Join our technical discussions about Freescale Microcontrollers: M68HC12. (Freescale Semiconductor is a Subsidiary of Motorola).
|
I am trying to load a new bootloader (via the BDM) into the 68hc12 and am having problems understanding what is going on. I am using metrowerks. I first unsecure the flash area. I then download the boot loader. When I run the debugger and try and follow the source code versus the assembly code, I find that when I assembly step through the code, past a certain point the assembly code does not match the source code. What is going on. I know that it downloaded my code that I changed into the bootloader area because I put a couple of dummy statements in and could see them in both the source and assembly areas of metrowerks. |
|
Hi. If you use CodeWarrior for HC(S)12 V3.1 and you have downloaded the Service Pack called "CW12_V3_1_ICD12_USB2_0_Sim_patch.exe", make sure that the version of this Service Pack is V1.3 (check file properties, Product Version). You can check also in CodeWarrior "Help" menu, "About Metrowerks CodeWarrior" entry, then "Installed Products" button. You should read in the dropdown list: "CodeWarrior Development Studio for Freescale HC(S)12 3.1 ICD12 V6.1.12 Upgrade Patch, build 5023." If not, please get again this service pack from Metrowerks web site and install the latest one. Thanks for your understanding. Regards, Gilles At 05:50 PM 2/11/2005, you wrote: >I am trying to load a new bootloader (via the BDM) into the 68hc12 >and am having problems understanding what is going on. I am using >metrowerks. I first unsecure the flash area. I then download the >boot loader. When I run the debugger and try and follow the source >code versus the assembly code, I find that when I assembly step >through the code, past a certain point the assembly code does not >match the source code. What is going on. I know that it downloaded >my code that I changed into the bootloader area because I put a >couple of dummy statements in and could see them in both the source >and assembly areas of metrowerks. > > >Yahoo! Groups Sponsor >ADVERTISEMENT ><http://us.ard.yahoo.com/SIG=129905cjc/M=298184.6018725.7038619.3001176/D=g >roups/S=1706554205:HM/EXP=1108227107/A=2532114/R=1/SIG=12klrlmph/*http://cl >k.atdmt.com/NFX/go/yhxxxnfx0020000014nfx/direct/01/&time=1108140707586332>d >ocument.write('<http://us.ard.yahoo.com/SIG=129905cjc/M=298184.6018725.7038 >619.3001176/D=groups/S=1706554205:HM/EXP=1108227107/A=2532114/R=2/SIG=12klr >lmph/*http://clk.atdmt.com/NFX/go/yhxxxnfx0020000014nfx/direct/01/&time=110 >8140707586332>'); >---------- >>Yahoo! Terms of Service. [Non-text portions of this message have been removed] |