/ÖÐÎÄ/
/ÖÐÎÄ/
/ÖÐÎÄ/
/ÖÐÎÄ/
/ÖÐÎÄ/
/ÖÐÎÄ/
/ÖÐÎÄ/
/ÖÐÎÄ/
/ÖÐÎÄ/
/ÖÐÎÄ/
Tera TermÐéÄâÖÕ¶ËÈí¼þÊÇÒ»¿î×Ô¶¯Ö´ÐÐÓë´ÓPC·¢ÆðµÄÔ¶³ÌÁ¬½ÓÏà¹ØµÄÈÎÎñ£¬Ö§³ÖTCP/IPÍøÂçÁ¬½ÓºÍ´®¿ÚÁ¬½Ó·½Ê½£¬Ö§³ÖSSH/Telnet¼°ÆäËû·þÎñ£¬¿É¶¨ÖÆ×Ô¼ºµÄ½Å±¾ÓïÑÔÌí¼ÓÀ©Õ¹¹¦ÄÜ¡£
Tera TermÊÇÒ»¿îÐéÄâµÄÖÕ¶ËÈí¼þ£¬Í¨³£ÓÃÓÚ×Ô¶¯Ö´ÐÐÓë´ÓPC·¢ÆðµÄÔ¶³ÌÁ¬½ÓÏà¹ØµÄÈÎÎñ£¬Ö§³ÖTCP/IPÍøÂçÁ¬½ÓºÍ´®¿ÚÁ¬½Ó·½Ê½£¬Ö§³ÖSSH/Telnet¼°ÆäËû·þÎñ£¬¿É¶¨ÖÆ×Ô¼ºµÄ½Å±¾ÓïÑÔÌí¼ÓÀ©Õ¹¹¦ÄÜ¡£
1¡¢Tera TermµÄÉèÖÃ
(1) ÔÚÆô¶¯ Tera TermµÄʱºò£¬»áµ¯³öÒ»¶Ô»°¿òÇëÑ¡ÖС°Serial¡±Ñ¡ÏÉèÖúö˿Ú
(2) ÏÈÉèÖÃĬÈ϶˿Ú(COM1,COM2µÈ)¼°ÓïÑÔ¾ßÌåλÖÃÔÚ Setup -> General ÖÐ
(3) È»ºóÉèÖÃ×ÖÌå(Èç¹ûÊÇÈÕÎĵĻ°£¬ÉèÖÃEUC,JISÖ®ÀàµÄ£¬Ó¢ÎÄÔòÃâÖ®)Èç¹ûÐèÒª½«PCÉÏÊäÈëµÄ×Ö·ûÏÔʾ³öÀ´µÄ»°£¬»¹µÃÉèÖá°Local echo¡±ÊôÐÔ¾ßÌåλÖÃÔÚ Setup -> Terminal ÖÐ
(4) ÔÙÉèÖúô®¿ÚͨѶËùÐèµÄ¸÷¸ö²ÎÊý£¬È磺¶Ë¿Ú(Port),²¨ÌØÂÊ(Baud rate),Êý¾Ý볤¶È(Data),ÓзñÆæżУÑ飬ֹͣλ(Stop)µÈ£¬¾ßÌåλÖÃÔÚ Setup -> Serial port
(1) ÏȽ¨ºÃÒ»ÆÕͨ¹¤³Ì(UNIT_PRJ.pjt)
(2) È»ºóÌí¼Ó×Ó¹¤³Ì£¬Æä²½Öè¼°ÉèÖÃÈçÏ£º
(a) Ñ¡Ôñ PROJECT->NEW,´´½¨Ò»×Ó¹¤³Ì
×¢£ºÉèÖà PROJECT TYPE Ϊ LIB ÀàÐÍ
(b) ±àÒë¼°Á¬½Ó²ÎÊýµÄÉ趨
(i) ±àÒëÓõÄBuildOptionµÄÉ趨
."-g" (Enables symbolic debugging) ÉèΪÓÐЧ
."-me" (Produces code for little-endian format) ÉèΪÓÐЧ
."-q" (Only source filenames and error messages are output) ÉèΪÓÐЧ
."-i" (Include Search Path) ÉèΪͷÎļþËùÔÚÎļþ¼Ð·¾¶£¬È磺"..\..\inc"µÈ
(ii) Á¬½ÓÓõÄBuildOptionµÄÉ趨
."-q" (Requests a quiet run (suppresses the banner)) ÉèΪÓÐЧ
."-x" (Exhaustively read libraries) ÉèΪÓÐЧ
."-c" (variables are initialized at run time) ÉèΪÓÐЧ
(c) ÔÚUNIT_PRJ.prjµÄDependent ProjectsÉÏÓÒ»÷£¬Ñ¡Ôñ Add Dependent Projects £¬½«ÐÂÉú³ÉµÄ×Ó¹¤³ÌµÄ¹¤³ÌÎļþ(*.prj)Ö¸¶¨
(d) ÓÒ»÷ UNIT_PRJ.pjt £¬Ñ¡Ôñadd files to project£¬½«ÐÂÉú³ÉµÄ×Ó¹¤³ÌµÄlibÎļþ×î¼Ó½øÈ¥
(e) ´ò¿ª¹¤³ÌUNIT_PRJ.pjtÖÐµÄ dm320.cmd×·¼ÓlibÎļþ.(ÓÃÓÚÖ¸¶¨text¿Õ¼äµÄSDRAM´«ËÍ)
¾ßÌåλÖÃΪ£º
.stext > FLASH4
.
.
.
..\UART\Debug\UART.lib(.text)
..\LEDB\Debug\LEDB.lib(.text)
---> (ÔÚÕâ¸öµØ·½Ìí¼ÓlibÎļþ·¾¶¼°Ãû×Ö)
(f) ±àÒëʱ
.¸÷×Ó¹¤³ÌµÄ±àÒë
(i) ÔÚÏë±àÒëµÄ×Ó¹¤³ÌÉÏÓÒ»÷£¬Ñ¡ÖÐset as active project
(ii) µã»÷ "build" °´Å¥
.Õû¸ö¹¤³ÌµÄ±àÒë
(i) ÔÚUNIT_PRJ¹¤³ÌÉÏÓÒ»÷£¬Ñ¡ÖÐset as active project
(ii) µã»÷ "build" °´Å¥
(g) Îļþ¼ÐµÄ¹¹³ÉUNIT_PRJ\INC £º¹«¹²incÎļþ¼Ð\lib £º¹«¹²libÎļþ¼Ð(rts32e.LIB,rts16e.LIBµÈ)\LEDB : Àý(²¿·Ö±àÒëÓÃPRJ)\UART : Àý(²¿·Ö±àÒëÓÃPRJ)\UNIT_PRJ : Õû¸ö¹¤³Ì±àÒëÓÃPJT
¹ØÓÚÌÚÅ£ | ÁªÏµ·½Ê½ | ·¢Õ¹Àú³Ì | °æȨÉùÃ÷ | ÏÂÔØ°ïÖú(£¿) | ¹ã¸æÁªÏµ | ÍøÕ¾µØͼ | ÓÑÇéÁ´½Ó
Copyright 2005-2022 QQTN.com ¡¾ÌÚÅ£Íø¡¿ °æȨËùÓÐ ¶õICP±¸2022005668ºÅ-1 | ¶õ¹«Íø°²±¸ 42011102000260ºÅ
ÉùÃ÷£º±¾Õ¾·ÇÌÚѶQQ¹Ù·½ÍøÕ¾ ËùÓÐÈí¼þºÍÎÄÕÂÀ´×Ô»¥ÁªÍø ÈçÓÐÒìÒé ÇëÓë±¾Õ¾ÁªÏµ ±¾Õ¾Îª·ÇÓ®ÀûÐÔÍøÕ¾ ²»½ÓÊÜÈκÎÔÞÖúºÍ¹ã¸æ