1 / 15

Load IAR Image Via TinyOS

Load IAR Image Via TinyOS. Objective. Write program in IAR Compile to Intel-extended format Load program to TAROKO via USB interface Use MSP430 bootstrap loader on TinyOS. Bootstrap Loader. provides a method to program the flash memory via the UART protocol

sahara
Download Presentation

Load IAR Image Via TinyOS

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Load IAR Image Via TinyOS

  2. Objective • Write program in IAR • Compile to Intel-extended format • Load program to TAROKO via USB interface • Use MSP430 bootstrap loader on TinyOS

  3. Bootstrap Loader • provides a method to program the flash memory • via the UART protocol • BSL code is stored in a secure memory location • ROM or specially protected flash • Any BSL command that directly or indirectly allows data reading is password protected • To invoke the bootstrap loader • a BSL entry sequence must be applied

  4. Invoke BSL • Apply BSL entry sequence • Send a synchronization character • Send a specific command • TinyOS installation includes a MSP430 bsl program

  5. Compile To Intel-Extended Open Options

  6. Compile To Intel-Extended type filename Select Linker Choose intel-extended

  7. Compile To Intel-Extended Rebuild All

  8. Find And Copy Source • Go to program directory • Locate file in Debug/Exe • Copy the generated file

  9. Find And Copy Source Go to cygwin home dir C:\Program Files\UCB\cygwin\home\”username” Create a new dir

  10. Find And Copy Source Copy the source file into the created dir

  11. Load By BSL Open cygwin

  12. Load By BSL Change dir to the created dir

  13. Load By BSL Plug Taroko to USB port Check the com port

  14. Load By BSL Execute the following command: $ msp430-bsl --telosb -c “comport – 1” -r -e -I -p “source file name”

  15. Load By BSL Load program to Taroko

More Related