PORTS Forum
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
This forum is closed to new activity.
The posts are available to browse, but posting has been disabled. BIG THANKS to all who have participated and shared your knowledge over the past 13 years.
Aug 11, 2023
Home
Help
Search
Login
Register
PORTS Forum
»
Ports and Interfaces
»
USB
»
Write EEPROM with PC app in C#
« previous
next »
Print
Pages: [
1
]
Author
Topic: Write EEPROM with PC app in C# (Read 16309 times)
Brewerswin28
Member
Posts: 4
Write EEPROM with PC app in C#
«
on:
December 02, 2010, 11:36:07 am »
Hello All,
I am trying to write to the (external) EEPROM of my HID device using usb communication to my PC. My device is currently being recognized because I modefied the example code available on Jan Axelsons website.
http://www.lvr.com/hidpage.htm
The processor which i am using is the AT90USB162.
My problem is that I do not know how to write bytes to specified memory locations on the EEPROM chip using this PC application. If anyone could offer me some insight or sample code, that would be greatly appreciated.
Regards,
-Brian
Logged
Jan Axelson
Administrator
Frequent Contributor
Posts: 3033
Re: Write EEPROM with PC app in C#
«
Reply #1 on:
December 03, 2010, 10:10:16 am »
The PC application can write whatever it wants to the device. It's up to the device firmware to figure out what to do with it. So you need to define and implement a protocol that tells the device firmware how to use the received data. The AVR forums such as
www.avrfreaks.net
might be a better place for AVR-specific details.
Jan
«
Last Edit: December 03, 2010, 11:53:11 am by Jan Axelson
»
Logged
Guido Koerber
Frequent Contributor
Posts: 72
Re: Write EEPROM with PC app in C#
«
Reply #2 on:
December 03, 2010, 10:40:31 am »
Not sure if this is a controller specific question, could be a question about the USB protocol as well. Without further details we can not help.
Logged
Print
Pages: [
1
]
« previous
next »
PORTS Forum
»
Ports and Interfaces
»
USB
»
Write EEPROM with PC app in C#