Join our technical discussions about Freescale Microcontrollers: M68HC12. (Freescale Semiconductor is a Subsidiary of Motorola).
|
Hi, My application is using two interrupts, the SWI and the OC7. My code executes for just a fraction of a second before it aborts. In the D-Bug12 window it gives me the message: BGND Instruction Executed It also gives me the contents of the registers. My interrupts don't seem to be working at all. My question for all of you is, is there anything in the D-bug12 that uses interrupts? Could I be fighting D-bug12 with my interrupts? Thanks, Shayne C. Rich Autonomous Solutions, Inc. Tel: (435) 755-2980 Fax: (435) 752-0541 |
|
|
|
Shayne, When D-Bug12 is in POD mode, it does not use any target resources (except the breakpoint module for breakpoints). Have you initialized the interrupt vectors ($FFF6-$FFF7 for SWI & $FFE0-$FFE1 for OC7)? Regards, Gordon "Shayne C. Rich" wrote: > Hi, > > My application is using two interrupts, the SWI and the OC7. My code > executes for just a fraction of a second before it aborts. In the D-Bug12 > window it gives me the message: > > BGND Instruction Executed > > It also gives me the contents of the registers. > > My interrupts don't seem to be working at all. > > My question for all of you is, is there anything in the D-bug12 that uses > interrupts? Could I be fighting D-bug12 with my interrupts? > > Thanks, > > Shayne C. Rich > Autonomous Solutions, Inc. > Tel: (435) 755-2980 > Fax: (435) 752-0541 > -------------------------------------------------------- > To unsubscribe from this group, send an email to: > To learn more about Motorola Microcontrollers, please visit > http://www.motorola.com/mcu -- =============================================================== Gordon Doughman Ph: 937-438-6811 Motorola Semiconductor Fax: 937-434-7457 Field Applications Engineer Pager: 800-759-8352 Pin: 1304089 Suite 175 3131 Newmark Drive Miamisburg, OH 45342 Check out my HC12 book at: http://www.annatechnology.com/annatech/bookBrowseByMicroF.asp |