Friday, November 16, 2007

    MPLAB IDE 8.00 High-Level Debugger does not reset target after a project build

    You may have noticed that there was a change introduced in MPLAB IDE 8.00's high-level debugger that affects all debug tools. Your debug tool will not reset the target after building a project or importing a ELF/COFF/COD/HEX file. The green program counter indicator stays put. What gives?

    The change was intended to address two issues: 1) The source editor jumped back to the reset vector following a project build or file import and 2) Debug-tool communications errors if the target had not yet been programmed. This was a critical problem when the user had the "Reset to Main" feature enabled because the reset would cause the debug tool to attempt to run an unprogrammed target. It was an even bigger issue if the target device was not connected.

    We think this change will help avoid some pretty nasty problems that users could run into under certain conditions. Just remember to hit your debugger reset hotkey or press the reset toolbar button if you are expecting your target to run from the reset vector.

    No comments: