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.

CCS/MSP430G2533: DLL does not work for object file built by CCS 5.4

Part Number: MSP430G2533
Other Parts Discussed in Thread: MSP-GANG

Tool/software: Code Composer Studio

Hi Experts,

We are using MSP-GANG for flash production.The object file to program is build by CCS 5.4. MSP-GANG GUI is our own software and using below DLL. 

    01.01.10.00 Oct.13.2014

Now we updated CCS from 5.4 to 6.2 and noticed that the above DLL does not work to program.

Then we updated the DLL to the latest one.

    01.02.10.00 Mar.07.2018

Now it works fine but sometime failed to program.

Question 1 : Can we use the same DLL to program the object files built by both CCS 5.4 and CCS 6.2?

Question 2 : Do you know why some time error occurs even with the latest DLL.

Regards,

Uchikoshi

  • Hi Hisao,

    Sorry for reply late. I will assign our expert to check your question and reply soon.
  • Hello Hisao,

    Thanks for your detailed post.

    Hisao Uchikoshi said:
    Now we updated CCS from 5.4 to 6.2 and noticed that the above DLL does not work to program.

    I'm sure there have been many updates (can be found in the release notes) between these CCS versions that probably require a newer version of the DLL. Perhaps it's a good time for them to upgrade to the latest CCS version (v8.3 at the moment) if they're updating.

    Hisao Uchikoshi said:
    Now it works fine but sometime failed to program.

    Do you get a specific error message? If so, please share it.

    Does the error still occur when using the provided MSP-GANG GUI instead of your own GUI software?

    Does the JTAG circuitry match our recommendations in the MSP430 Hardware Tools User's Guide?

    Regards,

    James

  • Hi James,

    We have been using MSP-GANG for so long time thus we think JTAG circuit does not matter.

    We did not try to test when using TI provided MSP-GAN GUI, sorry.

    The error message is below.

      "error 58 Varification error"

    Furthermore, I am not sure when we perform the programming, the file is simple .txt file so we think CCS version does not matter. Do you have any idea why updating CCS caused the problem?

    Regards,

    Uchikoshi

  • Hello Uchikoshi-san,

    Thanks for the update. Please try the provided MSP-GANG GUI and check if the issue still exists. Like you pointed out, there should be no dependencies between the MSP-GANG DLL and the MSP430 DLL for CCS, so I'm not sure why different CCS versions causes the issue, unless there are different project settings between the versions that could be impacting this.

    According to the MSP-GANG's user's guide, Error 58 means that the Flash PSA verification failed. Please have the customer carefully read through Section 2.1.1.5 Verify in the MSP-GANG's user's guide. For example, perhaps the firmware is modifying the Flash or FRAM in unused memory space after MCU reset (for example, if the Flash or FRAM is used for additional memory space like EEPROM). As discussed in the following thread, the "Global Verification" feature was added in DLL v1.1.6.0 but that was before DLL v1.1.10.0, so it may not be related to this issue.

    MSP-GANG: MSP-GANG issue with the latest firmware but not on earlier versions

    Regards,

    James

  • Hi James,
    Sorry for late response.
    We are still working on this isse so please wait for a couple of days.
    Since the upgrading DLL resolves the issue and the previsous DLL version 01.01.10.00 had already supported "Global Verification" feature, we think this issue is caused by other reasons.
    Regards,
    Uchikoshi
  • Hisao Uchikoshi said:
    Sorry for late response.
    We are still working on this isse so please wait for a couple of days.

    Thanks for the update. Keep us posted.

    Hisao Uchikoshi said:
    Since the upgrading DLL resolves the issue and the previsous DLL version 01.01.10.00 had already supported "Global Verification" feature, we think this issue is caused by other reasons.

    You're right about this version, and I've updated my post above accordingly.

    Regards,

    James

  • Hi James,
    Thank you for your kind support.
    We are conducting that this issue might not be related to DLL version since MSP-GANG just programs .txt data which is just simple hex file.
    I will post a new thread if we need your further support.
    Regards,
    Uchikoshi
  • Hello Uchikoshi-san,

    Excellent! Thanks for the update.

    Regards,

    James