Electronic Engineer Discuss

Title: How to do mainboard programming via USB? [Print this page]

Author: WisdomAugust    Time: 2020-4-15 08:54
Title: How to do mainboard programming via USB?
Install and configure tool SecureCRT

Unzip “SecureCRT.rar” in the file.

Double click “SecureCRT.exe”
[attach]3493[/attach]


Click “OK”.




Author: WisdomAugust    Time: 2020-4-16 08:26
Select “Yes”.

[attach]3495[/attach]


Configure as follows:
[attach]3496[/attach]



Author: WisdomAugust    Time: 2020-4-17 08:10
According to your device, select the “com” in Port Item, click “Connect”.

[attach]3512[/attach]



If this interface appears, it means the connection is successful.
[attach]3513[/attach]




Author: WisdomAugust    Time: 2020-5-6 08:08
Check
1. Connect the device serial port (J801) to PC RS232 port or USB port via RS232 to TTL module or
USB to TTL module.

[attach]3555[/attach]


[attach]3556[/attach]


[attach]3557[/attach]



Author: WisdomAugust    Time: 2020-5-7 08:07
2. Power on. If there isn't any in the serial interface, execute 2.3~2.6. If there will be some terminal
output in the serial interface, please send the output content to the customer service personnel to
get the subsequent operation instructions.



Author: WisdomAugust    Time: 2020-5-7 08:07
Edited by WisdomAugust at 2020-5-8 09:41

Install hjtag Tools and Program ***.bin
Add equipment giveio
Unzip GIVEIO.rar file in programming tools. Copy the content in GIVIO folder into driver path of system partition:  
C:\WINDOWS\system32\drivers

[attach]3563[/attach]

Author: WisdomAugust    Time: 2020-5-9 08:56
Open Control Panel of the computer.
Select the “Add Hardware” option.
Select “Next”.
Select “yes”, click “next”.
Select “Add new hardware equipment”, click “next”.
Select “Install manual list choosing hardware”, click “next”.
Select “Port COM and IPT”, click “next”.
Select “Install from disk”.
Click “Review”.
Select unzipped GIVIEIO.inf file from the dialog box and open it.
Click “Confirm”.
Click “Next”.
Click “Next”.
Click “Finish”.



Author: WisdomAugust    Time: 2020-5-11 08:54
Install and configure hjtag software
Unzip H-JTAG V3.0 RELEASE.rar file.[attach]3564[/attach]



Double click H-JTAG V3.0 RELEASE.EXE in the unzipped folder.[attach]3565[/attach]



Author: WisdomAugust    Time: 2020-5-12 10:12
Click “Next”.[attach]3566[/attach]


Select “I agree with….” option, click “Next”.
[attach]3567[/attach]



Select destination folder of installation, click “Next”.


[attach]3568[/attach]


Author: WisdomAugust    Time: 2020-5-13 09:44
Waiting for installation.

[attach]3576[/attach]


Click “Finish” to finish the installation, there would be a shortcut of software produced on the desktop.

[attach]3577[/attach]



Author: WisdomAugust    Time: 2020-5-15 08:23
Double click H-JTAG icon on the desktop, select some information that appears.

[attach]3578[/attach]



Connect mainboard (J901) and computer by parallel port wire and parallel port pinboard.
Power on.

[attach]3579[/attach]


[attach]3580[/attach]





Author: WisdomAugust    Time: 2020-5-19 08:11
Select “Settings” from the menu bar.

[attach]3585[/attach]



Select USB/LPTSetting
[attach]3586[/attach]



Author: WisdomAugust    Time: 2020-5-20 08:13
Edited by WisdomAugust at 2020-5-21 08:35

Select LPT JTAG Setting.
[attach]3588[/attach]
[attach]3589[/attach]

According to your pinboard, select to directly click “OK” or select “User Defined”.
If select “User Defined”, please refer to the below configuration.
[attach]3598[/attach]



Author: WisdomAugust    Time: 2020-5-21 08:37
2.3.3 Program ***.bin
Connect mainboard (J901) and computer by parallel port wire and parallel port pinboard. Power on.

