This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

BMD-200 and Atmega328p OTA upgrade

Hi there,

I've been searching around this forum for a while and still haven't gotten any reliable answer. I'm trying to develop a OTA firmware upgrade solution for the ATMega328p (or any other uC for that matter) and I've come across the BMD-200 module, which uses the nRF51822 SoC. Now, I'm fairly certain I can get it to work by recognizing the initial characters sent by the bootloader (0x30 0x20) in order to reset the atmega and begin the ota upgrade, but it seems odd that no one else is talking about it in the forums or anywhere on the internet.

I did find this link: https://github.com/NordicPlayground/ble-optiboot , which is a modified bootloader to use the BLE OTA upgrade, but it was for the nRF8001. Would it also work with the nRF51822 ? The BT module shouldn't matter but i'd like to be safe before purchasing development kits and started working on this.

Best regards,

Luís

Parents
  • Hi Einar,

    You can theoretically use the optiboot bootloader. I was just asking to know if anyone had tried to do this with a BT 4.x module. There are lots of people who have done upgrade OTA with BT 2.x modules, mainly the HC-05 variants, but never with any BT 4.x module. That's why I was asking around here if someone had done such a thing before.

    The main problem is the ability to reset the atmega when the characters arrive, but that can be fixed through programming right ? Or when you start the bridge between UART and BT you can no longer inspect the data comming from either side?

    Best regards,

    Luís

  • I see. I have no experience with the optiboot bootloader, but hopefully you can get some relevant feedback from others on this forum. I expect it will need quite a bit of work in order to use it with the nRF51, as that is a very different chip.

Reply Children
No Data
Related