#25 debugging problems

closed
None
5
2008-04-18
2004-04-06
Victor
No

We use sdcc 2.3.8 (Linux) and tried to debug with sdcdb
0.8 (uCsim 0.4.1-pre5). Everything is OK, but how can I
simulate hardware interrupt from timer0, external 0 and
1?
I need it just to debug ISRs. The documented command
of uCsim "set port ..." doesn't work.
Please help me.

Discussion

  • Maarten Brock

    Maarten Brock - 2008-04-18

    Logged In: YES
    user_id=888171
    Originator: NO

    I don't think it still matters, but for the record:

    I assume this is for an mcs51 target. Then the timer is simulated too and you can just configure it and let it run. Otherwise I think you can set the flag in the corresponding sfr to trigger the ISR. I don't know if setting a port properly triggers the external interrupts.

    I'm closing this now as it is totally out-of-date for the O/P, I guess.

     
  • Maarten Brock

    Maarten Brock - 2008-04-18
    • assigned_to: nobody --> maartenbrock
    • status: open --> closed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks