Looking for firmware update over the air for AVR

Go To Last Post
8 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I am looking for a fota solution for avr using gsm /gprs modem! I came across this video but I cant find anything else! I hope someone here can help me understanding it and finally doing it ! http://www.youtube.com/watch?v=I...

I am using the same modem !

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I would think any serial port bootloader would work. Show us your code and explain what problem your having, our crystal balls are a bit fuzzy right now.
Or where you looking to hire someone to provide you with a ready made solution?

Jc

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I did cellular remote firmware updates. Not with AVR... memory too small. My approach didn't download and store new in RAM or SD card. It was done in place, overwriting the previous firmware. If there was a disruption or power failure in the midst, the bootloader could detect a bad CRC and start anew. Used FTP.
All unattended.

A 128KB ARM, where the firmware was like 100KB and the special boot was about 8KB. Did my own FTP client, in C, so it could be more secure but not need SSL. Used Wiznet 812 for the IP stack. Ethernet connected to LAN or Cradlepoint router w/4G cellular USB modem.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

sherazi wrote:
I am using the same modem !
SIM900 has HTTP therefore HTTP can be an alternative to SMS.
The Arduino GSM library is likely too much for a bootloader; could use the Atmel Serial Bootloader or another Over-The-Air-Update (OTAU) method.
IIRC, Atmel BitCloud has an OTAU; that wireless stack OTAU method can be used to give you a start for creating your own FOTA/OTAU method.
For HTTP, store the AVR application on your web server.
The SIM900 will be an HTTP client, connect to your web server, and HTTP GET the AVR firmware.

https://github.com/MarcoMartines/GSM-GPRS-GPS-Shield/blob/GSMSHIELD/inetGSM.h
https://github.com/MarcoMartines/GSM-GPRS-GPS-Shield
"GSM/GPRS & GPS Shield Library for modules using SIM900/SIM908"

GSM/GPRS & GPS shield for Arduino (Open Electronics, Store)
The GSM/GPRS & GPS Shield: some Http connections examples by Boris Landoni (Open Electronics; June 11, 2013)

Wireless > GSM/GPRS & WIFI > IComSat [ITEAD Studio, select the DOWNLOAD tab to see the datasheet and the AT command manual (that has an HTTP section)]
Wireless > GSM/GPRS & WIFI (ITEAD Studio, note the Wi-Fi Router)

Atmel AVR2054 Serial Bootloader (Gallery)
"It supports MCU programming via UART/SPI/TWI interfaces and also includes features required for Over-the-Air firmware Upgrade (OTAU)."

"Dare to be naïve." - Buckminster Fuller

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

stevech wrote:
... or Cradlepoint router w/4G cellular USB modem.
Supported Routers and Modems (Of Modems and Men)

"Dare to be naïve." - Buckminster Fuller

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I'm a basic developer.

I'm building OTA with AMEGA2560, GSM800L and SD card.

What should I do?
I have no idea how to do that.
We would be very grateful if you could provide us with some useful information.

Regard.

Love ATMEGA

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

This is a cross-post!

 

Jim

Jim Wagner Oregon Research Electronics, Consulting Div. Tangent, OR, USA http://www.orelectronics.net