electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

keil's debugging problem


Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers -> keil's debugging problem
Author Message
volkan



Joined: 29 Dec 2004
Posts: 14
Helped: 1


Post11 Jan 2005 23:05   

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?
Back to top
mrcube_ns



Joined: 10 Apr 2002
Posts: 429
Helped: 11
Location: Dark side of the Moon


Post12 Jan 2005 22:52   

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
Back to top
ayan_m



Joined: 17 Jan 2005
Posts: 16


Post17 Jan 2005 18:02   

ke*il's debugging problem


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



Joined: 29 Dec 2004
Posts: 14
Helped: 1


Post18 Jan 2005 21:46   

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
Back to top
Google
AdSense
Google Adsense




Post18 Jan 2005 21:46   

Ads




Back to top
rellutzu



Joined: 18 May 2004
Posts: 40
Helped: 2


Post19 Jan 2005 16:31   

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.
Back to top
x_zoli



Joined: 22 Jul 2004
Posts: 106
Helped: 6
Location: Brasov, Romania


Post20 Jan 2005 15:07   

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
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers -> keil's debugging problem
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
Problem microchip ICD2 debugging (7)
Problem while debugging with ICD2 clone (3)
Debugging problem with dsPIC, losing connection (30F5011) (10)
How do you RATE keil's 51 FLOATING POINT lib?? (3)
Is it possible to use Keil's ULINK2 with Xilinx EDK/ISE? (4)
On-chip debugging (3)
Theory of debugging? (3)
In system Debugging In Keil (1)
no debugging symbols found ? (1)
Gate level debugging ??? (5)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS