Home
SyncMOS MSM9059 User`s Manual
Contents
1. GoTolsp Specifications subject to change without notice contact your sales representatives for the most recent information ISSFT 0041 8 Ver A 2011 04 oy 75 PR AY dE 0 A M 8 yncMOS Technologies International Inc SyncMOS 5 9059 User s Manual Note Please modify LJMP ISP start address according to IC model X SM59XX Series and SM59DXX Series using Timer1 as baud rate generator in ISP service code If using Timer2 as baud rate generator please write T2CON 0x00 before jumping ISP to avoid occupying UART port opecifications subject to change without notice contact your sales representatives for the most recent information ISSFT 0041 9 Ver A 2011 04 AES EGRE ak PRA 8 yncMO Technologies International Inc SyncMOS 5 9059 User s Manual 6 ICP introduction ICP In Circuit Programming is a method of directly programming ISP must have ISP boot code the IC but ICP don t need ISP boot code because built in the hardware structure of IC ICP Interface 5 9059 Windows application program SMAP ICP diagram opecifications subject to change without notice contact your sales representatives for the most recent information ISSFT 0041 10 A 2011 04 Ar Bl PR AL IRAM 8 5 05 Technologies International Inc SyncMOS 5 9059 User s Manual 7 Comparison between ISP and ICP ICP 3 Wires interface ICP 2
2. IC s internal hardware mechanism to enter the ISP code area Standard package 5 1 1 First address 0000 FFH Reset with first flash address blank 0000 will load the PC counter with start address of ISP code area 0 1 2 P2 6 P2 7 0 User can force IC enter ISP code area by setting P2 6 P2 7 active low during reset period 5 1 3 P4 3 0 User can force IC enter ISP code area by setting P4 3 active low during reset period The DIP package has no port 4 so QFP package and PLCC package support this function 0 1 4 Rx inputs 2 clocks Rx will be detected the two clock signals during hardware reset period opecifications subject to change without notice contact your sales representatives for the most recent information ISSFT 0041 7 2011 04 AE 7S AY ak PRA 8 yncMO Technologies International Inc SyncMOS 5 9059 User s Manual 5 2 Software ISP Execute jump instruction can load the start address of the ISP code area to PC counter For example insert Gotoisp a51 in the project of Keil C as shown in picture Target 1 Fly Source Group 1 SITARTUP A51 Gotoisp 5 Gotoisp a51 GOTOISP ASI NAME GOTOISP PR GotoIsp GOTOISP SEGMENT CODE PUBLIC Gotolsp RSEG PR GotoIsp GOTOISP USING 0 Gotolsp LJMP 03E00H 15 start address END User s program include lt h gt extern void GoTolsp void void main void if P4 3 0
3. aiD cu ks Adi ZN J pacceededi 7 Rese LY 11 3 Power on recording 1 User can easily program IC through SMAP software as long as power on user s target board SM59RXX and SM39RXX series have the ISP entry mechanism of Rx inputting 2 clocks exclusive of SM59R08 16A2 Other models need software method to detect Rx If it receive 5 commands of 0x69 PC counter will jump to address of ISP code area 2 Press Autorun then SMAP will display Detecting 0 Please reset MCU or power on your target board SMAP will start programming Detecting i m 6 abort 3 When finish programming shows MCU Reset Succeeded MCU Reset Succeeded opecifications subject to change without notice contact your sales representatives for the most recent information ISSFT 0041 21 A 2011 04 AES EGRE ak PRA 8 yncMOS Technologies International Inc SyncMOS MSM9059 User s Manual 11 4 User defined recording User can define command as entry ISP password through SMAP software to run programming 11 4 1 Operating steps 1 Program sample code and ISP code into the IC 2 Power on your target board and connect to your 5 9059 3 Select User defined and set baud rate speed according to customer s transmission speed For example we select 115200bps due to the sample code using 115200bps
4. Bn SMAP 2 1 BEREICHE SMAP V130 ISAP E ELS opecifications subject to change without notice contact your sales representatives for the most recent information ISSFT 0041 12 A 2011 04 AES EGRE ak PRA 8 SyncMOS Technologies International Inc SyncMOS MSM9059 User s Manual 9 SMAP settings 9 1 To select writer 9 1 1 There is shortcut on desktop after installing SMAP E amp i 9 1 2 When first open SMAP you can select M9M9059 or MSM9171 Please select MSM9059 then click lt OK gt AMAF Writer setting Please select a writer to start Writer 9059 MSM 9059 3171 9 1 3 SMAP will up main window You can change writer language or update firmware the setting window SMAP MEM 9050 92001072 MCU 59 57 e mee E Recording Mode Ex m ud L About Output On line ISP id Entering Setting mode vy Off line ISP Writer Online ICP MSM 9059 Change Clear Off line ICP Firmware COM3 Prolific USB to Serial Comm 7 Update Option Version Configuration Language English Reload the program Files automatically dE 8 SyncMOS Technologies International Inc Specifications subject to change without notice contact your sales representatives for the most recent information ISSFT 0
5. MEM 9059 21111072 sx MCU EMSOED4AZC 57 E T iE About Output Configuration On Line ISF Entering Setting mode Leaving betting mode Off line ISP Writer Entering On line ISP mode Connecting the writer J Connecting succeeded E MSM 9059 Leaving On line ISP mode Off line ICP Entering Setting mode Recording Mode Canning succeeded Firmware Erasing Erasing succeeded erammim succeeded COMS Prolific USB to Serial Comm I 7 gt Update Protecting Protecting succeeded Option i eu 1420 Resetting MCU Resetting MCU succeeded Connecting the writer Connecting succeeded Clear offline data Configuration Clear offline data succeeded Language English the program Files automatically Clear offline data succeeded 3 75 B PR dX SyncMOS Technologies International Inc opecifications subject to change without notice contact your sales representatives for the most recent information ISSFT 0041 15 A 2011 04 a PRA ak pH 5 yncMO Technologies International Inc SyncMOS 5 9059 User s Manual 9 3 Manual update for firmware 9 3 1 If automatic update failed you must use manual update You must push down the button and
6. 4 Load sample code into SMAP Key in your user defined command into SMAP according to your receive command of UART interrupt subroutine User defined command length range is between 1 32 byte and data type is hexadecimal LE SMAP 9059 200 1072 m Prolific USB to Serial Comm m Connect E Output Entering On line ISP mode Connecting the writer Off line SP Connecting succeeded OSC Freg 22 1184MHz On line ICP Off line ICP LIser defined 7 115200 bps 01 020304 08 06 07 08081011 1213 14 15 16 17 1819 20 21 22 23 24 25 26 27 28 29 30 31 34 Option Code Wser cammand isp asm hex iu Select 19 Setting GF621D Ed Sean tse Autoom S N ie Connecthnig succeeded tod bil 5 Press Autorun then SMAP will start programming When finish programming SMAP shows MCU Reset Succeeded Reset Succeeded Specifications subject to change without notice contact your sales representatives for the most recent information ISSFT 0041 22 Ver A 2011 04 11 4 2 Flowchart of 75 B AL ak Ep A 9 SyncMO Technologies International PC SMAP Send user defined command Fail Receive ACK Start ISP erase program protect reset SyncMOS MSM9059 User s Manual MCU Initial UART Run customer s main code Receive data Enter UART interrupt Ch
7. Wires interface 5 5964 SM5964A SM59128 SM592654 SM59D03 04G2 5 59 08 16 2 5 59 02 03 04 1 Supported SM59R04A2 5 59 05 09 16 5 59 05 09 16 5 SM59R05 09 16G6 SM59R01 02G1 SM39R20 4051 SM39R02 04G1 SM39R08 12 16A2 Update IC Only SM59RXX supported Yes vos configuration exclusive of SM59R08 16A2 supported GND RX TX VCC VCC GND TRIG CLK DATA VCC GND OCI_SCL OCI_SDA 1 Needed 0 5k ISP code 2 ICs have included ISP code before shipping Note exclusive of SM59R08 MA A 16A2 and SM39R02 04G1 User can use RS 232 or USB Advantages to execute functions of erase Not needed ISP code Not needed ISP code and program for MCU 5 59 02 03 04 1 SM59R04A2 5 5900362 S5M59R05 09 16A3 SM59D04G2 SM59R05 09 16A5 SM59R08A2 SM59R05 09 16G6 SM59R16A2 SM39R20 4051 SM39R02 04G1 5 39 08 12 16 2 opecifications subject to change without notice contact your sales representatives for the most recent information ISSFT 0041 11 A 2011 04 af RA ERA A Technologies International Inc SyncMOS MSM9059 User s Manual 8 Setup USB driver You can find PL 2303 USB Driver in start menu Please click PL 2303 Driver Installer to install ISP d E LJ PL 2303 Driver Installer 5 Reade s dm cms mi ae fe m SyncMos Jl Writers
8. jump to START dealy subroutine DELAY100MS MOV R5 10 Dealy 10x10ms 100ms DELAY 10MS MOV R6 50 delay time 10ms 11 0592MHz DELAYO 1 MOV R7 99 DJNZ R7 Inner loop delay DJNZ R6 DELAYO1 DJNZ R5 DELAY10MS RET TABLE_01 DB 11100111B DB 11000011B DB 10000001B Specifications subject to change without notice contact your sales representatives for the most recent information ISSFT 0041 Ver A 2011 04 AES AY ak PRA 8 yncMO Technologies Intemational Ine SyncMOS 5 9059 User s Manual DB 00000000B DB 10000001 DB 11000011B DB 11100111 DB 11111111B main code End SyncMOS GoToISP Subroutine SyncMOS GoToISP 47 72z zUART Timer1 setting MOV TMOD 00100001B Timer 1 is mode1 is mode 2 Timer 0 is mode 1 MOV TH1 40FFH baud rate 12T 3 579MHz 19200 11 0592MHz 57600 6 3 579 2 38400 11 0592 2 115200 TH1 0FEH baudrate 12T 14 31818MHz 38400 22 1184MHz 57600 14 7456MHz 38400 6 22 1184 2 115200 TH1 0FDH baudrate 12T 4MHz 7200 8MHz 14400 8 192MHz 14400 16MHz 28800 6 4 2 14400 8 2 28800 8 192 2 28800 16 2 57600 MOV TH1 Z0FCH baud rate 6T 14 31818MHz 38400 14 7456MHz 38400 MOV TH1 4 0FBH baud rate 12T 18 432MHz 19200 6T 18 432MHz 38400 MOV TH1 4 0F7H baud rate 12T 24 576MHz 14400 25MHz 14400 6 24 576MHz 28800 25MHz 28800 MOV TH1 4
9. 041 13 Ver A 2011 04 Ot RAL AE LOY AT RA yncMO Technologies International Inc SyncMOS 5 9059 User s Manual 9 2 Automatic update for firmware 9 2 1 Enter Recording Mode then click Connect If your firmware of 5 9059 is not fit the version of SMAP SMAP will pop up updating firmware window Please follow flow chart to update your firmware u SMAP MSM 9059 20111072 mx MCU SM59R0442C 5V HN Select IEE zx a Recording Mode L 8 a Ga Q COMS Prolife USB to Serial Comm 17 Connects 7 _ ering setting mode E Leaving Setting mode Off line ISF Entering On line ISP mode OSC Freq 221184 2 On line ICF TOD coming Manual Update Option x You must push down the button and plug 9059 mio a USE port at the same time Make sure no any LED is on after plugeme it in 9 2 2 Select FW 9059VXXX hex then click Opens 80 Th 7 90597 1420 hex Sect 4 Jr PEA Ee AF 45 TRIER ERIS aay opecifications subject to change without notice contact your sales representatives for the most recent information ISSFT 0041 14 Ver A 2011 04 a yncMO Technologies International Inc SyncMOS 5 9059 User s Manual 9 2 3 SMAP shows Clear offline data succeeded means finished firmware update
10. 0F5H baud rate 12T 20MHz 9600 6T 20MHz 19200 MOV TH1 0F3H baud rate 12T 6MHz 2400 12MHz 4800 24MHz 9600 6T 6MHz 4800 12MHz 9600 24MHz 19200 SETB TR1 enable Timer 1 10000000 set SMOD 1 Timer2 setting choise Timer 1 or Timer 2 as baud rate generator MOV RCAP2H 0FFH MOV RCAP2L 0FAH MOV T2CON 34H MOV SCON 01010000B serial mode 1 REN 1 0 RI 0 MOVIE Z90H UART interrupt MOV UARTCmdCount 00H RET UART INTERRUPT JB RLRX if RI 1 jump RX else clear CLR TI RETI RX CLR RI opecifications subject to change without notice contact your sales representatives for the most recent information ISSFT 0041 27 2011 04 of Bl PR AL IRAM 8 SyncMOS Technologies International Inc SyncMOS 5 9059 User s Manual PUSH ACC PUSH DPL PUSH DPH MOV A UARTCmdCount MOV DPTR ZCOMMAND TABLE MOVC A A DPTR CJNE A SBUF CLR UARTCmdCount INC UARTCmdCount MOV A UARTCmdCount CJNE A ZznCommandLength RETURN CLR EA MOV SBUF 5AH transmit MOV DPTR Z3E00H LJMP ISP code address PUSH DPL PUSH DPH JNB 9 CLR TI MOV 2 00 disabling T2 because using T1 baud rate generator in ISP code RETI CLR UARTCmdCount MOV UARTCmdCount 00H RETURN POP DPH POP DPL POP ACC RETI COMMAND TABLE DB 01H 02H 03H 04H 05H 06H 07H 08H 0 define command by user DB 09H 10H 11H 12H 13H 14H 1
11. 5H 16H DB 17H 18H 19H 20H 21H 22H 23H 24H DB 25H 26H 27H 28H 29H 30H 31H 32H END Note The sample codes attach SMAP setup directory C Program Files SyncMOS SyncMOS Writers SMAP OnlineUpdate User defined Specifications subject to change without notice contact your sales representatives for the most recent information ISSFT 0041 28 Ver A 2011 04 MMA ROA RAA SyncMOS Technologies International Inc SyncMOS MSM9059 User s Manual 12 ICP tutorials 12 1 Please connect SCL SDA VCC GND with MSM9059 Press Autorun then will start ICP programming r J M M i 2 oe i amp MERI 1 DAMNA I C JURE rM i A 4 NL I 1 n an TL n Mi 1 F m MN EU m SD MMCI IRS MMC L 12 2 SCL SDA as GPIO that caused enter ICP mode failed As long as enter ICP mode during power on 1 Please power off your target board 2 Press Autorun then SMAP will display Detecting 0 Please reset MCU or power your target board SMAP will start programming Detecting Abort 3 When finish programming SMAP shows MCU Reset Succeeded NICU Reset Succeeded v Ahorn Specifications subject to change without notice contact your sales representatives for the most recent information ISSFT 0041 29 A 2011 04 oy 7 RAL ak RE A IRAM 8 yncMO Techn
12. 75 89 21 75 8D FF D2 8E 75 87 80 75 98 50 75 10060 90 75 20 00 22 20 98 03 Ce 99 98 CO CO 10070 82 CO 63 ES 2 90 2 93 BS 99 1 05 20 ES 20 10080 B4 20 l5 Ce AF 75 99 90 00 CO 82 CO 83 30 10090 99 FD Cz 99 75 00 32 75 20 00 DO 83 DO 82 DO ODAO 32 01 02 03 04 05 06 07 08 09 10 11 12 13 14 OOBO 15 l6 17 18 19 20 21 22 23 24 25 26 27 zB 29 30 100 0 31 32 FF FF FF FF FF FF FF FF FF FF FF FF FF FF 10000 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF GROPP EF FF FF REEF EE EE CEF EF FE FF PEP FE EE IIUEQ EF FEORFO PE ORF ORE SE EF 10110 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 10140 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF msn FF FF FF FF FF FF FF FF FF FF FF FF Close Close File buffer MCU buffer Specifications subject to change without notice contact your sales representatives for the most recent information ISSFT 0041 19 Ver A 2011 04 af RA RAD A SyncMOS Technologies International Inc SyncMOS MSM9059 User s Manual 11 ISP tutorials 11 1 Hardware connection modes 11 1 1 Please set your freque
13. configure the MCU by the below steps 4 1 SMB59XX and SM59DXX series Set N71 with universal programmer Config Setting N 8 0 00 N 7 0xF200h N 6 0xF400h N 5 0xF600h N 4 0xF800h N 3 0xFAQ0h N 2 0xFCOOh ee NEM NEM N 1 O0xFEOOh N 0 0xFFFFh Configure Config Sethng N 16 Final N 15 Final 3 75K N 14 Final 3 5K N 13 Final 3 25K 12 Final N 11 Final 2 75K N 10 Final 2 5K N 9 Final 2 25K N 8 Final 2K N 7 Final 1 75K N 6 Final 1 5K N 5 Final 1 25K N 4 Final 1K N 3 Final 0 75K N Final 0 5K N 1 Final 0 25K Mo Protect ISP Code E Eu S a a oa a oa e a a a e Configure Read Config Specifications subject to change without notice contact your sales representatives for the most recent information ISSFT 0041 5 Ver A 2011 04 AES EGRE ak PRA 8 yncMO Technologies International Inc SyncMOS 5 9059 User s Manual 4 3 Load ISP bin file according to your model then execute programming action ISP codes attach SMAP setup directory C Program Files SyncMOS SyncMOS Writers SMAP ISP Specifications subject to change without notice contact your sales representatives for the most recent information ISSFT 0041 6 Ver A 2011 04 AES BRR AY PRA 8 SyncMO Technologies International Inc SyncMOS 5 9059 User s Manual 5 ISP entry mechanism Hardware ISP
14. eck data user defined data heck data number z nCommandLengt Send 0x5A LJMP ISP address opecifications subject to change without notice contact your sales representatives for the most recent information ISSFT 0041 Ver A 2011 04 of 7 Bl PR AL A 9 yncMO Technologies International Inc SyncMOS 5 9059 User s Manual 11 4 3 Sample code 1 Keil C main c GoTolSP_Low A51 main c Main include SM59D04G2 h program define nCommandLength 32 define Ox5A unsigned char Uart CmdCount unsigned char code CommandArray nCommandLength 0x01 0x02 0x03 0x04 0x05 0x06 0x07 0x08 0x09 0x10 0x11 0x12 0x13 0x14 0x15 0x16 0x17 0x18 0x19 0x20 0x21 0x22 0x23 0x24 0x25 0x26 0x27 0x28 0x29 0x30 0x31 0x32 extern GoToISP Low void delayms unsigned int mscnt unsigned int i while mscnt for i 0 i lt 250 i void init UART timer1 unsigned char BR SCON 0x50 serail mode 1 8 bit UART enable receive TMOD 0x22 timer 1 mode 2 8 bit reload PCON 0x80 SMOD 1 TH1 BR Baud 57600 fosc 22 1184MHz TR1 1 timer 1 run EA 1 all interrupt enable ES 1 UART enable void init UART timer2 unsigned int T2value RCAP2L char T2value RCAP2H char T2value gt gt 8 T2CON 0x34 SCON 0x50 EA 1 all interrupt enable ES 1 UART enable void mai
15. ing Manual z __ 10 1 2 Off line ISP You can send code to 5 9059 before programming 5 9059 doesn t connect to PC during ISP programming 10 1 3 On line ICP 5 9059 must connect to PC and program by IIC 10 1 4 Off line ICP You can send code to 5 9059 before programming 5 9059 doesn t connect to PC during ICP programming 10 2 Connecting COM Port Click Connect to link PC MSM9059 t3 COM3 Prolific LU BB ta Serial Comm 10 3 Selecting program files 10 3 1 Click Select then SMAP will pop up Select Program File s window Click Open to load your file XXX HEX or XXX BIN Code select Program File s x E Code concer Specifications subject to change without notice contact your sales representatives for the most recent information ISSFT 0041 17 Ver A 2011 04 Bl 6 2 9 3yncMO Technologies International Inc SyncMOS MSM9059 User s Manual 10 3 2 When you need to load main code and ISP code together you can load code and ISP separately elect Prooram Filets Initial Value Code CAProagram Filesieyne MOSS user command iso asm hex 7 ISP iCAPragram Filesi amp yncMOSi amp yncMO 58RO04A2 x Cancel Open 10 4 Configuration 10 4 1 Configuration option Please set needed option MSM9059 will program configuration during program pr
16. n void init UART_timer2 OxFFFA choise Timer 1 or Timer 2 as baud rate generator init_UART_timer1 OxFF SyncMOS_GoTolSP via UART ITH1 OxFF 12 3 579MHz 19200 11 0592MHz 57600 6T 3 579MHz 38400 11 0592MHz 115200 opecifications subject to change without notice contact your sales representatives for the most recent information ISSFT 0041 24 A 2011 04 of Bl PR AL IRAM 8 yncMO Technologies Intemational Ine SyncMOS 5 9059 User s Manual ITH1 OxFE 12 14 31818MHz 38400 22 1184MHz 57600 14 7456MHz 38400 6T 22 1184MHz 115200 1 OxFD 12 2 7200 8MHz 14400 8 192MHz 14400 16MHz 28800 11 6T 4AMHz 14400 8MHz 28800 8 192MHz 28800 16MHz 57600 I TH1 OxFC 6T 14 31818MHz 38400 14 7456MHz 38400 ITH1 OxFB 12 18 432MHz 19200 6T 18 432MHz 38400 ITH1 OxF7 12 24 576MHz 14400 25MHz 14400 6T 24 576MHz 28800 25MHz 28800 ITH1 OxF5 12 20MHz 9600 11 6T 20MHz 19200 ITH1 OxF3 12 6 2 2400 12MHz 4800 24MHz 9600 11 6T 6 2 4800 12MHz 9600 24MHz 19200 while 1 PO OxFO delayms 300 PO OxOF delayms 300 II P2 OxFO delayms 300 P2 OxOF delayms 300 void serial void interrupt 4 if SBUF CommandArray UartCmdCount UartCmdCount else UartCmdCount 0 RI 0 if UartCmdCount nCommandLength IE 0x00 disabling interrup
17. ncy of the target board Ost Freg 22 1184 Recording 11 0582MHz 12 2112 288MHz ol pa 14 31918MHz 14 7 458MHz 15MHz 24 5 7BMHz 25 11 2 Manual recording 11 2 1 Please let MCU enter ISP mode by hardware or software mechanism opecifications subject to change without notice contact your sales representatives for the most recent information ISSFT 0041 20 A 2011 04 IRA 8 yncMO Technologies International Inc SyncMOS 5 9059 User s Manual 11 2 2 Set chip frequency comport and select Manual 11 2 3 Select hex file or bin file and tick wanted functions of the recording block then click lt Autorun gt If you want single step operation you merely click Scan Chip Erase Program Protect lt MCU Reset bi aAa T HIM ANS Goo TIED MCU 5V Talari jaa m Recording Mode ial EE 08 te 6 COMs Prolific L E o Serial Comm Connect conde ug thee writer 15 Comm succeeded DC Tree 23 11 04 oC edunt oe Ema M ka bac ceed T hine 115200 bp Escunlang 1 Erang ICT faced el vase el Fro graning samla Option Code Gi um r camiin arm n a pau MEI Led MCU ducent
18. ng During the recording LED will flash yellow until the task is finished When the LED turn green the off line recording task is completed opecifications subject to change without notice contact your sales representatives for the most recent information ISSFT 0041 31 A 2011 04
19. ocess Output Configurations Watch Dog Watch Dog MCU Speed Speed B Pan Function Pin Function Reset Time Reset Time 3 ISP Block Is Black 3 ISP Entry Mech Addr GODOY FFH Addr fO000i FFH P2 B4PZ 7 0 2 P2 6 P2 7 0 2 Enable Ext ORC Disable 25 ns N 2 Power On Enabled Pad Reset Enabled Power On Enabled Pad Reset Enabled 10 4 2 Reading configuration Click Reading configuration icon to read configuration Specifications subject to change without notice contact your sales representatives for the most recent information ISSFT 0041 Ver A 2011 04 of 7 Bl PR AL A 9 SyncMOS Technologies International Inc SyncMOS 5 9059 User s Manual 10 5 Buffer 10 5 1 File Content Click to open file buffer 10 5 2 a MCU Content Click to open MCU buffer 10 5 3 2 ai Save The code will be saved as bin file 10 5 4 Refresh The code of file will be displayed to file buffer 10 5 5 Refresh The code of MCU will be displayed to MCU buffer File x 0000 01 25 FF FF FF FF FF FF FF FF FF FF FF FF FF FF 0010 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 10020 FF FF FF 01 65 11 50 90 00 46 78 00 79 06 93 0030 F5 80 90 11 3B 08 D9 F5 80 EF 7D VE 32 10040 63 DF FE DE Fa DD 22 E7 C3 81 00 81 FF 10050
20. of Bl PR AL IRAM 8 Technologies International Inc SyncMOS MSM9059 User s Manual SyncMOS MSM9059 User s Manual Supported devices SM59XX series SM59DXX series SM59RXX series SM39RXX series Table of contents opecifications subject to change without notice contact your sales representatives for the most recent information ISSFT 0041 1 Ver A 2011 04 AES AY ak PRA 8 yncMO Technologies International Inc SyncMOS MSM9059 User s Manual 13 2 Off line ISP Specifications subject to change without notice contact your sales representatives for the most recent information ISSFT 0041 2 Ver A 2011 04 of 7 RS AY RA 9 SyncMO Technologies International Inc SyncMOS MSM9059 User s Manual 1 Introduction 1 1 MSM9059 supports ICP and allows users to easily program a code into SM59DXX Series SM39RXX Series and SM59RXX Series without having to program the ISP Service CODE into Target IC The product also supports SM59XX Series SM59DXX Series SM39RXX Series and SM59RXX Series ISP 1 2 Supportable interfaces USB 2 Top view of 5 9059 USB Plug 2 GND POWER RSP PRIG LED OC SCLI CLK BUSY Yellow LED OCI SDA FAIL Red LED a s 4 B E Note 5 9059 can t provide Vcc power to target board but m
21. ologies Internotional Inc SyncMOS 5 9059 User s Manual 13 Off line tutorials 13 1 Off line ICP 13 1 1 Select the tasks you want to perform and click lt Autorun gt to allow the MSM9059 record all of the source code into its flash Then the massage will pop up Transmitting succeeded 4 hip Erase Autom 7 Blank Check Program Verity Protect Counter 1000 Read Counter Total NIL Real Transmitting succeeded 13 1 2 Disconnect USB and press button to perform off line recording During the recording LED will flash yellow until the task is finished When the LED turn green the off line recording task is completed If SCL SDA as GPIO as long as enter ICP mode during power on 13 2 Off line ISP 13 2 1 Select the tasks you want to perform and click Autoruns to allow the MSM9059 record all of the source code into its flash Then the massage will pop up Transmitting succeeded Chip Erase meem py Protect Reset Aviom Read Counter Transmitting succeeded Total NIL 008 Read Remain NIL Specifications subject to change without notice contact your sales representatives for the most recent information ISSFT 0041 30 Ver A 2011 04 of Bl PR AL IRAM 8 Technologies International Inc SyncMOS MSM9059 User s Manual 13 2 2 Disconnect USB and press button to perform off line recordi
22. plug 5 9059 into a USB port at the same time Then click Update button SMAP MEM 9058 2 00 1072 ze MCU SM58RD4AAC 57 Select Recording Mode dp x oe About C Output E On line ISP ii Entering Setting made Off line ISP Writer Online ICP MSM 9059 Change Clear Offline ICP Firmware COMS3 Prolific USB to Serlal Gomm S Updete Option hs Oo Version Update Option C Automatic Manual You must push down the button and plug 9059 mito a USB port at the same time Make sure no any LED is on after plugeme it in a 9 3 2 Select FW 9059VXXX hex then click Opens Sad 9059 Og em ee FM 905971490 hex e SUR 6 aeg F 90597 1420 hex gt S ERR CT HEX file hex 4 opecifications subject to change without notice contact your sales representatives for the most recent information ISSFT 0041 Ver A 2011 04 oy S 8 Technologies Internotional Inc SyncMOS 5 9059 User s Manual 10 User interface of SMAP 10 1 Operation modes Recording Mode On line ISF Off line ISP On line ICT ce Off line 10 1 1 On line ISP 5 9059 must connect and program by UART Please set frequency according to the target frequency OSC Freg 221184 IN Record
23. t SBUF nAckCommand while T1 TI 0 T2CON 0x00 disabling T2 because using T1 baud rate generator in ISP code GoToISP Low LJ MP ISP code address else 0 GoToISP Low GoToISP Low A51 A51 NAME GoToISP Low PR GoToISP Low GOTOISP LOW SEGMENT CODE PUBLIC GoToISP Low RSEG PR GoToISP Low GOTOISP LOW USING 0 GoToISP Low MOV DPTR Z3E00H LJMP ISP code address opecifications subject to change without notice contact your sales representatives for the most recent information ISSFT 0041 25 A 2011 04 e A 7h PR TRAY 5 3yncMO Technologies International Inc SyncMOS MSM9059 User s Manual PUSH DPL PUSH DPH RETI END 2 Assembly Desert ooa Main program nCommandLength EQU 32 setting command length by user UARTCmdCount EQU 20H T2CON EQU 0C8H RCAP2L EQU OCAH RCAP2H EQU OCBH ORG 0000H AJMP ISP Entry ORG 0023H AJMP UART INTERRUPT ISP Entry ACALL SyncMOS GoToISP initial setting main code start f LED display demo MOVDPTR ZTABLE 01 DPTR point to data area START MOV RO 0 MOV R1 8 8 datas LOOP MOV A RO put RO contect to A MOVC A A DPTR use indirect address get data and put into A MOV P0 A put ACC to Port 0 MOV P1 A put ACC to Port 1 DELAY100MS delay 0 1 second INC RO point to next data DJNZ R1 LOOP if R1 0 then jump to LOOP SJMP START if R1 0 then
24. ust connect to the target board s VCC opecifications subject to change without notice contact your sales representatives for the most recent information ISSFT 0041 3 Ver A 2011 04 of Bl PR AL IRAM 8 05 Technologies International Ine SyncMOS 5 9059 User s Manual 3 ISP introduction ISP In system programming is a function that allows user to directly update MCU code on system board For example With ISP firmware code residing in MCU user can select RS 232 or USB to execute functions of erase and program for MCU Before user uses ISP it is essential to program an appropriate ISP firmware code to MCU with writer first COM Port UART converter board USB converter board User s code Windows application program ISP code ISP system diagram SyncMOS provides application program and ISP source code for customer ICs have included ISP code before shipping exclusive of SM59R08 16A2 and SM39R02 04G1 For SM59R08 16A2 and 5 39 02 0461 ISP requirement please contact SycMOS or agent opecifications subject to change without notice contact your sales representatives for the most recent information ISSFT 0041 4 Ver A 2011 04 PR 8 SyncMO Technologies International Inc SyncMOS MSM9059 User s Manual 4 Configuration for ISP If IC has been erased by universal programmer please re programming ISP code with universal programmer The user should
Download Pdf Manuals
Related Search
Related Contents
Zur Erinnerung L esen Sie dieses Handbuch CD-240 Owner`s Manual Qware WII1510 game console accessory KOHLER K-CB-CLC2026FS Instructions / Assembly Jetzt downloaden ATD Tools Drill Atd-7452 User's Manual TP-LINK AV500 Klimagerät Nanyo 35AA 取扱説明書(PDF) Copyright © All rights reserved.
Failed to retrieve file