Search found 68 matches

by iphi
Sat Jul 21, 2007 2:18 pm
Forum: V-USB
Topic: Mega324P and AVR-USB
Replies: 14
Views: 11690

I've got the USB on ports D0 & D2 (D- & D+ respectively, as D2 is INT0 on the 324P, and the header is set correctly 0 & 2). So you have the USB D+ connected to one MCU pin only, using it as port and interrupt input at the same time. I've seen that kind of setup as well on the PowerSwitc...
by iphi
Wed Jul 18, 2007 9:21 am
Forum: V-USB
Topic: AVR USB Hub?
Replies: 0
Views: 3065

AVR USB Hub?

Has anybody ever thought about the possibility of implementing a way to use an AVR USB application at the same time as low speed USB hub? Problem: A modern laptop computer has usually only two USB connectors. Connecting an AVR and an USB mouse, you cannot connect anything else. Is there a way to con...
by iphi
Mon Jul 16, 2007 10:11 am
Forum: V-USB
Topic: AVR-USB-Driver: Which registers must stay untouched?
Replies: 1
Views: 3451

AVR-USB-Driver: Which registers must stay untouched?

Hello,

I am about to modify PowerSwitch to my own application.

Question:
Which of the CPU registers must I leave untouched in order to not interfere with the USB driver or in other words which CPU-registers can I use for my application in main() and its subroutines?

Thanks
by iphi
Sun Jul 15, 2007 1:54 pm
Forum: V-USB
Topic: Help: usbFunctionWrite isn't called
Replies: 4
Views: 4052

Problem solved! It was a problem on my host program!
by iphi
Sun Jul 15, 2007 6:41 am
Forum: V-USB
Topic: PowerSwitch questions: ISP Connector and ATtiny2313
Replies: 2
Views: 4143

ISP means In Circuit Programming It is used to burn the program code into the AVR. Google for PonyProg for an explanation and circuit. The ATTINY2313 will work fine without changes to hard- or software. But: You need to burn the fuses correctly to enable the external crystal oscillator with prescale...
by iphi
Sat Jul 14, 2007 10:48 pm
Forum: V-USB
Topic: Help: usbFunctionWrite isn't called
Replies: 4
Views: 4052

Help: usbFunctionWrite isn't called

I have problems implementing usbFunctionWrite. Here is what I did: -implemented usbFunctionWrite in main.c -in usbFunctionSetup: return 0xff -in usbconfig.h: #define USB_CFG_IMPLEMENT_FN_WRITE 1 But nevertheless usbFunctionWrite is never reached regardless of the control messages I send. Have I miss...
by iphi
Sat Jul 14, 2007 10:42 pm
Forum: V-USB
Topic: Powerswitch Delphi demo-libusb
Replies: 10
Views: 11037

The link still exists, but the package that you can download from there doesn't work any longer with the current versions of LibUSB.
I thought, that this fact might create some confusion.
by iphi
Sat Jul 14, 2007 10:13 am
Forum: V-USB
Topic: Powerswitch Delphi demo-libusb
Replies: 10
Views: 11037

Hello Christian, you're welcome. I have just noticed that there is another reference to the outdated webpage in the readme: "Delphi-libUSB This is a Pascal wrapper for libUSB-Win32 obtained from m. We could not determine the name of the author. It is used by Demo-libUSB." I think you shoul...
by iphi
Fri Jul 13, 2007 10:08 pm
Forum: V-USB
Topic: Question on PowerSwitch
Replies: 5
Views: 5297

Die Minimalvariante geht doch!
Man muss nur nach dem Flashen mal den USB Stecker ziehen und wieder einstecken.
by iphi
Fri Jul 13, 2007 8:48 pm
Forum: V-USB
Topic: Question on PowerSwitch
Replies: 5
Views: 5297

I have restarted all over and still have the same problem. Here is what I did: 1. Compiled the original firmware from PowerSwitch.2007-06-25.zip and flashed it. Works fine 2. Added a single line to main.c: #define TEST_DRIVER_SIZE /* <<< added this line */ #ifndef TEST_DRIVER_SIZE /* define this to ...
by iphi
Fri Jul 13, 2007 7:54 pm
Forum: V-USB
Topic: Powerswitch Delphi demo-libusb
Replies: 10
Views: 11037

Hi Christian, please download the newly prepared and compiled Delphi sources from here: w I have deleted the web reference m which is Ivo's webpage, from the readme file since Yvo hasn't put up the new version onto the net. I have received it from him by email. I'm happy to be able to contribute to ...
by iphi
Fri Jul 13, 2007 5:25 pm
Forum: V-USB
Topic: Powerswitch Delphi demo-libusb
Replies: 10
Views: 11037

The old wrapper dll doesn't work with the later versions of LibUSB any longer. Download a working interface from LibUSB to Delphi from here: m I have received this update from Yvo Nelemanns, who has also written the original Delphi interface. Thanks Yvo! The people of obdev should replace the inoper...
by iphi
Fri Jul 13, 2007 3:31 pm
Forum: V-USB
Topic: Question on PowerSwitch
Replies: 5
Views: 5297

Question on PowerSwitch

I try to modify PowerSwitch firmware to my own application. I try to leave out all unnecessary code to save flash. Question: What are the ActionTimers good for? Somehow taking them out the device isn't recognized on the USB bus any longer. Does the USB driver need the timer interrupt? Thanks
by iphi
Sun Jul 08, 2007 10:40 am
Forum: V-USB
Topic: simulate avr firmware on PC?
Replies: 2
Views: 3734

Found it!
It's a matter of compiler options.
dwarf2 compiler option is needed for debug code generation for AVR Studio.

AVR Studio build 528 and winavr work together very nicely.
Best free toolset I've seen.
by iphi
Sun Jul 08, 2007 10:36 am
Forum: V-USB
Topic: need help for deeper understanding of USB with AVRs
Replies: 3
Views: 4378

Hi Christian, from your reply I learn that it is possible that an USB device initiates a data transfer/send a notification by itself to the host. On the other hand I have just found this Maxim app note m on the web stating: "Host USB is a "master-slave" bus with exactly one master and...