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.

MSP430F5418A: [ACK_ERROR_MESSAGE]Unknown ACK value!

Part Number: MSP430F5418A
Other Parts Discussed in Thread: MSP430F5418,

Hello,

first things first: I used to use the device MSP430F5418 but it is not a selling part available anymore so I am changing to the MSP430F5418A device.

I already updated the BSL Scripter, now I am using the version 3.4.0.

I am using the following configuration in my script:

SCRIPT:

MODE msp430f543x UART 57600 COM4 PARITY
VERBOSE

MASS_ERASE

TX_BSL_VERSION


And when the line: "TX_BSL_VERSION "
and the line: "MASS_ERASE"
run
I recieve back: [ACK_ERROR_MESSAGE] Unknown ACK value!

Anyone has a clue of what I am looking at?

  • Hi,

    You might not successfully invoke the device getting into BSL mode.  Could you use an oscilloscope to check the signal on the RST and TEST pins. A good signal should look like this one. 

    Please be noticed the tSBW_Low should lower than 15us based on the device datasheet chapter 5.43.

    Best regards,

    Cash Hao

  • Thank you for tour reply.

    I have made two tests.

    1- First test
    I used the old 1.01 version of the BSL-scripter version and recorded an old device MSP430F5418 using the converter serial FTDI FT232 -FT232RL.
    This test worked as expected on your figure when invoking the BSL and recorded everything ok.


    2- Second test
    Now, doing the same test as before but using the new 3.4.0 BSL-scripter and the script file I showed before, I could not see the entry sequence. No hardware change was made in this test.


    Now I dont know if is a software error or a hardware incompatibility. 

    Thank you in advance


  • Hi,

    Let's start with checking the hardware first. Could you try to use the new BSL-scripter with the old device MSP430F5418 first. And do you have an extra MSP430F5418A device to test with?

    Best regards,

    Cash Hao

  • Hello,

    As you asked me to do, using the new BSL-scripter with the old device I had the same issue.


    Then I have tried another test:

    I have the hardware Olimex MSP430- BSL. So I  updated all firmwares that are need to do the recording. After updating the recording failed again and had the same issue as before. To be sure on what was happening, I took a look at the signals that should be doing the BSL entry sequence. Then I found out something was wrong on the signal.

    In the image bellow:
    Blue signal = pin4 = /RST
    Yellow signal = pin7 = Test





    Now I am really stuck in this.

    PS: I have an extra MSP430F5418A, but it looks like an software error. I have not seen the correct signal to do the BSL entry sequence yet.


    Best regards 


     

  • Hi,

    I still need to check the BSL invoke signal here. Could you zoom in and take a look at this pulses?

     

    Based on the datasheet chapter 8.44. The Tsbw,Low should lower than 15us. If your pulses last longer than 15us, then the invoke process might be failed. 

    Best regards,

    Cash Hao

  • Hello, 
    I took photo of the signals and here I am again.

    What I have done?
    I tried to record the MSP430F5418A using the hardware rocket Olimex MSP430- BS as before. 

    My script:

    MODE msp430f543x 9600 UART COM5
    VERBOSE
    TX_BUFFER_SIZE

    I have made 3 photos so you have better understanding on what I am trying to show.
    In the image bellow:

    Blue signal = = /RST
    Yellow signal = Test

    This first photo show the overall entry sequence. Which I believe to be wrong, but tell otherwise. The yellow signal, test, has 3 steps where should have only 2.


    A smooth zoom in and making the cursor goes on the signal. 



    Now a huge zoom in on the red box I draw in the image before.




    As you said, the signal is shorter than 15us, but there is a extra step. And now, I do not know if this extra step is making the entry sequence wrong.

    Thanks


  • Hi, 

    The extra step between 1 and 2 should not affect the BSL invoke process. Could you get a capture of the RX pin after you send a BSL password on the TX pin? You should get an ACK signal on the RX pin. 

    Best regards,

    Cash Hao

**Attention** This is a public forum