Search the web
Sign In
New User? Sign Up
softrock40 · Softrock-40 Interest Group
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
AVR I2C not reonized by PC   Message List  
Reply | Forward Message #34798 of 37925 |
OZ1BXN>Re: AVR I2C not reconized by PC

Hi all,

As a follow up to my previous message, just looked at the v6.3 TX/RX circuit.

Normally with the USB to I2C interface connected to the v6.3 TX/RX board, the
SCL line would be pulled up to 3v3 supply via R6, however you would have to have
the main board powered up BEFORE connecting the USB lead to the PC, otherwise
the same problem described before would exist, as the AVR is powered from the
USB +5V supply.

Sounds like the same simple modification I did to my v9.0 RX to solve it would
work.

Break the USB +5V lead (pin 1) to the USB to I2C interface, and take it through
a double pole, double throw switch, along with the +12V supply to the main
board. This now allows you to leave the USB lead plugged in at all times, and
when you operate the switch, both supply rails are activated together, should
solve it.

The other solution is to replace the AVR chip with one using Fred's v15.10
firmware, that overcomes the problem, but does need a little bit of simple
configuration to use it for this application.

Basically you need to disable the 'ABPF' mode which is the default setting in
the firmware to allow use of the PTT and CW1/2 lines.

73, Bob G8VOI


--- In softrock40@yahoogroups.com, "g8voip" <g8voi.reeves59@...> wrote:
>
> Hi,
>
> Can either, or both of you experiencing this problem let, us know which type
of AVR device you have fitted in you USB to I2C interface?
>
> Is it an ATtiny45 or 85?
>
> Most likely it will be the ATtiny45 and therefore have the original v1.4
firmware fitted.
>
> This has a known bug in it which was the cause of the majority of v9.0 RX USB
problems. On plugging the interface in, it requires the 'SCL' line to be pulled
up to +5V, otherwise the firmware fails to run and the device is not recognised
by the PC.
>
> Looking at the circuit, with nothing connected externally, there is no pull up
present.
>
> Something you could try is to connect a resistor 4k7 ~ 10k between U1 pins 2
and 8, SCL to +5V. Do not have anything else connected to either the SCL or SDA
pins.
>
> With the board unplugged, check the Control Panel>System>Hardware
configuration and delete any unrecognised USB devices present, as Alan
suggested.
>
> Re-boot the PC just to be sure, then reconnect the USB lead and see what
happens.
>
> 73, Bob G8VOI
>
> --- In softrock40@yahoogroups.com, "Alan" <alan4alan@> wrote:
> >
> >
> > ----- Original Message -----
> > From: "tmac"
> > Subject: Re: [softrock40] OZ1BXN>Re: AVR I2C not reconized by PC
> >
> >
> > >
> > > then I switched to Rocky. At first, it seemed to be working, and after
> > > about 2-minutes the usb driver started failing (indication on computer).
> > > It would "discover" the usb device, then drop out. eventually, it would
> > > no longer discover the usb device. I rebooted the computer. When I
> > > plugged the usb cable in I got a message that there was an unknown usb
> > > device plugged in. After that, the computer would no longer respond to
> > > plugging in the usb cable..
> > >
> >
> > I have seen something like this a long time ago. I think it was caused by a
> > big ground loop.
> >
> > If there is an "unknown usb device" in "Device Manager" uninstall it. The
> > computer may then recognise the controller and reinstall it.
> >
> > 73 Alan G4ZFQ
> >
>





Thu Jul 9, 2009 9:40 pm

g8voip
Offline Offline
Send Email Send Email

Forward
Message #34798 of 37925 |
Expand Messages Author Sort by Date

My PC XP SP2 will not reconize my I2C AVR board. Disconnecting the +5volt from PC and connecting external power , the I2C board draw 5mA . How much is normal? ...
oz1bxn
Offline Send Email
Jul 6, 2009
8:27 pm

hi Chris, Im building a "softrock v9.0 Lite+usb xtal reciever w/si570. Im not sure which board you are building, but I went thru the build on the usb to I2C...
tmac@...
tmac1147
Offline Send Email
Jul 6, 2009
9:05 pm

Hi Tom Thanks for your FB , It is the RXTX v6.3 with the USB-I2C kit. I know , I know , the more you look at the board the more "colour" blind you get . The...
oz1bxn
Offline Send Email
Jul 7, 2009
9:59 am

Chris, Im waiting for the usb-i2c kit to come available so I can snag one for my txrx (not started on it yet). I got two of the tx filters today when they came...
tmac
tmac1147
Offline Send Email
Jul 8, 2009
2:24 am

Hi Chris, Just thought I'd let you know.... You are not alone now. My USB to I2C interface failed during testing last night. I have not started ...
tmac
tmac1147
Offline Send Email
Jul 9, 2009
6:03 pm

... From: "tmac" Subject: Re: [softrock40] OZ1BXN>Re: AVR I2C not reconized by PC ... I have seen something like this a long time ago. I think it was caused by...
Alan
alanzfq
Offline Send Email
Jul 9, 2009
6:19 pm

