Software

Debugging a Binary File, Hexadecimal (Intel-Format) File, or Motorola S-Record File



To debug the Binary File (.bin), Hexadecimal (Intel-Format) File (.hex), or Motorola S-Record File (.srec) you generate using the Software Builder:

NOTE You can also specify these software build settings with the Software Build Settings wizard.

  1. Create a new project or open an existing project.

  2. If you have not already done so, specify the directory for the ADS Standard Tools, GNUPro for ARM®, or GNUPro for Nios® software toolset.

  3. Specify Software build settings for generating a BIN File, HEX File, or SREC File.

  4. Specify the software toolset that you want the Software Builder to use to debug the BIN File, HEX File, or SREC File:

    1. Choose Settings (Assignments menu). Shortcut

    2. In the Category list, select CPU under Software Build Settings.

    3. In the Software toolset list, specify ADS Standard Tools, GNUPro for ARM, or GNUPro for Nios.

  5. Specify that the Software Builder use the software toolset assembler to generate debug information from the Assembly Files (.s, .asm) that you are using to generate the BIN File, HEX File, or SREC File:

    1. In the Category list, select Assembler.

    2. Turn on Generate debug information.

    3. If you need local symbols for debugging, turn on Keep local symbols in symbol table.

  6. Specify that the Software Builder use the software toolset C/C++ compiler to generate debug information from the C Source Files (.c) and C++ Source Files (.cpp) that you are using to generate the BIN File, HEX File, or SREC File:

    1. In the Category list, select C/C++ Compiler.

    2. Turn on Generate debug information.

  7. Click OK.

  8. Generate the BIN File, HEX File, or SREC File to generate the debug information for the file.

  9. Choose Launch Software Debugger (Tools menu).  Shortcut


Back to Top

- PLDWorld -

 

Created by chm2web html help conversion utility.