dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Rockbox mail archive

Subject: RE: Sansa e200 battery charging (bug?)

RE: Sansa e200 battery charging (bug?)

From: Anthony Whipple <>
Date: Fri, 22 May 2009 12:33:46 -0400

I'm certain that I have a hardware problem. My initial thought was that it
was because the ADC_BVDD value was so high. I am hoping that I might be
able to work around this problem with a custom build. I think I understand
a little better how this works. Am I correct that it is the hardware that
sets the CHG_ENDOFCH bit in the AS3514_IRQ_ENRD0 register? Under what
conditions does the hardware do this? Is there a way I can check to see if
this is what is happening?


Anthony Whipple

-----Original Message-----
[] On Behalf Of Michael Sevakis
Sent: Thursday, May 21, 2009 1:27 PM
To: Rockbox development
Subject: Re: Sansa e200 battery charging (bug?)

"On an original (v1) Sansa e250 I cannot get Rockbox (current build as of 20
may 09) to charge the battery. Under Debug -> view battery I see Battery
3.6 V (elsewhere this is interpreted as 8% charge), Charger: present, State:
Discharging. My read through the code seems to indicate that the charger
should be enabled under these conditions. Am I missing something or is this
a bug?

A little more background/information:
This e250 will not charge in the original firmware either."

Then there is a possible hardware issue. My e260v1 works fine in both
retailos and rockbox. I've been really busy and out of the loop, so maybe
code was changed? Though that would only explain a change with rockbox, not

"Does anyone know why this would not trigger a call to enable_charger()
making the charge_state go to CHARGING?"

Perhaps it does and then the charger finds the current flow is too low and
triggers a false 'done'? The SVN code (as I saw it last) will attempt to
start a charge cycle at 3.6V for sure. It should do a topoff at 4.16V or
below. The c200 will always top off when plugged but that isn't really the
best way to do things. On that model, only the 'flakey' measurement is
available for qualifying the battery state.
Received on 2009-05-22

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy