I am not overly familiar with ATmel AVR Microcontrollers, however if they provide a COM (Component Object Library) compatible librarry that can be used in VB6 or other languages then yes. Depending upon how you communicate and how documented the protocol is you may be able to use the new Serial Ports classes in .NET 2.0.
If you are not provided with a COM compatible library but it does communicate through a COM port (usb/serial/etc) then this link might be helpful in seeing the data that is sent back and forth.
I don't know, if the question was to write programs for the Atmel AVR in C#.
I understand the question more like, "Is it possible to use the VisualStudio 200x IDE to compile programs (in C) for the Atmel "
There is a open source c-compiler available for the AVR, called AVR-GCC. Is it somehow possible to tell the VS IDE to use a different compiler and use just the IDE and its nice features
(I just noticed the original post is nearly two years old. I wonder if the OP still cares at this point)
The short answer is 'no'. C# is strongly tied to the .NET runtime which provides for garbage collection (among other things). There are some .NET ports out there for environments other than x86-based Windows, but I doubt that anyone has developed any 'compact' framework ports for such a specific purpose microprocessor.
You might try and google ".net clr source code" if you're interested in doing your own port.
Besides the runtime, you would also need an MSIL -> AVR Assembly compiler.
Programming for Atmel AVR Microcontrollers
Jereme Guenther
May Lee
I am not overly familiar with ATmel AVR Microcontrollers, however if they provide a COM (Component Object Library) compatible librarry that can be used in VB6 or other languages then yes. Depending upon how you communicate and how documented the protocol is you may be able to use the new Serial Ports classes in .NET 2.0.
If you are not provided with a COM compatible library but it does communicate through a COM port (usb/serial/etc) then this link might be helpful in seeing the data that is sent back and forth.
flash77
I don't know, if the question was to write programs for the Atmel AVR in C#.
I understand the question more like, "Is it possible to use the Visual Studio 200x IDE to compile programs (in C) for the Atmel "
There is a open source c-compiler available for the AVR, called AVR-GCC. Is it somehow possible to tell the VS IDE to use a different compiler and use just the IDE and its nice features
Thorsten
Patrick Barnes
(I just noticed the original post is nearly two years old. I wonder if the OP still cares at this point)
The short answer is 'no'. C# is strongly tied to the .NET runtime which provides for garbage collection (among other things). There are some .NET ports out there for environments other than x86-based Windows, but I doubt that anyone has developed any 'compact' framework ports for such a specific purpose microprocessor.
You might try and google ".net clr source code" if you're interested in doing your own port.
Besides the runtime, you would also need an MSIL -> AVR Assembly compiler.