How to bootload OTA on arduino pro mini?



  • Hi,

    I'm searching, since a couple hours, a simple method to bootload a pro mini 5v 16Mhz with an OTA bootloader.
    I found some part of information, but no simple things like "copy this file at this location and then click here".......
    There is a tutorial somewhere?


  • Hero Member



  • This is the part of information I have.
    The missing part is how can I add the new OTA bootloader on arduino ide!!!



  • In the file arduino-1.6.5-r2\hardware\arduino\avr\boards.txt add a new section with the correct settings

    ## Arduino Pro or Pro Mini (3V3 & 5V, 16 MHz) w/ ATmega328 MYSBootloader
    ## -------------------------------------------------
    
    
    proMYSBL.menu.cpu.8MHzatmega328=ATmega328 16Mhz MYSBootloader
    proMYSBL.menu.cpu.8MHzatmega328.upload.tool=avrdude
    proMYSBL.menu.cpu.8MHzatmega328.upload.protocol=arduino
    proMYSBL.menu.cpu.8MHzatmega328.upload.maximum_size=30720
    proMYSBL.menu.cpu.8MHzatmega328.upload.maximum_data_size=2048
    proMYSBL.menu.cpu.8MHzatmega328.upload.speed=115200
    proMYSBL.menu.cpu.8MHzatmega328.bootloader.tool=avrdude
    proMYSBL.menu.cpu.8MHzatmega328.bootloader.low_fuses=0xF7
    proMYSBL.menu.cpu.8MHzatmega328.bootloader.high_fuses=0xDA
    proMYSBL.menu.cpu.8MHzatmega328.bootloader.extended_fuses=0x06
    proMYSBL.menu.cpu.8MHzatmega328.bootloader.unlock_bits=0x3F
    proMYSBL.menu.cpu.8MHzatmega328.bootloader.lock_bits=0x0F
    proMYSBL.menu.cpu.8MHzatmega328.bootloader.file=MySensors/MYSBootloader.hex
    proMYSBL.menu.cpu.8MHzatmega328.build.mcu=atmega328p
    proMYSBL.menu.cpu.8MHzatmega328.build.f_cpu=16000000L
    proMYSBL.menu.cpu.8MHzatmega328.build.board=AVR_UNO
    proMYSBL.menu.cpu.8MHzatmega328.build.core=arduino
    proMYSBL.menu.cpu.8MHzatmega328.build.variant=standard
    

    save the file and restart the arduino IDE



  • Hey, Bootloader in pro-mini.
    I have to flash with a new sketch, connect nrf and test OTA.
    Thank you


Log in to reply
 

Suggested Topics

  • 1
  • 2
  • 5
  • 6
  • 1
  • 3

13
Online

11.4k
Users

11.1k
Topics

112.7k
Posts