MCB2130 User's Guide

Debugging VOICE

Debug the VOICE example program following this procedure. The debugged program is ready for the serial output check.

Debug ButtonUse the Start/Stop Debug Session toolbar button or the µVision command Debug - Start/Stop Debug Session to connect the debugger to the Keil ULINK Adapter. The CPU stops and connects to the Embedded ICE of the LPC213x device. For details on the debugging features, refer to the µVision User's Guide.

Note

  • Debugging the VOICE program using the µVision debugger requires a ULINK USB-JTAG adapter.  

When you start a debug session the following occurs:

  1. The FLASH.INI file is executed which loads the Audio.H86 file to on-chip Flash.
  2. The VOICE.ELF program file is downloaded to Flash and the Flash load is verified.
  3. The VOICE.ELF program is loaded in the debugger.
  4. The debugger sets the program counter to 0 and displays the source code at that location.

You may now set breakpoints in your program code, and run the VOICE program under debugger control.

Note

  • When restarting a debug session, be sure to disconnect the USB power cable for at least 10 seconds to allow the board to power down properly.