Interrupts

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Interrupts

1,242件の閲覧回数
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!

ラベル(1)
0 件の賞賛
返信
2 返答(返信)

569件の閲覧回数
wasimakram
Contributor I

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

0 件の賞賛
返信

569件の閲覧回数
jag
Contributor IV

Hi,

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

 

Bye Jack

0 件の賞賛
返信