CMOSTEK CMT2380F16 Скачать руководство пользователя страница 21

 
 

AN211 

Rev 0.5 | 21/24

 

www.cmostek.com

 

 

WRF 

ENW 

CLRW 

WIDL 

PS2 

PS1 

PS0 

 

 

 

Disable : (No action) 

 

 

WDSFWP 

Enable : To Write the WDTCR will be deny

 

Disable : To Write the WDTCR will be accept 

 

HWBS2 

Enable : In addition to power-up, the reset from RST-pin will also force MCU to boot from ISP-memory, if ISP-memory is 

configured

 

Disable : Where MCU boots from is determined by 

HWBS

 

 

ENLVRO 

Enable : Enable Low-Voltage Reset (LVR) when Vdd less then 3.7V

 

Disable : Disable LVR 

 

ENLVRC 

Enable : Enable Low-Voltage Reset (LVR) when Vdd less then 2.5V

 

Disable : Disable LVR 

 

BODRE 

Enable : Enable Low-Voltage Reset (LVR)

 

Disable : Disable LVR 

 

BODWP 

Enable : Enable LVFWP (Low-Voltage Flash-Write Protection) while IAP or ISP programming

 

Disable : Disable LVFWP 

 

P40IOE 

Enable : Enable the P4.0 is in “Input Only mode” after Power On Reset

 

Disable : The P4.0 is in default “Quasi-Bidirectional mode”

 

 

P41IOE 

Enable : Enable 

the P4.1 is in “Input Only mode” after Power On Reset

 

Disable : The P4.1 is in default “Quasi-Bidirectional mode” 

 

{BO1S1O,BO1S0O} 

{0, 0} : BOD1 detects the level at 2.0V on VDD

 

{0, 1} : BOD1 detects the level at 2.4V on VDD 

{1, 0} : BOD1 detects the level at 3.7V on VDD 

{1, 0} : BOD1 detects the level at 4.2V on VDD 

 

 

BO0REO 

Enable : BOD0 will trigger a RESET event to CPU on AP program start address

 

Disable : BOD0 can not trigger a RESET to CPU

 

 

BO1REO 

Enable : BOD1 will trigger a RESET event to CPU on AP program start address

 

Disable : BOD1 can not trigger a RESET to CPU

 

 

NSWDT 

HWWIDL 

HWPS[2:0] 

set 

load 

load 

Содержание CMT2380F16

Страница 1: ...online programming operation Chip offline programming operation Multi machine serial programming operation The product models covered in this document are shown in the table below Table 1 Product Mode...

Страница 2: ...Operation 9 2 1 6 Save Project File 10 2 1 7 Read Target Chip Information 11 2 2 Offline Programming Operation 11 2 2 1 Chip Model Selection 12 2 2 2 Load File 12 2 2 3 Insert ISP Code 12 2 2 4 Set H...

Страница 3: ...xternal power supply Moreover multiple units can be connected together for one click batch programming or for batch programming in factory The Writer hardware structure is both simple and compact The...

Страница 4: ...AN211 Rev 0 5 4 24 www cmostek com 2 CMT2380F16 Writer Operation The CMT2380F16 Writer UI interface is shown in the below figure Figure 2 Writer UI Interface...

Страница 5: ...1 1 Chip Model Selection Select chip model CMT2380F16 3 3V is selected automatically as shown in the below figure Figure 4 Select Chip Model 2 1 2 Load File Select AP IAP Area Click Load File button t...

Страница 6: ...fter above AP IAP Area settings the file loading window pops up as shown in the below figure to load the IC code files to be programmed to the chip file formats are BIN HEX and MPJ 1 Select the file t...

Страница 7: ...p CMOSTEK provided ISP code 1 Click Insert ISP Code 2 Select CMOSTEK provided ISP code then click Insert button Figure 8 Insert ISP Code Insert User defined ISP code 1 Click on Insert ISP Code 2 Selec...

Страница 8: ...Code Notes 1 The function of ISP code is similar to the STM32 bootloader 2 The chip supports U1 and ICE programming 3 The ISP code will occupy some Flash space 4 After the ISP code is inserted the sof...

Страница 9: ...e setting Watchdog setting IC option setting Figure 10 Hardware Options Setting Notes 1 In general users only need to tick on LOCK encryption BO1S0O voltage setting for low voltage detection and HWBS...

Страница 10: ...chip model AP program IAP data ISP space IAP space setting into an mpj file by performing Open File AP and the software will automatically load the above content Figure 12 Save Project File After cli...

Страница 11: ...ow figure if a chip is not encrypted users can read Flash ISP space IAP space and Setting information by clicking Dump Target button ISP space reading information IAP space reading information Watchdo...

Страница 12: ...connection Offline programming connection Figure 15 Offline Programming Connection The operation flow of offline programming is described in the following sections 2 2 1 Chip Model Selection The speci...

Страница 13: ...1 Click Offline mode 2 Set the maximum number of programming 0 65534 x For example if the max counter is set to 2000 the U1 tool will report an error during programming after successfully programming...

Страница 14: ...ming The yellow light is on during programming After programming completion if successful the green turns on and the buzzer will have one long beep otherwise the red light turns on and the buzzer will...

Страница 15: ...the programmer following the offline programming operation Connect the programmers as shown in the below figure Press Auto key to start programming The yellow light is on during programming After prog...

Страница 16: ...d Figure 20 Series Number Usage The operation flow is as follows enable the serial number function The serial number has a total of 16 bytes a 12 byte string and a 4 byte number the is string up to 12...

Страница 17: ...hip the information stored in 0x3500 0x350F is as follows Figure 21 Information in Code Buffer 1 Based on the setting in the below figure after programming the second chip the information stored in 0x...

Страница 18: ...overlapped Note that the minimum unit of Flash area division is a sector which is 512 bytes 3 If the contents of IAP Data and Serial Number are not changed after programming it is highly recommended...

Страница 19: ...n ISP space It is a special storage space where program code can run independently It is generally used for online programming of AP and IAP space and the storage space of ISP itself can only be progr...

Страница 20: ...higher Fosc oscillating AUX_RAM Enable The internal auxiliary RAM access is disabled when the ERAM bit 0 AUXR bit1 and when ERAM bit 1 the internal auxiliary RAM access is enable Disable The internal...

Страница 21: ...ble LVFWP Low Voltage Flash Write Protection while IAP or ISP programming Disable Disable LVFWP P40IOE Enable Enable the P4 0 is in Input Only mode after Power On Reset Disable The P4 0 is in default...

Страница 22: ...AN211 Rev 0 5 22 24 www cmostek com Enable Enable the WDT to run in power down mode Disable Disable the WDT to run in power down mode...

Страница 23: ...AN211 Rev 0 5 23 24 www cmostek com 6 Revise History Table 2 Revise History Records Version No Chapter Description Date 0 5 All Initial version 2019 07 19...

Страница 24: ...for inaccuracies and specifications within this document are subject to change without notice The material contained herein is the exclusive property of CMOSTEK and shall not be distributed reproduce...

Отзывы: