Hello all,
I am a student working on a project for a mechatronics course. We were issued two boards, an uno and a mega 2560, to build our robots with. The uno has been working like a champ. The mega, however, is not. Friday night it was working fine: I was able to upload code and work with it as normal. When I started working on it again Saturday morning, I could no longer upload to the board. I spent the better part of the day yesterday researching what could possibly be wrong to no avail.
To cut to the chase, here are the things I have tried:
- I have uninstalled and reinstalled the board drivers two or three times
- I have ensured that the correct board and com port have been selected each time I try to upload
- I have removed all shield boards and other circuits before trying to upload
- I have held reset on the board while trying to upload
- I have pressed reset just prior to uploading
- I have tried uploading on a different computer (my wife's mac with OSX vs my laptop with Windows 7 64 Home)
- I have tried burning the bootloader through the arduino IDE
- I downloaded the newest arduino IDE (I was using .022 previously)
- We have an xbee wireless shield attached: when that is on, I have made sure that it is switched to "dline" and not "UART"
- I have tried different USB cables and different USB ports on my computer
- When I hold shift and click upload, I get avrdude: usbdev_open(): did not find any USB device "usb" as the error
- I have tried uploading different sketches in case it didn't like my code for some reason, including "blink" from the examples library
I'm sure there are other things I have tried, but don't recall them at the moment.
I am fairly certain that the problem is software related, and not hardware (I could be wrong and will be the first to admit it if I am) because I am able to communicate serially between the two boards when the xbee shields are attached. To me that means that there is nothing wrong with the physical hardware that governs the serial communication: it just does not want to talk to any computers through the USB. It powers up when I plug it into the USB (the green power LED comes on, and the L LED flashes a couple of times) but when uploading, the TX and RX LEDs don't blink anymore.
I installed AVR studio last night because I read one post that said I could burn the bootloader using that setup instead. It also said that there is a conflict between the AVR studio's USB drivers and the drivers used by the arduino IDE. I haven't tried burning the bootloader with AVR studio because, quite frankly, I don't know how. I thought I'd check here before researching how to do it.
Anyway, there's my problem. Any help that anyone can give would be greatly appreciated.
Thanks,
Tyler
EDIT: Changed "AREF LED" to "L LED" (the L looked like a line pointing from AREF to the LED. yeah, dumb mistake )