{"action":"created","issue":{"url":"https://api.github.com/repos/MarlinFirmware/MarlinDev/issues/376","repository_url":"https://api.github.com/repos/MarlinFirmware/MarlinDev","labels_url":"https://api.github.com/repos/MarlinFirmware/MarlinDev/issues/376/labels{/name}","comments_url":"https://api.github.com/repos/MarlinFirmware/MarlinDev/issues/376/comments","events_url":"https://api.github.com/repos/MarlinFirmware/MarlinDev/issues/376/events","html_url":"https://github.com/MarlinFirmware/MarlinDev/issues/376","id":138065623,"number":376,"title":"Question about Arduino and the EEPROM space","user":{"login":"Roxy-3DPrintBoard","id":8404322,"avatar_url":"https://avatars.githubusercontent.com/u/8404322?v=3","gravatar_id":"","url":"https://api.github.com/users/Roxy-3DPrintBoard","html_url":"https://github.com/Roxy-3DPrintBoard","followers_url":"https://api.github.com/users/Roxy-3DPrintBoard/followers","following_url":"https://api.github.com/users/Roxy-3DPrintBoard/following{/other_user}","gists_url":"https://api.github.com/users/Roxy-3DPrintBoard/gists{/gist_id}","starred_url":"https://api.github.com/users/Roxy-3DPrintBoard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Roxy-3DPrintBoard/subscriptions","organizations_url":"https://api.github.com/users/Roxy-3DPrintBoard/orgs","repos_url":"https://api.github.com/users/Roxy-3DPrintBoard/repos","events_url":"https://api.github.com/users/Roxy-3DPrintBoard/events{/privacy}","received_events_url":"https://api.github.com/users/Roxy-3DPrintBoard/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-03T03:34:42Z","updated_at":"2016-03-03T14:24:46Z","closed_at":null,"body":"I'm hoping this is an easy question and I don't have to go create an account over at the Arduino forums and ask what I'm sure is a stupid question:\r\n\r\nQ: Is there a #define'd value that tells me how big the EEPROM is on a given AVR chip?\r\n\r\nBonus question:\r\n\r\nQ: Is there a #define'd value that tells me the start and end address (or index) of the EEPROM on a given AVR chip?\r\n\r\nPS.  I did look and find a million different EEPROM.h files.  It sure looks like at the lowest level this information is available to the C code.  But I'm having trouble finding it.    \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/MarlinFirmware/MarlinDev/issues/comments/191782952","html_url":"https://github.com/MarlinFirmware/MarlinDev/issues/376#issuecomment-191782952","issue_url":"https://api.github.com/repos/MarlinFirmware/MarlinDev/issues/376","id":191782952,"user":{"login":"Roxy-3DPrintBoard","id":8404322,"avatar_url":"https://avatars.githubusercontent.com/u/8404322?v=3","gravatar_id":"","url":"https://api.github.com/users/Roxy-3DPrintBoard","html_url":"https://github.com/Roxy-3DPrintBoard","followers_url":"https://api.github.com/users/Roxy-3DPrintBoard/followers","following_url":"https://api.github.com/users/Roxy-3DPrintBoard/following{/other_user}","gists_url":"https://api.github.com/users/Roxy-3DPrintBoard/gists{/gist_id}","starred_url":"https://api.github.com/users/Roxy-3DPrintBoard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Roxy-3DPrintBoard/subscriptions","organizations_url":"https://api.github.com/users/Roxy-3DPrintBoard/orgs","repos_url":"https://api.github.com/users/Roxy-3DPrintBoard/repos","events_url":"https://api.github.com/users/Roxy-3DPrintBoard/events{/privacy}","received_events_url":"https://api.github.com/users/Roxy-3DPrintBoard/received_events","type":"User","site_admin":false},"created_at":"2016-03-03T14:24:45Z","updated_at":"2016-03-03T14:24:45Z","body":"@CONSULitAS   \r\n\r\nTHANKS!!!!  Somebody else needed the same information...   At http://www.nongnu.org/avr-libc/user-manual/group__avr__io.html are #define values for the details about all the memory types.\r\n\r\nFinally, the following macros are defined:\r\n\r\nRAMEND      The last on-chip RAM address. \r\nXRAMEND    The last possible RAM location that is addressable. This is equal to RAMEND for devices\r\n                that do not allow for external RAM. For devices that allow external RAM, this will be \r\n                larger than RAMEND. \r\nE2END         The last EEPROM address. \r\nFLASHEND   The last byte address in the Flash program space. \r\nSPM_PAGESIZE      For devices with bootloader support, the flash pagesize (in bytes) to be \r\n                              used for the SPM instruction.\r\nE2PAGESIZE         The size of the EEPROM page.\r\n\r\nBecause it is a Harvard Architecture, all of the addresses start at 0x0000.  (I haven't found that said anywhere.  But because they are not saying it, or defining values for the start, I suspect that is true.)\r\n"}}