{"action":"created","issue":{"url":"https://api.github.com/repos/SpenceKonde/ATTinyCore/issues/19","labels_url":"https://api.github.com/repos/SpenceKonde/ATTinyCore/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/SpenceKonde/ATTinyCore/issues/19/comments","events_url":"https://api.github.com/repos/SpenceKonde/ATTinyCore/issues/19/events","html_url":"https://github.com/SpenceKonde/ATTinyCore/issues/19","id":104120859,"number":19,"title":"Attiny2313; Error burning bootloader in Arduino IDE, Avrdude command line works fine","user":{"login":"hansibull","id":3238730,"avatar_url":"https://avatars.githubusercontent.com/u/3238730?v=3","gravatar_id":"","url":"https://api.github.com/users/hansibull","html_url":"https://github.com/hansibull","followers_url":"https://api.github.com/users/hansibull/followers","following_url":"https://api.github.com/users/hansibull/following{/other_user}","gists_url":"https://api.github.com/users/hansibull/gists{/gist_id}","starred_url":"https://api.github.com/users/hansibull/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hansibull/subscriptions","organizations_url":"https://api.github.com/users/hansibull/orgs","repos_url":"https://api.github.com/users/hansibull/repos","events_url":"https://api.github.com/users/hansibull/events{/privacy}","received_events_url":"https://api.github.com/users/hansibull/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-31T19:42:56Z","updated_at":"2015-09-01T03:29:23Z","closed_at":"2015-08-31T19:48:26Z","body":"I don't know if this is a bug in the core, or something wrong with my (only) Attiny2313. After your last commitment to the core, I get  \"content mismatch error\" every time I try to burn the bootloader. The microcontroller works fine, and I can upload new sketches to it. This is the error:\r\n\r\n ***failed;  \r\navrdude: verification error, first mismatch at byte 0x0000\r\n         0x3f != 0xff\r\navrdude: verification error; content mismatch\r\nError while burning bootloader.\r\n\r\nWhats weird is that I'm able to set fuses and burn bootloader with the avrdude command line on the same microcontroller. Is this a software or hardware problem?\r\n(This is the output of the avrdude command execution:)\r\n\r\navrdude -c usbtiny -p attiny2313 -u -U hfuse:w:0x9f:m -U lfuse:w:0xE4:m -u -U flash:w:/Users/hansi/Documents/Arduino/hardware/ATTinyCore-master/avr/bootloaders/empty/empty2313at8.hex\r\n\r\navrdude: AVR device initialized and ready to accept instructions\r\n\r\nReading | ################################################## | 100% 0.01s\r\n\r\navrdude: Device signature = 0x1e910a\r\navrdude: NOTE: FLASH memory has been specified, an erase cycle will be performed\r\n         To disable this feature, specify the -D option.\r\navrdude: erasing chip\r\navrdude: reading input file \"0x9f\"\r\navrdude: writing hfuse (1 bytes):\r\n\r\nWriting | ################################################## | 100% 0.00s\r\n\r\navrdude: 1 bytes of hfuse written\r\navrdude: verifying hfuse memory against 0x9f:\r\navrdude: load data hfuse data from input file 0x9f:\r\navrdude: input file 0x9f contains 1 bytes\r\navrdude: reading on-chip hfuse data:\r\n\r\nReading | ################################################## | 100% 0.00s\r\n\r\navrdude: verifying ...\r\navrdude: 1 bytes of hfuse verified\r\navrdude: reading input file \"0xE4\"\r\navrdude: writing lfuse (1 bytes):\r\n\r\nWriting | ################################################## | 100% 0.01s\r\n\r\navrdude: 1 bytes of lfuse written\r\navrdude: verifying lfuse memory against 0xE4:\r\navrdude: load data lfuse data from input file 0xE4:\r\navrdude: input file 0xE4 contains 1 bytes\r\navrdude: reading on-chip lfuse data:\r\n\r\nReading | ################################################## | 100% 0.00s\r\n\r\navrdude: verifying ...\r\navrdude: 1 bytes of lfuse verified\r\navrdude: reading input file \"/Users/hansi/Documents/Arduino/hardware/ATTinyCore-master/avr/bootloaders/empty/empty2313at8.hex\"\r\navrdude: input file /Users/hansi/Documents/Arduino/hardware/ATTinyCore-master/avr/bootloaders/empty/empty2313at8.hex auto detected as Intel Hex\r\navrdude: writing flash (332 bytes):\r\n\r\nWriting | ################################################## | 100% 0.50s\r\n\r\n\r\n\r\navrdude: 332 bytes of flash written\r\navrdude: verifying flash memory against /Users/hansi/Documents/Arduino/hardware/ATTinyCore-master/avr/bootloaders/empty/empty2313at8.hex:\r\navrdude: load data flash data from input file /Users/hansi/Documents/Arduino/hardware/ATTinyCore-master/avr/bootloaders/empty/empty2313at8.hex:\r\navrdude: input file /Users/hansi/Documents/Arduino/hardware/ATTinyCore-master/avr/bootloaders/empty/empty2313at8.hex auto detected as Intel Hex\r\navrdude: input file /Users/hansi/Documents/Arduino/hardware/ATTinyCore-master/avr/bootloaders/empty/empty2313at8.hex contains 332 bytes\r\navrdude: reading on-chip flash data:\r\n\r\nReading | ################################################## | 100% 0.30s\r\n\r\n\r\n\r\navrdude: verifying ...\r\navrdude: 332 bytes of flash verified\r\n\r\navrdude done.  Thank you.\r\n"},"comment":{"url":"https://api.github.com/repos/SpenceKonde/ATTinyCore/issues/comments/136567313","html_url":"https://github.com/SpenceKonde/ATTinyCore/issues/19#issuecomment-136567313","issue_url":"https://api.github.com/repos/SpenceKonde/ATTinyCore/issues/19","id":136567313,"user":{"login":"SpenceKonde","id":6779483,"avatar_url":"https://avatars.githubusercontent.com/u/6779483?v=3","gravatar_id":"","url":"https://api.github.com/users/SpenceKonde","html_url":"https://github.com/SpenceKonde","followers_url":"https://api.github.com/users/SpenceKonde/followers","following_url":"https://api.github.com/users/SpenceKonde/following{/other_user}","gists_url":"https://api.github.com/users/SpenceKonde/gists{/gist_id}","starred_url":"https://api.github.com/users/SpenceKonde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SpenceKonde/subscriptions","organizations_url":"https://api.github.com/users/SpenceKonde/orgs","repos_url":"https://api.github.com/users/SpenceKonde/repos","events_url":"https://api.github.com/users/SpenceKonde/events{/privacy}","received_events_url":"https://api.github.com/users/SpenceKonde/received_events","type":"User","site_admin":false},"created_at":"2015-09-01T03:29:22Z","updated_at":"2015-09-01T03:29:22Z","body":"I found a 4313 and tested it - and it worked. \r\n\r\nI suspect it should work with the 2313 as well, barring something really weird.\r\n\r\nYou do need that bypass cap though - no chip should be expected to work without it. "}}