Click here to Skip to main content
15,884,353 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I am working on a windows forms application project. I have a serious problem in communicating with my avr microcontroller: at90usb1287. I have designed a form using vc# And according to the input from the user, am going to send data to eeprom of the avr micro. I want to send data into its eeprom via nothing but the usb port. Is there any way to do this? somebody plz help!
Posted
Updated 20-Oct-10 3:55am
v3

Hi,

to communicate with the AVR, you will need the AtUsbHid.dll provided by Atmel. You should contact them or try to get the dll from their website. I'm pretty sure they also have some examples (at least for basic stuff as connecting to the controller)
 
Share this answer
 
I very much doubt that anybody here has the knowledge to help you with that. Much better to contact the hardware manufacturers and get the information from them
 
Share this answer
 
Could you not simply use the programmer software to modify the EEPROM? Or do you specifically need to be able to modify it using the application your making in VS?

If you do need to do it with your VS project, then there are two choices that I can think of. Either write some code for the AVR that will read it's EEPROM and send it over USB (Unfortunately, writing code for microcontrollers and USB is fairly complicated (unless it has inbuilt USB functionality))*. Or you could figure out how the programmer software and/or the programmer board programs the AVR. I haven't used AVR chips before (just other microcontrollers), so I'm not much help with that.

*Unfortunately, USB is much harder to use than something simple like a serial port, so it will be fairly complicated writing the program to use USB to talk to your AVR.
 
Share this answer
 
Comments
cs101000 20-Oct-10 3:58am    
Yes, I have designed a form using vc#. And acording to the input from the user, am going to send data to eeprom of the avr micro.
Also I have to send via nothing but the USB port.

p.s: Thank u for the answer but as u said: "writing code for microcontrollers and USB is fairly complicated" so Im looking for an easier solution.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900