Current H/W Option:
. ISP-IRC frequency: 23.686MHz
. IRC frequency: 11.058MHz
. Wakeup Timer frequency: 35.100KHz
. Do not detect the level of P3.2 and P3.3 next download
. Power-on reset, use the extra power-on delay
. RESET pin behaves as IO pin
. Reset while detect a Low-Voltage
. Thresh voltage level of the built-in LVD : 2.00 V
. Hardware enable Watch-Dog-Timer when power-on reset
. Watch-Dog-Timer pre-scalar : 256
. Watch-Dog-Timer stop count in idle mode
. Erase user EEPROM area at next download
. Do not control 485 at next download
. Do not check user password next download
. Reference voltage: 1190 mV (Range: 1100~1300mV)
. Testing time: 2021-8-12
MCU type: STC8G1K08A-8PIN
F/W version: 7.3.12U
Adjusting frequency ... [0.610"]
Adjusted frequency: 11.062MHz (0.022%)
Re-handshaking ... Successful [0.125"]
Current Baudrate: 115200
Erasing MCU flash ... OK ! [0.188"]
Programming user code ... OK ! [0.062"]
Programming OPTIONS ... OK ! [0.016"]
H/W Option upgrade to:
. ISP-IRC frequency: 23.686MHz
. IRC frequency: 11.062MHz
. Wakeup Timer frequency: 35.100KHz
. Do not detect the level of P3.2 and P3.3 next download
. Power-on reset, use the extra power-on delay
. RESET pin behaves as IO pin
. Reset while detect a Low-Voltage
. Thresh voltage level of the built-in LVD : 3.00 V
. Hardware enable Watch-Dog-Timer when power-on reset
. Watch-Dog-Timer pre-scalar : 256
. Watch-Dog-Timer stop count in idle mode
. Erase user EEPROM area at next download
. Do not control 485 at next download
. Do not check user password next download
. Reference voltage: 1190 mV (Range: 1100~1300mV)
. Testing time: 2021-8-12
MCU ID : F794C4A304863A
MCU type: STC8G1K08A-8PIN
F/W version: 7.3.12U
. Set frequency: 11.059MHz
. Adjusted frequency: 11.062MHz (clock divider = 2)
. Trim error: 0.022%
Please refer to section 9 I/O Ports. You have to configure your MCU IOs before using since all the IOs (except P3.0 and P3.1) are in high-impedance by default. For instance, at the beginning of your main function, add:
P3M0 = 0x00; P3M1 = 0x00;
复制代码
In addition, if you have any further question, you can enter the relavent mod from the index (click the bold text next to bubbles in gray or yellow) and then click "发帖" button with blue background (since it is a picture so it won't be translated). That means creating a new thread instead of replying a current one.
See STC8G manual here: www (dot) stcmcudata (dot) com . Search STC8G, and here is an item named "STC8G系列英文用户手册". Sorry for my last reply (currently security check pending ince it contains url) gave that for STC8H.
Here's an extract:
Codes also available in stc-isp (not a tiny version):