Ok I have been at this for 2 days, I will try to summarize what Ive done and where Im stuck.
Trying to follow this walkthrough to use my mega as usb hid controller. The chinese mega i have doesnt have dfu mode, as when i short the 2 pins it goes away from device manager, but then comes back up same as before.
So now i am trying to flash the firmware that would allow me to place the device into DFU mode, I have a nano setup as an ISP device, connected as follows to the Megas ICSP headers closets to the USB port.
NANO -> Mega
5v -> VCC
GND -> GND
D10 -> RST
D11 -> MOSI
D12 ->MISO
D13 ->SCK
I have downloaded the hex file arduino-usbserial/Arduino-usbserial-mega.hex from hereurl
been trying to figure out the right command to use avrdude to flash this hex file so that it can enter DFU mode.
this is the command I have
"C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avrdude" -C "C:/Program Files (x86)/Arduino/hardware/tools/avr/etc/avrdude.conf" -P com3 -p m8u2 -b 1200 -c avrisp flash:w:C:\Users\IT\Downloads\Arduino-usbserial-mega.hex
and I get this output
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x03
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x03
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x03
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x03
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x03
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x03
the onyl other time ive had this error was when the bootloader was missing from one of my nanos, but i then tried uploading the blink sketch to the nano to make sure the bootloader was ok, and did the same to the mega and both uploaded with out problems.
Any, really any help would be appreciated, ive been through and through the forums but cant find any answers that our helping me out.
Thanks in advanced. If any more info is needed id be happ to get it right away.