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.

  • Resolved

Compiler/MSP430G2544: Flash MSP430 using SBW using AM57xx

Expert 2090 points

Replies: 27

Views: 580

Part Number: MSP430G2544

Tool/software: TI C/C++ Compiler

Hello,

I have connected MSP430 with AM57xx using SBW interface. Is there any methods/utility present to flash MSP430 from AM57xx?

Regards,

Prerak

  • Hi, Patel, 

    We have the board MSP430 REP430F and the example code for another MCU to program MSP430 devices through JTAG, SBW, and BSL. For programming with SBW interface, please refer to following document and example code: 

    Regards, 

    Lixin 

  • In reply to Lixin Chen1:

    Hello,

    I have read thread you have suggested. Ii is flashing msp430 using some host board. I have connected my msp430g2544 with am5726.

    Does any one programmed MSP430 from sitara series processors ?

    Regards,

    Prerak

  • In reply to Prerak Patel:

    Hi, Prerak, 

    I don't know if there is reference code for sitara series processor to program MPS430 devices. Maybe Sitara processor team can help. I will check with team and feedback to you. 

    Thanks, 

    Lixin 

  • In reply to Lixin Chen1:

    Hi, Prerak, 

    We have not the example code for sitara series processor to program MPS430 devices by SBW interface. But we have application report document to refer: 

    1. Slaa765 (http://www.ti.com/lit/an/slaa755/slaa755.pdf

  • In reply to Lixin Chen1:

    Hi, Prerak, 

    We have not the example code for sitara series processor to program MPS430 devices by SBW interface. But we have application report document to refer: 

    1. Slaa765 (http://www.ti.com/lit/an/slaa755/slaa755.pdf
    2. If you can turn to use BSL interface to program MSP430, we have 2 application reports for your refrence (both are using Sitara process to program MSP430 devices): 
      1. APPLICATION NOTE: Host BSL Driver for Sitara Embedded Linux Host
      2. APPLICATION NOTE: MSP430 ™ Firmware Updates Over I2C Using Linux ®

    Regards, 

    Lixin

  • In reply to Lixin Chen1:

    Hi, Prerak, 

    If you think my recommendation help to resolve your questions, please click on the This resolved my issue  button to close this thread.  

    Regards, 

    Lixin 

  • In reply to Lixin Chen1:

    Hello Lixin,

    Thanks for your valuable suggestion.

    I am working on your resolution. I have taken your suggestion as reference and prepared one code, but not able to get DeviceID.

    Regards,

    Prerak

  • In reply to Prerak Patel:

    Hi, Prerak, 

    You can get the device ID from address 0FF0h to 0FFFh. 

    Please see document http://www.ti.com/lit/pdf/slau319  for details. 

    Best Regards, 

    Lixin 

  • In reply to Lixin Chen1:

    Hello Lixin,

    Right now I am not even able to enable the JTAG communication.

    I have checked "Entry sequence" and verified it with CRO. Seems like each and every sequence is correct.

    Below are the entry sequence, I follow.

    GPIO_IF_setAsOutputPin(RESET_PIN);
    GPIO_IF_setAsOutputPin(TEST_PIN);

    GPIO_IF_setOutputHighOnPin(TEST_PIN);
    GPIO_IF_setOutputHighOnPin(RESET_PIN);
    MsDelay(200);

    GPIO_IF_setOutputLowOnPin(TEST_PIN);
    usDelay(800);
    GPIO_IF_setOutputLowOnPin(RESET_PIN);
    usDelay(20);

    GPIO_IF_setOutputHighOnPin(TEST_PIN);
    usDelay(20);
    GPIO_IF_setOutputLowOnPin(TEST_PIN);
    usDelay(20);

    GPIO_IF_setOutputHighOnPin(TEST_PIN);
    usDelay(20);
    GPIO_IF_setOutputHighOnPin(RESET_PIN);
    usDelay(20);
    GPIO_IF_setOutputLowOnPin(TEST_PIN);
    usDelay(20);

    ResetTAP(); // reset TAP state machine -> Run-Test/Idle
    //TRIGGER;
    uint16_t JtagId = (uint16_t)IR_Shift(IR_BYPASS);
    usDelay(500);
    printf("JtagId: %X \n",JtagId);

    when I passed 0xFF value to IR shift reg, as output I dont get valid JTAG ID. it returns 0 as output.

    Any comments on this?

    Regards,

    Prerak

  • In reply to Prerak Patel:

    Hi, Prerak, 

    What timing diagram you are referring for your coding? Is it in slau320? 

    Regards, 

    Lixin 

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.