Difference between revisions of "Programming Microcontroller"

From NaWiki
Jump to: navigation, search
 
(Additional Information)
 
Line 21: Line 21:
 
== Additional Information ==
 
== Additional Information ==
  
[http://www2.silabs.com/public/documents/tpub_doc/dsheet/Microcontrollers/USB/en/C8051F32x.pdf Datasheet]
+
[https://www.silabs.com/products/mcu/usb/Pages/C8051F32021.aspx Datasheet]
  
[http://www.silabs.com/tgwWebApp/public/web_content/products/Microcontrollers/en/MCU_Downloads.htm Windows IDE and Tools]
+
[https://www.silabs.com/products/mcu/Pages/SoftwareDownloads.aspx Windows IDE and Tools]
  
 
[http://ec2drv.sourceforge.net Linux Driver for Programming Cable]
 
[http://ec2drv.sourceforge.net Linux Driver for Programming Cable]
  
 
[http://sdcc.sourceforge.net/ Small Device C Compiler (SDCC)]
 
[http://sdcc.sourceforge.net/ Small Device C Compiler (SDCC)]

Latest revision as of 19:50, 25 November 2008

Schematic

DSerial Microcontroller

Description

Initial DSerial programming is done with the PROG connector. Once the bootloader is on the microcontroller, it can be programmed from DS or any other interface the bootloader supports.

Programming

Initial Programming

Note: This is only required if there's no bootloader on the microcontroller.

Initial programming requires a programming cable from Silicon Laboratories. A modified ToolStick is the cheapest way and can also be used as an in-circuit debugger.

Programming via Bootloader

Since the microcontroller is self-reprogrammable, it's possible to use a bootloader that can receive the program from the supported interfaces and put it into internal flash. It's then possible to jump to that program.

Additional Information

Datasheet

Windows IDE and Tools

Linux Driver for Programming Cable

Small Device C Compiler (SDCC)