FS#7631 - Charging screen broken on V2 Recorder
Opened by Boris Gjenero (dreamlayers) - Monday, 20 August 2007, 20:40 GMT
Last edited by Boris Gjenero (dreamlayers) - Saturday, 31 December 2011, 18:38 GMT
Based on current measurements charging appears to work properly even when Rockbox is locked up. The following issues are just with the charging screen, so I would consider this low severity. (I can't set severity, I see "CriticalHighMediumLowVery Low" by the listbox instead of in it.)
If I plug in a charger while my V2 Recorder is off I get the charging screen, a brief flash of the Rockbox splash screen, and then the charging screen again. The voltage is <0.1 V but otherwise the screen appears fine, with the battery filling animation at the top and the wave animation in the large battery. After the battery animation at the top fills 5 times, all animation stops and the only thing I can do is hold the OFF button to shut down. At this point I can either disconnect the charger to turn off the device and leave it off, or hold OFF to turn off, after which the process repeats.
If I press ON while the charging animations are still moving I get a brief flash of the splash screen, a brief flash of "ATA error: -11 press ON to debug" and then the I/O ports debug screen. The battery voltage is again <0.1 V. If I attempt to get out of this screen I get a "*PANIC* ata: -11". If I stay at the screen, it locks up. If instead of pressing ON I hold ON, the "ATA error" screen stays and I need to press ON again to get to the I/O ports screen.
The BootBox charging screen (accessed via holding F1 when plugging in the charger) also reports an incorrect battery voltage. Initially it is 0.02 V or so and it soon becomes 0.00 V. However, the screen doesn't seem locked up and if I press ON that leads to a normal rescue boot.
Charging works properly if the charger or USB cable are plugged in after Rockbox is running. Battery voltage measurement also works. Charger detection on the "power status" debug screen ("view battery", press UP) works though the external voltage measurement is questionable because it starts at >6V, higher than the open circuit voltage on the charger, and goes down to 4.3 or so.
This was tested using build r14396, with rockbox.ucl flashed. BootBox was from http://www.rockbox.org/twiki/bin/viewfile/Main/BootBox?rev=1.1;filename=bootbox_v2.zip and the charger was an Archos 102168 car charger.
I just realized the battery was pretty full now, on the constant voltage topping charge. I will try again when the battery is empty and the battery voltage while charging is lower, in case the lockup happens when Rockbox thinks the battery is full. It shouldn't matter though if Rockbox can't measure the voltage.
Saturday, 31 December 2011, 18:38 GMT
Reason for closing: Fixed
Additional comments about closing: NEED_ATA_POWER_BATT_MEASURE issue finally fixed in r31484. Other charging screen issues fixed in earlier commits including r17955, r20634, and r25593. BootBox may still need work; see FS#12426.