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.

MSP-GANG Software's bug

Other Parts Discussed in Thread: MSP-GANG, MSP430F2416, MSP430F5342, MSP430F5324

Dear Sirs:

It can not be done writing under the following conditions at the MSP-GANG.

1)HW/SW : MSP-GANG Programmer
2)Ver : 1.2.3
3)Device : MSP430F2416
4)Interface : BSL
5)BSL PWD : Code File

However, you can write when you select the BSL PWD to All 0xFF.

It is a bug.

It should be done to correct the program.


Best regards,
PAN-MARO.

  • Hi PAN-MARO,

    The MSP430F2416 BSL will perform a mass erase on incorrect passwords, therefore emptying the flash inside. This would then allow an empty BSL password to get access to the MCU, which is probably what you are experiencing. If the BSL password is wrong then you have no access to the MCU.

    Regards,
    Ryan
  • Hi Ryan,

    tried under the same conditions as me?

    It was to write in the other version.
    In the following conditions it was carried out to write.

    1)SW : MSP-GANG Programmer
    2)Ver : 1.1.11
    3)Device : MSP430F2416
    4)Interface : BSL
    5)BSL PWD : Code File

    From the above results, it determined that the bug.


    Best regards,
    PAN-MARO.

  • This matter has been taken offline, a solution will be provided once the issue is resolved.

    Regards,
    Ryan
  • Hi Ryan,

    Could you please let us know if there is any updates on this issue.

    Even we are havgin the same issue with BSL programming,
    if we use a password file with All "00" we get the error saying
    "Wrong BSL Passw Failed ! Err70".

    It is possible to Program only when the password options is set to "All 0xFF".
    We are using the latest GUI software "1_02_04_00".

    Could you please let us know if there is any solution to overcome this issue?

    Best Regards
    Kummi
  • Hi Kummi, Pan-Maro,

    When you use the BSL, the BSL password must match the password currently in the device for programming to be successful. If it is a blank device, then all 0xFF (blank) must be used. If it is a device that was already programmed with some code, then the password would have to match the bytes at addresses 0xFFE0-FFFF. Every piece of code loaded should at least have a value at 0xFFFE because that is the reset vector, so if you’ve loaded any code into the part the password will no longer be blank. If you’d previously loaded code, then you need to provide the correct password – if you provide an incorrect one, then the device will mass erase and the password will become all FF. This could explain why you see the GO button work the second time – if you are programming parts that are not blank , but providing the password as all FF. It would also explain why Kummi's case of using all 00 won't work - you need to use FF for a blank password, not 0's.

    Regards,
    Katie
  • Hi katie,

    Thank you very much for the reply.

    I do understand about the BSL password critieria but this issue is different.
    This issue occurs even if I select "BSL 1-st Passw" on GUI as "Code file" while downloading the
    image file to the MSP-GANG. This occurs even when I program the Image file which
    is same one already programmed to the MSP430. i.e Password is in the Image(code) file.

    You can easily re-produce this with any MSP430 target boards and the MSP-GANG BSL in standalone mode.

    I have tried it on MSP430F5342 and MSP430F5324 as well. Also tried with two different MSP-GANGs.
    This works fine at the first GO during interactive mode, but fails when we change it to
    the standalone mode.

    When I power-up the MSP-GANG and press GO the LCD displays "x" from the beginning as shown below.


    I believe there is something wrong in MSP-GANG's internal firmware in BSL mode.

    Best Regards

    Kummi

  • As discussed offline, there are fixes for your issues coming in the next MSP-GANG release. I'll try to post back after it is available.
    -Katie

**Attention** This is a public forum