Sunday, May 18, 2008

Repurposing the TI EZ430U, Part 1

by Travis Goodspeed <travis at utk.edu>
at the Extreme Measurement Communications Center
of the Oak Ridge National Laboratory

JTAG port

Lately I've been playing with the EZ430U, which is the adapter that ships with the TI EZ430 kits. The kits are an amazing deal, $20 gets you a spy-bi-wire MSP430 FET, while $50 gets you a similar FET with two wireless sensor nodes. Page 13 of SLAU227 contains the schematic diagram for Rev 2.0 of the MSP430U board, which ships packages as both the classic EZ430f2013 and the new EZ430rf2500; the only hardware difference is the color of the board, being green or red respectively.

The software differences, however, aren't so forgiving. While the classic kit readily creates a USB->serial device under Linux, the RF kit is as yet unusable in Linux as the interface was altered to support a second serial line, one to target board.

Each kit is composed of two types of boards, a programmer (EZ430U) and a target (RF2500T or T2012). While the target boards are a lot of fun, an email I received after my initial release of msp430static introduced me to something just as fun. Namely, the JTAG fuse of the EZ430U board is left unblown. The following diagram shows pin connections from the row of 5 testpoints on the side of the board.

The lack of a common ground is no problem, as ground and power both come from the same computer through USB. You'll need a proper JTAG FET; another EZ430 won't do. (The EZ430 programmer only supports spy-bi-wire; it cannot program traditional JTAG boards.)

Having ripped the firmware from both the RF kit and the 2013 kit, I thought it might be interesting to compare the two. For a brief visual comparison, consider the following memory maps. The first is of an EZ430U from a classic 2013 kit, the second is of the EZ430U from an RF kit.
ez430u memmap ez430urf memmap
Taking the difference of the two images yields
ez430u memmap diff
The lowest bands of the image, being ram and I/O, ought to be ignored. Still, higher memory makes it visually clear that the firmware images are different. Comparing library checksums confirms this: few functions are identical between the two revisions.

The RF firmware reports itself to the USB controller as "0451:f432" while the classic board reports itself as "0451:f430". The identification appears must reside in the ROM of the 3410 chip, as the RF variant identifies itself as f432 even when loaded with the classic variant's firmware.

The second installment of this series continues with details of the TUSB3410 firmware, which resides on an EEPROM.

32 comments:

Travis Goodspeed said...

Apparently I'm color-blind. What I call the green board is actually blue.

Shivdas Gujare said...

Hi Travis,
Thanks a lot for such a good article. It cleared my lot of doubts.
I am trying to get eZ430-RF2480 kit, working with linux, but I don't have any extra hardware other than eZ430 dongle and 3 CC2480 target boards.
Do I needs to load any firmware, to make it work with linux?
What all extra accessories needs to make eZ430-RF2480 working under linux, at any way.

Unknown said...

Hi Travis,
I bought eZ430rf2500 and I'm trying to see send data through the USB-Serial port. I found that the baud rate has been fixed to 9600 bps. Please, is there a way of increasing the baud rate while still using the SimplicTI APIs? If not, how can the baud rate be increased?

Thanks

Travis Goodspeed said...

Abimbola,

9600 baud is used because that is the fastest baud rate that the TUSB3410's bit-banged second serial port can handle. (If you look at the EZ430U schematic, the fast serial port goes to the MSP430F1612.)

With a better serial port, you could change the baud rate by the UCA0 control registers on the MSP430F2274 of the target board.

--Travis

Travis Goodspeed said...

Shivdas,

The RF2480 kit will not work with Linux unless its MSP430 is reflashed and its CAT24C EEPROM disabled.

Instead, buy an EZ430F2012 for $20 to program the target boards and a 3V FTDI adapter to handle serial communication with the target boards.

--Travis

Shivdas Gujare said...

Hi Travis,

I really appreciate your help.
You mentioned "buy an EZ430F2012 for $20 to program the target boards " but I can use windows & IAR to program target boards, then why should I need EZ430F2012.

What I want is just get eZ430_RF2480 detected as a serial device, write an application on linux host, which will use ttyUSB0 to control rest of zigbee devices in network.

Will it be possible that I can use USB half of EZ430F2012 and Radio from ez430-RF2480 to achieve my job.

Thanks for your help.

Travis Goodspeed said...

Joe,

