SOC LINK Series Programmer Simulator User Manual V0.1
SOC LINK Series Programmer Simulator User Manual V0.1
Page 1 of 91 V0.1
http://www.socmcu.com
SOC LINK Series Programmer & Simulator
SinOne User Manual
Content
Content............................................................................................................................................................. 2
Statement ......................................................................................................................................................... 4
1. Introduction to Development/Mass Production Tools .................................................................................. 5
1.1 Mass Production/Development Programmer: SC LINK PRO ............................................................ 6
1.2 Mass Production/Development Programmer: SC LINK ..................................................................... 7
2. Programmer & Simulator SC LINK PRO ..................................................................................................... 8
2.1 Hardware Description ......................................................................................................................... 8
2.1.1 Specifications ........................................................................................................................... 8
2.1.2 Descriptions.............................................................................................................................. 8
2.2 SC LINK PRO OLED Display ........................................................................................................... 10
2.2.1 Display Connection Status in Online Programming Mode .................................................... 10
2.2.2 Conventional Programming Display in Offline Mode ............................................................. 10
2.2.3 S/N Programming Display ...................................................................................................... 11
2.2.4 Limited Programming Count Display ..................................................................................... 12
2.2.5 Description for Display Names on SC LINK PRO OLED ...................................................... 14
2.2.6 Description for Error Code of Programming .......................................................................... 14
2.3 SC LINK PRO Simulation ................................................................................................................. 15
2.3.1 Configurations before Simulation ........................................................................................... 15
2.3.2 SC LINK PRO Simulation Operations .................................................................................... 15
2.3.3 Simulation Run Operations .................................................................................................... 17
2.3.4 View and Modify Variables ..................................................................................................... 22
2.3.5 Descriptions for External Power Supply Simulation .............................................................. 25
2.3.6 Notes for Simulation ............................................................................................................... 26
2.4 Instructions for SC LINK PRO Programming ................................................................................... 27
2.4.1 Firmware Upgrading............................................................................................................... 27
2.4.2 Steps for Online Programming............................................................................................... 27
2.4.3 Steps for Offline Programming ............................................................................................... 28
2.4.4 Comparison ............................................................................................................................ 29
2.4.5 Instruction for S/N .................................................................................................................. 30
2.4.6 Descriptions for External Power Supply Programming ......................................................... 30
2.4.7 Instructions for Connecting Programmer ............................................................................... 31
2.4.8 Notes for Programming .......................................................................................................... 32
2.4.9 Instruction for EEPROM Area Programming ......................................................................... 32
2.4.10 Instruction for LDROM Area Programming .......................................................................... 35
2.4.11 Multi-code Management ....................................................................................................... 36
2.4.12 Automatic Upgrading Detection ........................................................................................... 40
2.5 Frequently-asked Questions and Answers ...................................................................................... 42
3. Programmer & Simulator SC LINK ............................................................................................................ 43
3.1 Hardware Description ....................................................................................................................... 43
3.1.1 Specifications ......................................................................................................................... 43
3.1.2 Descriptions............................................................................................................................ 43
3.2 Instructions for SC LINK Simulation ................................................................................................. 45
3.2.1 Configurations before Simulation ........................................................................................... 45
3.2.2 SC LINK Simulation Operations............................................................................................. 45
Page 2 of 91 V0.1
http://www.socmcu.com
SOC LINK Series Programmer & Simulator
SinOne User Manual
3.2.3 Simulation Run Operations .................................................................................................... 47
3.2.4 View and Modify Variables ..................................................................................................... 52
3.2.5 Descriptions for External Power Supply Simulation .............................................................. 55
3.2.6 Notes for Simulation ............................................................................................................... 56
3.3 Instructions for SC LINK Programming ............................................................................................ 56
3.3.1 Firmware Upgrading............................................................................................................... 56
3.3.2 Steps for Online Programming............................................................................................... 57
3.3.3 Steps for Offline Programming ............................................................................................... 58
3.3.4 Comparison ............................................................................................................................ 59
3.3.5 Instruction for S/N .................................................................................................................. 60
3.3.6 Descriptions for External Power Supply Programming ......................................................... 60
3.3.7 Instructions for Connecting Programmer ............................................................................... 61
3.3.8 Notes for Programming .......................................................................................................... 62
3.3.9 Instruction for EEPROM Area Programming ......................................................................... 62
3.3.10 LDROM Area Programming Description .............................................................................. 64
3.3.11 Multi-code Management ....................................................................................................... 66
3.4.1 Exceptions and solutions ....................................................................................................... 70
3.4.2 SC LINKV3.XX Firmware Upgrade ........................................................................................ 70
4. SOC Programming Tool ............................................................................................................................. 72
4.1 Overview ........................................................................................................................................... 72
4.2 Install SOC Programming Tool ......................................................................................................... 72
4.3 Software Interface ............................................................................................................................ 77
4.4 Function Descriptions ....................................................................................................................... 79
4.4.1 Descriptions for S/N ............................................................................................................... 79
4.4.2 MCU Library Upgrading ......................................................................................................... 79
4.4.3 Firmware Upgrading............................................................................................................... 80
4.4.4 Check Offline Programming Options ..................................................................................... 80
4.4.5 Security Encryption ................................................................................................................ 80
4.5 ICP Online Programming ................................................................................................................. 82
5 Keil C Plug-ins ............................................................................................................................................ 85
5.1 Install Simulation Plug-ins ................................................................................................................ 85
5.2 Set Keil Interface .............................................................................................................................. 88
5.3 Notes for Keil C Plug-ins .................................................................................................................. 90
6 Revision History ........................................................................................................................................ 91
Page 3 of 91 V0.1
http://www.socmcu.com
SOC LINK Series Programmer & Simulator
SinOne User Manual
Statement
The User Manual mainly describes the operating instructions for SOC LINK Series
Programmer & Simulator. Before use SOC LINK simulation or mass production development,
please carefully read the user manual of related products and timely update programmer
firmware and development tools to the latest version.
The Company reserves the right of final interpretation of all products.
Please refer to the following link for the latest specification of related products:
http://www.socmcu.com/
Please visit the following link for the latest development tools:
http://www.socmcu.com/
Page 4 of 91 V0.1
http://www.socmcu.com
SOC LINK Series Programmer & Simulator
SinOne User Manual
Applicable
SC95F,SC92F,SC93F
product
Simulation √ √
Online
√ √
programming
Offline
√ √
programming
ISP √ ×
OLED display √ ×
Multi-code 40 10
Page 5 of 91 V0.1
http://www.socmcu.com
SOC LINK Series Programmer & Simulator
SinOne User Manual
Page 6 of 91 V0.1
http://www.socmcu.com
SOC LINK Series Programmer & Simulator
SinOne User Manual
Page 7 of 91 V0.1
http://www.socmcu.com
SOC LINK Series Programmer & Simulator
SinOne User Manual
2.1.1 Specifications
2.1.2 Descriptions
SC LINK PRO is designed for SOC 8051 series IC offline/online programming & simulation and TouchKey
debugging.
VDD,VSS
Power and ground (pin) of programmed IC
CLK,DIO Programming signal interface, connecting tCLK and tDIO of target IC
(2) Use 5PIN cable for ISP programming, details are shown in Table 2.1.2-2.
Table 2.1.2-2
Description for ISP Programming Interface
Name Function Description
VDD,VSS Power and ground (pin) of programmed IC
CLK,DIO UART communication interface, connecting RX and TX of target IC
RST Control target IC reset in ISP mode
Page 9 of 91 V0.1
http://www.socmcu.com
SOC LINK Series Programmer & Simulator
SinOne User Manual
Page 10 of 91 V0.1
http://www.socmcu.com
SOC LINK Series Programmer & Simulator
SinOne User Manual
Page 11 of 91 V0.1
http://www.socmcu.com
SOC LINK Series Programmer & Simulator
SinOne User Manual
(1) First download the project code checked with limited programming to SC LINK PRO, every time
when programming button is pressed, OLED will display the remaining programming counts until the
maximum is used up, and then Error status will appear, as shown in Figure 2.2.4-1 and 2.2.4-2.
(2) Limited programming mode supports power-off memory function.
Page 12 of 91 V0.1
http://www.socmcu.com
SOC LINK Series Programmer & Simulator
SinOne User Manual
Page 13 of 91 V0.1
http://www.socmcu.com
SOC LINK Series Programmer & Simulator
SinOne User Manual
ERR_3 The limited count of programming is 0; Please download the project file again;
ERR_6 Error in Flash data downloaded Please replace SC LINK PRO and try again
Page 14 of 91 V0.1
http://www.socmcu.com
SOC LINK Series Programmer & Simulator
SinOne User Manual
Note: Before simulation, it is required to pre-set the breakpoint. The breakpoint can be set/deleted
during the simulation process, as shown in the figure below:
Page 15 of 91 V0.1
http://www.socmcu.com
SOC LINK Series Programmer & Simulator
SinOne User Manual
Page 16 of 91 V0.1
http://www.socmcu.com
SOC LINK Series Programmer & Simulator
SinOne User Manual
If it fails to enter the debugging interface, please check if the configuration is correct before simulation.
In the figure above, when running at full speed to the first breakpoint and stopping at this breakpoint, a
yellow debugging arrow appears to the left of the breakpoint, pointing to the current stop line. If you open the
Disassembly window, such yellow debugging arrow also appears, pointing to the PC address of current program.
After entering the simulation status, the program will stop at 0x00 address by default, that is, PC points to
Page 17 of 91 V0.1
http://www.socmcu.com
SOC LINK Series Programmer & Simulator
SinOne User Manual
0x00. When running at full speed to the first breakpoint, it will run from this address to the first breakpoint before
stopping. Compared with other simulation operations, the execution speed is the fastest.
Page 18 of 91 V0.1
http://www.socmcu.com
SOC LINK Series Programmer & Simulator
SinOne User Manual
Note:
If the position where the program is executed is not a subfunction, the operation will obtain
the same result as that of step track;
If any breakpoint exists in the subfunction, the program will stop at the breakpoint first.
Click the shortcut icon “Step Over” or the shortcut key “F10”.
Still take the current breakpoint stopping at Timer0Init() as an example, press F10, keep the cursor outside
the function and run this function at full speed, then the yellow arrow will point to the next line, as shown in the
figure below:
Page 19 of 91 V0.1
http://www.socmcu.com
SOC LINK Series Programmer & Simulator
SinOne User Manual
Continue pressing F10 and observe the Disassembly window, its running results will be the same as that of
Step Track, as shown in the figure below:
Page 20 of 91 V0.1
http://www.socmcu.com
SOC LINK Series Programmer & Simulator
SinOne User Manual
Press Ctrl+F10 and run to the cursor line at full speed before stopping, then the yellow arrow will appear at
positioned cursor line, as shown in the figure below:
2.3.3.5 Reset
Click “Reset” button to reset the program with the yellow arrow pointing to the address 0x00, as shown in the
figure below:
Page 21 of 91 V0.1
http://www.socmcu.com
SOC LINK Series Programmer & Simulator
SinOne User Manual
Fig. 2.2.4-1
Fig. 2.2.4-2
Fill in the variable to be pre-viewed/pre-modified
In the "Name" column, enter the Name of a variable that must exist in the source code, otherwise it is
invalid. At this time, the value of current variable appears in corresponding “Value” column, as shown in
Figure 2.2.4-3
Page 22 of 91 V0.1
http://www.socmcu.com
SOC LINK Series Programmer & Simulator
SinOne User Manual
Fig. 2.2.4-3
In the figure above, add the variable GlobalVar_Idata and GlobalVar_Xdata, the values in Watch1 are
0x0010 and 0x30 respectively.
Besides, in C source code interface, when the mouse moves over the variable name, its value, type
and address will appear as well, as shown in Figure 2.2.4-4.
Fig. 2.2.4-4
① Modify the value of variable
In the “Value” column of the variable to be modified, double click and modify the value, then click the left
mouse at any position, the variable column will turn to dark color, as shown in Figure 2.2.4-5.
Fig. 2.2.4-5
In the figure above, the value of GlobalVar_Xdata is modified as 0x22.
Page 23 of 91 V0.1
http://www.socmcu.com
SOC LINK Series Programmer & Simulator
SinOne User Manual
Fig. 2.2.4-6
Fig. 2.2.4-7
View/modify variable by address
In Memory interface, the Address column is used to input the starting address of memory to be
displayed. If the address and memory area of current variable are known, perform the following commands.
Ram data area: D:xx; RAM idata area: I:xx; Ram Xdata area: X:xx.
After completing the commands above, the value of variable beginning with Start Address will be
displayed, and you can also double-click to modify it.
Take GlobalVar_Xdata as an example, use 0x27 as the Start Address and view the value of Xdata area,
as shown in Figure. 2.2.4-8.
Fig. 2.2.4-8
In the figure above, the address value of X:0x000027 is 0x30, that is, the value of GlobalVar_Xdata is 0x30,
same as the results observed in Watch1, as shown in Figure 2.2.4-3.
Likewise, you can also modify the value of variable here, shown as follow:
1. Double click the value of the address in Memory to modify, as shown in Figure 2.2.4-9
Fig. 2.2.4-9
2. Fill in a new value and click at any position to complete, as shown in Figure 2.2.4-10
Page 24 of 91 V0.1
http://www.socmcu.com
SOC LINK Series Programmer & Simulator
SinOne User Manual
Note: If the variable address is not clear, we recommend using Watch Windows.
Fig. 2.2.4-11
In the “Value” column of the SFR to be modified, double click and modify the value, then click the left
mouse at any position, the variable column will turn to dark color, as shown in Figure 2.2.4-12.
Fig. 2.2.4-12
Page 25 of 91 V0.1
http://www.socmcu.com
SOC LINK Series Programmer & Simulator
SinOne User Manual
power-off
power
4 PIN Cable
Run Busy OK NG
U
Program
S SC LINK PRO/SC LINK Interface MCU
B
target board
power-on
power
4 PIN Cable
Run Busy OK NG
U
Program
S SC LINK PRO/SC LINK Interface MCU
B
target board
Connect the power to target board until Busy lamp turns off; when Busy lamp turns on, it enters Download
mode;
After Download is completed, you can enter the simulation mode without powering on again.
Page 26 of 91 V0.1
http://www.socmcu.com
SOC LINK Series Programmer & Simulator
SinOne User Manual
(1) Mode 1: After connecting SC LINK PRO to PC, open SOC Programming Tool and click “Upgrade
Programmer Firmware” on “Programmer Information” menu. At this time, Busy lamp on SC LINK
PRO (red) will flash, indicating that it enters Firmware Upgrading mode;
(2) Mode 2: In power-off state of SC LINK PRO, long press “Programming” button, connect it to PC USB,
at this time, Busy lamp on SC LINK PRO (red) will flash, indicating that it enters Firmware Upgrading
mode;
1. In “Open File” dialog box, locate the firmware file (.iap file) and click “Open”;
2. Pop up the dialog box to display the current version and the version to be updated, and click “OK”
button;
3. After the update is completed, SC LINK PRO will exit Firmware Upgrading mode automatically;
4. View the version information of upgraded firmware in “Programmer Information”.
Note: During the process of firmware upgrading, you are not advised to perform other operations.
Page 27 of 91 V0.1
http://www.socmcu.com
SOC LINK Series Programmer & Simulator
SinOne User Manual
Check the target area to be programmed and click “Load” to load the code file to be programmed
(HEX/BIN file);
Configure IC option in “option” tab;
Select programming voltage and check Erasing, Programming and Verifying, etc.;
Click “Auto Programming” button to perform corresponding programming and verifying;
Check the programming area, click “Load” to load the code file to be programmed (HEX/BIN file);
Check the operation checkbox in “ProgramSetting”, such as Program + Verify;
Select Programming mode: Check “Auto Programming” for automatic programming mode, and uncheck
for manual programming mode:
Page 28 of 91 V0.1
http://www.socmcu.com
SOC LINK Series Programmer & Simulator
SinOne User Manual
1. In manual programming mode, press the button to program;
2. In auto programming mode, SC LINK PRO will complete IC detection and programming
automatically after power-on.
Configure IC option in “option” tab;
Click “Download” button and download the code file to SC LINK PRO;
Disconnect SC LINK PRO with PC USB, and use the external power supply via USB to power SC LINK
PRO to start programming.
2.4.4 Comparison
To confirm if the programming code and configured items loaded by SC LINK PRO are correct, connect SC
LINK PRO to PC via USB and open SOC Programming Tool, and then click “Compare” button to check if the
current programming configurations and programming codes loaded consistent with the contents loaded in SC
LINK PRO.
Page 29 of 91 V0.1
http://www.socmcu.com
SOC LINK Series Programmer & Simulator
SinOne User Manual
Page 30 of 91 V0.1
http://www.socmcu.com
SOC LINK Series Programmer & Simulator
SinOne User Manual
power-off
power
4 PIN Cable
Run Busy OK NG
U
Program
S SC LINK PRO/SC LINK Interface MCU
B
target board
power-on
power
4 PIN Cable
Run Busy OK NG
U
Program
S SC LINK PRO/SC LINK Interface MCU
B
target board
Connect the power to target board once Busy lamp turns off; when Busy lamp turns on, it enters
After programming is completed, disconnect the target board to ensure that the programmed IC exits
Programming mode.
Page 31 of 91 V0.1
http://www.socmcu.com
SOC LINK Series Programmer & Simulator
SinOne User Manual
Page 32 of 91 V0.1
http://www.socmcu.com
SOC LINK Series Programmer & Simulator
SinOne User Manual
Select EEPROM tab and configure the start address of EEPROM, this address determines the start
address for programming in EEPROM. Select corresponding start address, the code programmed to
EEPROM will be written from this start address. As shown in the figure below, if the start address is 0x0060,
the first byte for this code (0x00) will be written in 0x0060 in EEPROM and the second byte (0x01) will be
written in 0x0061 in EEPROM , and so forth until all codes are written in EEPROM.
Note: If the offset address is 0x0000, EEROPM length will be limited by the software; if the offset
address is the non-zero address, the offset address + length is composed of 128 bytes at most
with the former being the integer multiple of 4.
If the length of the code programmed into EEPROM is not a multiple of 4, the address less than a multiple
of 4 will be added with 0 automatically. As shown in the figure below, the address of last 3 bytes less than a
multiple of 4 is added with 0 automatically.
Page 33 of 91 V0.1
http://www.socmcu.com
SOC LINK Series Programmer & Simulator
SinOne User Manual
Load APROM and EEPROM file respectively, where, HEX file loaded in EEPROM is the file to be
programmed in EEPROM (You can generate the file by the example project “EEPROM Project” provided by
SOC)
After the files are loaded, confirm the code checksum and option
Page 34 of 91 V0.1
http://www.socmcu.com
SOC LINK Series Programmer & Simulator
SinOne User Manual
② Load APROM and LDROM files respectively, where: HEX file loaded in LDROM area is the file to
be program in LDROM area.
Page 35 of 91 V0.1
http://www.socmcu.com
SOC LINK Series Programmer & Simulator
SinOne User Manual
③ File loading is complete, confirm the code checksum is correct, confirm option is correct
④ Connect SCLINK, select fan eraser for erasing, check "programming + Verification", and click
"Automatic"
Multi-code management function supports storing multiple project on SC LINK PRO so as to facilitate
batch programming for multiple project codes. Before using multi-code management, please confirm the
following:
(1) Preparations: ① SC LINK PRO; ② SOC Programming Tool v0.10 or later; ③ Firmware V0.1 and
later.
(2) Before using multi-code programming mode, please carefully read 2.3.10 Notes for Multi-code
Management.
Page 36 of 91 V0.1
http://www.socmcu.com
SOC LINK Series Programmer & Simulator
SinOne User Manual
(3) Then enter “Multi-code Management” page, it is empty for first use (no project list), as shown in the
figure below.
(4) As shown in the figure below, input the project name to be saved in “Project Name” column (English
character with no more than 11 characters), then fill in the No. in “No. Range”, and click “Add Code Project”
to save the loaded project to SC LINK PRO.
Page 37 of 91 V0.1
http://www.socmcu.com
SOC LINK Series Programmer & Simulator
SinOne User Manual
(5) After adding the code project, you can see the information of the added project (including project No.,
project name, IC name and CRC of target code project, etc.).
(6) For SC LINK Pro users, up to 40 Code projects can be added, all of which can be saved to the external
memory of the programmer.
2. Activate Multi-code Project List
(1) If at least one Code project is added to the project list, select this project and click “Activate Selected
Project” (Note: In offline programming mode, priority to programming shall be given to the activated
project in multi-code project list), then you can see the information of activated project in the text box at
the upper of the project list; if the text box is empty, no project is activated. A project is activated as shown in
the figure below.
Page 39 of 91 V0.1
http://www.socmcu.com
SOC LINK Series Programmer & Simulator
SinOne User Manual
version of programming tool, MCU library and SC LINK PRO firmware under the circumstance of user PC
connecting to the network; when a new version is found, the system will prompt user the new version
detected and provide the download address. The figure below shows the popped-up online detection
Page 40 of 91 V0.1
http://www.socmcu.com
SOC LINK Series Programmer & Simulator
SinOne User Manual
Page 41 of 91 V0.1
http://www.socmcu.com
SOC LINK Series Programmer & Simulator
SinOne User Manual
Page 42 of 91 V0.1
http://www.socmcu.com
SOC LINK Series Programmer & Simulator
SinOne User Manual
3.1.1 Specifications
3.1.2 Descriptions
SC LINK is suitable for offline/online writing, simulation and TouchKey debugging of SOC 8051 series IC.
Note: Before simulation, it is required to pre-set the breakpoint. The breakpoint can be set/deleted
during the simulation process, as shown in the figure below:
Page 46 of 91 V0.1
http://www.socmcu.com
SOC LINK Series Programmer & Simulator
SinOne User Manual
If it fails to enter the debugging interface, please check if the configuration is correct before simulation.
In the figure above, when running at full speed to the first breakpoint and stopping at this breakpoint, a
yellow debugging arrow appears to the left of the breakpoint, pointing to the current stop line. If you open the
Disassembly window, such yellow debugging arrow also appears, pointing to the PC address of current program.
After entering the simulation status, the program will stop at 0x00 address by default, that is, PC points to
0x00. When running at full speed to the first breakpoint, it will run from this address to the first breakpoint before
stopping. Compared with other simulation operations, the execution speed is the fastest.
Note:
If the position where the program is executed is not a subfunction, the operation will obtain
the same result as that of step track;
If any breakpoint exists in the subfunction, the program will stop at the breakpoint first.
Click the shortcut icon “Step Over” or the shortcut key “F10”.
Still take the current breakpoint stopping at Timer0Init() as an example, press F10, keep the cursor outside
the function and run this function at full speed, then the yellow arrow will point to the next line, as shown in the
figure below:
Page 49 of 91 V0.1
http://www.socmcu.com
SOC LINK Series Programmer & Simulator
SinOne User Manual
Continue pressing F10 and observe the Disassembly window, its running results will be the same as that of
Step Track, as shown in the figure below:
Press Ctrl+F10 and run to the cursor line at full speed before stopping, then the yellow arrow will appear at
positioned cursor line, as shown in the figure below:
3.2.3.5 Reset
Click “Reset” button to reset the program with the yellow arrow pointing to the address 0x00, as shown in the
figure below:
Page 51 of 91 V0.1
http://www.socmcu.com
SOC LINK Series Programmer & Simulator
SinOne User Manual
Fig. 3.2.4-1
Fig. 3.2.4-2
Fill in the variable to be pre-viewed/pre-modified
In the "Name" column, enter the Name of a variable that must exist in the source code, otherwise it is
invalid. At this time, the value of current variable appears in corresponding “Value” column, as shown in
Figure 2.2.4-3
Page 52 of 91 V0.1
http://www.socmcu.com
SOC LINK Series Programmer & Simulator
SinOne User Manual
Fig. 3.2.4-3
In the figure above, add the variable GlobalVar_Idata and GlobalVar_Xdata, the values in Watch1 are
0x0010 and 0x30 respectively.
Besides, in C source code interface, when the mouse moves over the variable name, its value, type
and address will appear as well, as shown in Figure 3.2.4-4.
Fig. 3.2.4-4
② Modify the value of variable
In the “Value” column of the variable to be modified, double click and modify the value, then click the left
mouse at any position, the variable column will turn to dark color, as shown in Figure 3.2.4-5.
Fig. 3.2.4-5
In the figure above, the value of GlobalVar_Xdata is modified as 0x22.
Page 53 of 91 V0.1
http://www.socmcu.com
SOC LINK Series Programmer & Simulator
SinOne User Manual
Fig. 3.2.4-6
Fig. 3.2.4-7
View/modify variable by address
In Memory interface, the Address column is used to input the starting address of memory to be
displayed. If the address and memory area of current variable are known, perform the following commands.
Ram data area: D:xx; RAM idata area: I:xx; Ram Xdata area: X:xx.
After completing the commands above, the value of variable beginning with Start Address will be
displayed, and you can also double-click to modify it.
Take GlobalVar_Xdata as an example, use 0x27 as the Start Address and view the value of Xdata area,
as shown in Figure. 3.2.4-8.
Fig. 3.2.4-8
In the figure above, the address value of X:0x000027 is 0x30, that is, the value of GlobalVar_Xdata is 0x30,
same as the results observed in Watch1, as shown in Figure 3.2.4-3.
Likewise, you can also modify the value of variable here, shown as follow:
1. Double click the value of the address in Memory to modify, as shown in Figure 2.2.4-9
Fig. 3.2.4-9
③ Fill in a new value and click at any position to complete, as shown in Figure 3.2.4-10
Page 54 of 91 V0.1
http://www.socmcu.com
SOC LINK Series Programmer & Simulator
SinOne User Manual
Note: If the variable address is not clear, we recommend using Watch Windows.
Fig. 3.2.4-11
In the “Value” column of the SFR to be modified, double click and modify the value, then click the left
mouse at any position, the variable column will turn to dark color, as shown in Figure 3.2.4-12.
Fig. 3.2.4-12
power
4 PIN Cable
Run Busy OK NG
U
Program
S SC LINK PRO/SC LINK Interface MCU
B
target board
power-on
power
4 PIN Cable
Run Busy OK NG
U
Program
S SC LINK PRO/SC LINK Interface MCU
B
target board
When the power indicator turns off, power on the target board. When the power indicator turns steady on,
the Download mode is entered. The Download is complete, without electricity again into the simulation.
Note:
1. please confirm before upgrade the firmware to upgrade the firmware file is ready;
2. The upgrade process is interrupted will lead to abnormal SCLINIK;
3. In the process of firmware upgrade, user is not recommended for other operation.
③ Check the target area to be programmed and click “Load” to load the code file to be programmed
(HEX/BIN file);
④ Configure IC option in “option” tab;
Page 57 of 91 V0.1
http://www.socmcu.com
SOC LINK Series Programmer & Simulator
SinOne User Manual
⑤ Select programming voltage and check Erasing, Programming and Verifying, etc.;
⑥ Click “Auto Programming” button to perform corresponding programming and verifying;
Page 58 of 91 V0.1
http://www.socmcu.com
SOC LINK Series Programmer & Simulator
SinOne User Manual
② Check the programming area, click “Load” to load the code file to be programmed (HEX/BIN file);
③ Check the operation checkbox in “ProgramSetting”, such as Program + Verify;
④ Select Programming mode: Check “Auto Programming” for automatic programming mode, and
uncheck for manual programming mode:
1. In manual programming mode, press the button to program;
2. In auto programming mode, SC LINK PRO will complete IC detection and programming
automatically after power-on.
⑤ Configure IC option in “option” tab;
3.3.4 Comparison
To confirm if the programming code and configured items loaded by SC LINK are correct, connect SC LINK
PRO to PC via USB and open SOC Programming Tool, and then click “Compare” button to check if the current
programming configurations and programming codes loaded consistent with the contents loaded in SC LINK.
Page 59 of 91 V0.1
http://www.socmcu.com
SOC LINK Series Programmer & Simulator
SinOne User Manual
Page 60 of 91 V0.1
http://www.socmcu.com
SOC LINK Series Programmer & Simulator
SinOne User Manual
power-off
power
4 PIN Cable
Run Busy OK NG
U
Program
S SC LINK PRO/SC LINK Interface MCU
B
⑥ target board
⑦
⑧
power-on
power
4 PIN Cable
Run Busy OK NG
U
Program
S SC LINK PRO/SC LINK Interface MCU
B
⑨ target board
⑩ When the power indicator is off, switch on the power supply of the target board. When the power
indicator turns steady on, it enters the programming mode.
⑪ After the programming is completed, the target board needs to be completely powered off to ensure
that the IC has been program out of the programming mode.
Page 61 of 91 V0.1
http://www.socmcu.com
SOC LINK Series Programmer & Simulator
SinOne User Manual
Page 62 of 91 V0.1
http://www.socmcu.com
SOC LINK Series Programmer & Simulator
SinOne User Manual
② If the length of the code program into the EEPROM is not a multiple of 4, the address that is less than a
multiple of 4 is automatically added with 0. As shown in the figure below, the last 3byte of the code
automatically fills 0 for the address whose multiple is less than 4.
③ Load APROM and EEPROM files respectively, where: THE HEX file loaded in the EEPROM area is the
FILE to be program in the EEPROM area (users can generate it through the example Project
"EEPROM Project" provided by SOC)
Page 63 of 91 V0.1
http://www.socmcu.com
SOC LINK Series Programmer & Simulator
SinOne User Manual
④ File loading is complete, confirm the code checksum is correct, confirm option is correct
Page 64 of 91 V0.1
http://www.socmcu.com
SOC LINK Series Programmer & Simulator
SinOne User Manual
② Load APROM and LDROM files respectively, where: HEX file loaded in LDROM area is the file to
be program in LDROM area.
③ File loading is complete, confirm the code checksum is correct, confirm option is correct
④ Connect SCLINK, select fan eraser for erasing, check "programming + Verification", and click
"Automatic"
Page 65 of 91 V0.1
http://www.socmcu.com
SOC LINK Series Programmer & Simulator
SinOne User Manual
( 2 ) Before using multi-code programming mode, please carefully read 3.3.11.3 Notes for
Multi-Code Management。
(2) Then enter “Multi-code Management” page, it is empty for first use (no project list), as shown in the figure
below.
Page 66 of 91 V0.1
http://www.socmcu.com
SOC LINK Series Programmer & Simulator
SinOne User Manual
(3) As shown in the figure below, input the project name to be saved in “Project Name” column (English
character with no more than 11 characters), then fill in the No. in “No. Range”, and click “Add Code
Project” to save the loaded project to SC LINK.
(4)After adding the code project, you can see the information of the added project (including project No., project
name, IC name and CRC of target code project, etc.).
(5)For SC LINK users, up to 40 Code projects can be added, all of which can be saved to the external memory
of the programmer.
2. Activate Multi-code Project List
(1)If at least one Code project is added to the project list, select this project and click “Activate Selected Project”
(Note: In offline programming mode, priority to programming shall be given to the activated project in
multi-code project list), then you can see the information of activated project in the text box at the upper of the
project list; if the text box is empty, no project is activated. A project is activated as shown in the figure below.
Page 67 of 91 V0.1
http://www.socmcu.com
SOC LINK Series Programmer & Simulator
SinOne User Manual
Page 68 of 91 V0.1
http://www.socmcu.com
SOC LINK Series Programmer & Simulator
SinOne User Manual
Page 69 of 91 V0.1
http://www.socmcu.com
SOC LINK Series Programmer & Simulator
SinOne User Manual
Page 70 of 91 V0.1
http://www.socmcu.com
SOC LINK Series Programmer & Simulator
SinOne User Manual
② After unplugging the SC LINK, hold down the KEY on the SC LINK and insert it into the USB port of the PC.
At this time, the RUN indicator on the SC LINK keeps blinking and the firmware upgrade mode enters. Click
upgrade programmer firmware of programmer information to upgrade the firmware.
③ Select the firmware downloaded from the official website to update the firmware.
④ After upgrading the firmware, unplug SC LINK and reinsert SC LINK. Then open the SOC Programming
Tool. If it can identify SC LINK, indicates that SC LINK has been successfully updated to v3.xx.
Note: When upgrading firmware, long press the KEY and then insert it into the USB port of the
PC to enter the firmware upgrade mode!
Page 71 of 91 V0.1
http://www.socmcu.com
SOC LINK Series Programmer & Simulator
SinOne User Manual
View the licence, select “I Agree” and then click “Next” button
Page 72 of 91 V0.1
http://www.socmcu.com
SOC LINK Series Programmer & Simulator
SinOne User Manual
The default installation path is in “C:\Program Files(x86)\SOC\SOC Programming Tool”, and you
can modify it as needed , then click “Next” button
Page 73 of 91 V0.1
http://www.socmcu.com
SOC LINK Series Programmer & Simulator
SinOne User Manual
Set the name of this folder on Start Menu with “SOC Programming Tool” by default; you can
modify it as needed, then click “Next” button
Create desktop shortcut and quick launch bar shortcut by default; you can modify them as
needed, then click “Next” button
Page 74 of 91 V0.1
http://www.socmcu.com
SOC LINK Series Programmer & Simulator
SinOne User Manual
Page 75 of 91 V0.1
http://www.socmcu.com
SOC LINK Series Programmer & Simulator
SinOne User Manual
Note: After installation, if any network communication message pops up upon opening SOC
Programming Tool for the first time, please select “Public Network” to avoid missing important
notifications and updates related to the tool!
Page 76 of 91 V0.1
http://www.socmcu.com
SOC LINK Series Programmer & Simulator
SinOne User Manual
1) Menu Bar and Operation Buttons and Progress Bar Display Area:
Menu Bar and Shortcut button: Load Project, Save, Programming, Verify, Auto, Erasing,
Null Checking and Help.
2) Operating Prompt Bar:
Display the operating prompt information during the operation process.
3) ProgramSetting Interface:
Chip Model Option, File Load, Programming Area, S/N, Auto Programming, Offline
Programming Options, etc..
4) Option Setting Interface
Set corresponding WDT, System Clock and LVR for different MCU model as needed.
5) APROM Code Display Window:
Display the loaded or read code in current APROM.
6) EEPROM Code File Window:
Display the loaded or read code in current EEPROM.
Page 77 of 91 V0.1
http://www.socmcu.com
SOC LINK Series Programmer & Simulator
SinOne User Manual
Function
No. Function Descriptions
Name
1 Load Project Load saved project file (with the extension of “. socprj”)
Save Program Code, ProgramSetting (Chip Model, Programming Area, S/N,
2 Save
Programming Options, etc.) as the project file (with the extension of “. socprj”)
3 Null Checking Check if the program code exists in MCU
4 Erasing Erase the code in MCU
5 Programming Program the loaded program code and settings to MCU
6 Verify Check if MCU is programmed correctly
7 APROM Load Load program codes to APROM
8 EEPROM Load Load program codes to EEPROM
9 LDROM Load Load program codes to LDROM
Programming
10 Select programming voltage as needed
Voltage
Perform automatic operations (Null Checking, Erasing, Programming, Check,
11 Auto
Reset and Run) as needed;
Programming Select if it is required to encrypt, write/read CRC and to display the checksum of
12
Option currently loaded project when programming
1. Automatic Programming: Check it to automatically detect MCU in offline
programming mode, and perform programming automatically if detected, with no
Offline
need to press START button.
13 Programming
2. Limit programming counts: Check it to set the limit programming count with
Option
the upper limit of 1,000,000. If the limit is exceeded, the programmer will stop
programming.
Write a group of number in MCU Flash:
Optional
User-defined start value
14 S/N Settings
User-defined step value
User-defined store address
Hexadecimal increment mode by default
EEPROM
15 Offset User-defined the start address to write EEPROM
Address
Option
16 Set MCU programming configurations
Settings
Page 78 of 91 V0.1
http://www.socmcu.com
SOC LINK Series Programmer & Simulator
SinOne User Manual
The S/N function is currently available for SC LINK PRO in offline mode only.
Low S/N data is stored in low address, for example, write 32 BITS S/N 0XAABBCCDD in 0X0F10, the
value written for 0X0F10 is 0XDD, the value written for 0X0F11 is 0XCC, the value written for 0X0F12 is
0XBB and the value written for 0X0F13 is 0XAA.
The S/N must be 4 bytes in length with the start address of a multiple of 4 (such as 0F10H, 0A04H, etc.),
otherwise, an error will be reported upon programming.
It is recommended to set the S/N address outside the program space so as to avoid the program code
from being covered by S/N data, resulting in being unable to perform verifying operation after programming.
Page 79 of 91 V0.1
http://www.socmcu.com
SOC LINK Series Programmer & Simulator
SinOne User Manual
Page 80 of 91 V0.1
http://www.socmcu.com
SOC LINK Series Programmer & Simulator
SinOne User Manual
Security encryption features of SinOne series IC are as follows (configurable IC for security encryption
function) :
1. Regardless of whether the security encryption function is selected, as long as the user through the
programmer to an encrypted IC to perform programming rewrite, if the operation target is LDROM or
APROM+LDROM, the programmer will be forced to erase APROM and LDROM, and then perform
write operation
2. The only way to enable secure encryption is to check secure encryption and write
3. The only way to disable secure encryption is to turn it off and write
4. Secure encryption does not affect IAP functionality
1. After the chip model is selected, its related interface contents (such as programming type,
ProgramSetting, etc.) will be adjusted based on its resources automatically;
Page 82 of 91 V0.1
http://www.socmcu.com
SOC LINK Series Programmer & Simulator
SinOne User Manual
2. Check corresponding programming area, click “Load” and locate the code file to be loaded (.hex
file or bin file) in the popped-up window, then click “Open” to display the program codes in
corresponding area. The figure below shows the HEX file loaded after selecting APROM;
Page 83 of 91 V0.1
http://www.socmcu.com
SOC LINK Series Programmer & Simulator
SinOne User Manual
6. Programming is completed.
Page 84 of 91 V0.1
http://www.socmcu.com
SOC LINK Series Programmer & Simulator
SinOne User Manual
5 Keil C Plug-ins
5.1 Install Simulation Plug-ins
Double click SOC_KEIL_Setup Vx.xxx.exe, view the license, select “I agree”, then click “Next”
The default installation path is in the directory for Keil installed, you can modify this path, then click
“Next” button
Page 85 of 91 V0.1
http://www.socmcu.com
SOC LINK Series Programmer & Simulator
SinOne User Manual
Set the name of this folder on Start Menu with SOC_KEIL_SCLINKPRO in default. You can
modify the name as needed, then click “Next” button
Page 86 of 91 V0.1
http://www.socmcu.com
SOC LINK Series Programmer & Simulator
SinOne User Manual
For installation, click “Next” and then click “Install” to complete the installation, and read related help
information
Page 87 of 91 V0.1
http://www.socmcu.com
SOC LINK Series Programmer & Simulator
SinOne User Manual
Note: After installation, if any network communication message pops up upon opening KEIL
software for the first time, please select “Public Network” to avoid missing important notifications
and updates related to the tool!
Click “Utilities” and select “SOC 8051 Driver” from “Use Target Driver for Flash Programming”, as
shown in the figure below:
Page 88 of 91 V0.1
http://www.socmcu.com
SOC LINK Series Programmer & Simulator
SinOne User Manual
Click “Settings” to enter “Programming Option Information Interface”, as shown in the figure below:
Upgrade MCU Library: Upgrade “.socmculib” library file provided by SOC. Select “Upgrade MCU
Library”, select the library file to be upgraded, and click “Open” to complete the upgrading.
Upgrade Firmware: Upgrade the firmware of programmer provided by SOC.
Page 90 of 91 V0.1
http://www.socmcu.com
SOC LINK Series Programmer & Simulator
SinOne User Manual
6 Revision History
Revision Changes Date
V0.1 Initial Release. March 2022
Page 91 of 91 V0.1
http://www.socmcu.com