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.

Driver Library and MSP432: MSP-EXP432P401R

IHi,

I am using Windows 7 64, CCS6.1 and MSP-EXP432P401R.

I new to the cloud, therefore, this may be a dumb question, maybe I am doing something wrong.

Although I can load many examples, none of them runs because the driver library is missing. 

It seems to me that an entry in the linker command is missing.

How do I include the driver library into the example projects?

thank's Daniel

  • Hi Daniel,
    Unfortunately, this is bug that we are planning on resolving early next week. driverlib folder is supposed to be copied along with the example during import. If you need to urgently get these examples to work, then a workaround would be to download driverlib from resource explorer (there should be a download button beside import into ccs cloud) and then upload it back to cloud IDE. Chrome supports uploading entire folder. Also please make sure that the project you are trying to build is selected when you are uploading driverlib. The directory/file structure in IDE project manager should look very similar to layout shown in Resource Explorer.

    Martin
  • Hi Martin,
    thank's a lot for your prompt reply. It certainly save me some unpleasant time searching for what I have done wrong.
    cheers, Daniel
  • Hi Daniel,
    This issues should be resolved now.

    Martin
  • Hi Martin,

    Finally the driver lib is beeing copied.

    However, there are more problems. It now compiles but then I got the following message:

    ========================

    Failed CPU Reset: (Error -2063 @ 0x0) Unable to reset device. Power-cycle the board. If error persists, confirm configuration and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 6.0.14.5)
    JTAG Communication Error: (Error -1170 @ 0x0) Unable to access the DAP. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 6.0.14.5)

    =========================

    I reset the device and got follwing message:

    =====================

    Error connecting to the target: (Error -1063 @ 0x0) Device ID is not recognized or is not supported by driver. Confirm device and debug probe configuration is correct, or update device driver. (Emulation package 6.0.14.5)

    =======================

    Then I did a factory reset. After this I succeeded in downloading using CCS6 without cloud.

    Then I tried the Cloud again and got a message about not correct software version and the choice to update. I updated and now I get again the above Error -1063.

    Then I tried again a factory reset. However, now not even the factory reset works anymor. I gert the message:

    ========================

    MSP432_Factory_Reset() cannot be evaluated.
    Could not write register DP_RESET: target is not connected
    at DP_RESET=1 [msp432_factory_reset.gel:44]
    at MSP432_Factory_Reset()

    ===========================

    The board is connected! The power LED is alight. I tried many times, even with different USB connections.


    any help will be appriciated, Daniel

  • hi Daniel, 

    Unfortunately, there is a new problem with that particular example. Please see post below for more information. Please note there are couple of links in that article, one talks about the source of the issue and the other talks about how to recover the launchpad. 

    http://processors.wiki.ti.com/index.php/Debugging_JTAG_Connectivity_Problems#Invalid_device_ID

    I used slightly different version of CCS, but I was seeing the same behaviour (i.e. error -1063)in CCS Desktop and CCS Cloud once the device was in a bad state. Emulator firmware update is probably adding to the confusion, but it shouldn't be causing a problem... at least it did not in our testing. 

    Martin

  • Hi Martin,

    thank's a lot for your answer. I know it is not easy for you too.

    At first recovering as described did not work, even when I restartet CCS6. Only after I restartet the PC did the procedure work. But now I have it working again.

    I think it is best to let you test CCS Cloud for some time before giving it another go. Could you please write me when CCS Cloud is save to use?

    cheer, Daniel