EmbeddedRelated.com
Forums
The 2024 Embedded Online Conference

Programming 68HC912B32 Flash

Started by alienprey2000 July 28, 2003
I have some simple code which is runing fine through Cosmic's ZAP
debugger. I believe that ZAP actually programs the onboard flash so I
assumed that after it was programmed I would be able to power down,
remove the BDM interface, power back up and the chip would run the
code (default is single chip mode?). This doesn't seem to work. I'm
probably missing something fundamental here but don't know what.
would appreciate some guidance.



The most common error is not to do

COPCTL = 0x00;

As when you use the BDM, the COP is automatically disabled, so when
you run it without the BDM, it crashes if you had not either
refreshed it properly, or provided an interrupt service routine.

BTW, why are you using such an old chip?

-----Original Message-----
From: alienprey2000 [mailto:]
Sent: 28 July 2003 19:09
To:
Subject: [68HC12] Programming 68HC912B32 Flash I have some simple code which is runing fine through Cosmic's ZAP
debugger. I believe that ZAP actually programs the onboard flash so I
assumed that after it was programmed I would be able to power down,
remove the BDM interface, power back up and the chip would run the
code (default is single chip mode?). This doesn't seem to work. I'm
probably missing something fundamental here but don't know what.
would appreciate some guidance.
--------------------
">http://docs.yahoo.com/info/terms/



The 2024 Embedded Online Conference