Categories

App note: Bootloading 101

Posted on Sunday, December 23rd, 2012 in app notes by DP

Texas Instruments describes bootloaders and what they are all about. A bootloader is a piece of code that allows new firmware to be loaded into a microcontroller without a dedicated programmer. All of our projects use a bootloader so you can upgrade over a USB or serial connection. For PIC micros we usually use two open source (GPL) bootloaders: ds30 Loader or the Diolan USB HID bootloader.

The bootloader itself is a tiny piece of code that runs first when the micro starts. Usually it does nothing and passes control to the main application. If certain conditions are met, such as a button press or shorting two pins with a jumper, the bootloader takes over and receives new firmware to program into the chip.

Ever wondered what a bootloader is or how they work? In this video we’ll answer those questions as well as discuss some of the advanced functionality found in more professional bootloaders. While the video is C2000 specific, much of the technical content will apply to other architectures as well.

This entry was posted on Sunday, December 23rd, 2012 at 1:00 pm and is filed under app notes. You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.

One Response to “App note: Bootloading 101”

  1. Lloyd says:

    The only reason I had never looked into the ds30 bootloader was because I was under the impression from it’s name it was ONLY available for the dsPIC family. Turns out it supports almost all the families.

Leave a Reply

Notify me of followup comments via e-mail. You can also subscribe without commenting.

Recent Comments