Burn MINI bootloader by Arduino UNO as ISP

Community guides and tutorials
Post Reply
User avatar
Lukas
Posts: 51
Joined: Tue Dec 18, 2018 3:44 pm

Burn MINI bootloader by Arduino UNO as ISP

Post by Lukas » Fri Feb 28, 2020 10:41 am

Good news! CONTROLLINO team has released a new board support package which hopefully fixes the issues with the "bricked" devices - some rare cases when there was not possible to upload a sketch anymore. The board support package includes a new bootloader for MINI - version 02. And it also includes all necessary information for Arduino IDE to able to program this bootloader.

All CONTROLLINO MINI devices produced from now already include the new bootlader.

The users interrested to upgrade their MINIs have two possibilities
  • use Atmel Studio and Atmel ICE programmer (only for experienced users, Atmel ICE is quite expensive)
  • use Arduino UNO as ISP programmer - you just need Arduino UNO, USB cable, few wires and THIS TUTORIAL! ;)
Note: In principle is is possible to use any 5V Arduino board instead of the UNO. See this arduino guide for more details.
  1. Update your Arduino IDE with the latest CONTROLLINO board support package
    Make sure that you have version 3.1.0 or later. You can find this information in Arduino IDE - Tools - Board - Boards Manager
  2. Connect the UNO and MINI by 6 wires
    • UNO 5V to MINI 5V
    • UNO GND to MINI GND
    • UNO MISO to MINI MISO
    • UNO MOSI to MINI MOSI
    • UNO SCK to MINI SCK
    • UNO pin 10 to MINI RESET
    See some photos of my setup
    Image
    Image
    Image
  3. Connect the Arduino UNO by USB cable to your PC and start the Arduino IDE
  4. Select proper COM port and board and upload the sketch File-Examples-ArduinoISP

    Image
    Image
  5. Change type of Board to CONTROLLINO_MINI
    Set type of programmer to Arduino as ISP
    Click Burn Bootloader

    Image
  6. If everything goes well you should see this

    Image
  7. Or this in a case of Verbose output enabled

    Image
Good luck!
Last edited by Lukas on Tue Apr 21, 2020 2:11 pm, edited 1 time in total.

User avatar
Jarda
Posts: 45
Joined: Fri Dec 14, 2018 10:52 am

Re: Burn MINI bootloader by Arduino UNO as ISP

Post by Jarda » Fri Mar 06, 2020 10:35 am

Great tutorial Lukas, thanks for that !

BR
Jarda

Post Reply