TmsidR Posted January 17, 2007 Report Share 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 Quote Link to comment Share on other sites More sharing options...
audiocommander Posted January 17, 2007 Report Share 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 Quote Link to comment Share on other sites More sharing options...
TmsidR Posted January 18, 2007 Author Report Share Posted January 18, 2007 @audiocommanderI am programing assembler and use MPLAB 7.5Cheers,Michael Quote Link to comment Share on other sites More sharing options...
stryd_one Posted January 18, 2007 Report Share 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 ;) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.