• AVR Freaks

Helpful ReplyHot!mplab x ide simulator ,when the trace is enable,interrupt isr can't be executed

Author
weisky
New Member
  • Total Posts : 4
  • Reward points : 0
  • Joined: 2019/08/14 06:38:21
  • Location: 0
  • Status: offline
2019/08/17 21:08:10 (permalink)
0

mplab x ide simulator ,when the trace is enable,interrupt isr can't be executed

I use mplab x ide simulator to test Timer1 interrupt。The problem is:If I disable  trace of simulator,the Timer1 interrupt isr works well,but if I enable trace,Timer1 interrupt isr can't be executed。
mplab x ide v5.25
dspic33ep512gp710
post edited by weisky - 2019/08/20 18:44:05

Attached Image(s)

#1
GeorgePauley
Moderator
  • Total Posts : 1153
  • Reward points : 0
  • Joined: 2009/12/01 13:59:30
  • Location: Chandler AZ
  • Status: offline
Re: mplab x ide simulator ,when the trace is enable,interrupt isr can't be executed 2019/08/19 08:58:39 (permalink)
0
Instruction or Register trace?  Do you have a simple project?
#2
weisky
New Member
  • Total Posts : 4
  • Reward points : 0
  • Joined: 2019/08/14 06:38:21
  • Location: 0
  • Status: offline
Re: mplab x ide simulator ,when the trace is enable,interrupt isr can't be executed 2019/08/20 18:19:51 (permalink) ☄ Helpfulby ric 2019/08/20 19:11:08
+1 (1)
Instruction trace

Attached Image(s)

#3
GeorgePauley
Moderator
  • Total Posts : 1153
  • Reward points : 0
  • Joined: 2009/12/01 13:59:30
  • Location: Chandler AZ
  • Status: offline
Re: mplab x ide simulator ,when the trace is enable,interrupt isr can't be executed 2019/08/21 11:05:12 (permalink)
0
Did you perhaps mean dspic33ep512gm710? 

Anyway, we're seeing this work just fine here in Chandler.  Can you give us sample code, or even better a project?
#4
weisky
New Member
  • Total Posts : 4
  • Reward points : 0
  • Joined: 2019/08/14 06:38:21
  • Location: 0
  • Status: offline
Re: mplab x ide simulator ,when the trace is enable,interrupt isr can't be executed 2019/08/21 19:18:26 (permalink)
0
Thank you for your reply。I use a code example which can be found in microchip official website.
#5
GeorgePauley
Moderator
  • Total Posts : 1153
  • Reward points : 0
  • Joined: 2009/12/01 13:59:30
  • Location: Chandler AZ
  • Status: offline
Re: mplab x ide simulator ,when the trace is enable,interrupt isr can't be executed 2019/08/26 09:58:15 (permalink)
0
weisky, thanks for the project.  We do indeed see this.  We're just busy doing other things right now.  Unfortunately we don't have a workaround right now.  (Other than choose one:  trace or interrupts.)  :(
#6
Jump to:
© 2019 APG vNext Commercial Version 4.5