Shop OBEX P1 Docs P2 Docs Learn Events
Counting clocks in an ISR??? — Parallax Forums

Counting clocks in an ISR???

cbmeekscbmeeks Posts: 634
edited 2006-09-24 02:02 in General Discussion
Can't seem to get SXSIM to start/stop on my breakpoints in my ISR. It only works in the main loop. What am I doing wrong?

Thanks!

cbmeeks

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Coders' Hangout
A place for programmers to hangout!
http://www.codershangout.com

METROID?
Metroid Classic

Comments

  • Guenther DaubachGuenther Daubach Posts: 1,321
    edited 2006-09-23 16:44
    cbmeeks,

    I just have checked the most recent version of SXSim (2.08.05) with one of my applications, and could positively verify that it halts on breakpoints inside of the ISR. Could you send me the code that does not work for you as expected? My PM address is g.daubach@mda-burscheid.de.

    Please keep in mind that SXSim executes programs in Run mode much much slower than a real SX. So if you possibly have set a breakpoint on an instruction that is executed only every 500 ISR calls, or so, it will take pretty long until SXSim halts on that breakpoint. Please try to set a breakpoint on the first ISR instruction, or the last one (the RETIW, or RETI instruction), and see if this works.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Greetings from Germany,

    G
  • cbmeekscbmeeks Posts: 634
    edited 2006-09-24 02:02
    Thanks G
Sign In or Register to comment.