Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Bootloader and Codevision AVR. (isp using Ethernet)

Status
Not open for further replies.

Jos Brink

Member level 3
Joined
Jan 28, 2004
Messages
64
Helped
9
Reputation
18
Reaction score
2
Trophy points
1,288
Activity points
577
avr ethernet bootloader

Heya,

I've an AtMega128 connected to an Ethernet controller and now I want to update my software using a bootloader.

I have a few questions about this:

1) Using codevision, I can upload and program application and bootload section, But how can I switch between those 2 programs?

2) How can i use the SPM commands using C? or do i have to write the bootloader in ASM for that? Is it posible to flash my app code using C?

3) Are there libraries or extra help files for this. This whole bootload idea is a bit confusing for me. Because I've got to handle Ethernet frames I want to use C and not Asm. But simple SPM functions are no problem of course..

Does anyone have any experience with this?

Thnx alot.

Jos Brink!
 

codevision bootloader

usualy at startup bootloader executed and see serial port,
if nothing came, switch to stored program, else control give to loader.

see atmel application note for boot loader or see


Regards
Davood.
 

bootloader avr ethernet

I've checked Atmel.com and that forum, but it says nothing on how to do the job using C. I've seen one example, and that guy used an inline asm "JMP" instruction to get to the bootloader.
nothing on how to actualy reflash your application.

the basic idea is to hook multiple atmels on to ethernet and update their applications at the same time. So I've to handle the upload command in my main application. You could compare my idea with norton Ghost. Only i cant physicly reach my controllers, thus I have to trigger the upload command some way.
Maybe this info is a bit more clear.

Thanx for your help. but i need more. ;):D
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top