Join our technical discussions about Freescale Microcontrollers: M68HC12. (Freescale Semiconductor is a Subsidiary of Motorola).
|
If I want to debug an application resident in flash EEPROM, does the BDM debugger require Dbug-12 (the monitor on 68MCHC912B32 evb) to be resident in flash. If not, how does the debugger use the BGND pin to set break points. |
|
|
|
The 68MCHC912B32 has 2 internal on chip hardware breakpoints, that can be used to debug code in FLASH or EEPROM. Most BDM debuggers program the B32 hardware breakpoint registers (address 0020H - 0025H) for you, to conveniently set up to 2 breakpoints on the required addresses. This is done serially through the BGND pin. Thus, Dbug-12 is not required on the EVB, if you are using the BDM interface. Doron Nohau Corporation HC12 In-Circuit Emulators www.nohau.com At 02:05 AM 5/29/2002 +0000, you wrote: If I want to debug an application resident in flash EEPROM, does the |
|
|
|
Thanks alot for the info. If my application is under 1KB in size could i use the on chip ram and the Debug-12 LOAD cmd to load the application starting at $0800 or is there some space after debug-12 in FLASH. If I don't have a BDM cable that interfaces with my PC can I get started connecting a serial cable on my PC to the EVB. I have two EVBs. Do I set one up in POD mode to service debug-12 cmds over the serial port and connect the second to the first with the BDM cable (6pin straight thru). The second runs the small application. Can debug-12 set hardware breakpoints over the BDM ? If this all works, how do I jumper the second EVB? --- In 68HC12@y..., Doron Fael <doronf@n...> wrote: > > The 68MCHC912B32 has 2 internal on chip hardware breakpoints, that can be > used to debug code in FLASH or EEPROM. Most BDM debuggers program the B32 > hardware breakpoint registers (address 0020H - 0025H) for you, to > conveniently set up to 2 breakpoints on the required addresses. This is > done serially through the BGND pin. > > Thus, Dbug-12 is not required on the EVB, if you are using the BDM interface. > > Doron > > Nohau Corporation > HC12 In-Circuit Emulators > www.nohau.com > > At 02:05 AM 5/29/2002 +0000, you wrote: > >If I want to debug an application resident in flash EEPROM, does the > >BDM debugger require Dbug-12 (the monitor on 68MCHC912B32 evb) to be > >resident in flash. If not, how does the debugger use the BGND pin to > >set break points. > > > > > > > >-------------------------------------------------------- > >To unsubscribe from this group, send an email to: > >68HC12-unsubscribe@y... > > > >To learn more about Motorola Microcontrollers, please visit > >http://www.motorola.com/mcu > > > > > |