#avr Logs

Apr 30 2019

#avr Calendar

12:01 AM day__ is now known as day
01:27 AM gsi__ is now known as gsi_
04:23 PM rodri: hey guys. how is it that the default linker scripts for the atmega328p (avr5.x) set the lengths of the Flash and SRAM as 128K and 64K respectively? also, why is the origin address for the SRAM at 0x800060?
04:24 PM rodri: i came up with this link script, reusing the original and reading the datasheet. it works great, but i don't know why it ships with the other as default
04:24 PM rodri: http://antares-labs.eu/isometric/%C2%B5c/src/avr/asm/dht11/link.ld
05:44 PM davor_ is now known as davor
06:03 PM rodri: i guess the DEFINED macros in the scripts set them properly (?). however, there's still the mystery of the 0x8* addresses for SRAM, EEPROM and friends, they are not in the specs
06:16 PM rodri: ok, this explains it: https://www.nongnu.org/avr-libc/user-manual/mem_sections.html
06:17 PM rodri: it's due to it being harvard
07:20 PM rue_mohr: hi
07:20 PM rue_mohr: rodri, still alive?
07:20 PM rodri: yup
07:20 PM rue_mohr: ah you found your answers , ok
07:21 PM rodri: yes, everything is perfect now :)
09:11 PM davor_ is now known as davor
11:31 PM gsi__ is now known as gsi_
11:59 PM day__ is now known as day