Home

SONiX 8-Bit MCU Smart Development Adapter User Manual

image

Contents

1. Version Date Comments ene T C VER 1 0 1 0 Oct 2009 2009 First issue ae 1 Feb 2010 Add target board power supply description Update SDA figure and cable pin assignment description Add SN8 C Studio software installation information SONiX TECHNOLOGY CO LTD Page 2 Version I 1 N g O O E X Smart Development Adapter User Manual Table of Contents PAO MOM NE AIST ONY rssescenanssccccces stecuaceneesesstisaectogseususct E E E E tat eatew 2 De e E E E E ee er A 4 t ES ites ocr seeps estes ee ers psa cedars adnate aig E sie oeteocitet canara cinder c nate EE E S E 4 Tee Produc PAD OCA NCC pect cate cete netic setae a E subnet Sanaudueieanree genet seetesaatennes 4 2 Go C2 21109 ee eee ee ee eee eee ee ee rr ee 6 2 1 Installing the HardWal Ci asssczcxsqosnecateuaes canes mn cacexaneancen anana a peecoeeaiasetan Eaa EEr 6 2 2 Installing the OU A carseat gc ern aes ss ctecestinn darna a Eaten on sare oon fciee ocean cad tiene ia ana aE AaS aA ENEK ERAO 7 3 Slao B 0 0 6 eunneN ee ern PP EET ee eee eer eee 8 S 81 62 1 6 ie eee eee ene te ne S S ee ne eee eee eee 8 d Be 9 656 lev 5a ae mee nn ee ee eee ree 12 A FPUMIACUI ONS essecesetac cers ec ccs gee E E esos sas san senie eo aces dao sates en pounce E 12 42 02 2116 9g 0 eee eee ee eee ee 12 2 NO eerste n eget teendreams E EA 14 Dr ANON os sce science pense E E E E E ase O E E tere EE A 14 De POUDE SOON cscs
2. y O E X Smart Development Adapter User Manual SONIX 8 Bit MCU Smart Development Adapter User Manual Version 1 1 SONIX 8 Bit Micro Controller SONIX reserves the right to make change without further notice to any products herein to improve reliability function or design SONIX does not assume any liability arising out of the application or use of any product or circuit described herein neither does it convey any license under its patent rights nor the rights of others SONIX products are not designed intended or authorized for us as components in systems intended for surgical implant into the body or other applications intended to support or sustain life or for any other application in which the failure of the SONIX product could create a situation where personal injury or death may occur Should Buyer purchase or use SONIX products for any such unintended or unauthorized application Buyer shall indemnify and hold SONIX and its officers employees subsidiaries affiliates and distributors harmless against all claims cost damages and expenses and reasonable attorney fees arising out of directly or indirectly any claim of personal injury or death associated with such unintended or unauthorized use even if such claim alleges that SONIX was negligent regarding the design or manufacture of the part SONiX TECHNOLOGY CO LTD Page 1 Version 1 1 N No V OQ O p X Smart Development Adapter User Manual Amendment History
3. Run M2Asmxxx exe I M2ASM 091016 SH8Readme TXT Diab ti x Sale lo 2 Sa cea A w l zi x KEKHKHKKKHKKKKKKKKEEKEKKKKKEKEKEKEKEKEEEEKEEKKEKEKEKEKEEEEEEEEEEEEKEKEEKEKEKEKEEEEEEEEEEKEKEKEKEKEKEEEEKEEEEKEEEKEKEKEEKEKEKEEEEEN igs No Project SONiX 8 Bit MCU Development Tool Readme HHH HHH HHH HHH HHH HEHEHE HEHEHE HEHEHE HEHEHE HEHEHE HEHEHE HEHEHE HEHE EEE HEHEHE EEEEEEEEEEEEEEEEEEEKEEEEEEEKEEEKEHKEHKEHRHHREHEEHX HHH HHH HHH HHH HHH HHH HHH HHH HHH HH HEH HHH HHH HEHEHE HEHE HHH HEHEHE HEHEHE HHH HEHEHE HEHEHE HEHEHE HEEHEEHEHKEKEEEHEKEHHKKHKHKEHKEHRHHHREHHEH SONiX IDE 1691616 lt N691616 exe gt Only for SN8F27E65 Assembler and Debugger 1691616 lt N691616 exe gt Only for SN8F27E65 MP III Writer Software MPIIT Wt691616 lt MPIIT Wt691616 exe gt Date 16 16 2669 HEKCHEHEHHKKHKKEHKKHHEHHHEKEE HM TE FE HE FE HE HE HE HE HE HE HE HE HE HE HEHE HHH HEHEHE EEHHKHEHKKEHKHEHEHHRHREEHX WelCome to Sonix Developer Studio lt A gt Supporting Chip Welcome to SONIX Developer Studio SN8F27E65 8 Bit MCU Assembler and Debugger P are Marae Version 091016 ie ra ee Copyright C 2007 2010 by SONIX l Don t show SN8Readme txt at next time x wv lt gt Build Find in Files 1 Find in Files 2 Ready In 1 Coll NUM Figure 3 1 gt IDE debug menus and icon introduction Enter debug environment Go F5 Execute program Free Run Break F5 a Stop executing o Stop Debugging al i Leave debug
4. io_toggle_15_16 ASM io_toggle_15_16 AS PURPOSE Template Code for SN8F27E63 C Header Files REVISION 16 13 2669 U1 6 First issue E 3 HEHEHE EEE EEE EEE EE EEEEEEE EE EEE EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEKEEEEEKEKEKEKEKEEE c Copyright 2663 SONiX TECHNOLOGY CO LTD 5 HEHEHE EEEEEEEEEEEEEEEEEEEEEE EEE EEEEEEEEEEEEEEEKEKEKEEEEEEEEEEEEEEEKEEEEEKEEKEEEEKEEKEEEE CHIP SN8F27E65 For EV Chip select SN88X to use all function SHSF27E65 HEKKHHKHRKE Noise Filter ow Fepu WDT Clk Disable Flosc Flosc 4 HHH HHH HHH Securi Watch Do Enable bd Always_On bi High_Fepu LYD Fhosc 1 LYD_H KKK KKK HHH r High_Clk Reset_Pin pa IHRC_16M Poa Update Code Option Cancel wk 6 z Compile D program test code SN8F27E65 io_toggle_15_16 ASM l Find in Files 1 Find in Files 2 Ready In 21 Col 40 NUM Figure 3 3 gt Enter debug environment Go F5 E gt M2ASM 091016 Proj D program test code SN8F27E65 io_toggle 15 _16 PRJ io_toggle_15_16 ASM File Edit View Debug Utility Window Help EX lel 2 aola X count 61 1 i zjx io_toggle_15_16 files addbuf1 DS 1 Sq Source Files addbuf2 DS 1 A B 16116666 io_togele_15_ PFLAGBUF DS 1 PCL H 6x66 C Header Files PCH H oxo si ie Prac B 10001000 DLY4 DS 1 eee ene aaa eee H H 6x66 DLY2 DS 1 WB 43 27 Key_P equ P9 1 E ESE 4
5. E HE E HE HE E HE E HEHE HE HE E HE HE HEHE HEHE HE HH HEHEHE HH HEHE HEH HHH E E E E E E E E E E E E E E E E CODE ORG 6 Code section start jmp Reset Reset vector Address 4 to 7 are reserved ORG OCH jmp ISR_TCO ORG 15H 3 HHH HH HH HH HH HE HEHE HH HE HE HE HEHEHE HEH HEHEHE HEH HH HE HEHE HHH HEHE HEHEHE HH HE HEHE HEH HH HE HEHE HEHE HEHEHE HEHEHE HH HH HHH HHH HH E E E E E Reset mou A 67Fh Initial stack pointer and b 8mov STKP A disable global interrupt mov A 5Ah b 8mov WDTR A call C1irRAnH Clear RAN call SysInit System initial a iw F Compile D program test code SN8F27E65 io_toggle_15_16 ASH Link EPROM Check Sum is 466D Security Check Sum is 2232 Chip SN8F27E65 has maximum program ROM size 6146 The program has used size 115 6x73 The program remain free size 6625 for use lt gt Build Find in Files 1 Find in Files 2 Ready In 8 Coll CAP NUM Figure 3 5 SONiX TECHNOLOGY CO LTD Page 11 Version 1 1 SON X A Download SN8 file 4 1 Functions SDA can also update MCU program unnecessary ASM or C source code If SN8 file downloaded successfully and SDA cable is removed from target board MCU free run can be executed on target board it s self automatically when user return on the power on target board 4 2 Operation Steps gt Download F8 and open SN8 file F M2ASM 091016 Proj D Aprogram t
6. Installing the Hardware Starter kit or Target Board USB Cable to PC Modular Cable to Starter kit or Target Board Sonix IDE C Studio Figure2 1 Hardware connection diagram Hardware settings Starter kit or Target board is powered 1 USB cable connects to PC host Power switch On Off 2 USB cable connects with SDA 3 If link sucessfully Power LED light Color red SDA connects with Starter kit or target board un Stop LED ligh Color orange Execute IDE amp Enter debug environment Run Stop LED light Color green Figure2 2 Hardware installation flowchart SONiX TECHNOLOGY CO LTD Page 6 Version I 1 N moO Wy O O E X Smart Development Adapter User Manual 2 2 Installing the Software M2IDE gt Download M2IDE_Vxxx exe from SONIX official website www sonix com tw M2IDE_V124 or later version gt Run M2IDE_Vxxx exe to follow the instructions and install the software program SN8 C Studio gt Download SN8 C Studio Vxxx exe from SONIX official website www sonix com tw SN8 C Studio V138 or later version gt Run SN8 C Studio Vxxx exe to follow the instructions and install the software program SONiX TECHNOLOGY CO LTD Page 7 Version I 1 Tan o Wr 8 J w X Smart Development Adapter User Manual 3 Start to Debug 3 1 Operation Steps gt
7. eae vote TC6_P equ P6 6 een Sy eerie g FEIE IE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE HEHEHE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE EEK IE E E E EEI 2 E H 6x66 CODE STKP H x1F ORG 6 Code section start jmp Reset Reset vector sAddress 4 to 7 are reserved ORG OCH jmp ISR_TCO ORG 15H m HHH HHH HH HH HE HEHEHE HE HH HEHEHE HEHE HE HH E HE E HEHEHE E E E E E E E HEH HHH E E E E HHH E E E E E E E E E E E E E E E E E E E E Reset mov A 67Fh Initial stack pointer and b mov STKP A disable global interrupt z mars A H OAR Build Debug Find in Files1 F4 gt Watch 1 Watch 3 Watch 4 Ready Ln 57 Coll ICE Stop CAP NUM Figure 3 4 SONiX TECHNOLOGY CO LTD Page 10 Version 1 1 AT o WT O S gt Smart Development Adapter User Manual gt Leave debug environment Stop Debugging Shift F5 E5 M2ASM 091016 Proj D program test code SH8F27E65 io_toggle_15_16 PRJ io_toggle_15_16 ASM E4 File Edit View Debug Utility Window Help Dsm see lo e alaa ox SI I O O SI O Ie in I SI SI Ea E SE SI SI in on nS ee ee ee count 61 A g io_toggle_15_16 files addbuf1 Source Files addbuf2 io_toggle_15_16 A8 PFLAGBUF Header Files DLYS DS 1 DLY 1 DS 1 DLY 2 DS 1 Key_P equ P6 1 TCO_P equ P6 0 E m HEHE HE HE HE HE HE HE HE HE HE HE HE HE HE HE E E E HE E E E E E HE E HEHE
8. environment Shift F5 g Single F11 SONiX TECHNOLOGY CO LTD Page 8 Version I 1 Execute program step by step Do EO WAY O i O X Smart Development Adapter User Manual Execute program step by step but execute rapidly when met a function Step Out Execute rapidly within the function and Shift F11 withdraw when over Step Over F10 gt IDE debug menus and icon introduction Run to Cursor Ctrl F10 PC to Cursor F12 Remove All Breakpoints Ctrl Shift F9 FIIRAM __ Fill RAM Value Animate Single a Run the program automatically step by step Execute program step by step automatically but execute rapidly when met a function Animate StepOver gt Create a new project or build a new item E5 M2ASM 091016 Proj D program est code SN8F2Z7E65 0_ toggle 15 16 PRJ io togele 15 16 ASM E File Edit View Debug Utility Window Help 210 xX g HH HEHEHE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE FE JE E E FE A fps io_toggle 15_16 files FILENAME io_toggle_15_16 ASM 29 Source Files AUTHOR SONiX io_toggle 15 16 48 PURPOSE Template Code for SN8F27E63 Header Files REVISION 16 13 2669 U1 6 First issue JEJEJE E IE HEHE JE JE E HE JE JE JE JE JE JE HE JE JE JE JE JE HE JE JE JE JE JE JE JE JE HE JE JE J
9. tend oa cers seine EA EEE E E EEA EA 14 SONiX TECHNOLOGY CO LTD Page 3 Version I 1 Nh BO VAY OP i O E X Smart Development Adapter User Manual 1 Overview Smart Development Adapter SDA provides interface with in system debugging and programming function between PC host and target board SDA is convenient for users to debug their program and download SN8 file on line Note User must add power for target board Note Power on target board after SDA connected successfully with PC please refer to figure 2 2 1 1 Features gt USB HID Class driver Plug and Play gt Power on auto detecting and complete the link by target board 1 2 Product Appearance USB Port Power Link LED C Debug Mode LED D ho pin cable connect to target board 10 Pin cable pin assignment and pin description Pin Assignment illustration 1 3 5 7 9 10 2 v o 4 E Figure 1 1 SDA diagram SONiX TECHNOLOGY CO LTD Page 4 Version I 1 N mo Wy O O p X Smart Development Adapter User Manual SDA LED status information LED Name Description LED Color Power__ USB link successfully _ 1 SDA connects with target board successfully 2 Leave debug environment Run Sto P 3 Download SN amp file completed 1 Enter debug environment 2 Download SN amp file SONiX TECHNOLOGY CO LTD Page 5 Version I 1 NI f O LA Smart Development Adapter User Manual 2 2 1 Installation
10. 1 DS 1 Sy Source Files addbuf2 DS 1 io_togele 15 16 45 PFLAGBUF DS 1 Header Files DLY6 DS 1 DLY1 DS 1 DLY2 DS 1 Key_P equ P6 1 TC6_P equ P6 8 E HHH HHH HHH HHH HHH HHH EEEE EEE EEE E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E EE CODE ORG 8 Code section start jmp Reset Reset vector to 7 are reserved ORG ou Sonix Developer Studio OOA jmp ISR_TC ORG 15H YD Download OK 3 HEEHHHEHEEKEEKHEKKHKHHHKHHE HHH HEHEHE E E E E E E E E E E E E E E E E Reset mou 0ZF ack pointer and b 8movu STKP obal interrupt mou A 5Ah b6mov WDTR A call C1irRAH Clear RAN call SysInit System initial 3 A x scompite eee Link EPROM Check Sum is 466D Security Check Sum is 2232 Chip SN8F27E65 has maximum program ROM size The program has used size 115 6x73 The program remain free size 6625 for use lt j Find in Files 1 Find in Files 2 Ready SONiX TECHNOLOGY CO LTD LELLA D program test code SN8F27E65 io0_toggle_15_16 ASM 6146 lw Ln 57 Col 1 ICE CAP NUM Figure 4 2 Page 13 Version I 1 N Ao By Ss O E X Smart Development Adapter User Manual 5 Notice 5 1 Limitations gt Only support 6 breakpoints in IDE operating gt Do not support items following as Cycle display function Breakpoints function in debug command menu Prev Single Trace function in debug command menu Prev Trace function in debug
11. E JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE ME ME FE HE E HEE IEE E Be 5 le 2003 SONiX TECHNOLOGY CO LTD 7 HEHEHE HEEHKEEEHHEHRKEHHHHHHEHE HHH HH HHH HHH HEHEHE HH HHH HEEEEHEEEEEEEEEEEKHKEKHKHEHHRHKHHHRHHEE CHIP SNSF27E6S For EV Chip select SN88X to use e all Function m HHH HH HH HH HH HHH HHH HHH EEE EEE HEHEHE EEEEEEEEEEEEEEEEEEEEEEEEEKEEEEEEEEEKEEEEEKEKKKKEEEE Include Files m HHH HH HH HHH HHH EEEE E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E EE NOLIST do not list the macro file INCLUDESTD MACRO1 H INCLUDESTD MACRO2 H INCLUDESTD MACROS H m HHH HHH HEHEHE HH HEHEHE HE HH HE HEHE HEH HEHEHE HEH HE HE HEHEHE HE HEHEHE HHH HEHEHE HEHE HHH HEE EEE EEE EE EEE EEEEKEKEKEKKEKKEE LIST Enable the listing function DATA wk 66 DS 1 Temporary buffer for main loop wk 61 DS 1 wk 62 DS 1 mls AD ne 4 v amp gt gt Build Find in Files 1 Find in Files 2 Ready In 10 Col1 NUM Figure 3 2 SONiX TECHNOLOGY CO LTD Page 9 Version I 1 Smart Development Adapter User Manual gt Compile Build F7 and Code option settings I M2ASM 091016 Proj D program test code SNSF27E65 io_toggle 15 16 PRJ io toggle 15_16 ASM m HEHEHE EEE EE EE EHEEEE EEE EKEEEEEEEEEKEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEKEEKEEEKEKEEKEEEE j io toggle 15 16 files FILENAME
12. command menu Next Trace function in debug command menu 5 2 Troubleshooting gt When IDE Crashes during debugging please take following as Please remove USB cable from SDA and re plug again Return on the power of target board SONiX TECHNOLOGY CO LTD Page 14 Version I 1 N Ho By Ss O E X Smart Development Adapter User Manual SONIX reserves the right to make change without further notice to any products herein to improve reliability function or design SONIX does not assume any liability arising out of the application or use of any product or circuit described herein neither does it convey any license under its patent rights nor the rights of others SONIX products are not designed intended or authorized for us as components in systems intended for surgical implant into the body or other applications intended to support or sustain life or for any other application in which the failure of the SONIX product could create a situation where personal injury or death may occur Should Buyer purchase or use SONIX products for any such unintended or unauthorized application Buyer shall indemnify and hold SONIX and its officers employees subsidiaries affiliates and distributors harmless against all claims cost damages and expenses and reasonable attorney fees arising out of directly or indirectly any claim of personal injury or death associated with such unintended or unauthorized use even if such claim alleges that SONIX
13. est code SNSF27E65 io_togele 15 16 PRJ io_togele 15 _16 ASM 2 wola E A count 61 fs io_toggle_15_16 files addbuf1 S Source Files addbuf2 io_toggle_15_16 45 PFLAGBUF C Header Files DLYS DS 1 DLY1 DS 1 DLY2 DS 1 Key_P equ P6 1 Tc6 P equ P6 6 3 HHH HH HH HH HHH HH HH HH HH HEH HEH HEH HEH HHH HHH HHH HH HHH HHH HH HH HH HHH HHH HHH E E E E E E E E E E E E E E E E E E E CODE Elio ed E rollin scode SN8 tst EEEH HKKEKKHKKKKKKHKHKE Reset RB fio togele 15_16 SN8 RaR O tS S48H 1 SNS File sn8 Eviz call SysInit System initial i a M a M a a a a a a a a a M a a a E E E E E E E E E E E M E C M C E D C M M C M C D M E D C M E E D M M L v lt gt Compile D program test code SN8F27E65 io_toggle_15_16 ASHM Link EPROM Check Sum is 466D Security Check Sum is 2232 Chip SN8F27E65 has maximum program ROM size 6146 The program has used size 115 6x73 The program remain free size 6625 for use Build Find in Files 1 Find in Files 2 Ready Ln 57 Col1 CAP NUM Figure 4 1 SONiX TECHNOLOGY CO LTD Page 12 Version 1 1 Smart Development Adapter User Manual E File Edit View Debug Utility Wimdow Help Smart Development Adapter User Manual FS M2ASM 091016 Proj D program test code SHSF27E65 io_toggle 15 _16 PRJ io_toggle_15_16 ASM Dsm fle apo 2 alala x count 61 DS 1 A fRs io_togele_15_16 files addbuf
14. was negligent regarding the design or manufacture of the part Main Office Address 10F 1 No 36 Taiyuan Street Chupei City Hsinchu Taiwan R O C Tel 886 3 560 0888 Fax 886 3 560 0889 Shenzhen Office Address 2F T2 B Building GaoXin Ave 7 S South Hign Tech Industrial Park ShenZhen China Tel 86 755 267 19666 Fax 86 755 26719786 Taipei Office Address 15F 2 NO 171 Song Ted Road Taipei Taiwan R O C Tel 886 2 2759 1980 Fax 886 2 2759 8180 Hong Kong Office Address Flat 3 9 F Energy Plaza 92 Granville Road Tsimshatsui East Kowloon Tel 852 2723 8086 Fax 852 2723 9179 Technical Support by Email Sn8fae sonix com tw SONiX TECHNOLOGY CO LTD Page 15 Version 1 1

Download Pdf Manuals

image

Related Search

Related Contents

MDT2C12  Práctico - CTSol Arequipa  Pompe doseuse électromagnétique delta® DLTa à  Manual del propietario  disserta__o___m trocesso...___04.07.11  Vos enfants  Linksys EC1000 Network Card User Manual  Trendnet 1-Port Parallel Print Server  MyChron Light MCL User manual  el archivo de datos tecnicos en PDF  

Copyright © All rights reserved.
Failed to retrieve file