Students assumed that the Blue Pill USB port actually did something.) We need to Pill ROM? And how would we connect the Blue Pill to our computer? Just use the USB port that’s already provided on Blue Pill! Flashing theīlue Pill would become so easy - just like in the demo above!īlue Pill’s USB port doesn’t have any built-in functionality. What if we could simply click a button in a web page, and transmit our custom program directly into the Blue Why Build A Custom Bootloader?īare UART pins or the SWD port (via ST Link) is cumbersome. ST Link uses the SWD port on the Blue Pill to flash ourĬustom program into the ROM. Remember that we set the BOOT0 jumper to 0 whileįlashing Blue Pill via ST Link? This disables the factory-installed Bootloader so we don’t actuallyįlash the custom program via the UART pins. Protocol used in the STM32 bootloader and AN2606: STM32 Way except that it uses the UART pins instead of the USB port. For Blue Pill, the factory-installed Bootloader works the same On the Arduino Uno, the Bootloader receives our custom program file via the USB Serial Port andįlashes the custom program into ROM. Load: The Bootloader enables us to load (or flash) our custom program into So most of the time we won’t notice that the Bootloader is actually started before our Normally theīootloader will jump to the custom program that we have flashed into the ROM (assuming it has beenįlashed). It’s the first program that runs when we power on the device. MakeCode may be used to write a visual program that blinks the Blue Pill LED.īoot: The Bootloader is a small program that’s pre-installed in the ROM of What’s a visual program? Check this video to see how Linker Script used to create the Bootloader memory layout.HF2 Protocol used by MakeCode and the Bootloader to flash the Blue Pill.How the Bootloader uses Blue Pill memory optimally.CODAL runtime library used by MakeCode to execute Blue Pill-specific.What’s a Bootloader and why we need a Custom.Surgical scalpels, dissect and explore the innards of the MakeCode Bootloader that I have ported to The MakeCode Bootloader runs on Blue Pill, the rest is a piece of cake! I have ported the mostĬomplicated part of MakeCode to Blue Pill: the MakeCode Bootloader. There’s no official port of MakeCode for Blue Pill, but we’re nearly there. MakeCode could be the missing element that will make TypeScript, a variant of JavaScript that’s optimised for newer powerful Tool that’s easy to learn and use - makers around the world are already using MakeCode MakeCode is an open-source visual programming And this leads to MakeCode, the popular web-based toolįor programming and flashing microcontrollers… Make it faster and friendlier to code and test. Maybe we should sacrifice a bit of Blue Pill’s processing power to Same primitive coding tools… a text editor and a C Plenty of open-source Arm and STM32 code to guide themīlue Pill is way more advanced than the ancient Arduino Uno, yet we are still using the (though the embedded WiFi is a huge advantage) Cheap microcontrollersĮSP8266 / ESP32, is still slowly growing its software base from scratch Mesh networks to become smarter collectives. Arduino as the preferred platform for creating IoT prototypes?ġ️⃣ Blue Pill is packed with features, yet costs under US$ 2īlue Pill clones are now emerging.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |