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.

Debugger initialization error

Other Parts Discussed in Thread: MSP430G2553

Hi all,

 I am conducting a side project using Launchpad and an e-ink display by your colleague here:

 

http://e2e.ti.com/group/microcontrollerprojects/m/msp430microcontrollerprojects/665466.aspx

 I have double-click “EPD Extension Board” in the Project Explorer window to make it active and then to compilie and download the project to the microcontroller  by clicking on the DEBUG button I am given the following.

Launching debug session.

The program generated by EPD_Extension_board is not compatible with any of the CPUs in your target configuration. The program will not be loaded.

Do you want to continue launching?

I proceed to yes and I am given the following Debugger initialization error.

Cannot read System Setup data from XML file C:\Users\Francis\Documents\Pixle\ePaper_BoosterPack\CCS_Demo_eInk\EPD Extension Board v1.00\ePaper_Project\targetConfigs\MSP430G2553.ccxml
Error parsing file:
Fatal Error at (0, 0): An exception occurred! Type:RuntimeException, Message:The primary document entity could not be opened. Id=C:\Users\Francis\Documents\Pixle\ePaper_BoosterPack\CCS_Demo_eInk\EPD Extension Board v1.00\ePaper_Project\targetConfigs\connections\TIMSP430-USB.xml while parsing file: C:\Users\Francis\Documents\Pixle\ePaper_BoosterPack\CCS_Demo_eInk\EPD Extension Board v1.00\ePaper_Project\targetConfigs\connections\TIMSP430-USB.xml

Note I can find \MSP430G2553.ccxml in the directory but not the directory /connections\TIMSP430-USB.xml.

I have redownloaded the project and no dice : (

I am using CCS 5.5

If you can assist it would be greatly appreciated.

  • Hi Francis,

    is the 2553 the part you are using?  Would you be able to send (even offline) the project or ccxml?  

    Have you checked that the project is set for the G2553?

    Best Regards,

    Lisa

  • Hi Lisa,

    Many thanks for the quick reply, the entire pack is located on the TI page here:

    http://e2e.ti.com/group/launchyourdesign/m/msp430microcontrollerprojects/665466.aspx

    The project and the instructions are located on that page, or at the following direct link:

    http://e2e.ti.com/cfs-file.ashx/__key/communityserver-components-userfiles/00-00-01-39-39-Attached+Files/7522.epaper_5F00_boosterpack.zip

    My understanding is that it is set for the G2553, hence my confusion at the earlier statement from CCS.

  • Francis Serra-Martins said:
    Note I can find \MSP430G2553.ccxml in the directory but not the directory /connections\TIMSP430-USB.xml.

    The TIMSP430-USB.xml file should be part of the CCS 5.5 installation, in <ccs_root_directory>/ccsv5/ccs_base/common/targetdb/connections/TIMSP430-USB.xml, rather than part of the e-ink display project.

    Does the ccsv5/ccs_base/common/targetdb/connections/TIMSP430-USB.xml file exist in the CCS 5.5 installation?

    If not, maybe caused by not installing MSP430 drivers during the CCS 5.5 installation.

  • Hi Francis,

    I just downloaded, imported and debugged the example with no issues in ccsv5.5.

    Have you tried redownloading the example?  Have you tried a fresh workspace?

    Best Regards,

    Lisa

  • Bingo, the ccsv5/ccs_base/common/targetdb/connections/TIMSP430-USB.xml is not in that directory.

     

    When I installed CCS it kept failing at the installation of this driver

     

    How does one install the driver individually?

  • I reinstalled again and it works successfully.

    I did receive the following error but I can use a 90 day liscence in the meanwhile.

    License cannot be acquired.

    The code composer sutido liscen that you are using only aloows the following connection types:

    - XDS100 class emulators
    -simulators
    -EVMs/DSKs/ eZdsp kits with onbarod emoulations.

    Examples of restricted connections includes
    -XDS510 and XDS560 emulators
    -all MSP430 connections

  • Hi Lisa,

    Now when I try to launch the debug session, I receive the following error "Error initializing emulator:

    Could not find MSP-FET430UIF on specified COM port"

    If you can assist it would be greatly appreciated.

  • Hi Francis,

    it looks like the device is properly recognized.

    Did CCS ask to do an update? 

    Can you try connecting with the free flash utility from elprotronic?  www.elprotronic.com

    It has often helped me in debugging.

    Best Regards,
    Lisa

  • HI Lisa,

    Thanks for your assistance, I reconfigured the device so it recognises it in CCS and it has resolved the issue above.

    It appears to be debugging correctly, only issue now is with the EPD kit tool from Pervasive Instruments, I imagine you cannot assist with this since it isn't a TI program. I'll briefly describe what the issue is if perhaps you are familiar with EPD kit tool and can assist.

    When one connects the EPD, and scans for the screen by clicking scan, the tool kit fails to recognise the device after scanning, no device is observable (I have ensured the correct drop down display size 1.44" is selected also so that is not the cause). The device is however recognized with TI CCS so I'm not sure why such is occurring.

    Many thanks from Australia

  • Hi Francis,

    ok, very happy to hear you have the issue resolved.

    All the best with development.

    Best Regards,

    Lisa