TmsidR Posted January 17, 2007 Report Posted January 17, 2007 Hello,has anybody experiences in in-circuit-debugging a core module with ICD2?Background: I build an own AOUT module with MCP4922 DACs, now I have to debug the hard- and software by setting breakpoints and single-stepping.I build a cable to connect the ICD2 to J2 at the core, in-circuit-programming works still fine.I could start the application, but not debugging it.I recognized, that the "debug flag" of the PIC has to be enabled. After doing this, the application would not start.Can anybody help me?TmsidR
audiocommander Posted January 17, 2007 Report Posted January 17, 2007 If you're programming in C you could take a look at the ACSimulatorIt's purely software based but seems to do what you need...Cheers,Michael
TmsidR Posted January 18, 2007 Author Report Posted January 18, 2007 @audiocommanderI am programing assembler and use MPLAB 7.5Cheers,Michael
stryd_one Posted January 18, 2007 Report Posted January 18, 2007 TK has commented on this in the past but I never can find the post ::)IIRC the ICD won't work and main trick he uses is to send debugging info out via midi and/or by driving a pin and monitoring it on a scope... Kinda like breakpoints but, not :)It helps that TK is superhuman and writes perfectly functional code that works with no debugging, off the top of his head ;)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now