The Godfather talking
Share your stuff or I will make you regret it.
Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 06, 2016, 08:49:05 20:49


Login with username, password and session length


Pages: [1]
Print
Author Topic: AVR Bootloader from external non-volatile memory  (Read 707 times)
0 Members and 1 Guest are viewing this topic.
JoePesci
Inactive

Offline Offline

Posts: 4

Thank You
-Given: 3
-Receive: 0


« on: April 14, 2015, 04:52:08 16:52 »

Hello All,

I just want to get some opinions from a high level point of view on a small project I am working on. So, what we are doing is creating a small bootloader to run on an ATmega1280 that will load an application file in intel hex format from an SPI based flash chip (IS25LD040). The main point of contention between my colleagues and is the fact that the method to load the firmware to the SPI flash is through the uC we are updating. So if at any point data is corrupted via poor firmware or emi issues, the chain is completely broken. I think it is fine because any redundancy checks in the "egg" firmware should minimize the risk of bad data getting pushed to the flash, so long as the bootloader has no serious bugs, the resulting "chicken" firmware should be loaded correctly. For this reason I really do not understand the argument. Attached is a flowchart for our bootloader and I will post up an ip-free version of the bootloader on here when it is done.

Any thoughts on our argument or the structure of the bootloader?

https://www.lucidchart.com/documents/embeddedchart/56b67f8f-3e17-4f38-a93a-673bb6203162

Logged
Old_but_Alive
V.I.P
Active Member
*****
Offline Offline

Posts: 211

Thank You
-Given: 154
-Receive: 56


« Reply #1 on: April 14, 2015, 07:45:01 19:45 »

I am no expert on this, but XBoot allows booting from I2C, so if AVRdude also allows, that would seem the easiest way to go with an I2C EEPROM
Logged
JoePesci
Inactive

Offline Offline

Posts: 4

Thank You
-Given: 3
-Receive: 0


« Reply #2 on: April 15, 2015, 01:13:14 01:13 »

Thanks! I will look into porting xboot to work with our flash module.
Logged
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC