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.

MPLAB X + XC8 Compiler + PicKit3 + Interruption Debugging

Status
Not open for further replies.

flote21

Advanced Member level 1
Advanced Member level 1
Joined
Jan 22, 2014
Messages
411
Helped
1
Reputation
2
Reaction score
3
Trophy points
1,298
Visit site
Activity points
5,595
Hello people,

I am wondering about the behaviour of the MPLAB debugger. I have the PicKit 3 provided by MPLAB. Thanks to this HW is possible to make code debuggings on real time using MPLAB X IDE. On the other hand I am compiling the code using XC8 compiler provided by MPLAB, too.

Then I have a bigo problem debugging interruptions. With small programs, everything is working fine. However with big programs with a lot of lines of code, the MPLAB debugger gets crazy and it gives me an error when I try to make the interruption debugging...

By default, the big program that I want to debug is waiting for one external interruption given by an FGPGA. But in the meantime, every 5 sec, a timer interruption is also enabled and the uC sends data to the FPGA. Then if I place the brakpoint inside of the interruption function the debugger crash and MPLAB IDE gives me an error related with the libaries of the compiler XC8.

Anyone knows what could happen? Maybe I need another hardware to debug big programs...

Thanks a lot.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top