N.B., that this is quite outdated. See the GoodFET Tutorial for a more recent description.
This is a quick tutorial for using the GoodFET to program an MSP430. This should work for all classic MSP430 chips which support 4-wire JTAG, but it will not yet work with SpyBiWire or MSP430X2 chips, such as the MSP430F5xx and CC430. As these instructions will likely become dated very quickly, expect some surprises.
Prerequisites
You will need a GoodFET board, complete with the clock crystal. Your workstation should have Python, Subversion, MSPGCC, and msp430-bsl installed. I assume below that you are using some form of Unix, but the software ought to be compatible with Cygwin. Those who are unfamiliar with Cygwin should wait for a GUI client that I'll release later this year.
If you are familiar with SMD soldering, email or catch me at a conference for a gratis board of the most recent revision.
Subversion Checkout
Grab the entire project by running "svn co https://goodfet.svn.sourceforge.net/svnroot/goodfet". Future updates may be grabbed by "svn update".
Clients
CD to "goodfet/trunk/client" and run "sudo make link". This will link the client scripts to /usr/local/bin/, keeping the originals in the subversion directory to be easily updated. At this point, you can call up the "goodfet.msp430" command's usage by running it without parameters.
Firmware
Change your directory to "goodfet/trunk/firmware", then run "make" to compile a firmware image. If there are errors, check your MSPGCC installation. Once compilation succeeds, run "make install" to load the firmware into the GoodFET device.
Dumping an Image
The "goodfet.msp430" script is a stand-in until I get around to writing a proper client. To dump a target's firmware, the usage is "/usr/local/bin/goodfet.msp430 dump $foo.hex [0x$start 0x$stop]". To dump the BSL, which resides in the region [0xC00,0xFFF],
As I collect BSL images, it would be neighborly of you to send the bsl.hex file my way. Dump with no range will dump all memory above 0x200, which is to say all memory that may be safely read without side effects.
Erasing a Chip
The "erase" verb will mass erase all memory except for the DCO configuration. An erase is automatically performed prior to a flash.
Flashing an Image
The "flash" verb of this client will flash an image to the target board. Every address evenly divisible by 0x100 is printed as a sort of progress meter,
Each word is validated as it is written, making it easy to identify when writes go bad. In the photo below, words were miswritten from 0x2500 to 0x2508, but later words were written properly.
That's all, folks. Expect a slew of firmware updates for the GoodFET over the next few weeks, and perhaps a GUI client of some sort.
20 comments:
I'm presently rewriting this code to support MSP430X, MSP430X2, and spy-bi-wire chips. Some of the features in this article might be temporarily broken.
--Travis
Thanks Travis,
These instructions worked well for me. I'll send an msp430f169 bsl dump.
i have a pair of cc2500 transrecievers, and have downloaded smartRF studio7 from texas instruments...
http://robosoftsystems.co.in/blog/wp-content/uploads/2009/10/CC2500-Block-Digram-01.png
would you please help me out how to configure these transrecievers and interface with atmega8
Do you wanna know where to get money on travels? Have a peek here https://assignment-helpers.com/blog/how-to-make-money-while-traveling
This is great! I might use this tutorial really soon! Thank you!
Do you guys disturb and have a problem to do in assignments & Look for professional essay writer then We offer to our new customers that we are providing reliable prices in all services.
This information very help full for me I really impress your blog you have made some nice stuff such a great article provide dude James Bond Suits
Gone are the days when relying on the tutors was the only option. With the changing times, you need to adopt the modern and necessary ways to complete your assignment. Contact The Tutors Help and avail all the assignment services at lower rates. ,Thetutorshelp.com assignment helps Sydney Level 5,121 Castlereagh Street Sydney, NSW 2000 whatsapp +61-280-062-221 info@thetutorshelp.com Seemore-https://www.thetutorshelp.com/assignment-help-in-sydney.php
The why brown essay example will be good literature analysis essay. If you want to learn how to deal with it, our guidelines will help you a lot.
พนันออนไลน์ www.warr8.com พนันออนไลน์ ที่มีเกมส์ดังมากมาย หลายค่าย ให้ลูกค้าได้เลือกใช้บริการ มาพร้อมกับระบบแนะนำเพื่อนที่คืนค่าคอมให้ 1 %
We definitely produce a custom cosmetic boxes according to your needs. The cosmetic packaging boxes allows you to get these boxes in affordable price range.
Online gambling www.warr8.com quality online gambling Pay attention to every use of the member's service. Stable, safe, no cheating. Must be at warr8
Thanks for sharing
I share genuine information about Marijuana. Learn why it is an anti-depressant, anxiety reliever, and non-addictive product. Marijuana Strains on Smoky Express
We are very thankful to you for giving us this helpful material. That has made our work easy and time-saving methods. I want to discuss with you that I am working with law essay writing service UK that provides custom law essay writing for students who are stuck in their incomplete assignments.
Thanks for the positive feedback, very discount code we love reading that our users are having a great experience using our site.
This is really good for knowledge, thanks for this excellent blog. Please keep sharing.
Get in touch if you are looking for customised 17 inch laptop bag
Nice! Thanks for sharing your hard work with us.
Get Her Crazy in Bed
Jewelgalore showcases the finest jewelry in Pakistan . Explore their collection to find exquisite pieces that elevate your style and celebrate the craftsmanship of the region.
I appreciate the thoughtfulness embedded in your writing. Your articles consistently provoke reflection and thoughtful consideration.
patagonia marble in Fujairah
Kambo Sticks
Sananga
Hapé
Kambo Stick
Sananga
Kambo Stick
Sananga
Kambo Stick
Post a Comment