[Help] Dual Implementation of VUSB in ATmega32
Posted: Fri Feb 25, 2011 7:15 am
Hi,
I am starting with a fresh ATmega32 micro-controller for my project. It is a sensor based project. In my project I will set a limit value through USB from the host and the AVR will return a value measured by the sensor whenever the limit value is exceeded, to the host system. Which implementation of VUSB should I choose?
Also I want to include a boot loader to the device, so I am thinking of including USBaspLoader to my project. I am having a USBasp based programmer for first time programming.
I went through the examples. All of them are showing implementation of any one use only. How can do both the boot loader and USB software?
I think the sequence is:
1.Program the USBaspLoader boot loader through USBasp based programmer
2.Connect the device to host
3.Use AVRDUDE to load the application (as USBaspLoader emulates a USBasp)
4.Reset and let the AVR to run the application to communicate via USB
I am not sure whether the sequence I have written is correct and will work as dual implementation. Kindly help me.
I am starting with a fresh ATmega32 micro-controller for my project. It is a sensor based project. In my project I will set a limit value through USB from the host and the AVR will return a value measured by the sensor whenever the limit value is exceeded, to the host system. Which implementation of VUSB should I choose?
Also I want to include a boot loader to the device, so I am thinking of including USBaspLoader to my project. I am having a USBasp based programmer for first time programming.
I went through the examples. All of them are showing implementation of any one use only. How can do both the boot loader and USB software?
I think the sequence is:
1.Program the USBaspLoader boot loader through USBasp based programmer
2.Connect the device to host
3.Use AVRDUDE to load the application (as USBaspLoader emulates a USBasp)
4.Reset and let the AVR to run the application to communicate via USB
I am not sure whether the sequence I have written is correct and will work as dual implementation. Kindly help me.