STM32 programming options the easy way

Every time you start with new microcontroller, you have to deal with new ways of programming them. You may need to purchase and learn new tools and so on. But once you’ve done this process with any microcontroller, learning new is easy. So if you are in to STM32 microcontrollers Shawon have written pretty god guide on programming them. Since ARM Cortex micrcontrollers are flexible devices in terms of developing, debugging and flashing, you have several options of getting your code up and running. Like most manufacturers do, ST devices can be programmed and debugged with special ST-link adapter/debugger which works in JTAG or in SWD mode. Most development boards like discovery already have ST-link debugger integrated so the only thing is needed to run software and load your code. Other covered option is using built in bootloader which can be accessed through serial interface. ST have special software Flash Loader Demonstrator for programming in this mode. When programing with bootloader, special pins have to be pulled up or low in order to access it. This resource is great to… Continue reading

Upgrade your Arduino bootloader

You think that standard Arduino bootloader isn’t optimal for your use? Sometimes you might want bootloader to operate at higher baud rates or simply occupy less space in flash memory. Things can be changed with Optiboot – an Arduino bootloader upgrade. With this nice little upgrade changes few things on your Arduino like frees 1.5k of memory that can be used for sketches. Also it responds faster and works at high baud rate (115200) – this means faster upload of compiled programs. Optiboot is compatible with current ATmega 168/328 Arduinos. If you work intense with Arduino projects this improvement may save you tons of time. Continue reading

The Compact-Sized Zero Pin Loader

Zero Pin Loader, do you have any idea what this stuff for? To be honest, some of you here might haven’t hear or use it before. Actually, the Zero Pin Loader is a bootloader for the PICmicro 18F series. Its main function is to avoid the use of I/O pins, by simply exploiting the /MCLR pin as the only interface between the host PC and the PICmicro. It uses the PIC16F877 microcontroller as the main part, where is having the ability to write to their own code memory. The Zero Pin Loader is unique, as the interface between the PC serial port and the target uses six components! The standard /MCLR is one of the six components. The interface circuit can be put in a common DB9 shell and with a DIP clip for the connection to the target. There’s some downfall for this Zero Pin Loader and you have to get it solved. Most of the development environments have the transparent bootloader, but the limitation being that the highest 384 instructions are not available to the application. Hence, you… Continue reading

The Amazing and Stunning Digital Clock

What’s your opinion about digital clock? If you have deep interest on digital clock, then this project is perfectly well tailored for you! This digital clock is slightly different than others, as it’s an Ultra High Accuracy Digital Clock For this project, a PIC16F873 is used as the main heart to control the input-output port. In order to make the circuit becoming even more compact, complex programmable logic device (CPLD) is also being used in this project. Since the building block of a CPLD is the macro cell, it won’t waste too much of space. Furthermore, the characteristic of non-volatility makes the CPLD the best device in modern designs, where it can be used to perform “bootloader” functions before handling over control to other devices that don’t have this capability! There are two important things, where you have to pay attention in this project. Firstly, when the digital clock measuring counts time of 1 second, it can be delayed compared with the correct clock. For your information, 1 second is made by counting 20 miliseconds in 50 times, where it… Continue reading

Illuminato – The 100% GNU Open Source Hardware!

If you want to have a stylish and deluxe Arduino that compatible with the open source, you’ve came to the right place. The project that we’re going to discuss here is about the Illuminato – the elegant and able-bodied open source gadget. This Illuminato using the ATMega645, where it has twice the code space and much faster code download speed than other ATmegas. The main purpose of this project is to keep the Arduino in shape and in the same time, it can allow to work with the TouchShield Slide, Stealth and other shields without any further medications. If you refer to the above figurine, you can see a row of gold-lined aerodynamic holes up at the front of the board server. It has two functions, which as: It can reduce drag when the board flies over 200 mph. They also double as in-circuit programming pins, so that you can program the Atmel chip with the initial bootloader. Beside that, it also has 42 I/O pins in a configuration, where it can accept any shield that was made for the… Continue reading

The Smart Way to Burn the Bootloader without External AVR-Writer!

Most of you here must have tried to find the effective way to burn the bootloader without external AVR-Writer, but have you found it yet? Well, if you haven’t got what you’re searching, then today’s is you lucky day, as this project is the thing that you’ve scouring for. Normally, when you’re trying to burn the bootloader of Arduino Diecimila, you have to connect external AVR-Writer to ICSP of Diecimila and it’s totally a troublesome procedure. By using this incredible method, you can easily burn the bootloader by Diecimila itself without external AVR-Writer and causing any troubles to you! For this project, you will need a FT232RL BitBang Mode AVR-Writer, where it’s an USB-Serial bridge on an Arduino Diecimila PCB. It has a function to manipulate each signal pin directly and it’s called BitBang Mode. First and foremost, you need to modify the Diecimila. There are four pads written as X3 near FY232RL on a Diecimila PCB and these pads are connected to the control pins of FT232RL. After it, remove the solder of these pads and insert a pin-header.… Continue reading