-
Notifications
You must be signed in to change notification settings - Fork 18
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
Sketches will not upload to Mega #14
Comments
LockBit values 0xCF and 0x0F have equal meaning because bits 6 and 7 are not used in atmega2560. Being unable to upload with serial and not being able to ping the shield, probably means that the bootloader didn't initialize the shield properly, thus getting stuck while polling for an incoming connection to the shield. I assume, since you followed Nick Gammon's guide, that you used an Uno to flash the new bootloader. I remember people having issues with that method, but I have to look through my backlog to see what was the problem and if there was a solution as it has been some time. |
hello! I used the olimex-mk2 but i have the same problem. No ping, timeout serial. Is it my shield which has a problem ? |
ok, I solved the problem. The shield should not be plug on the Mega. But now I would use the pin53 as SS, It is possible ? |
Yes, but you have to modify the code in the spi.h file and compile the booloader from the start. |
Hi Nekraus, I've also tried to flash the bootloader without shield on Mega board. |
Hello!
I have a arduino Mega 2560 ans ITHEAD shield with W5100. I use Nick Gammon's guide to compile
bootloader. I changed the bit lock (0x0F) but the program indicates 0xCF. After the debug version send
Main: Ariadne for Arduino Mega2560, Version 0.5 Net: Built-in settings Net: Address: 0xC0.0xA8.0x01.0x80 Net: Subnet: 0xFF.0xFF.0xFF.0x00 Net: Gateway: 0xC0.0xA8.0x01.0xFE Net: MAC: 0xDE.0xAD.0xBE.0xEF.0xFE.0xED Net: Network init done Tftp: Init socket to port 0x0045
but I can't flash any sketches via serial or tftp :
avrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_getsync(): timeout communicating with programmer .
I can't ping the arduino too.
The text was updated successfully, but these errors were encountered: