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.

Programming an MSP430F2274 after PCB design

Other Parts Discussed in Thread: MSP430F2274, MSP430F5529

Hi,

I am designing a custom  PCB based on the palfi target board. For programming the MSP430F2274, can i use the same ez430 emulation stick?  My assumption is that it should work as the MSP430F2274 already has the boot loader. Am I right? Or should i use MSP-FET430 UIF for programming?  I have used MSP430 evaluation boards. But this is the first time designing a PCB board with MSP430. 

Thanks,

Anand

  • Anand Narayanaswamy said:

    I am designing a custom  PCB based on the palfi target board. For programming the MSP430F2274, can i use the same ez430 emulation stick?  My assumption is that it should work as the MSP430F2274 already has the boot loader. Am I right? Or should i use MSP-FET430 UIF for programming?  I have used MSP430 evaluation boards. But this is the first time designing a PCB board with MSP430. 

    You can use MSP430G2 LP (http://hackaday.com/2010/09/28/launchpad-not-limited-to-value-line-chips) or new MSP430F5529 LP (open source, upgradable firmware, 1 Mbps UART-USB bridge). Probably you can use ez430 stick too.

    Boot loader is related to BSL, and it can be used for flashing (not debugging). For BSL hardware can be used MSP430G2 LP (slaa535 LaunchPad-Based MSP430 UART BSL Interface), and there are is already prepared script for MSP430F2274.

  • Thanks all. I appreciate your answers.  In the PCB design, I will go with a Spy Bi Wire interface for programming and debugging. 

    I asked the bootloader question because, when i designed a pcb with atmega168 microcontroller (in arduino), i had to burn the bootloader in to the chip before i could program it. Here I thought, i don't have to do that with MSP430F2274 since it already has the bootloader (as given in the datasheet)

    Anand

  • You can connect your own board to the same ez430 stick as you used before for programming the same MSP. Provided you make the proper connections. Keep the wires and traces very short. And the supply voltages must match.

    As for the bootloader: almost all MSPs have a factory-programmed bootloader. On 5x family, it is in flash and can be replaced, on all others it is in ROM. But even the flash version is protected against accidental deletion. However, the bootloader does not use JTAG and the JTAG programming pins. It uses a serial connection through a software UART on the timer pins (not using the hardware UART, if any). An exception are the parts with USB controller, which use USB. The bootloader doesn’t support debugging. It’s just for uploading a new firmware.

    Anyway, I recommend buying and using a FET430UIF for own PCBs. It doesn’t provide an application UART (you’ll need separate UART connection anyway if you don’t want to deliver an EZ430 with your product), but it supports an adjustable supply voltage as well as running with targets that have their own supply. And supports all MSPs out there.

  • Thanks Jens-Michael.  I am designing a prototype design for my research which is for a wireless sensor interface circuit.  So at this point, I want to get the board to work with minimum components as I can. I designed the PCB with the Spy Bi Wire Interface (With the proper connections and components).

    Anand

**Attention** This is a public forum