This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Exception Occurred During launch when using code composer studio

Other Parts Discussed in Thread: AM1808

I have started to use the experimenter Kit and got the following exception error see bellow.

Exception Occurred During launch

Reason:

" Failed to load program 'AM1808eXpLED_DIPTest.out' on any of the targets."

"The target 'ARM926EJ-S Device Cycle Accurate Simulator , Little Endian_0/TMS470R2x_0 could not be found"

I have followed the instructions in the Kit User Manual.

Please advise.

Please note that after launching the code composer for the first time, I have been asked to update from site and I click yes for the update. 

  • Ofer,

    I don't have an AM1808 board with me therefore I am not very knowledgeable about the setup steps in its user's manual, but could you clarify one thing? Did you start having these problems after you updated CCS? If not, please check the page below that covers the target configuration:

    http://processors.wiki.ti.com/index.php/GSG:Debugging_projects

    If the problems started to appear after the update, one thing that usually works for me is to delete the Debug History.

    - Go to menu Target --> Debug...

    - Delete all Non-Project Debug Session and Project Debug Session entries from the tree (multiple entries can be selected with Shift or Ctrl) 

    - Launch the Debug session again.

    If this still does not work, try to launch a debug session and then load the code manually to the target. Follow steps 1 thru 4 at the page below:

    http://processors.wiki.ti.com/index.php/GSG:Connecting_to_slave_cores_in_SoC_devices

    Then load the code by going to menu Target --> Load Program... and then select the file <AM1808eXpLED_DIPTest.out>.

    Hope this helps,

    Rafael

     

  • Hi Rafael,

    I follow the the wiki you have sent and I still cannot bring up the debugger there is no selection for Blackhawk  USB100v2.

    I have Blackhawk  USB100v2  emulator, can you show me how to configure the target and connection to the AM1808 experimenter kit?

    Thanks,

    Ofer

  • Ofer,

    Which release of CCSv4 are you using? Blackhawk device drivers are installed by default with all versions of CCSv4, but the XDS100v2 technology was only supported starting with version 4.1. There is no specific entry for the "Blackhawk USB100v2" as it uses the same drivers as the Texas Instruments XDS100v2 USB Emulator.

    Therefore, assuming you have a supported version create a new target configuration file (menu File --> New --> Target Configuration File), provide a name for the new file and select "Texas Instruments XDS100v2 USB Emulator" as the connection and the AM1808 as the device inside the target configuration editor.

    For proper initialization of the board (especially the DDR memory) you may need a GEL configuration file that should be obtained from LogicPD or from the companion CD that came with your development board.

    The link below shows the configuration parameters for the target configuration editor and the link to download the GEL files.

    http://processors.wiki.ti.com/index.php/GSG:Common_target_configurations#Boards_with_XDS100v2_onboard_emulator:

    Hope this helps,

    Rafael

     

  • Rafael,

    I can see the .gel files in C:\Program Files\Texas Instruments\ccsv4\emulation\gel but I dont know which is relevant to my experimenter AM1808 kit.

    There is no .gel files for AM1808 or L138.

    Please advise.

    Thanks,

    Ofer

  • Ofer,

    The directory you refer only contains the TI provided GEL files. Since the AM1808 board is manufactured by LogicPD, the GEL files should be obtained from them.

    I got access to one of the installation CDs. The directory bsl of the AM1808 companion CD contains a installer for the Board Support Library (BSL). After installing this, you should have the correct GEL file in the directory C:\AM1808_BSL\src\bsl 

    This directory has even a target configuration file named <AM1808.ccxml>. If you want to use it you must copy both files to your project directory (this and the GEL file <AM1808.gel>).

    As I mentioned earlier, I do not have this board with me therefore I couldn't test it. However, from a CCSv4 standpoint I don't see a reason why this configuration shouldn't work. Please give it a shot and let me know the results.

    If you can start the debugger (right-click on the .ccxml file, select Debug As... -> Debug Session) and connect to the target (select the ARM9_0 core and go to menu Target -> Connect Target) then the CCSv4 configuration is correct. If you can view and modify the external memory, then the GEL file is properly initializing the device. Just be sure the dip switches on the board are configured properly.

    Hope this helps,

    Rafael

  • Hi Refael,

    I have an issue using the AM1808 EVM kit trying to flash to the NOR flash on the UI board.

    I have followed the instructions on the following links:  

    http://processors.wiki.ti.com/index.php/GSG:_Building_Software_Components_for_OMAP-L1/AM1x

    http://processors.wiki.ti.com/index.php/GSG:_DA8x/OMAP-L1/AM1x_DVEVM_Additional_Procedures#Flashing_images_to_NOR_Flash

    I have created the norflash-writer and ubl-omapl1x8 and build each and then generate the AIS file.

    On the CCS4 I can see the script menu but it is not accessible for set the Full EVM-->EMIFA_NOR_PINMUX.

    Also I don't know how to run norflash-writer.

    "Run the NOR flasher program. You will be prompted for the input file type and the file path. For booting from NOR, an ARM AIS image and U-Boot are required"

    Please advise

    Thanks,

    Ofer

  • Ofer,

    I just checked and found that there is a new version of the AM1808 GEL file at the LogicPD support page. As you can see in the screenshot at the end of this post, it contains the GEL menu option mentioned in the page you sent. The debugger must be active and the device must be connected for the GEL functions work.

    To run the NOR flasher you must launch the debugger, connect to the device, load the norflash-writer you created and then run - all within CCSv4. The norflash-writer will probably prompt to point to the ARM AIS and the U-boot files. For details, follow steps 1 thru 4 of the page below:

    http://processors.wiki.ti.com/index.php/GSG:Connecting_to_slave_cores_in_SoC_devices

    Unfortunately I don't have a board with me (I captured this image from a remote machine) and therefore do not have all the exact screenshots with me, but this is the typical procedure for these devices.

    Hope this helps,

    Rafael