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.

MSP430F5310 BSL communication(Boot Loader)

Other Parts Discussed in Thread: MSP430F5310

Hello,

 

I am using the MSP430F5310 micro-controller in my project. For the same I need to make a Boot Loader for this work with the existing Hardware.

Now as per the Application Note slau319a for the MSP430 internal BSL we need to provide a proper sequence of RST and TEST pins.

Using my Hardware (FT232) I am able to get the MSP430 in to the boot loader mode (Toggling the TEST while RST is low and then release the RST when .

Now the problem part is Commands.

My Baud rate is set at 9600baud (also tried with 57600baud) with no parity (as per the section 5.1Pg35 of the slau319a).

If we sent 0x80 initially we should get the response as 0x90 (as per section 2.4.3 pg14 of the slau319a). But I am not receiving any thing.

For the PC TX(FT232) is connected to P1.2/TA0.1 (BSL RX)of MSP430F5310PT (48-LQFP pakage) and

PC RX (FT232) is connected to P1.1/TA0.0 (BSL TX)of MSP430F5310PT(48-LQFP pakage) .

This is as per the section 5.1Pg35 of the slau319a as well as MSP430F5310 Datasheet Table 6 Pg16.

Kindly let me know if I am missing some thing with the protocol or I need to change some interface.

 

Warm Regards,

Boseji

http://adharlabs.in

  • Sometimes, the DSR signal needs to be set or incoming data is ignored (the device on the other side of the RS232 is assumed to be not present)
    It depends on the PC software you're using.

    Can you test with a scope whether the MSP sends something at all (just to check whether it is a problem with the incoming or outgoing data)

    The FT232 datasheet lists that the minimum high output voltage is 2.2V. Thi smight be too low if the MSP is running on 3.3V. You should test the output level of the FT232 (and perhaps add a pullup resistor to RX)

  • Hello,

    Thanks for your support.
    At present I have changed the setting of FT232 such that VCCIO is using the 3V3 output from the chip. So the levels were alright.

    I was finally able to make the solution work with FT232 and BSL_Scripter as given in the slau319a document.
    I had to modify the BSL_Scripter from source to make it work with FT232 default configuration.
    Now it is compiling with MinGW but the HID support for MSP430F55xx had to be removed.

    If I receive permissing from TI, I might publish the code as opensource.

    Thanking you,

     

     

  • Hi boseji ,

           Plz give me modify the BSL_Scripter  from source and schematic design how to config. MSP430 with FT232 and BSL.

    I am trying to program using FT232 to MSP430 using BSL.

    i am  successful programing using serial port (using   schematic  given in slau319),But trying to program using USB port using FT232 but not done.

    I request u plz said me how to do this.

  • Ajit,

    if you want to use USB, you can try to use the SLAA535A Launchpad based solution.

    The only drawback of this solution is that it only works with 9600 baud.

**Attention** This is a public forum