Sign in

username:

password:



Not a member?

Search 68hc12



Search tips

Subscribe to 68hc12



68hc12 by Keywords

68HC1 | 812A4 | 9S12DP256 | Bootloader | CodeWarrior | D60A | Debugger | DP256 | ECT | EEPROM | EVB | Flash | HC1 | HCS12 | I2C | IAR | ICC1 | Interrupts | LCD | M68KIT912DP256 | MC9S12DP256 | MC9S12DP256B | Metrowerks | Motor | MSCAN | Multilink | PLL | Quadrature | SDI | SPI | Transceiver | XFC

Ads

Discussion Groups

Discussion Groups | 68HC12 | BDM debugging

Join our technical discussions about Freescale Microcontrollers: M68HC12. (Freescale Semiconductor is a Subsidiary of Motorola).

BDM debugging - woody6886ca - May 28 21:05:00 2002

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.





(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )


Re: BDM debugging - Doron Fael - May 29 0:43:00 2002


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. ------------------------ Yahoo! Groups Sponsor ---------------------~-->
Tied to your PC? Cut Loose and
Stay connected with Yahoo! Mobile
http://us.click.yahoo.com/QBCcSD/o1CEAA/sXBHAA/dN_tlB/TM
---------------------------------------------------------------------~->

--------------------------------------------------------
To unsubscribe from this group, send an email to:
6...@yahoogroups.com

To learn more about Motorola Microcontrollers, please visit
http://www.motorola.com/mcu
 




(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )

Re: BDM debugging - woody6886ca - May 29 12:26:00 2002

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
> >
> >
>




(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )