Navigation

    • Register
    • Login
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. rvweert
    3. Posts
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Posts made by rvweert

    • RE: MYSBootloader 1.3.0-beta.3

      Hey all,

      I've compiled the bootloader and was able to install it with Arduino as ISP to a Nano. I couldn't find the lines necessary for the Nano in boards.txt so I created this:

      ##############################################################
      
      nanomysbootloader.name=Arduino Nano MYSBootloader
      
      nanomysbootloader.upload.tool=avrdude
      nanomysbootloader.upload.protocol=arduino
      
      nanomysbootloader.bootloader.tool=avrdude
      nanomysbootloader.bootloader.unlock_bits=0x3F
      nanomysbootloader.bootloader.lock_bits=0x0F
      
      nanomysbootloader.build.f_cpu=16000000L
      nanomysbootloader.build.board=AVR_NANO
      nanomysbootloader.build.core=arduino
      nanomysbootloader.build.variant=eightanaloginputs
      
      ## Arduino Nano w/ ATmega328
      ## -------------------------
      nanomysbootloader.menu.cpu.atmega328=ATmega328
      
      nanomysbootloader.menu.cpu.atmega328.upload.maximum_size=30720
      nanomysbootloader.menu.cpu.atmega328.upload.maximum_data_size=2048
      nanomysbootloader.menu.cpu.atmega328.upload.speed=115200
      
      nanomysbootloader.menu.cpu.atmega328.bootloader.low_fuses=0xFF
      nanomysbootloader.menu.cpu.atmega328.bootloader.high_fuses=0xDA
      nanomysbootloader.menu.cpu.atmega328.bootloader.extended_fuses=0xFD
      nanomysbootloader.menu.cpu.atmega328.bootloader.file=MySensors/MYSBootloader.hex
      nanomysbootloader.menu.cpu.atmega328.build.mcu=atmega328p
      
      

      Is this correct? Besides, on some devices I cannot program over serial anymore now, only through another ISP. Could that be caused by incorrect settings? Is it possible to recover from that?
      The error I'm getting is this one:
      avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x32

      Thanks and happy easter!
      Rene

      posted in Development
      rvweert
      rvweert
    • RE: OTA updates on Arduino Nano

      @tekka I checked but MY_OTA_FIRMWARE_FEATURE wasn't enabled. Also I tried Mysensors 1.4.1 and 1.5.2 but same result. Can't get it to work;-(

      posted in Troubleshooting
      rvweert
      rvweert
    • RE: MYSBootloader 1.4 testing

      Can I get in on the test too?
      Thanks!

      posted in My Project
      rvweert
      rvweert
    • RE: OTA updates on Arduino Nano

      Hey Tekka,

      Tried clearing both eeproms, still same problem. Actually tried two completely new nano's and same problem again...

      posted in Troubleshooting
      rvweert
      rvweert
    • RE: OTA updates on Arduino Nano

      No more news on this?;-)

      posted in Troubleshooting
      rvweert
      rvweert
    • RE: OTA updates on Arduino Nano

      Hi Oitzu,

      Just tried that, same result...

      posted in Troubleshooting
      rvweert
      rvweert
    • RE: OTA updates on Arduino Nano

      Hi Tekka,

      Please see here my log:
      MySensors_20151109-085110.log

      Also yes, all my nodes are running the same version from git.

      Cheers,

      Rene

      posted in Troubleshooting
      rvweert
      rvweert
    • RE: OTA updates on Arduino Nano

      Hi and thanks again;-)

      Ok I've got the bootloader and sketch on the node. I also see it in my gateway using MYSController. However when I try to reboot it just starts sending a lot of messages but doesn't reboot. Neither do I seem able to update the firmware, any clue?

      I also added the line 'boolean process();' to the start of the loop.

      Rene

      Screenshot from 2015-11-06 13-14-42.png

      posted in Troubleshooting
      rvweert
      rvweert
    • RE: OTA updates on Arduino Nano

      Hey thanks for the advice.

      I actually programmed the MYSbootloader with another Arduino (ISP). Now the programmed Arduino isn't responding anymore. It does work again if I restore the original bootloader. Should I perhaps change something in the fuse settings?

      Thanks.

      Rene

      posted in Troubleshooting
      rvweert
      rvweert
    • OTA updates on Arduino Nano

      Hey there,

      I read that it is possible to update firmware OTA using MYSBootloader.
      Is this also possible with Arduino Nano (clone)? I cannot find anywhere how to burn this bootloader, if possible. If not, what is the best alternative?

      Thanks a lot!

      Rene

      posted in Troubleshooting
      rvweert
      rvweert