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.

What is actually happening while burning an MSP430? (HARDWARE)

Status
Not open for further replies.

vinodstanur

Advanced Member level 3
Joined
Oct 31, 2009
Messages
751
Helped
114
Reputation
234
Reaction score
114
Trophy points
1,333
Location
Kerala (INDIA)
Activity points
7,054
I would like to make a UART based MSP430 burner. I am planning to use a PIC or any MSP430 itself for the purpose, so that I could burn many MSP430 s using Rx + Tx combination....

But at first, I want to know what exactly happening in hardware point of view, while programming an MSP430. I mean, how the hex file is transfered to the MSP430 flash?


From where I could obtain such details ?
 

Hello!

You might be interested in reading this document:
**broken link removed**


Dora
 
Well,

Most uC's have built-in FLASH memory to store boot-up code or embedded software. If the uC does not have a built-in FLASh, then one will be there on the board with the reset vector connected to it, so that at power up after reset, the controller reads from the flash and loads the software. When you program/burn your code into a uC, what happens is the following:

1. The FLASH in the uC/on-board is set into the erase mode and all existing contents of the flash are erased.
2. Next, it is set in the Write mode.
3. When the hex file is sent via JTAG/USB/UART/etc, it is serialized and sent to the flash keeping in mid the flash's write protocol ,ie, read/write strobe, address,data,etc.
4. This the data is written into the fLASH memory.
5. When the operation is complete, a signal like an interrupt is generated to let the user/application know that the programming is complete. If there are any errors durning the burn process, and error signal is raised.
 
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top