Hello Grace,
We are using i.MX233 EVK and BSP L2.6.31_10.05.02.
During the system (i.MX233 EVK) operation, if the battery is completely discharged, the system is turning OFF due to low battery. When the Device is OFF with the discharged battery, if the external USB charger is connected, the system turns ON and starts taking again the power from Battery (which is already having very low charge). Due to the very less charge availability on the battery, the system goes OFF and reboots again and again till the time the USB 5V is present. In this case, booting is never successful.
With the Battery and USB 5V connected at the same time, How can I configure the system to boot from USB 5V only and charge battery at the same???
If I define NO_BATTERY_VOLTAGE_SOURCE in power_prep.c ,system always boot from 5v source,never switch back to battery once if we unplug the usb and cannot charge the battery from USB.
Regards,
Sujatha