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.

MSP430 memory erase

Other Parts Discussed in Thread: ADS1293, MSP430F5529, ENERGIA

Hi there 

I would like to ask if anyone knows what is the hardware connection that I need and the software to erase the flash memory in the MSP430 ?

I have An ADS1293 Evaluation board with the MSP430F5529IPN as the microcontroller which is used to read/write registers of the ADS1293, what I want to do is to erase the flash memory of the MSP430 as was suggested to me to make my evaluation board communicate with the Arduino uno device through the SPI port to read the data using the Arduino software 

so let me know if you have anything useful 

Thanks 

  • Hi Shaimaa!

    This EVM has the standard 14-pin JTAG header:

    Connect a TI (or 3rd party) programming adapter / flash emulation tool (FET) to it.

    If you still have a LPT port on your PC you can maybe build an inexpensive one yourself (but double-check that if those newer controllers are still supported - I don't know - maybe not).

    Dennis

  • If you are able to connect MSP430F5529 PUR pin to VUSB, at power up MSP430F5529 will enter to USB BSL mode, and it will be able to update firmware by MSP430_USB_Firmware_Upgrade_Example-1.3.1.1-Setup.exe without any extra hardware tools.

    http://software-dl.ti.com/msp430/msp430_public_sw/mcu/msp430/MSP430_USB_Developers_Package/latest/index_FDS.html

  • OK, that is definitely the better solution!
    If no debugging capability needed.
  • Thanks Dennis for your reply

    I will consider both solutions provided in this post , just one more question I have an LPT port on my PC how can I build an inexpensive one as you said , what is the steps or the diagram to do that ?
  • Thanks Zrno for your reply

    So if I connect pin 63 ( PUR) to pin 66 (VUSB) with a wire by soldering this jumper , I will enter USB BSL mode and by using the MSP430_USB_Firmware_Upgrade_Example-1.3.1.1-Setup.exe will I be able to erase the flash memory of MSP430 ? cause I am still waiting for TI approval to download this file
  • It is better if you put switch button between PUR / VUSB. If it is pressed during plugging USB cable to PC device will enter to USB BSL mode. If it is not pressed during plugging USB cable to PC device will start normally (not in BSL mode). There must be already 1k4 resistor on board between PUR / DP, so you can take PUR signal from trace to resistor. Not sure about VUSB trace on board, but you can check by yourself. Better / more simple is to take PUR / VUSB signals from board and not by the chip legs directly.

    For flashing from command line without GUI, can be used BSL Scripter (slau319) with prepared script for MSP430F5529 (BSL_Files\BSL Scripter\Demo Scripts\5529_Application_Download).

  • Dennis Eichmann said:
    If you still have a LPT port on your PC you can maybe build an inexpensive one yourself (but double-check that if those newer controllers are still supported - I don't know - maybe not).

     Hi Dennis, LPT port FET is no more supported and I fear newest device series nor SBW are supported doesn't existed at time of FET.

     IMHO the cheapest solution is not to use slowest and EXpEN$$$$IVE ARDUINO instead of a fastest USB 2.0 enabled device is on board.

     Use ENERGIA if  like that and load a better software on resident processor, 32bit hardware MAC unit is also another bargain on processor free to this board. An inexpensive 55xx series launchpad can provide programming support too and open to a modern processor architecture.

  • OK. Already feared it would be like that.
    Thanks for the info.
  • That's right, the LPT FET only supports the older MSPs with 4-wire JTAG and 16bit addressing. All devices with MSP430X core (5x/6x family, FR families and half of the 2x family) are not supported. Also, some of the later 2/4x family devices without the X core have never been added to the FET firmware. And I fear there are no drivers available for the latest compiler versions at all (as the access model has changed).
    I still use one of these for our old 1x family-based devices, along with an old MSPGCC toolchain, but I can't recommend it for any newcomer.

**Attention** This is a public forum