SAM4N Firmware Update via UART

1 post / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

 

Hi, everybody,
I would like to ask you for advice on how to uppdate a device over a wireless connection using communication modules with UART interface. I need to perform an automatic firmware uppdate. The upgrade will be done by a Raspberry PI, which should download the firmware from the server and transfer it to SAM4N via the wireless uart module. Previously I have been using STM32 processors where it is possible to receive the binary data, copy it to a suitable address and reboot the system. A short tutorial of similar functionality can be seen in the video - STM32 Bootloader Tutorial Part 6 - Wireless Firmware Update FOTA through BLE.

https://www.youtube.com/watch?v=...

SAM4N family MCUs have according to the SAM-BA manual an IN-SYSTEM PROGRAMMER. However, here I am not sure about the possibility to use it for remote uppdate while the device is running. 

 

 

 

Is it possible to use any of the mentioned ASF modules for my purposes? Or will I need to create something of my own? At what address is the application possibly located ? I am not sure of the location in the attached memory map. Wouldn't the security bit that forces erasing of flash memory blocks be a problem ?

 

Thank you very much for your help

Have a nice day
Andrew

Attachment(s): 

Thank you very much for your help

Have a nice day
Andrew

Last Edited: Wed. Jan 19, 2022 - 07:49 PM