Hi,
For some reason my mega2560 won't upload anymore, I did try to troubleshoot now I try to upload the firmware again. I use flip 3.4.2 I did select the correct device but when I try to select the MEGA-dfu_and_usbserial_combined.hex I've try to upload the lastest file on https://github.com/arduino/Arduino/tree/master/hardware/arduino/firmwares, I've got the same error, the only file I could use is Arduino-usbserial-mega.hex, what is the difference between those 2 file? because even tho I can upload the Arduino-usbserial-mega.hex I still can't communicate with my mega2560 ( timeout error)
Thank you
Bryltech
hello
the difference is only in the USB product ID and name.
basically when you plug the board to the computer you'll see "Arduino UNO" instead of mega.
the rest just works
m
[quote author=Massimo Banzi link=topic=61452.msg444235#msg444235 date=1305659043]
the difference is only in the USB product ID and name.[/quote]
I think he means the difference between 'usbserial hex' and 'combined hex', not Uno and Mega. Since we can only flash 'usbserial hex' with Flip software, what is 'combined hex' for?
Thanks.
That's exactly what I wanted to know the difference between the 'usbserial hex' and 'combined hex' . And by the way did you ever saw the led on pin 13 flash 2 time fast one time slow when you install the bootloader on the atmega2560??
Thank you
I've read the answer:
The arduino-usbdfu directory contains the DFU bootloader on the 8U2; the arduino-usbserial directory contains the actual usb to serial firmware.
So.. if you can flash 'usbserial' using Flip, DFU bootloader is working and there's no need to use 'combined'.
Bryltech, now you're talking about 2560 bootloader (stk500boot_v2_mega2560.hex), right?
Hi,
Yes I can flash the 8u2 with the usbserial. but still I can't communicate with the atmega2560, for the 2560 I use the bootloader :stk500boot_v2_mega2560.hex it's seem to download fine, but here the catch, the L Led wich I think should be ON 1 sec OFF 1 sec. do a pattern like ON half second, OFF half second ON half second off 1 sec. I did check the frenquency to atmega 2560, and 8u2 I have 16Mhz ( exactly, 15.9MHz) I force the reset pin to 5v to be sure I don't have a reset at some times, the voltage is provide by the USB ( 4.82V) I also try the use the power cable to have a perfect 5v. I still have the stange blinking and no communication between the 8u2 and 2560. with the arduino IDE I see the send command but I have a timeout for receive. Did you ever encounter this type of behavior? The AVRdude baud is 115200, I try to modify it in the board.TXT to force it to 57600 or even 9600, I've got the same problem. I use windows XP pro.
Thank you for your help
The combined .hex file is for reflashing both the DFU bootloader and the USB-serial firmware in one go using an external ISP (like an AVRISP mkII).
Can you tell me how can I check is the bootloader is correctly uploaded in to the 8u2?? As I mention i'm not able to communicate with the 2560, but I'm able to program the skect with the avrispmkii puck and it's work correctly. But at some point I want to use USB to upload sketch and send data. in the flip software do you know what is the device boot id number and what is the rev I should look for ?
Thank you