-
Notifications
You must be signed in to change notification settings - Fork 37
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
network reset #14
Comments
The bootloader disables the watchdog timer here: Disabling the watchdog timer happens at the very start of the program, so most probably nothing should be interfering with it. How old is the version of the bootloader you are using and did you compile it on your own or you used the provided binaries? |
Thank you for help. |
I have no idea how to compile it on Windows. I have never tried it myself. Try searching for instructions to install avr-gcc on windows and then the makefile might take care of the rest. You will need to change quite a few paths in the makefile too. Can you provide me with some more information? Like what arduino you are using, what shields, etc, etc. |
Hi, Can you set pin 10 as output and put it low and pin 4 as output and put it high, just at the beginning of bootloader? |
It happens here: It doesn't need to happen any time sooner than that. |
Thank's for help, you did a great work. |
I do not think that it is needed to send me a shield, at least not yet, most of them are following the Arduino design. I will investigate the situation once I have some time, but if you have any other information that might be useful to me, please post them here. |
thank's for help, right now It works fine with that pull-down rezistor on D10 |
I am getting these emails, I do not know why. Of course I do not mind as it is all knowledge. However processing can only handle its own sketches is what I get when I try to use my sketches from the browser. I am now getting into Pi Raspberry. Sent from my iPhone
|
Hi, |
You have to set the correct fuses in the makefile too. This should help you calculate them, http://eleccelerator.com/fusecalc/fusecalc.php?chip=atmega328p |
Thank's |
Well, depends. What is the size of your compiled bootloader? If it below 2kb, then you need set it to 0x7600, which leaves 0x400 or 1024 words or 2048 bytes at the end of the progmem for the bootloader. |
Yes, the size o compiled bootloader is below 2K |
Hi, |
I disagree with you, the ability to upload through serial is more important than the 2kb of extra space, because it enables the user to change the network configuration of the bootloader easily without the use of an ISP. Also enables easier testing without the need to change bootloader. If in your specific case that is not useful, that is a per-case situation and the 2kb extra can be freed up. If you would be so kind, please send me an email so we can continue this discussion there since it is outside the scope of a bug report. |
When I performed a network reset, without loading a new schetch, the watchdog timmer remains enabled at 2s. and the arduino is not booting again (the bootloader waits 5s. for a schetch to upload, but it does't disable watchdog timmer)
I solved this using wdt_enable(WDTO_8S) instead of wdt_enable(WDTO_2S) inside library
I hope you can fix this inside bootloader
The text was updated successfully, but these errors were encountered: