Search found 68 matches

by iphi
Wed Jul 02, 2008 10:41 pm
Forum: V-USB
Topic: apparently AVR Doper Clone published in Elektor
Replies: 2
Views: 3508

apparently AVR Doper Clone published in Elektor

Hi, I have just noticed that the July/August issue of Elektor contains an AVR-Programmer, which seems to be based on AVR-Doper. I didn't manage to download the sources but it looks like it is based on ObDevs USB-driver, even though ObDev is not mentioned at all Not a nice policy... Regards, Tom
by iphi
Tue Apr 08, 2008 9:45 am
Forum: V-USB
Topic: AVR_USB timing out?
Replies: 18
Views: 30590

If you use new AVR chip types make sure to switch off the watchdog timer before reenumeration as the late AVR MCUs don't switch off the watchdog on reset. If the watchdog is still running after a reset, reenumeration will fail. See my posting here for details: http://forums.obdev.at/viewtopic.php?t=...
by iphi
Mon Apr 07, 2008 8:22 am
Forum: V-USB
Topic: AVR Doper Firmware Issue with AVR Studio Upgrade
Replies: 6
Views: 5403

Correction,

to my previous post

I changed the minor version to 10 and all works fine now.


The newly built firmware doesn't work properly, see my other posting:

http://forums.obdev.at/viewtopic.php?t=1351


Regards, Tom
by iphi
Mon Mar 17, 2008 6:16 pm
Forum: V-USB
Topic: occasional transmission errors with 16.5MHz RC oscillator
Replies: 17
Views: 11906

We calibrate on every USB reset anyway. It seems I don't fully understand how this works yet. How will a USB reset be initiated? Does this happen on first connection only? Can the host also initiate a USB reset? Exactly on what condition and from where will calibrateOscillator be called? Thanks for...
by iphi
Mon Mar 17, 2008 5:08 pm
Forum: V-USB
Topic: occasional transmission errors with 16.5MHz RC oscillator
Replies: 17
Views: 11906

Hi Christian, thanks for this hint. It was the watchdog firing resets during calibration. Now everything works fine. BTW: The auto-calibration works very well and subjectively does not require any time. Therefore I suggest not to store the CSCCAL value in the EEPROM and reuse it but to recalibrate o...
by iphi
Sun Mar 16, 2008 11:42 pm
Forum: V-USB
Topic: occasional transmission errors with 16.5MHz RC oscillator
Replies: 17
Views: 11906

I don't use interrupts in my application. Also, I don't see the code write any value into the EEPROM.

It looks as if the AVR undergoes continuous resets. Any other idea what could go wrong?

Did I miss out on anything else inside the usbconfig.h?

Regards, Thomas
by iphi
Sun Mar 16, 2008 7:31 pm
Forum: V-USB
Topic: occasional transmission errors with 16.5MHz RC oscillator
Replies: 17
Views: 11906

Hello Christian, I have tried your OSCCAL auto-calibration code. In easylogger it works fine, but I can't get it running in my own application. Here is what I did: 1. I have updated the drivers directory usbdrv with the latest drivers, recompiled my project and flashed it. Works fine. 2. I have edit...
by iphi
Fri Feb 29, 2008 9:06 am
Forum: V-USB
Topic: occasional transmission errors with 16.5MHz RC oscillator
Replies: 17
Views: 11906

Great! I'll try this!

Thomas
by iphi
Sun Feb 17, 2008 11:11 pm
Forum: V-USB
Topic: questions on AVR doper
Replies: 4
Views: 5655

questions on AVR doper

Hi, I have successfully built up AVR doper and it works very nicely in HVSP mode so far from within AVR Studio in COM mode. Being a newcomer to AVRs I have a few maybe stupid questions: 1. I have noticed that different com port numbers are assigned depending on which USB port of my PC is used. In co...
by iphi
Fri Feb 15, 2008 2:29 pm
Forum: V-USB
Topic: usbSofCount doesn't increment every millisecond
Replies: 1
Views: 3000

usbSofCount doesn't increment every millisecond

Hi, my understanding is that usbSofCount should increment every millisecond. Well, I tried this on my Easylogger hardware and I added a feature so I can read usbSofCount via USB. I find that usbSofCount increments only very rarely, not even every second, sometimes more often depending on the USB tra...
by iphi
Fri Feb 15, 2008 1:20 pm
Forum: V-USB
Topic: enumeration detect for AVR?
Replies: 5
Views: 4846

the host assigns an non-zero usbDeviceAddress

Is there such a global variable for the AVR firmware, too, that shows that connection was successful?
by iphi
Thu Feb 14, 2008 5:40 pm
Forum: V-USB
Topic: Problem after driver update
Replies: 6
Views: 4832

Up to version 2007_10_23 the 16.5MHz driver works for EasyLogger.

Starting version 2007_12_01 there's the problem.

Regards, Tom
by iphi
Thu Feb 14, 2008 9:10 am
Forum: V-USB
Topic: Problem after driver update
Replies: 6
Views: 4832

Hi Christian, I have run successfully EasyLogger.2007-07-19.zip. I have replaced the drivers by the ones found in PowerSwitch.2008-02-05.zip with the described problem. Is there something I can do for troubleshooting? BTW: I have flashed the above powerswitch application to an ATTINY2313 with 12MHz ...
by iphi
Wed Feb 13, 2008 5:59 pm
Forum: V-USB
Topic: enumeration detect for AVR?
Replies: 5
Views: 4846

Think I found the answer in the forum:

usbSofCount

Tom
by iphi
Wed Feb 13, 2008 5:58 pm
Forum: V-USB
Topic: Problem after driver update
Replies: 6
Views: 4832

Problem after driver update

Hi, as I want to use usbSofCount in my Easylogger variant, I went about to upgrade to the latest USB driver. I deleted the usbdrv directory and replaced it by the one found in the latest powerswitch files. I DID NOT MODIFY usbconfig.h. Recompilation went ok with 0 warnings and 0 errors, but the devi...