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

Robertphype
Sat Apr 27 2024, 12:23 am
ktaletrryp
Fri Apr 26 2024, 10:55 pm
Robertrip
Fri Apr 26 2024, 11:20 am
ArnoldDiant
Fri Apr 26 2024, 03:53 am
RodneyKnorb
Thu Apr 25 2024, 07:08 pm
Williamjef
Thu Apr 25 2024, 02:08 pm
SamuelSmise
Thu Apr 25 2024, 09:56 am
DustinErele
Thu Apr 25 2024, 08:44 am