Not without some very tricky soldering. The USB serial port of the original TI EZ430U goes directly to the MSP430F1612. It does not go to the target board. (Even if the pins exist--which they do in the second hardware revision--the firmware which drives them does not work in Linux.)

You can use a 3 volt FTDI adapter. Just run TX and RX as it says in the EZ430 documentation, then connect at 9600 baud.

--Travis

Alejandro Clemotte said...

Hi Travis.

I am in the same Shivdas's situation. I have the eZ430-RF2480 and i want to work under linux because i am treating to donwload a TinyOS application in the target board. I want to know if you have the email of Shivdas? I want to know if he get to work with the EZ430F2012 & EZ430RF2480 to program the target boards. I think he can help me without bother you.

Thank a lot.

Vaati said...

Hi,

I got the TI EZ430-Chronos kit, which includes an eZ430u usb emulator/programmer. Included manuals say I can use it to reprogram the Chronos, but am I also able to program other texas instruments MCU's with it without seriously modding it?

Thanks.

Rohit said...

I have the same query as Vaati. I have the eZ430 classic kit as well as a Chronos watch. I would like to start using some of the other MSP430 chips. Can I use the eZ430/Chronos dongles (these are called 'FETs', right?) to program the other chips?

maryammiahan said...


I recommend to write such more post.I also recommend visiting mobile app development company

Birla Trimaya said...

Birla Trimaya Devanahalli New Apartments in Bengaluru.
Birla Trimaya is a lofty private undertaking that joins current extravagance with a serene residing experience.

Prestige Park Grove said...

This essay clearly demonstrates investigation and meticulous attention to detail. This interesting piece was obviously laboriously written by the author. Prestige Park Grove

Brigade horizon mysore road new said...

Prestige Park Grove a futuristic residential development cluster within The Prestige City Township, offers a luxurious living experience.

http://gamerspark.vforums.co.uk/action/view_profile/user/newprestige

https://gamebanana.com/members/2879721

https://conifer.rhizome.org/newprestigeflat

Prestige Southern Star said...

Prestige Southern Star's strategic location on Begur Road combines the best of urban living with the tranquility of nature. This coveted address offers seamless access to key business districts, educational institutions, healthcare facilities, and entertainment hubs, ensuring residents enjoy the convenience of city life without compromising on serenity.

Anonymous said...

Sobha Dream Gardens is a futuristic pre-launch residential project in Panathur Road, Bangalore.This township by Sobha Group consists of apartments.

Jewel Galore said...

Explore the epitome of elegance with Jewel Galore's choker necklace collection. Our designs are a harmonious blend of traditional and contemporary, perfect for adding sophistication to your style.

In That Quiet Earth said...

What a fabulous post this has been. never seen this kind of useful post
In That Quiet Earth

AbheeDevelpers said...

Abhee Eden Vista Premium 3 & 4 BHK Apartments on Sarjapur Road, Bangalore

Abhee Eden Vista is a luxurious residential project located on Sarjapur Road, Bangalore. It offers meticulously designed 3 & 4 BHK apartments with spacious layouts and high-quality finishes. The project boasts world-class amenities such as a swimming pool, fitness center, children's play area, landscaped gardens, and a clubhouse. Strategically situated, it provides excellent connectivity to major IT hubs, reputed schools, healthcare facilities, and shopping centers. Abhee Eden Vista is the perfect blend of modern living and convenience, making it an ideal choice for families seeking a sophisticated and comfortable lifestyle.

Total Environment Jakkur said...

What a fabulous post this has been. never seen this kind of useful post
Total Environment Jakkur

Modern Spaaces said...

Explore Premium Living Modern Spaaces Apartments for Sale in Bangalore

Soulace by Modern Spaaces

Experience the perfect blend of luxury and tranquility at Soulace by Modern Spaaces Located on Sarjapur Road, this project offers spacious, well-designed apartments with top-notch amenities including a gym, swimming pool, and landscaped gardens.

Engrace Vista by Modern Spaaces

Engrace Vista by Modern Spaaces offers contemporary living spaces designed for comfort and style. Situated in a prime location, it features modern amenities like a clubhouse, fitness center, and children's play area, ensuring a vibrant community life.

Modern Spaaces Sarjapur Road

Modern Spaaces on Sarjapur Road presents a variety of residential options tailored to meet the needs of modern urban dwellers. Enjoy premium amenities, excellent connectivity, and proximity to major commercial hubs and educational institutions.

Engrace by Modern Spaaces