Hi, Can either, or both of you experiencing this problem let, us know which type of AVR device you have fitted in you USB to I2C interface? Is it an ATtiny45...
g8voip
Offline Send Email
Jul 9, 2009
9:25 pm

Hi all, As a follow up to my previous message, just looked at the v6.3 TX/RX circuit. Normally with the USB to I2C interface connected to the v6.3 TX/RX board,...
g8voip
Offline Send Email
Jul 9, 2009
9:40 pm

Hi you guys , you are the best but my problem persists . Did as you say , on 2 PCs just to be sure having no old "USB" hanging around in the system . Did a...
oz1bxn
Offline Send Email
Jul 9, 2009
11:43 pm

Chris and Bob, I got my si570 and the usb interface working. I did several cleanup things before trying the test again so I don't know which one fixed it.. 1)...
tmac
tmac1147
Offline Send Email
Jul 12, 2009
5:59 pm

Hi Tom, Thanks for the feedback, appreciated. Good to know you have got your one going now. I never did really find out how I got the original v1.4 firmware to...
g8voip
Offline Send Email
Jul 12, 2009
9:45 pm

I've just run into this same issue with a I2C interface I finished building last week. initially the computer(s) recognized the interface, but then i started...
n1ig_anthony
Offline Send Email
Jul 11, 2009
10:29 pm

Anthony, if you have not 'manually' installed the driver I believe you must do so. If you let Windows do the work it will install a driver which is not the...
Bruce Tanner
k2bet1
Offline Send Email
Jul 12, 2009
2:50 am

Hi Bruce, I did not manually install the driver. I believe that the download only had the driver files in it, so I unzipped and let windows find the files. I...
n1ig_anthony
Offline Send Email
Jul 12, 2009
9:45 am

Hi Anthony, Its unlikely the chip has actually died, but it is possible to get something corrupt stored in it which causes it to 'lock up'. I had one do the...
g8voip
Offline Send Email
Jul 12, 2009
8:38 am

Hi Bob, I think you may have got it. I had used the usb test program and then started having the issues. maybe i'll go back to that and see if there's a way...
n1ig_anthony
Offline Send Email
Jul 12, 2009
9:49 am

Hi Anthony, Thanks for getting back. I had assumed you were referring to the 'hardware' testing part. I cannot remember what I did to recover the AVR chip, but...
g8voip
Offline Send Email
Jul 12, 2009
10:09 am

... From: "g8voip" ... Yes the 45, a long time ago so original firmware. ... But this was working properly and just dropped out when in use. As I say, a long...
Alan
alanzfq
Offline Send Email
Jul 10, 2009
5:30 am

Hi Alan, Shortly after I posted the first message suggesting to try the pull-up on the SCL line, I wondered if it might be misunderstood. It should not be left...
g8voip
Offline Send Email
Jul 10, 2009
7:45 am

Hi Chris, I have just made up a little strip board version of the USB to I2C interface to see if I could assist you any further. With only the USB connection...
g8voip
Offline Send Email
Jul 11, 2009
10:35 am

... From: "n1ig_anthony" > ... Has anyone found that this method works? In all cases I have found that you must direct Windows to the driver files. If you do...
Alan
alanzfq
Offline Send Email
Jul 12, 2009
10:18 am

Alan, I am in agreement with your comments on the driver installation. It can be a bit tricky because Windows likes to do its own thing. In one case I actually...
Bruce Tanner
k2bet1
Offline Send Email
Jul 12, 2009
2:43 pm

... From: "oz1bxn" <Subject: [softrock40] AVR I2C not reonized by PC Have you looked at "Troubleshooting" here ...
Alan
alanzfq
Offline Send Email
Jul 8, 2009
7:21 am

I build the USB-IC3 board I use this guide: http://www.wb5rvz.com/sdr/usb_i2c/AVR-SI570-Troubleshooting.pdf I connect the board via USB to the PC with XPSP2 ....
oz1bxn
Offline Send Email
Jul 8, 2009
11:08 am

Hi Chris, You can find all of the information to program your own chip here: ...
g8voip
Offline Send Email
Jul 8, 2009
11:29 am

The firmware V15.10 will run without a si570 connected, the older firmware V1.4 will not run without a si570, don't know about v2.0 To check if the cpu is...
pe0fko
Offline Send Email
Jul 8, 2009
11:42 am

... From: "oz1bxn" Subject: [softrock40] Re: AVR I2C not reonized by PC ... Is there an unrecognised USB device in "Device Manager"? If there is you may need...
Alan
alanzfq
Offline Send Email
Jul 8, 2009
11:59 am

Hi Chris, If Tony supplied an ATtiny45 chip with your USB I2C kit, then it is very likely to be v1.4 firmware, and might explain your problem. As far as I...
g8voip
Offline Send Email
Jul 8, 2009
12:18 pm

Mine is the 45. I purchase a couple of other kits, to include a I2C with the 85 chip. I put teh 85 into the old I2C and it worked immediately, so I must have...
n1ig_anthony
Offline Send Email
Jul 18, 2009
11:00 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help