-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wrong boot loader parameter? #32
Comments
Optiboot is actually 512 bytes (look at the .hex files) so I think the issue is with the comment. Else I think there would have been problem reports before now. Are you experiencing an actual problem? |
ok the boot loader <512 byte in size but there is an other discrepancy, when I look in the boot code, hex or make file, they all start at 0xFC00 which also hints to a 1024 byte configuration, how can the controller boot at 0xFE00? my original problem was that I'm using a normal programmer and tried to figure out correct fuse settings, it works with my 0xDC setting, but I will the try the 0xDE setting as well now |
OK well I'd be interested to hear if there is an actual issue. I've used the AVRISP mkII and the USBasp successfully, along with AVRDUDE. You say a "normal" programmer, what exactly would that be? |
Maybe I should have said a 'universal' programmer, this means I have to set the fuses on my own. I tried out both fuse settings and they work, so there is no real issue here. But I was curious and did some research. Playing with - fuse setting 0xDE starts execution as expected at 0xFE00 - fuse setting 0xDC starts execution as expected at 0xFC00 |
Well that's pretty interesting. I wonder whether it's working as designed. This repo is several years old. I don't know when or if I might get around to updating it. You might also check out the Optiboot repo to see what the current situation is. If you come to any conclusions, please let me know! |
I have to apologize to stir up confusion, your settings are totally correct. |
Oh! Those guys are tricky, word addresses! Hey no worries :-) |
Hi @JChristensen. Since you're involved in this project again, I'd really appreciate if you'd take a second to merge #29. This will be useful to other projects, since it will provide a properly licensed source for the Sleeping Beauty variant code. |
To be clear, I am (perhaps unfortunately) not involved again with this project nor with any number of older projects. Appearances to the contrary may be attributed to whims and random bits of available time so there should be no expectations as to responses. This project could stand a refresh but there is no guarantee when or even if that might happen. If it does, I may just start with a clean sheet. |
Thanks so much for taking the time to merge that! I completely understand if you don't have time for this project. mighty-1284p was great in its time before it was abandoned and I am proud to have made some small contributions to this project. Luckily, someone else has taken up the reins on providing ATmega1284P support and created something far bigger and better than mighty-1284p ever could have been: |
@per1234, that's a good looking core, I was not aware of it. Thanks for the link! |
the optiboot makefile configures the high fuse
according to ATMega 1284 manuals chapter 26.8.17 this would result in
after my understanding, this would be correct
The text was updated successfully, but these errors were encountered: