Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to dump program in msp430fg4618?

Status
Not open for further replies.

AnuHV

Member level 2
Joined
Nov 4, 2011
Messages
45
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,571
hi,
could anyone tell me how to dump program inside a msp430fg4618 chip?
should i bye any separate kit for it?
 

Are you trying to download a new program or extract an existing program from the MSP430FG4618?

You can use the MSP430 LaunchPad as both a programmer and debugger.

MSP430 LaunchPad Value Line Development kit

Depending on whether any code protection has been activated, you may be able extract/dump existing binary from the device.

BigDog
 
  • Like
Reactions: AnuHV

    AnuHV

    Points: 2
    Helpful Answer Positive Rating
hi sir,
Thank u very much for ur reply sir.This is the datasheet of msp430fg4618.
https://www.ti.com/lit/ds/symlink/msp430fg4618.pdf
My processor has 100 pins.The launch pad that you told does not suits it sir.
i am a student and i cant spent much amount .accordingly can u please suggest me some low cost programmer for it sir.

I am trying to download a new program sir.
Is it not enough using the debugging technique available in IAR workbench sir.Do we need a separate debugging tool for it sir?


I am planning to bye the below chip alone
TEXAS INSTRUMENTS|MSP430FG4618IPZ|IC, MICROCONTROLLER, 16BIT, SMD | element14 India
later i am planning to dump the code in it and to use it in the circuit.

by buying a developing board or experimental board can we take the chip alone and use it in the circuit?
 

Actually it is a little know secret that you can use the MSP430 LaunchPad as an external programmer/debugger with virtually any of the MSP430 series, also at $4.30 it is a bargain.

Launchpad not limited to value line chips

However, if you want a more professional setup, you can acquire the breakout board and programmer/debugger bundle:

MSP-FET430U100 - MSP430 100-Pin Target board and USB Programmer

TI has ZIF breakout boards available for any of the MSP430 variants.

Either of the options would allow you to both program and debug the MSP430FG4618.

The LaunchPad would require a little more preparation on your part.

BigDog
 
  • Like
Reactions: AnuHV

    AnuHV

    Points: 2
    Helpful Answer Positive Rating
hi sir,
I have got another doubt in msp430 .

since msp430 is a mixed signal processor can we use the external analog values (values from sensor) directly in program without converting it into digital?
 

since msp430 is a mixed signal processor can we use the external analog values (values from sensor) directly in program without converting it into digital?

You would need to employ the onboard ADCs to first convert the analog values to digital values before using them in your MSP430 calculations.

You will also need to ensure the voltage output range of your sensor is within the ADC operating range, if not you will need to carry out some preprocessing of the signal.

I have found the following book to be quite a good reference for the MSP430 family of microcontrollers:

MSP430 Microcontroller Basics

I covers considerably more than the basics, unlike its title implies.

BigDog
 
  • Like
Reactions: AnuHV

    AnuHV

    Points: 2
    Helpful Answer Positive Rating
yes sir i will bye that book soon.:)
Then what is meant by mixed signal processing ?
 

Then what is meant by mixed signal processing ?

The phrase "mixed signal processing" has a rather loose definition.

It can imply that the processor has analog inputs, analog outputs or both, this which usually implies that the microcontroller has ADCs, DACs or both, possibly a CODEC in some cases. There are also mixed signal processors which process radio, sound, cellular communications and error correction.

BigDog
 
  • Like
Reactions: AnuHV

    AnuHV

    Points: 2
    Helpful Answer Positive Rating
Thank you sir.It is very useful:smile:
 

Hello!

Do you mean using launchpad to program the 4618? Launchpad can program only SBW devices and if I remember
correctly, FG4618 is not an SBW device. It has to be programmed with a regular JTAG interface. I may be wrong on
this one, so just in case... please verify!
I think SBW appeared with the 2x series.

Dora.

Are you trying to download a new program or extract an existing program from the MSP430FG4618?

You can use the MSP430 LaunchPad as both a programmer and debugger.

MSP430 LaunchPad Value Line Development kit

Depending on whether any code protection has been activated, you may be able extract/dump existing binary from the device.

BigDog
 
  • Like
Reactions: AnuHV

    AnuHV

    Points: 2
    Helpful Answer Positive Rating