[attach]3599[/attach]

[attach]3600[/attach]



Author: WisdomAugust    Time: 2020-5-22 09:45
1. Open software hjtag, click the Magnifier in the software interface and detect the mainboard
2. After detection, the model of CPU would be shown as blue in the software interface.
3. Click the “F” [attach]3601[/attach] icon in the software interface.

[attach]3602[/attach]
Click “Load”



Author: WisdomAugust    Time: 2020-5-23 08:06
Select the file 2416.hfc in the programming file.

[attach]3603[/attach]


Click “4 Programming” on the left side of the panel.

[attach]3604[/attach]



Author: WisdomAugust    Time: 2020-6-1 08:35
Click “Check”, the CPU and flash model of mainboard would be shown.
[attach]3643[/attach]

Click ellipsis button, select image “whu-boot_5102p3nand_64MB_TFT70_V1.1.bin” in the image
file corresponding with the mainboard.
[attach]3644[/attach]




Author: WisdomAugust    Time: 2020-6-2 08:46
Click “Program” until finishing programming.
[attach]3650[/attach]


The connection between the mainboard of parallel port and computer can be switched off only after
the finish of programming.



Author: WisdomAugust    Time: 2020-6-3 08:09
2.4 Install EmbedSkyDownLoadTool
Unzip EmbedSkyDownLoadTool_V1.0.rar file.

[attach]3651[/attach]
Double click the icon to install.
Click “Next”.
Select the path of file installation, click “next”.
Click “Install”.
Click “Finish”. If it warns that “.net4.0” is required to install at the beginning of the installation,
please unzip “dotNetFx40_Full_x86_x64.rar” in the programming folder. Double click and press enter key to install it.



Author: WisdomAugust    Time: 2020-6-4 09:23
2.5 Program others2.5.1 Connect
Connect the mainboard and computer by serial port wire. Open software SecureCRT. Connect the correct “com” port.
Connect the computer and mainboard by USB cable.

[attach]3655[/attach]



Author: WisdomAugust    Time: 2020-6-4 09:24
2.5 Program others2.5.1 Connect
Connect the mainboard and computer by serial port wire. Open software SecureCRT. Connect the correct “com” port.
Connect the computer and mainboard by USB cable.


[attach]3656[/attach]

Author: WisdomAugust    Time: 2020-6-5 08:20
Connect your scope(J801) to PC serial interface via RS232 to TTL module or USB to TTL module.

[attach]3657[/attach]


[attach]3658[/attach]



[attach]3659[/attach]



Author: WisdomAugust    Time: 2020-6-6 08:08
2.5.2 Install USB download driver
Restart it and import several “blank” fastly and immediately,  the interface would be shown as below.
[attach]3663[/attach]

Tap “2”, the unknown device will be found and waiting to be installed.
Select the USB Download Driver folder to install the driver.
[attach]3664[/attach]



Author: WisdomAugust    Time: 2020-6-8 08:30
2.5.3 Download wh3  zImage_5102P3 into mainboard
After installing the driver successfully, tap “3”, click “enter”

[attach]3666[/attach]



Author: WisdomAugust    Time: 2020-6-9 08:08
Open EmbedSkyDownLoadTool, select USB->UBOOT->select file


[attach]3674[/attach]



Select wh3  zImage_5102P3


[attach]3675[/attach]

Then review software SecureCRT

When this statement “Enter your selection: ” appears, that means wh3  zImage_5102P3 programming is finished.



Author: WisdomAugust    Time: 2020-6-10 09:10
2.5.4 Downloadwh5   root_dso5102p3.ubi
Select “5”, click “enter”

[attach]3676[/attach]






Author: WisdomAugust    Time: 2020-6-11 09:27
Select wh5   root_dso5102p3.ubi
[attach]3685[/attach]
[attach]3684[/attach]
2.6 Power off and restart the device






Welcome to Electronic Engineer Discuss (https://eediscuss.com/) Powered by Discuz! X3.2