From: <ni...@cs...> - 2006-10-19 22:34:07
|
Yes, I want to power it through J2 and use USB for debugging. I have located D9 on the board. Thanks. Nilanjan Quoting "Pering, Trevor" <tre...@in...>: > Alex, I think Nilanjan wants to power the board through J2 so he can > measure the power while having the USB connector attached for debugging > purposes. > > I think if he removes D9 then it will work out -- is that accurate? At > least, work out ok to a first order? > > Cheers, > Trevor > > > -----Original Message----- > From: Nguyen, Alex > Sent: Thursday, October 19, 2006 2:15 PM > To: ni...@cs...; Pering, Trevor > Cc: pla...@li... > Subject: RE: [Platformx-sg2-devel] power measurements for SG2 > > Nilanjan, > > The J2 connector is for connecting the Lithium Ion battery which about > 4.2V to 4.4V. If you could apply that the voltage in that range to J2 > then you should be able to power the SG2 from this source. > > Alex, > > -----Original Message----- > From: pla...@li... > [mailto:pla...@li...] On Behalf Of > ni...@cs... > Sent: Thursday, October 19, 2006 1:08 PM > To: Pering, Trevor > Cc: pla...@li... > Subject: Re: [Platformx-sg2-devel] power measurements for SG2 > > I have been trying to power SG2 from the 3.3 V supply (through connector > J2). > > My console on my PC uses the miniusb on the SG2 main card (J9), which > can also > be used to supply power to the main board. > > So, when both the miniusb is plugged in and I am trying to supply power > through > the 3.3 V supply (J2) the board draws power through the miniusb alone. > Is > there any way ( a jumper or a switch onboard) which can be used to > switch off > power supplied from miniusb and use it only for the console on the PC. > > > > -Nilanjan > > P.S. : Sorry for the late reply on your previous question. I will try > the 3.3 V > supply once the above problem is solved. I am using a DLINK AIR DCF-660W > Wireless card. > > Quoting "Pering, Trevor" <tre...@in...>: > > > Ah -- can you try it with the 3.3 supply? The 5V USB supply is > really, > > well, for the USB and so it's not really integrated with the PCMCIA. > If > > you really need it I'm sure it can be made to work... > > > > Try controlling the USB power to see how that works. I think removing > > the USB modules might do it, or you can try something like "echo off > > > /proc/pmic/USBH" to turn it off... > > > > What kind of card are you using with the system? > > > > Trevor > > > > > > -----Original Message----- > > From: ni...@cs... [mailto:ni...@cs...] > > Sent: Thursday, October 05, 2006 5:05 PM > > To: Pering, Trevor > > Cc: pla...@li... > > Subject: RE: [Platformx-sg2-devel] power measurements for SG2 > > > > I am using the 5V USB supply (C). > > > > -Nilanjan > > > > > > Quoting "Pering, Trevor" <tre...@in...>: > > > > > It depends somewhat -- how are you powering it? There are three > > several > > > options: > > > > > > A) External 5V supply > > > B) Battery direct > > > C) 5V USB Charge Pump > > > D) 3.3V regulator > > > > > > Each one has a different way of control... What configuration are > you > > > using? > > > > > > If it's option D), then the method that Ed describes should do it, > but > > > if it's not then we can poke on it some more... > > > > > > Trevor > > > > > > > > > > > > > > > -----Original Message----- > > > From: pla...@li... > > > [mailto:pla...@li...] On Behalf > > Of > > > ni...@cs... > > > Sent: Wednesday, October 04, 2006 10:25 AM > > > To: pla...@li... > > > Subject: Re: [Platformx-sg2-devel] power measurements for SG2 > > > > > > I tried it with a laptop. It does draw more power that I would > expect > > > , around 150 mW, but nothing like 500 mW that it shows on the > > stargate. > > > However, > > > I can get around this problem by powering the mote separately rather > > > than the USB. > > > > > > I want some help regarding the suspension/standby power of the > > stargate. > > > In a > > > mail, few weeks ago, you said you will help me debug why the > stargate > > > was > > > pulling such a lot of power during suspension. From my experiments, > I > > > could > > > figure out that the power supply to the CF card is not being cut > off. > > > Will > > > just unloading the drivers cut the current supply *completely* to > the > > > CF slot. > > > > > > -Nilanjan > > > > > > > > > Quoting "Pering, Trevor" <tre...@in...>: > > > > > > > Huh -- not really sure what to say. Seems like the TelosB is > doing > > > > something weird -- there is really nothing that the SG2 > could/should > > > be > > > > able to do to cause this problem. It's a very simple circuit, and > > the > > > > fact that it's fine with another USB device indicates that the HW > is > > > ok. > > > > > > > > Have you measured the power of the TelosB platform with a > different > > > USB > > > > master? E.g., a laptop of some kind? > > > > > > > > Cheers, > > > > Trevor > > > > > > > > > > > > -----Original Message----- > > > > From: pla...@li... > > > > [mailto:pla...@li...] On > Behalf > > > Of > > > > ni...@cs... > > > > Sent: Wednesday, September 27, 2006 3:14 PM > > > > To: pla...@li... > > > > Subject: Re: [Platformx-sg2-devel] power measurements for SG2 > > > > > > > > Hi Trevor, > > > > Sorry for the late reply. I did what you asked. It seems like the > > > > problem only > > > > occurs with a tmote sky mote (and not with a SanDisk USB memory > > > stick). > > > > I have > > > > answered inline in detail using ---. > > > > > > > > > > > > Quoting "Pering, Trevor" <tre...@in...>: > > > > > > > > > Nilanjan, so -- you are saying that if the USBH interface *is* > > > powered > > > > > up, but that a USB dongle is NOT plugged in, that there is *no* > > > > leakage? > > > > > That is, under what conditions does the leakage occur? When the > > > rail > > > > is > > > > > powered up? When the USB dongle is plugged in? > > > > > > > > --- When the USBH *is* powered up but the TelosB is not plugged > in, > > > > there > > > > is *no* leakage. The leakage only occurs with the mote is plugged > > in. > > > > > > > > > > > > > > > > > Also, can you try it with J12 removed -- this is the power for > the > > > > > PCMCIA socket. It just isolates it some, but I wouldn't expect > it > > > to > > > > do > > > > > anything. > > > > > > > > -- Removing J12 doesnot help. > > > > > > > > > > > > > > > > > Oh, if you try the port with something else other than the > TelosB, > > > > e.g., > > > > > a memory stick -- do you see similar problems? > > > > > > > > > > > > --- The problem doesnot occur with a memory stick. I used a 512 MB > > > > SanDisk > > > > USB memory stick in place of the TelosB and there was no leakage. > > The > > > > system > > > > drew around 350 mW of power (as expected).I tried different > programs > > > on > > > > the > > > > TelosB , but the leakage still remained. > > > > > > > > > > > > > And, if you disable the software drivers (prevent the USB > modules > > > from > > > > > being loaded), do you see the same effect? > > > > > > > > > > > > ---Unloading the USB drivers didnot help. > > > > > > > > > > > > > Depending on what you find we might need/want to get Alex to > poke > > at > > > > it > > > > > some, but we would need a very specific test case for him to > > > > isolate... > > > > > > > > > > Cheers, > > > > > Trevor > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Thanks, > > > > Nilanjan > > > > > > > > > > > > > > > > > > > > > -----Original Message----- > > > > > From: Nilanjan Banerjee [mailto:ni...@cs...] > > > > > Sent: Wednesday, September 13, 2006 2:45 PM > > > > > To: Pering, Trevor > > > > > Cc: pla...@li... > > > > > Subject: RE: [Platformx-sg2-devel] power measurements for SG2 > > > > > > > > > > I made a mistake in the last mail. It is actually the charge > pump > > > mode > > > > > which has a larger leakage current. I got the pins 1 2 3 on J8 > in > > > the > > > > > reverse direction. So my measurement on charge pump and "direct > > from > > > > > the battery" mode should be swapped. > > > > > > > > > > Indeed powering off the power by echo off > /proc/pmic/USBH > makes > > > the > > > > > leakage goes away for the charge pump mode. I am using revision > > 2.2 > > > > for > > > > > the mothercard. > > > > > > > > > > -Nilanjan > > > > > > > > > > On Wed, 13 Sep 2006, Pering, Trevor wrote: > > > > > > > > > > > Hmmm -- not sure where the power is going. You could try > > manually > > > > > > turning subsystems off one by one to see if it helps at all. > > The > > > > > power > > > > > > rails are listed in /proc/pmic/VDD_* -- and if you do > something > > > > like: > > > > > > > > > > > > echo off > /proc/pmic/VDD_CC2420 > > > > > > > > > > > > it should turn power off to that rail. There are some rails > > that > > > > you > > > > > > can't really turn off and still have a functional system. > E.g., > > > > > VCC_IO. > > > > > > However, you can turn it off once and see how much it drops > the > > > > power, > > > > > > but you'll need to power-cycle to get it working again. > > > > > > > > > > > > Also, if you turn the power off for the charge pump (USBH), > does > > > the > > > > > > leakage go away? This would be the obvious place and it would > > > > > indicate > > > > > > that there is some kind of leakage in that part of the system > > that > > > > we > > > > > > could look for... That power rail does go a few other places > so > > it > > > > > > wouldn't be unreasonable. > > > > > > > > > > > > Just to verify, which version of the board do you have? This > > > should > > > > > be > > > > > > something like 2.1 or 2.2, and would be written in the silk > > screen > > > > > > somewhere... > > > > > > > > > > > > Cheers, > > > > > > Trevor > > > > > > > > > > > > > > > > > > -----Original Message----- > > > > > > From: ni...@cs... [mailto:ni...@cs...] > > > > > > Sent: Wednesday, September 13, 2006 12:38 PM > > > > > > To: Pering, Trevor > > > > > > Cc: pla...@li... > > > > > > Subject: RE: [Platformx-sg2-devel] power measurements for SG2 > > > > > > > > > > > > Hi, > > > > > > I was using the "direct from the battery" to power the USB. > > > > > > So I tried the charge pump too. So these are > > > > > > the power characteristics for the above two modes of > > > > > > powering the usb. > > > > > > > > > > > > 1. "direct from the battery" : Initially, for about 30 > > > > > > seconds the power consumption rises to 1170 mW. It seems > > > > > > that for this period of time a process called "usb.agent" is > > > > > > using about 15% of the CPU. Once this process terminates > > > > > > the power consumption falls to about 780 mW. The mote > > > > > > alone from the usb draws 145 mW. (This is high but this > > > > > > is the amount that it draws independently from a laptop > > > > > > usb too. I will try to see why this is the case !!). So > > > > > > there is at least a leakage of about 360 mW somewhere else. > > > > > > > > > > > > > > > > > > 2. charge pump : Initially for about 30 seconds the > > > > > > power rises to 850 mW due to the process usb.agent, I guess. > > > > > > and then it falls to 490 mW. the mote again pulls around > > > > > > 145 mW. So there is a leakage of about 75 mW. > > > > > > > > > > > > > > > > > > What does this process usb.agent actually do ? It runs for a > > long > > > > > > time (30 seconds) and energy consumption during this time > > > > > > is high ? Can it be brought down ? > > > > > > > > > > > > > > > > > > For the suspension number of 98mW, I didnot use the daughter > > > > > > card, the usb , the CF or SD slot. However, I experimented > > > > > > today by attaching a mote to the USB and the Wifi card in > > > > > > the CF slot. None of the these subsystems are being > > > > > > turned off on suspension, and consequently on suspension, with > > the > > > > CF > > > > > > card and the mote attached the power consumption is around > > > > > > a watt. > > > > > > > > > > > > > > > > > > -Nilanjan > > > > > > > > > > > > > > > > > > > > > > > > Quoting "Pering, Trevor" <tre...@in...>: > > > > > > > > > > > >> Nilanjan, thanks for you questions. > > > > > >> > > > > > >> 1) short answer is I don't know, but you're right that it's > > very > > > > > >> strange. How are you powering the USB interface? There are > two > > > > > > options: > > > > > >> direct from the battery (high current, but lower voltage) or > > from > > > > the > > > > > >> on-board charge pump (5V, but limited current). This is > > > controlled > > > > > by > > > > > >> jumper J8 on the board (which should be fairly near the USBH > > > > > > connector). > > > > > >> > > > > > >> You can try turning off the power, either by removing the > > jumper, > > > > or > > > > > > if > > > > > >> it's using the charge-pump by doing "echo off > > > /proc/pmic/USBH" > > > or > > > > > >> something like that -- just to see what's going on. > > > > > >> > > > > > >> Also, if nothing else comes up, it would be good/interesting > to > > > > > > measure > > > > > >> the power consumption of the mote with a similar > > > resistor-in-series > > > > > >> trick just to see if that's indeed where the power is > going... > > > > > >> > > > > > >> Maybe it's a software issue -- when you plug the telosB mote > > in, > > > is > > > > > >> there any process that's consuming a lot of CPU? Does ps > show > > > any > > > > > CPU > > > > > >> usage? Uptime? I think there are/were some issues with the > > udev > > > > > >> filesystem that would cause it to consume a lot of CPU for a > > > short > > > > > > time. > > > > > >> How long does it run at 830mW for...? Is it still like that > 20 > > > > > > minutes > > > > > >> later? Actually, now that I think of it I think there is > > > something > > > > > to > > > > > >> this line, so maybe check it first. > > > > > >> > > > > > >> 2) Yah, I think your correct again in that I don't think > we've > > > done > > > > > >> anything really to reduce the power consumption in sleep > mode, > > so > > > > > > there > > > > > >> are probably a lot of peripherals that are still on. Is this > > > with > > > > > the > > > > > >> DC plugged in? I think the Ethernet interface probably > > consumes > > > a > > > > > lot > > > > > >> if so. Otherwise, probably need to go through each subsystem > > and > > > > > > think > > > > > >> about what kind of low-power state they might be in... Let > me > > > know > > > > > > how > > > > > >> you want to proceed on this -- I could help you make a list > of > > > all > > > > > the > > > > > >> subsystems and then we could discuss what might need to be > done > > > for > > > > > > each > > > > > >> of them... > > > > > >> > > > > > >> Cheers, > > > > > >> Trevor > > > > > >> > > > > > >> > > > > > >> -----Original Message----- > > > > > >> From: pla...@li... > > > > > >> [mailto:pla...@li...] On > > > > Behalf > > > > > > Of > > > > > >> ni...@cs... > > > > > >> Sent: Tuesday, September 12, 2006 11:47 AM > > > > > >> To: pla...@li... > > > > > >> Subject: [Platformx-sg2-devel] power measurements for SG2 > > > > > >> > > > > > >> Hi, > > > > > >> I did some power measurements for the stargate 2 platform. > > > > > >> I just used the mothercard for the measurements (no daughter > > > > > >> card). I attached a 1 ohm resistance in series with the mini > > usb > > > > > cable > > > > > > > > > > > >> and used a NI-DAQ to measure the voltage across the resistor > > > > > >> and subsequently the current and the power consumed by > > > > > >> the stargate. > > > > > >> > > > > > >> I have the following two questions in this regard. > > > > > >> > > > > > >> 1. The idle power of the platform (without any > > > > > >> CF or SD card ) is around 270 mW, which > > > > > >> seems reasonable. However, as soon as I plug in a Telosb > > > > > >> using the USB on the mothercard, the power consumption > > > > > >> rises to 830 mW. This seems like an odd jump, as the mote > > > > > >> alone doesnot draw more than 50 mW of power. I am using > > > > > >> the ftdi_sio driver and the stargate recognises the Telosb > > > > > >> correctly and is able to communicate with it. > > > > > >> > > > > > >> > > > > > >> 2. The standby/suspension power of the platform is around > > > > > >> 98 mW which is also kind of high, since I remember that > > > > > >> Stargate 1 with the daughter card removed pulled around > > > > > >> 35 mW of power. However, in this case, it might be a > > > > > >> possible software problem, like maybe unloading the proper > > > > > >> device drivers before suspension ? > > > > > >> > > > > > >> > > > > > >> > > > > > >> > > > > > >> -Nilanjan > > > > > >> > > > > > >> > > > > > >> > > > > > >> ------------------------------------------------- > > > > > >> This mail sent through IMP: http://horde.org/imp/ > > > > > >> > > > > > >> > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > > >> - > > > > > >> Using Tomcat but need to do more? Need to support web > services, > > > > > >> security? > > > > > >> Get stuff done quickly with pre-integrated technology to make > > > your > > > > > job > > > > > >> easier > > > > > >> Download IBM WebSphere Application Server v.1.0.1 based on > > Apache > > > > > >> Geronimo > > > > > >> > > > > > > > > > > > > > > > > > > > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > > > >> _______________________________________________ > > > > > >> Platformx-sg2-devel mailing list > > > > > >> Pla...@li... > > > > > >> > > https://lists.sourceforge.net/lists/listinfo/platformx-sg2-devel > > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------- > > > > > > This mail sent through IMP: http://horde.org/imp/ > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------- > > > > This mail sent through IMP: http://horde.org/imp/ > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > - > > > > Take Surveys. Earn Cash. Influence the Future of IT > > > > Join SourceForge.net's Techsay panel and you'll get the chance to > > > share > > > > your > > > > opinions on IT & business topics through brief surveys -- and earn > > > cash > > > > > > > > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE > > > > V > > > > _______________________________________________ > > > > Platformx-sg2-devel mailing list > > > > Pla...@li... > > > > https://lists.sourceforge.net/lists/listinfo/platformx-sg2-devel > > > > > > > > > > > > > > > > > > > ------------------------------------------------- > > > This mail sent through IMP: http://horde.org/imp/ > > > > > > > > > ------------------------------------------------------------------------ > > > - > > > Take Surveys. Earn Cash. Influence the Future of IT > > > Join SourceForge.net's Techsay panel and you'll get the chance to > > share > > > your > > > opinions on IT & business topics through brief surveys -- and earn > > cash > > > > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE > > > V > > > _______________________________________________ > > > Platformx-sg2-devel mailing list > > > Pla...@li... > > > https://lists.sourceforge.net/lists/listinfo/platformx-sg2-devel > > > > > > > > > > > > > ------------------------------------------------- > > This mail sent through IMP: http://horde.org/imp/ > > > > > > > ------------------------------------------------- > This mail sent through IMP: http://horde.org/imp/ > > ------------------------------------------------------------------------ > - > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Platformx-sg2-devel mailing list > Pla...@li... > https://lists.sourceforge.net/lists/listinfo/platformx-sg2-devel > ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ |