T32调试串口连接

来源:互联网 发布:淘宝哪家店衣服好看 编辑:程序博客网 时间:2024/05/16 13:00

1、跳转指令:go spiflash_init  注意是函数名即可,不需要加括号

2、$ sudo mount //shexsrv/to_internal/Platform/yanxia.dong /home/local/SPREADTRUM/yanxia.dong/exchange_files 

-o rw,uid=1488493574,gid=1488454145,file_mode=0775,dir_mode=0775,username=yanxia.dong,passwd=Dyx#0401

$ echo $PATH

3、D.LOAD D:\a7_minicode\minicode\out\test64\test64.elf /strippart 4 /sourcepath D:/

y.spath + 路径

data.load.elf E:/source/test.elf /PATH E:/source

y.spath 指定路径   /strippart 路径提取(extract)砍掉(截断)原始路径的几个  设成7

通过源码可以查看编译的路径

sourcepath:Define a new base directory for the source files in this program. This replaces the current working directory (that will be takes as a default).

PATH 可以设置多个  If the sources are not found within the directory of the object file, they are searched within the directories given by this option. 

The option without parameter searches in the current directory. The option can be specified more than one time to include more directories in the search path.

The command sYmbol.SPATH can be used to define more and permanent search routes.

4、SERIAL连接

UNIX系统上没有显卡或无法直接登陆控制器时RS232C SERIAL连接可替代原有的终端机以利用PC进行连接,非常方便。

如要通过Xshell使用SERIAL连接应在主机系统上安装串行接口(SERIAL Interface)。

如何进行SERIAL连接:

--1.     选择[文件]菜单的[新建]。出现新建会话属性对话框。

--2.     在[名称]中输入会话名。

--3.     在[协议]目录下选择SERIAL。

--4.     [类别]中选择[SERIAL]。

--5.     在[Port]项选择连接到已安装有Xshell的PC上的RS232C串行端口号。

--6.     在[Baud Rate]项下选择通讯速度,应与服务器的值保持一致,一般使用9600。

--7.     在[Data Bits]项下选择发送数据单位的位数,应与服务器的值保持一致。

--8.     在[Stop Bits]项下选择显示发送数据单位结尾的位数。按照服务器设置进行选择。

--9.     [Parity]用于验证发送资料的错误,按照服务器设置在None、Odd、Even、Mark和Space中选一。

--10.   点击[确定]以新建会话。

--11.   如“通过会话连接”单元的说明,可用创建的会话建立连接。