Engrace by Modern Spaaces is designed to provide a luxurious and comfortable living experience. With spacious apartments, high-quality finishes, and a range of amenities including a swimming pool and fitness center, it’s the ideal home for discerning buyers.

Modern Spaaces Plots in Sarjapur

Invest in your dream home with Modern Spaaces Plots in Sarjapur Offering well-planned plots in a rapidly developing area, this project provides the perfect opportunity to build a custom home with easy access to all essential amenities.

Modern Spaaces Serene Heights

Modern Spaaces Serene Heights combines elegance with functionality, offering beautifully designed apartments in a serene setting. With premium amenities such as a gym, swimming pool, and landscaped gardens, it’s the perfect place to call home.

Tataone said...

TATA ONE Apartments in Devanahalli, North Bangalore, offer a luxurious living experience with modern amenities, sustainable features, and excellent connectivity. Strategically located near Kempegowda International Airport, these apartments provide easy access to major highways, educational institutions, and tech parks, making them an ideal choice for professionals and families alike. Embrace comfort, convenience, and community living at TATA ONE Apartments.

BrigadeSanctuary said...

Brigade Sanctuary is a premier residential project by Brigade Enterprises Limited, strategically located in the vibrant city of Bangalore. This development is designed to offer an oasis of tranquility amidst the bustling urban environment, providing residents with a serene and luxurious living experience.The project features a range of thoughtfully designed apartments, each equipped with modern amenities to ensure maximum comfort and convenience. Spacious layouts, high-quality finishes, and contemporary interiors define these residences, catering to the needs of discerning homeowners.

Brigade_Insignia said...

Brigade Insignia New project is an exclusive residential project by Brigade Enterprises Limited, located in one of Bangalore’s prime areas. This development offers a sophisticated and luxurious living experience, designed to meet the needs of discerning homeowners who value elegance, comfort, and convenience.The project features a range of meticulously designed apartments, including 2 BHK and 3 BHK units, each with spacious layouts and high-quality finishes. These residences are equipped with modern amenities, contemporary interiors, and large windows that provide ample natural light and stunning views of the surrounding cityscape.

Brigade_orchards said...

Brigade Orchard Devanahalli is a pioneering integrated township located in Devanahalli, Bangalore, designed to offer a comprehensive and luxurious living experience. Spanning 135 acres, this master-planned community seamlessly blends residential, commercial, and recreational spaces, creating a vibrant and self-sustained environment. The residential options at Brigade Orchards Villas for sale are diverse, catering to various preferences and lifestyles. The township offers premium apartments, luxurious villas, and specialized senior living residences. Each home is thoughtfully designed with contemporary architecture, high-quality finishes, and modern amenities to ensure maximum comfort and convenience for its residents.

Shriram Projects said...

The great content in this site good article also thanks for information
Shriram Serenity

Godrej Projects said...

The great content in this site good article also thanks for information
Godrej Park Retreat

BrigadeSanctuary said...

At the apartment Brigade Sanctuary, ensuring the occupants’ safety and security is of utmost significance. The project offers inhabitants a safe and secure living environment with round-the-clock security staff, CCTV surveillance, and a strong access control system.

BrigadeSanctuary said...

Living in brigade sanctury complex creates a strong feeling of community, when neighbors are considered extended family members rather than just fellow tenants.

BrigadeSanctuary said...

brigade apartments bangalore offers 3 and 4 BHK houses that are assured to be comfortable, functional, and aesthetically pleasing. Let’s now investigate the several factors that make Project a well-liked residential area in Bangalore.

nishamarshalllll said...

Hello

I've been investigating the TI EZ430 kits' EZ430U adaptor. The kits are very affordable, costing $20 for a spy-bi-wire MSP430 FET and $50 for a FET with two wireless sensor nodes. Page 13 of SLAU227 contains the schematic for the MSP430U board's Rev 2.0, which displays the EZ430f2013 and the new EZ430rf2500. Though the hardware is identical, the software experience is not: the RF kit has problems because of a modified interface, while the traditional kit functions properly with USB->serial on Linux.

Regards
Nisha Marshall
Prestige Evergreen

amarpropertyfirst said...

In That Quiet Earth total environment
In That Quiet Earth total environment is a synthesis of innovative design, great location and convenient price.

The property sits off Hennur Main Road, in the fast-developing North Bangalore area which has not only emerged as an economic hub, but also as a front-runner among self-contained suburbs that are great places to live and work.
https://totalenvironment-jakkur.com/