11/29/2012

Force emergency download feature on QRD 8x25 release

This solution is only compatible with these releases:
R8625SSNSKQLYM10040400 and later

QRD implement a new feature to force phone to enter emergency download mode at boot up stage. It depends on the status of gpio40. If gpio40 is low, the phone will be force enter emergency download mode. For normal boot up, gpio40 should be default high.

This feature is default ON. Please pay attention to the gpio40 connection in your HW design to avoid boot up failure.

To disable this feature in SW, please delete related code in modem_proc\core\boot\secboot\cfg_data\7627\clock\clock.cfg.

gpio_40_to_emprg{
GPIO_IN1, 0x01000000,
READ_REGISTER, 0x01000000, /*because gpio40 default is high*/
BRANCH_ON_READ_FAIL, 2, /*so in normal boot, always sucess, if force dload mode, need pull down gpio40*/
BRANCH_ALWAYS, 2, /*normal boot will skip the fowllow line*/
WRITE_32_BIT, 0xfffef800, /*write to a invalid address will go into edload */
} /*delete this segment*/

K{
%tag description Clock: 48Mhz%
%tag BUS_SPEED 48%

%include gpio_40_to_emprg% /*delete this line*/
%include configure_48MHZ%
}

Then clean and rebuild all.

No comments:

Post a Comment