Giter Club home page Giter Club logo

avr-etherboot's Introduction

Über die Device_nnn-Unterordner kann man verschiedene Bootloader Versionen kompilieren.
Die Unterordner enthalten die Einstellungen wie IP, MAC und Dateiname für den TFTP Transfer:
-In den Makefiles muss Prozessor und Bootloaderadresse angepasst werden.
-In den Config.h Dateien müssen die Portpins angepasst werden.
-In den eemem.c Dateien müssen die Programmparameter angepasst werden.

Das compile.bat im Hauptordner ruft make in den Geräteordnern auf.

Changelog:

Revision: 30local
Author: jkrause
Date: 23:31:38, Mittwoch, 4. Februar 2009
Message:
ethernetbootloader:
-single run after reboot works fine now.
-problems with call from application (timer1 running, but no packets receiving).


Revision: 29local
Author: jkrause
Date: 00:40:58, Mittwoch, 4. Februar 2009
Message:
ethernetbootloader:
-bugfix: when TFTP packet starts with 0x0D (last packet ends with 0x0A) a '0' was induced into the flash
-bugfix: receive and transmit buffer used same memory. concurrency problems solved.
-still having problems in receivemode: sometimes no processing of arp and udp packets occurs.


Revision: 23local
Author: jkrause
Date: 22:00:50, Donnerstag, 23. Oktober 2008
Message:
added bootloader project



avr-etherboot's People

Watchers

James Cloos avatar

avr-etherboot's Issues

Support DHCP option 66

This option is used to identify a TFTP server when the 'sname' field in the
DHCP header has been used for DHCP options.


Original issue reported on code.google.com by [email protected] on 21 Feb 2009 at 12:54

enc28j60 errata

Driver code in enc28j60.c does not contain necessary changes for Rev 4 and
5 chips - especially the ESTAT.CLKRDY anomality - as stated in the
microchip errata (see
http://ww1.microchip.com/downloads/en/DeviceDoc/80264d.pdf).

Original issue reported on code.google.com by [email protected] on 6 Feb 2009 at 9:47

errors with linkerscript eth-avr51

What steps will reproduce the problem?
1. configure device001/2 with ATmega128; 16MHz; Large

The following output will be displayed


Calculate code size: device_001.sizeelf
avr-gcc -mmcu=atmega128 -I. -gdwarf-2 -DF_CPU=16000000UL -
DBOOTLOADER_FLAVOR=3 -
DBLSECSTRT=0x3ff -Os -funsigned-char -funsigned-bitfields -fpack-struct -
fshort-
enums -Wall -Wstrict-prototypes -mcall-prologues -Wa,-adhlns=etherflash.o -
I. -I
.. -std=gnu99 -Wundef -MMD -MP -MF .dep/device_001.sizeelf.d etherflash.o 
checks
um.o ethernet.o arp.o enc28j60.o spi.o udp.o dhcpc.o eemem.o --output 
device_001
.sizeelf -Wl,--defsym=app_start=0 -Wl,-Map=device_001.map,--cref     -lm -
Wl,--d
efsym=app_start=0x1FC00 -Wl,--section-start=.text=0x1FC00 -
T ../make.files/eth-a
vr51.x -Wl,--section-start=.bootloader=0x0000
c:/winavr-
20090313/bin/../lib/gcc/avr/4.3.2/../../../../avr/bin/ld.exe:../make.f
iles/eth-avr51.x:8: syntax error




After changing 

  data      (rw!x) : ORIGIN = , LENGTH = 0xffa0

to

  data      (rw!x) : ORIGIN = 0x800060, LENGTH = 0xffa0

like in eth-avr51 or the standard linker script I get the following output.


Calculate code size: device_002.sizeelf
avr-gcc -mmcu=atmega128 -I. -gdwarf-2 -DF_CPU=16000000UL -
DBOOTLOADER_FLAVOR=3 -
DBLSECSTRT=0x3ff -Os -funsigned-char -funsigned-bitfields -fpack-struct -
fshort-
enums -Wall -Wstrict-prototypes -mcall-prologues -Wa,-adhlns=etherflash.o -
I. -I
.. -std=gnu99 -Wundef -MMD -MP -MF .dep/device_002.sizeelf.d etherflash.o 
checks
um.o ethernet.o arp.o enc28j60.o spi.o udp.o dhcpc.o eemem.o --output 
device_002
.sizeelf -Wl,--defsym=app_start=0 -Wl,-Map=device_002.map,--cref     -lm -
Wl,--d
efsym=app_start=0x1FC00 -Wl,--section-start=.text=0x1FC00 -
T ../make.files/eth-a
vr51.x -Wl,--section-start=.bootloader=0x0000
c:/winavr-20090313/bin/../lib/gcc/avr/4.3.2/../../../../avr/bin/ld.exe: 
address
0x20020 of device_002.sizeelf section .text is not within region text
c:/winavr-20090313/bin/../lib/gcc/avr/4.3.2/../../../../avr/bin/ld.exe: 
address
0x20020 of device_002.sizeelf section .text is not within region text
make: *** [device_002.sizeelf] Error 1





What version of the product are you using? On what operating system?
-latest svn





Original issue reported on code.google.com by [email protected] on 12 Jun 2009 at 11:39

Reply to ICMP Echo request messages

DHCP server may send ICMP Echo request to check if an IP address is in use.
We need to answer that request, otherwise the server may give our address
to another host.

Original issue reported on code.google.com by [email protected] on 21 Feb 2009 at 10:48

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.