Join our technical discussions about Freescale Microcontrollers: M68HC12. (Freescale Semiconductor is a Subsidiary of Motorola).
|
Does anyone know where I can download a bootloader for the 812A4 adapter using the Motorola 68HC12 board that DOES NOT disable the COP watchdog? I have the boot.asm file of the original bootloader from tech.arts, but when i remove the lines that disable the cop and re- assemble it using the AS12 (provided by tech arts) it gives me errors (cannot understand "$BASE" and "INCLUDE"). Any help would be greatly appreciated! Thanks -Ed |
|
It's a clunky solution, but can you hex-edit the binary for the watchdog to NOP out the instructions that disable the COP? By the way, if you disable the watchdog, is the bootloader going to be able to download anything useful without getting reset by the COP? You may need to make changes quite a bit more extensive than leaving the watchdog enabled in order to function successfully with it turned on. Stephen -- Stephen Trier Technical Development Lab Cleveland FES Center |
|
Thanks for the reply, Stephen. That's a very good point. Didn't quite think about that! It seems that for now i just have to depend on the BDM pod for programming the adapter. -Ed In , "Stephen Trier" <sct@p...> wrote: > It's a clunky solution, but can you hex-edit the binary for the watchdog > to NOP out the instructions that disable the COP? > > By the way, if you disable the watchdog, is the bootloader going to be > able to download anything useful without getting reset by the COP? > You may need to make changes quite a bit more extensive than leaving > the watchdog enabled in order to function successfully with it turned > on. > > Stephen > > -- > Stephen Trier > Technical Development Lab > Cleveland FES Center > sct@p... |