Join our technical discussions about Freescale Microcontrollers: M68HC12. (Freescale Semiconductor is a Subsidiary of Motorola).
|
I'm using D-Bug12 v3.0.0b20 on a Technological Arts BDM DX probe connected to a Technological Arts DP256 and am unable to set hardware breakpoints. In addition, I am having trouble interpreting and setting the ppage value. I have already set DEVICE to DP256 and run my s19 convert program. When I reset and run (using GO) everything is fine. I then stop and the address is shown as 00 8048 (where it should be). Now if I want to disassemble that location I have to enter $30:8048 instead of $00:8048. The latter gives a message "Bad extended address." If I enter ASM $30:8048 the instruction disassembles correctly. If I try to enter a breakpoint (hardware breakpoints enabled) I have to enter it the same way, $30:8048. However, the hardware breakpoint is never triggered. I have tried to break throughout my test program and cannot set a breakpoint. What am I missing? Al Gelders |
|
|
|
> way, $30:8048. However, the hardware breakpoint is never triggered. I > have tried to break throughout my test program and cannot set a > breakpoint. What am I missing? > > Al Gelders > agelders@l... is usehbr on? |
|
|
|
Al Gelders -----Original Message----- From: timjenison [mailto:] Sent: Tuesday, November 26, 2002 3:26 PM To: Subject: [68HC12] Re: BDM hardware breaks and DP256 with D-Bug12 > way, $30:8048. However, the hardware breakpoint is never triggered. I > have tried to break throughout my test program and cannot set a > breakpoint. What am I missing? > > Al Gelders > agelders@l... is usehbr on? Yes, that's what I was referring to when I said hardware breakpoints enabled. I still wonder if it is somehow connected with the weird PPAGE values that change depending on function. -------------------------------------------------------- To unsubscribe from this group, send an email to: To learn more about Motorola Microcontrollers, please visit http://www.motorola.com/mcu |
|
|
|
I found my problem -- I have to set the PP register prior to using break points. I sure missed that in the documentation... Al Gelders -----Original Message----- From: Al Gelders [mailto:] Sent: Tuesday, November 26, 2002 5:07 PM To: Subject: RE: [68HC12] Re: BDM hardware breaks and DP256 with D-Bug12 Al Gelders -----Original Message----- From: timjenison [mailto:] Sent: Tuesday, November 26, 2002 3:26 PM To: Subject: [68HC12] Re: BDM hardware breaks and DP256 with D-Bug12 > way, $30:8048. However, the hardware breakpoint is never triggered. I > have tried to break throughout my test program and cannot set a > breakpoint. What am I missing? > > Al Gelders > agelders@l... is usehbr on? Yes, that's what I was referring to when I said hardware breakpoints enabled. I still wonder if it is somehow connected with the weird PPAGE values that change depending on function. -------------------------------------------------------- To unsubscribe from this group, send an email to: To learn more about Motorola Microcontrollers, please visit http://www.motorola.com/mcu -------------------------------------------------------- To unsubscribe from this group, send an email to: To learn more about Motorola Microcontrollers, please visit http://www.motorola.com/mcu |