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 项奖励
回复