Combine HIDBoot + Powerswitch functionality's
Posted: Thu Oct 01, 2009 10:57 pm
Hello everyone,
I have some beginners questions.
I've implemented the HIDBoot into my atmega16 (love it), but I want to try to send some data to my computer over USB.
Does HID means when i'm sending data from my AVR to my PC that the AVR acts like a keyboard like this?
Place the cursor into notepad and AVR types: "255 CrLf 255"
I want to send a command to start ADC measurements and send the values to a program i've written into c++ that runs on my computer (this is what powerswitch basically does)
Is this combination possible or do I need AVRUSBBoot (not HID)?
If I compile powerswitch and I load the program, than in the AVR the driver is loaded twice, once as bootsector (HID) and once as program (not HID), that's a waste of memory, so it it possible to only load the driver once in this case?
It's difficult to explain, but basically what is programming the AVR over USB and sending data to the pc over usb to a program that runs in the background, how can i do this?
I have some beginners questions.
I've implemented the HIDBoot into my atmega16 (love it), but I want to try to send some data to my computer over USB.
Does HID means when i'm sending data from my AVR to my PC that the AVR acts like a keyboard like this?
Place the cursor into notepad and AVR types: "255 CrLf 255"
I want to send a command to start ADC measurements and send the values to a program i've written into c++ that runs on my computer (this is what powerswitch basically does)
Is this combination possible or do I need AVRUSBBoot (not HID)?
If I compile powerswitch and I load the program, than in the AVR the driver is loaded twice, once as bootsector (HID) and once as program (not HID), that's a waste of memory, so it it possible to only load the driver once in this case?
It's difficult to explain, but basically what is programming the AVR over USB and sending data to the pc over usb to a program that runs in the background, how can i do this?