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.

Program the MSP430Gxxxx on board

Other Parts Discussed in Thread: MSP430G2453

Hi:

I am trying to build a board with a MSP430G2453 to control several LEDs to generate different optical patterns. Couple questions of how to program the chip on board or in system.

  • When I build my software using Code Composer Studio, how do I generate a software code in the file that is ready to be flashed to the chip on board?
  • I am trying to use Spy-Bi-Wire interface to upload the code to the chip, is there any off shelf hardware and software that I could easily get for this purpose?
  • I noticed that on the Lauchpad board, there are jumpers for TEST and RST which are identical with Spy-bi-wire interface. Can I wire off from those jumpers to make a flashing device to program the chip on my board?
  • If I could, can I use the CCS to do the flashing?
  • On my board, I have a EEPROM connected to the MSP430G4253 for addition pre-defined audio signal been stored there. When I flash the chip, should I flash those audio data together with the software code?
I know that all my questions are very basic for all you experienced programmers. 
Thanks very much in advance for such long list of questions.
--Neo
  • Hi neo,

    neo Play said:
    • I noticed that on the Lauchpad board, there are jumpers for TEST and RST which are identical with Spy-bi-wire interface. Can I wire off from those jumpers to make a flashing device to program the chip on my board?

    you can certainly use them, in this case u need Test, Rst, Pwr and Gnd pins connected b/w launchpad board(without micro-controller) and  your board. Power the launchpad board(only) with the cable from PC and use CCS to load the project file.This is just done by clicking o that green bug(build). Alternatively, if you look in to Binaries folder (The first folder in your project in CCS), you will find .out file this is the actual binary file that will be loaded in to your micro. u can use FETpro s/w with the above mentioned connections(PC-launchpad-your board( un powered)) to load this binary file in to your target board.

    neo Play said:
    On my board, I have a EEPROM connected to the MSP430G4253 for addition pre-defined audio signal been stored there. When I flash the chip, should I flash those audio data together with the software code?

             I think u cant use CCS to load audio data in to EEPROM. U need some thing like AArdvark host adapter to do this job. Moreever, Audio data(.mp3, .wav, .au)  are to be converted in to Intel hex format to be loaded in to EEPROM. I think you need more things here. Any ways one quick note: if u r using I2C in your project u need to load EEPROM first and then micro, coz if micro is the master it will hold up SDA and SCL lines and wont let u load hex to EEPROM.

    Regards,

    Sri.

  • Great help! Thanks allot Sri.

    --Neo

  • Hi neo,

                Will you mark this as Verified if u find solution to ur question.This would ease forum maintenance.

**Attention** This is a public forum