Discussion in "AVR Discussion Forum" started by    electrosol    Feb 24, 2014.
Mon Feb 24 2014, 12:10 am
#1
Sir ,
I m working on Self programming AVR Microcontroller using Bootloader & I2C EEPROM
Language :- C
Tool - WINAVR & AVR Studio 4.
Tue Feb 25 2014, 04:49 pm
#2
And? What help do you need? are you stuck? your one liner statement does not explain anything.
Fri Feb 28 2014, 06:58 pm
#3
Sir ,
Problem statement is My Program code will be saved in external i2c EEPROM , I want to Transfer this Program code to Flash ROM of AVR using bootloader. I can interface i2c EEPROMs but -
step 1. I am new to write boot loader code and just read about its theoretical concept but not tried ever. Practical
So i need to assistance at step 1
Step 2. i read about SPM instruction for self Programming , but don't know implementation
Will go to Step 2 after completing step 1
Mon Mar 03 2014, 06:30 pm
#4
I think you first need to understand how bootloader works. Take a reference from existing bootloader programs and go through the implementation to understand it. You can get many links if you just search for avr bootloader.
Here is one for reference with source code:
https://sites.google.com/site/shaoziyang/Home/avr/avr-universal-bootloadere

which AVR are you working on?
Mon Mar 03 2014, 10:24 pm
#5
AVR - Atmega8/16/32
Tue Mar 04 2014, 10:24 am
#6
So that bootloader code will be useful for you to get a gist of what you're trying to achive

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

chimichmedic1204
Sun May 05 2024, 11:06 am
Jamiegob
Sun May 05 2024, 10:11 am
Gregoryjed
Sun May 05 2024, 10:02 am
Mariocax
Sun May 05 2024, 08:51 am
WilliamErync
Sun May 05 2024, 02:35 am
Danielnof
Sat May 04 2024, 11:12 pm
oriminna
Sat May 04 2024, 08:28 pm
scaneraNom
Sat May 04 2024, 02:21 am