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.

How to program MSP430 using I2C through am335x

Other Parts Discussed in Thread: MSP430G2432

Hi,

I have am335x custom board and i am using ti-processor-sdk-linux-am335x-evm-01.00.00.00-Linux-x86-Install.bin. In my custom board i have MSP 430 connected over I2C with am335x.

Now i have one .out file to flash in MSP430. Using CCS i am able to load program with the help of JTAG. 

I want to flash .out using programme ( without using CCS and JTAG).

How can i do it?

Thanks in advance.

Regards,

Nilesh

  • If your MSP430 device has updatable BSL stored in flash then you can customize it (I2C) to fit your application. Master device must have connection to TEST / RESET pins on target device for BSL entry sequence.
    www.ti.com/.../slaa450c

    If MSP430 device has (UART) ROM BSL than you can use it or made your own I2C boot loader in main flash or info memory. Using binary .txt files is more simple than .out format.

    Of course, you can use minimal SBW interface based on slau320, if your device support SBW.

  • Hi zrno,

    I am using MSP430G2432.

    Can i configure it as I2C slave? If yes then how to set slave address for MSP430G2432 else how can i get it's default slave address?

    As you suggested i want to flash binary .txt file into MSP430G2432 using "msp430-i2cbsl-tool". For that i required I2C slave address.

    It will be great help if you can help on this.

    Thanks,
    Nilesh
  • MSP430G2432 is without ROM BSL. One option is to use SBW based on slau320. Another one is some kind of your own bootloader.
    forum.43oh.com/.../
  • Hi zrno,

    Thanks for your quick reply.

    Currently i am flashing my code through MSP-FET430UIF (MSP430 USB debug interface) which supports both JTAG and SBW.

    Now i don't want to load code through any devices and i want to load binary through application running on am335x to flash in MSP430G2432. My idea is i will flash through I2C from am335x to MSP430G2432. For that i needed I2C slave address of MSP430G2432. Is it possible to configure MSP430G2432 as I2C slave with custom slave address or default slave address? The reason i am asking this is i can not see any registers for I2C slave in MSP430G2432 datasheet. May be you have any other idea for this.

    Regards,
    Nilesh
  • Description for all I2C registers (including device I2C address) can be found in MSP430x2xx Family User's Guide

    http://www.ti.com/lit/pdf/slau144

**Attention** This is a public forum