Interrupts

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Interrupts

1,245 Views
New_to_HC08
Contributor I

Hi

Im new to HSO8

Im just trying to get basic interrupts working and struggling :smileysad:

 

IDE: codewarrior for microcontrollers 6.3

chip: MC9S08GT60

hardware: cyclone PRO (HC08-HCS08)

 

So If im basically just trying to set up timer 1 interrupt to flash an LED connected to PTDD_PTDD1, I dont get anything happening.

Iv checked the port is setup correctly, so then its just to do with the ISR.

 

are ISR's handled while running through the cyclone pro?

 

Is one able to set more than one breakpoint at a time? I cant seem to set a breakpoint in the ISR?

ALso I was getting an ILLEGAL_BP error in simualtion mode, and also ' bus freq out of range'.

 

Any help?

please find the files attached, they're pretty simple.

 

thanks!

Labels (1)
0 Kudos
Reply
2 Replies

572 Views
wasimakram
Contributor I

u should use Processor Expert for Timer_interrupt it make easy:smileyhappy:

0 Kudos
Reply

572 Views
jag
Contributor IV

Hi,

you have to enable the interrupts (EnableInterrupts macro) after all the inits.

 

Bye Jack

0 Kudos
Reply