Do you mean using launchpad to program the 4618?

Yes.

Launchpad can program only SBW devices and if I remember
correctly, FG4618 is not an SBW device. It has to be programmed with a regular JTAG interface. I may be wrong on
this one, so just in case... please verify!
I think SBW appeared with the 2x series.

Both are in fact JTAG, 4-Wire and 2-Wire otherwise known as Spy-Bi-Wire (SBW). 2-Wire JTAG or Spy-Bi-Wire is actually nothing more than serialized 4-Wire JTAG. It requires only a minimal amount of additional logic to convert 2-Wire JTAG (SBW) to 4-Wire JTAG and in fact MSP430 devices which support 2-Wire JTAG (SBW) interface have the identical JTAG core as the devices that support 4-Wire JTAG. The only difference is the additional logic to convert 2-Wire to 4-Wire JTAG, so that the same JTAG core and emulation logic can be utilized.

SpyBiWire.jpg

SBW2JTAG.jpg

And as mentioned in a previous posting, the LaunchPad would require more preparation before using it as a programmer for both 2-Wire (SBW) and 4-Wire JTAG.

Reference: **broken link removed**

BigDog
 
  • Like
Reactions: AnuHV

    AnuHV

    Points: 2
    Helpful Answer Positive Rating
whether msp430-jtag alone is enough to program header board for msp430f449.

You should be alright. Their documentation states:

MSP430-JTAG is100% compliant to Texas Instruments MSP430-FET, so it will works with any package which supports TI-MSP430-FET

program all MSP430Fxxx flash microcontrollers (note: parallel port JTAG doesn't support Spy-Bi-Wire devices as timing from parallel port can't meet programming specs)
uses TI standard 2x7 pin JTAG connector

It looks like Tenet Technetronics sells the MSP430-JTAG:



Are you going to use MSPGCC Compiler to develop your code?

Let me know how things work out.

BigDog
 
  • Like
Reactions: AnuHV

    AnuHV

    Points: 2
    Helpful Answer Positive Rating
I have IAR workbench IDE for msp430
 

I have IAR workbench IDE for msp430


I use the IAR Compiler for the MSP430 as well, however I've been curious to give MSPGCC a try.

Also keep an eye on TI Deals, they heavily discount MSP430 gear on a regular basis with free shipping.

Good Luck with your project.

BigDog
 
  • Like
Reactions: AnuHV

    AnuHV

    Points: 2
    Helpful Answer Positive Rating
what is the difference between the above three JTAG?
 

what is the difference between the above three JTAG?


Similar to the MSP430 programmer/debugger TI sells, MSP-FET430UIF - MSP430 USB Debugging Interface supports both 4-wire and 2-wire (SBW) JTAG, although it is supposedly faster and has additional features than the TI version. However it is 50% more than the MSP-FET430UIF according to the websites price in USD.




Parallel interface, instead of the USB interface above, slower than the above unit and doesn't support 2-wire (SBW) JTAG. Parallel interfaces are slowly disappearing from desktops and have compatibility issues as well.




USB interface like the top unit above and TI's MSP-FET430UIF, very similar in features and price to the MSP-FET430UIF. Supports both 4-wire and 2-wire (SBW) JTAG.


Do my descriptions help?



BigDog
 
  • Like
Reactions: AnuHV

    AnuHV

    Points: 2
    Helpful Answer Positive Rating
out of the three which one you suggest me to bye?
 

out of the three which one you suggest me to bye?

The choice depends on whether you intend on pursuing embedded design with the MSP430 family of microcontrollers, or is this a one-time experiment.

If you are just a hobbyist or just interested in checkout the MSP430 microcontrollers and do not plan on needing Spy-Bi-Wire (SBW) capabilities, you may want to purchase the least expensive unit:




However, if you plan on designing future projects around the MSP430 family of microcontrollers and want the ability to program and debug the entire range of MSP430, you may want to invest in the unit closest to the TI MSP-FET430UIF, then purchase the next unit up on the ladder:




I believe their top unit:



is most likely not worth the additional cost, 2X as expensive as the MSP430-JTAG-TINY, for the few additional features. Unless you plan on reprogramming units in field without a laptop.

BigDog
 
  • Like
Reactions: AnuHV

    AnuHV

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top