Activity Forums Tutorials Burn MINI bootloader by Arduino UNO as ISP

  • Burn MINI bootloader by Arduino UNO as ISP

     Lukas updated 4 years, 3 months ago 3 Members · 4 Posts
  • Lukas

    Member
    February 28, 2020 at 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.

  • 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

  • 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

    [img]https://i.ibb.co/m0Nj6Mh/Setup01.jpg[/img]

    [img]https://i.ibb.co/FV8rjd3/Setup02.jpg[/img]

    [img]https://i.ibb.co/LRYHndX/Setup03.jpg[/img]

  • Connect the Arduino UNO by USB cable to your PC and start the Arduino IDE
  • Select proper COM port and board and upload the sketch File-Examples-ArduinoISP

    [img]https://i.ibb.co/1z5sWN2/01-Select-Arduino-UNO.jpg[/img]

    [img]https://i.ibb.co/K2FnHRC/02-Program-Arduino-UNO.jpg[/img]

  • Change type of Board to CONTROLLINO_MINI

    Set type of programmer to Arduino as ISP

    Click Burn Bootloader

    [img]https://i.ibb.co/7by3dDd/03-Select-CONTROLLINO-MINI.jpg[/img]

  • If everything goes well you should see this

    [img]https://i.ibb.co/W50v1yY/04-Successfuly-Burned.jpg[/img]

  • Or this in a case of Verbose output enabled

    [img]https://i.ibb.co/GvMRwfh/05-Successfuly-Burned-Verbose.jpg[/img]

  • Good luck!

  • Jarda

    Member
    March 6, 2020 at 10:35 am

    Great tutorial Lukas, thanks for that !

    BR

    Jarda

  • duhamelq

    Member
    August 20, 2020 at 7:46 am

    Hello,

    Thanks for this tutorial. I get a problem at the last step, atempting to burn the bootloader.

    I’m using an arduino Uno for the “bridge”, and want to brun a Controllino Maxi bootloader. However, when I try, I get the error “Can’t find avrdude tool”.

    Do you have an idea to solve this problem ?

  • Lukas

    Member
    September 7, 2020 at 7:04 pm

    Hello,

    do you have the latest version (3.1.0) of the CONTROLLINO board support package?

    Please post here more information from the Arduino IDE verbose output.

    Thanks,

    Lukas

  • Viewing 1 - 4 of 4 replies

    Log in to reply.

    Original Post
    0 of 0 posts June 2018
    Now