Code Monkey home page Code Monkey logo

avr-etherboot's People

Stargazers

 avatar

Watchers

 avatar  avatar

avr-etherboot's Issues

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

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

Atmega2561 freezing after burning (TFTP)

Hello, I'm having a problem after TFTP file transfer (.hex).
When I make simple firmware recordings, such as "blink" (size = <5kB), I succeed! However, when I transfer (by TFTP) my complete code (size = 110kB) the Atmega2561 freezes, does not initialize/freeze. What happens is when I use the USB recorder (USBasp) everything happens normally, successfully! That is, I have problems with TFTP (AVR-Bootloader). I do not find anything about, or similar questions around here. I will leave some information that may be relevant:

makefile.in:
MCU = atmega2561
EMB_FLASHEND = 0x3FFFF
EMB_BOOTLOADER_SECTION_START = 0x3FC00
EMB_LINKER_SCRIPT = -T ../make.files/eth-avr6.x
F_CPU = 16000000
EMB_BOOTLOADER_FLAVOR = 1

size.txt:
device_002.sizeelf:
section size addr
.data 0x0 0x800200
.text 0x34a 0x3fc00
.bootloader 0xe3c 0x0
.bss 0x30f 0x800200
.eeprom 0x72 0x810000
.comment 0x11 0x0
.note.gnu.avr.deviceinfo 0x40 0x0
.debug_aranges 0x1e8 0x0
.debug_info 0x2ece 0x0
.debug_abbrev 0x1678 0x0
.debug_line 0x10a3 0x0
.debug_frame 0x4c8 0x0
.debug_str 0xc7b 0x0
.debug_loc 0x11dc 0x0
.debug_ranges 0x148 0x0
Total 0x9190

BL_CODE_START 0x3EDC4

Note:

When, I am reducing/deleting the internal functions of my "complete code (110kB)" it initializes, however it hangs/freezes in other functions. Completely unstable;
I am using Arduino IDE 1.8.5 and the code is: 15% ROM and 37% RAM, with size of 110kB;
Card package: https://github.com/MCUdude/MegaCore
USBasp Recorder.

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

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

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.