The simulator does not let me figure out what is happening to my hardware.
What is needed is a .COD file that would let me bring my mBasic code into MPLAB to use an ICD2, so I can debug my code on the actual hardware.
Also, why not use MPASM? The mBasic assembler is not working correctly (see my post on setting the LPOSCEN bit on a 30F6011A).
Add support for debugging under MPLAB
-
- Posts: 66
- Joined: 21 Feb 2006 15:34
- Location: Massachusetts, USA
Re: Add support for debugging under MPLAB
You can import the hex file into MPLAB:
1. Start MPLAB
2. Go to File-> Import
3. Point to HEX file generated by mikroBasic
4. Click Open.
Now your hex file is imported into MPLAB and is ready for ICD2 debugger. You can use ASM listing of mikroBasic to follow instructions flow.
At the moment it is the only way. We will make this procedure much easeir in future versions.
1. Start MPLAB
2. Go to File-> Import
3. Point to HEX file generated by mikroBasic
4. Click Open.
Now your hex file is imported into MPLAB and is ready for ICD2 debugger. You can use ASM listing of mikroBasic to follow instructions flow.
At the moment it is the only way. We will make this procedure much easeir in future versions.