Black Lives Matter - Action and Equality. ... Adafruit is open and shipping.
0

TUTORIAL: Arduino Hacks -Burning bootloader chips using an Arduino

Extras

TUTORIAL: Arduino Hacks -Burning bootloader chips using an Arduino. A lot of people start learning about microcontrollers with an Arduino but then want to build their own projects without having to sacrifice their dev board. Or maybe they want to make their own Arduino variant, that is compatible with the IDE. Either way, a common problem is how to burn the bootloader onto the fresh AVR chip. Since AVRs come blank, they need to be set up to be Arduino IDE compatible but to do that you need an AVR programmer (like the USBtinyISP).

The good news is that you can burn bootloader using your existing Arduino with only a little bit of work. There’s even a minitutorial on the arduino.cc site
This tutorial is an extention of that tutorial. First we’ll show how you can make a permanent bootloader-burner by soldering a 28-pin ZIF socket to a proto shield and use the PWM output line of the Arduino to generate a clock. This will let you ‘rescue’ many chips that have been set to the wrong type of oscillator, or change ones that are set from external oscillator (most Arduino bootloaders) to internal (such as the lilypad).

Read more!


We are angry, frustrated, and in pain because of the violence and murder of Black people by the police because of racism. We are in the fight AGAINST RACISM. George Floyd was murdered, his life stolen. The Adafruit teams have specific actions we’ve done, are doing, and will do together as a company and culture. We are asking the Adafruit community to get involved and share what you are doing. The Adafruit teams will not settle for a hash tag, a Tweet, or an icon change. We will work on real change, and that requires real action and real work together. That is what we will do each day, each month, each year – we will hold ourselves accountable and publish our collective efforts, partnerships, activism, donations, openly and publicly. Our blog and social media platforms will be utilized in actionable ways. Join us and the anti-racist efforts working to end police brutality, reform the criminal justice system, and dismantle the many other forms of systemic racism at work in this country, read more @ adafruit.com/blacklivesmatter

Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, TinyGO, or even use the Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for CircuitPython, MakeCode, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.

Join 20,000+ makers on Adafruit’s Discord channels and be part of the community! http://adafru.it/discord

Have an amazing project to share? The Electronics Show and Tell is every Wednesday at 7pm ET! To join, head over to YouTube and check out the show’s live chat – we’ll post the link there.

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Follow Adafruit on Instagram for top secret new products, behinds the scenes and more https://www.instagram.com/adafruit/

CircuitPython – The easiest way to program microcontrollers – CircuitPython.org


Maker Business — To make it through a tough business cycle, layoffs should be a last resort

Wearables — Look beyond buttons

Electronics — The Glitchy Switch

Python for Microcontrollers — Python on Microcontrollers: CircuitPython on Wio Terminal, 6.0.0 Alpha 1 and more! #Python #Adafruit #CircuitPython @circuitpython @micropython @ThePSF

Adafruit IoT Monthly — Repurposed Smart Home Displays, Open-Source 5G Networks, and more!

Microsoft MakeCode — Black Girls Code Virtual Camps

EYE on NPI — Maxim’s Himalaya uSLIC Step-Down Power Module #EyeOnNPI @maximintegrated @digikey

New Products – Adafruit Industries – Makers, hackers, artists, designers and engineers! — New Products 7/08/20 featuring Adafruit PMSA003I Air Quality Breakout – STEMMA QT / Qwiic! @adafruit #adafruit #newproducts

Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !



5 Comments

  1. An AVR dragon is available from Digikey and is only $49 last I checked, and there is support code – you need to add jumper wires and a ZIF socket (that is how mine is configured). This is a neat way to do things, but I use the dragon to program all my AVRs including the ATtiny series – I also have a few SMD ZIFs I can put in the DIP ZIF.

  2. $50 vs $10 (if you just buy the proto PCB and ZIF socket and have some header kicking around the house) – we like ours and many people have arduinos 🙂

  3. If you have a quantity of chips to add bootloaders too as implied by wanting to use a ZIF socket, you might also want to look at my “optiloader” sketch. This is a self-contained Arduino sketch that includes the hex files of the optiboot bootloader for m8, m168, AND m328p chips. Connected via the same wiring as ArduinoISP, it will autodetect the connected target CPU and burn the bootloader each time you reset your arduino or send “G” to the serial port. See the thread here for details: http://arduino.cc/forum/index.php/topic,64105.0.html

    (Note that additional effort is needed to run optiboot on m8 and m168 processors from the Arduino IDE…)

    (optiloader currently assumes a 512byte bootloader, and probably does not easily scale to bootloaders that are larger than 1K.)

  4. You guys/girls are cranking out the goodness lately! Nice Job!

  5. Looks really good. I went through quite a headache last week burning a 8MHz bootloader for a watch I’m building. I really wished that tutorial was up, a lot of stuff isn’t too clear on the arduino website.

    Nice work!

Sorry, the comment form is closed at this time.