Difference between revisions of "Programming Microcontroller"
(→Additional Information) |
|||
Line 21: | Line 21: | ||
== Additional Information == | == Additional Information == | ||
− | [ | + | [https://www.silabs.com/products/mcu/usb/Pages/C8051F32021.aspx Datasheet] |
− | [ | + | [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 18:50, 25 November 2008
Contents
Schematic
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.