5. Register debugging under UBoot


5.1 Overview

HiReg support register debugging under UBoot mode for boards.
The users can only use serial connections in order to debug under UBoot mode. And as UBoot do not have some necessary commands, I2C feature is not available.

5.2 Switch to UBoot mode

When HiReg connected to the board via serial conneciton, a dialog will be shown and users can select to Enter UBoot mode (It will not appear if users disabled it in Appearence configuration).

Figure5-1 "Switch to UBoot Mode" dialog

UBoot

ClickĦ°Enter UBoot modeĦħbutton to set the board into UBoot mode.


Note

After clickingĦ°Enter UBoot modeĦħbutton, users need to turn off the board and then turn it on again. Please operate the board according to the console info.


5.3 Config the mode switching dialog

If users only need to debug under Kernel mode, check "Do not show this dialog next time, and automaticly run in Kernel Mode". This dialog will not appear from the next time you connect the board via serial.

If users want it be shown again, choose "Window" -> "Preference", and check "Show Mode Switch Dialog when Connected by Serial". See Figure 5-2.

Figure5-2 Enable mode switching dialog

UBoot