Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Problem with Keils debugging in edge trigger mode

Status
Not open for further replies.

volkan

Newbie level 6
Joined
Dec 29, 2004
Messages
14
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,281
Activity points
151
tx interrupt problem in keil

Hi all
i am writing a protocol for 89s52 and using assemly in Keil. I want to use 89s52's external interrupts in edge trigger mode(by setting IT0 and IT1 ). But Keil ignores my edge triger setting, It still work as in level activated mode.
For example when i begin debugging,i clr external interrupt inputs before running, and after running the program it directly calls external interrupt routine . Do you have any idea about this?
 

Re: keil's debugging problem

Thats very strange. Maybe you dont cofigure all parameters well.

Which ke|L you use?

Did you try to program real mcu and try same thing to see what is happend (for instance turn on some LED in interrupt routine for external interrupt occurence).


Regards.



Mr.Cube
 

ke*il's debugging problem

Check ur target options to see if nething is different. It works in both modes I've tried it.
 

Re: keil's debugging problem

thank you all,
i couldnt understand why it happened but at last i did the project by another way,so it works now..
tx
 

Re: keil's debugging problem

keep away form external interrups at 89s52.
I had the same unresolved problem and I had to find another way to trigger an interrupt.

It would have been wonderful, the datasheet assures a clean interrupt, but it was't so.
Maybe that generation of chips had some bugs.
 

Re: keil's debugging problem

Hi

I used to find that bug too while debugging interrupts. It's no real problem since the settings are correct and your main concern when debugging is to get in the interrupt, not the way you get there. I observed that the newer versions fixed that bug.

Best regards
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top