{"comment":{"url":"https://api.github.com/repos/dhiltonp/hexbright/comments/10775763","html_url":"https://github.com/dhiltonp/hexbright/commit/f2a18c6095771f03a65b06b19ba7a195197d5fc9#commitcomment-10775763","id":10775763,"user":{"login":"ptesarik","id":605029,"avatar_url":"https://avatars.githubusercontent.com/u/605029?v=3","gravatar_id":"","url":"https://api.github.com/users/ptesarik","html_url":"https://github.com/ptesarik","followers_url":"https://api.github.com/users/ptesarik/followers","following_url":"https://api.github.com/users/ptesarik/following{/other_user}","gists_url":"https://api.github.com/users/ptesarik/gists{/gist_id}","starred_url":"https://api.github.com/users/ptesarik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ptesarik/subscriptions","organizations_url":"https://api.github.com/users/ptesarik/orgs","repos_url":"https://api.github.com/users/ptesarik/repos","events_url":"https://api.github.com/users/ptesarik/events{/privacy}","received_events_url":"https://api.github.com/users/ptesarik/received_events","type":"User","site_admin":false},"position":null,"line":null,"path":"","commit_id":"f2a18c6095771f03a65b06b19ba7a195197d5fc9","created_at":"2015-04-17T13:05:39Z","updated_at":"2015-04-17T13:05:39Z","body":"Ahhhhh, yes! I was also confused by this. The values in boards.txt are in fact bogus. The Arduino IDE might try to use these values with some settings, but I have never been able to make it work.\r\n\r\nKeep in mind that Arduino uses the bootloader by default to write programs, i.e. it talks to the bootloader program on the ATmega through a CP2101 USB-to-serial bridge. The FUSE bits cannot be changed this way. They can only be reprogrammed using a hardware programmer attached to the appropriate ISP pins of the ATmega while the MCU is halted.\r\n\r\nI think the Hexbright is programmed using `hardware/hexbright/bootloaders/atmega/Makefile`, which specifies a different set of FUSE bits:\r\n\r\n    hexbright_isp: HFUSE = DD\r\n    hexbright_isp: LFUSE = FF\r\n    hexbright_isp: EFUSE = 00\r\n\r\nNow, that makes a lot more sense:\r\nhttp://eleccelerator.com/fusecalc/fusecalc.php?chip=atmega168pa&LOW=FF&HIGH=DD&EXTENDED=02&LOCKBIT=0F"}}