raubercata wrote:1. Does V-USB allowing "real time" communication of an uC with the computer via USB?
raubercata wrote:2.If so, what are the steps for a small application of this type? For example turning on and off a led, using Atmega8?
Delvier wrote:Well I have exact the same problem with switching on one of those exampale ;0 The same info that windows don't recognise the device. We set the fusbit for 16MHz Oscillator and generally that's all :/ And of course change the Config.h cause of difrent bit of portD usage.
I'm not really familiar with uC :d but know some basic basics
Code: Select all
DEVICE = atmega8
F_CPU = 16000000 # in Hz
FUSE_L = 0x9f # see below for fuse values for particular devices
FUSE_H = 0xc9 #
AVRDUDE = avrdude -c usbasp -p $(DEVICE) # edit this line for your programmer
CFLAGS = -Iusbdrv -I. -DDEBUG_LEVEL=0
OBJECTS = usbdrv/usbdrv.o usbdrv/usbdrvasm.o usbdrv/oddebug.o main.o
COMPILE = avr-gcc -Wall -Os -DF_CPU=$(F_CPU) $(CFLAGS) -mmcu=$(DEVICE)
Delvier wrote:OK . I run the hid mouse When i Checked by AvrOsp my fuse bit high and fuse bit low for external osci I found out that on make file I have a diffrent Copied from below exampale
now i use ! :
Low : 0xFF
And it works cool !
Users browsing this forum: No registered users and 11 guests