Is there a DFU C library for arduino nano ?

Hi guys,

I'm using the arduino nano atmega 328 for a project. This device is piloted with a stm32 mcu through UART. I would need to be able to update the arduino firmware i developped from the mcu.

So my question is, is there a C library that I can use to put the arduino in bootloader mode and update the firmware using uart ?
Actually i'm using platform io on vs code to update the arduino. I hope there is some library running behind that we could use ?

Thanks !

it is used here

Isn't this the code making the update from the arduino side ? I would need the code for my mcu side which switch the arduino into bootloader and then sends the fw to it.

it is the esp8266 flashing over Serial an Uno with uploaded hex.
'avrdude' for MCU

I will take a SWAG and say: Check out the OTA (Over The Air) for programming the chip. You will need to hold both programs in memory or at least the loader and the new code.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.