Otabootloader upload ?



  • I can upload the bootloader using Arduino as ISP ? who i need add in a board.txt?

    im use this but give an error
    #######################################
    Mysensors.name=[Mysensors OTA] Arduino Uno
    Mysensors.upload.protocol=arduino
    Mysensors.upload.maximum_size=32256
    Mysensors.upload.speed=115200
    Mysensors.bootloader.low_fuses=0xff
    Mysensors.bootloader.high_fuses=0xde
    Mysensors.bootloader.extended_fuses=0x05
    Mysensors.bootloader.path=MySensorsOTA
    Mysensors.bootloader.file=MyOtaBootloader.hex
    Mysensors.bootloader.unlock_bits=0x3F
    Mysensors.bootloader.lock_bits=0x0F
    Mysensors.build.mcu=atmega328p
    Mysensors.build.f_cpu=16000000L
    Mysensors.build.core=arduino
    Mysensors.build.variant=standard
    #####################################


  • Hero Member

    What kind of error do you get?


  • Admin

    @ch3b7 this setting is working for me (4k BL)

    proMS.name=Arduino Pro Mini (3V3 & 5V, 16 MHz) w/ ATmega328 MySensors

    proMS.upload.tool=avrdude
    proMS.upload.protocol=arduino
    proMS.upload.maximum_size=28672
    proMS.upload.maximum_data_size=2048
    proMS.upload.speed=115200

    proMS.bootloader.tool=avrdude
    proMS.bootloader.unlock_bits=0x3F
    proMS.bootloader.lock_bits=0x0F
    proMS.bootloader.low_fuses=0xFF
    proMS.bootloader.high_fuses=0xD8
    proMS.bootloader.extended_fuses=0x05
    proMS.bootloader.file=MySensors/MyOtaBootloader.hex

    proMS.build.board=AVR_PRO
    proMS.build.core=arduino
    proMS.build.variant=standard

    proMS.build.mcu=atmega328p
    proMS.build.f_cpu=16000000L



  • @tekka dont work for me



  • @daulagari said:

    What kind of error do you get?

    this error:

    avrdude: WARNING: no end of file record found for Intel Hex file "G:\arduino-1.0.5-r2\hardware\arduino\bootloaders\MySensorsOTA\MyOtaBootloader.hex"
    avrdude: WARNING: no end of file record found for Intel Hex file "G:\arduino-1.0.5-r2\hardware\arduino\bootloaders\MySensorsOTA\MyOtaBootloader.hex"


  • Admin

    @ch3b7 did you download/copy the entire .hex file? seems like you are missing some parts (eof)



  • im downloaded from here link text im try to copy manually


  • Admin

    @ch3b7 download and save from here.



  • @tekka said:

    @ch3b7 download and save from here.

    thanks. now i not get the error but i cant upload sketch


  • Admin

    @ch3b7 you have to give us more information to troubleshoot. which error msg do you get?



  • now it works ^^ thanks!


  • Admin

    @ch3b7 excellent :) have fun


  • Plugin Developer

    @tekka
    Is OTA or MYS bootloader end to end working for you. if yes, let me know the steps that needs to be followed. i'm getting error in gateway where I_FIND_PARENT request(from sensor) response is failing and not reaching to sensor node. however, it works after fresh make load command issue..


  • Admin

    @Dheeraj Did you install the most recent version of the library? There were some significant changes in the routing and find_parent parts of the code...


Log in to reply
 

Looks like your connection to MySensors Forum was lost, please wait while we try to reconnect.