1. Upgrade Mode

The Idea1126B-P supports Normal mode and Upgrade mode.

Normal mode

Upgrade mode

Normal mode is the normal startup process

MaskRom mode

Loader mode

1.1 MaskRom Mode

In general, there is no need to enter MaskRom Upgrade Mode. Only when the bootloader verification fails (the IDB block cannot be read, or the bootloader is damaged), the BootRom code will enter this mode. At this time, the BootRom code waits for the host to transmit the bootloader code through the USB interface, load and run it. When the board becomes bricked and cannot start or upgrade the program normally need enter MaskRom Upgrade Mode.

1.1.1 Hardware to MaskRom

❶ Connect PC and development board with USB-A cable.

❷ Short circuit EMMC_D0 and GND.

Warning

Please be careful to avoid touching the components to cause short circuit and damage the development board.

Short circuit test points

❸ Power on. Release the two contacts when the flashing tool shows Found one MASKROM Device.

Found_maskrom_Device

1.1.2 Shortcut to MaskRom

❶ Connect PC and development board with USB-A cable.

❷ Open the serial debug terminal.

❸ Press and hold Ctrl + B in the serial terminal, then power on the board. Release Ctrl + B when the flashing tool shows Found one MASKROM Device.

1.2 Loader Mode

In Loader mode, the bootloader will waiting for host commands for firmware upgrades. To enter this mode, the USB is connected and the bootloader must detect a Recovery key press at startup.

1.2.1 Hardware to Loader

Idea1126b-p update

❶ Connect PC and development board with USB-A cable.

❷ Keep pressing the Recovery key.

❸ Power the board until the windows PC shows Found One LOADER Device then release the Recovery key .

_images/Found_LOADER_Device.png

1.2.2 Software to Loader

❶ Connect PC and development board with USB-A cable.

❷ Execute command in the serial debug terminal or adb shell.

1reboot loader

1.2.3 Shortcut to Loader

❶ Connect PC and development board with USB-A cable.

❷ Open the serial debug terminal.

❸ Press and hold Ctrl + D in the serial terminal, then power on the board. Release Ctrl + D when the flashing tool shows Found one LOADER Device.