目的:方便自己查阅
tftpboot 0x10000000 vxworks
bootelf 0x10000000
ifconfig "gem0 dowm"
ifconfig "gem0 inet 192.168.0.81"
ifconfig "gem0 lladdr 01:02:03:04:05:06:07"
ifconfig "gem0 up"
ld 0,1,"/mmc0:1/******.out
sp main
help
printenv
fatload mmc 1 0x10000000 vxworks&&bootvx 0x10000000
?
sf probe
sf erase 0 0x300000
tftpboot 0x10000000 BOOT.bin
sf write 0x10000000 0 0x300000
sf probe
tftp 0x1000000 BOOT.bin
sf update 0x1000000 0 0x300000
getcpuusage 查看任务负载
systime
ipconfig "gem0 = xxx.xxx.xxx.xxx"
ifconfig "Mask0 = "
ifAddSet "gem0 ..................up"
ifMaskSet "gem0.................up"
uartShow 查看串口收发
timeXN delay,100 测试函数执行时间
dosfsDiskFormat "mmc0:0"
memDevCreat "/mem1",buf,100
fd = open("/mem1",2,0)
logFdSet fd
logMsg "hello"
printLogo
d buf 滴数组名得到其首地址,再通过首地址来查看数组所存放的内容
sysTffsShow 查看tffs文件系统的映射地址
coreShow 显示板卡及cpu、ddr等信息
sp function [arg1].......[arg9] 启动并激活任务、优先级100 堆栈0x20000
help tt 显示任务函数的调用关系,解析堆栈
tr ts ti td
iosFdShow,查看打开文件的id列表
lkup "*****" List symbols from symbol table
lkAddr "****** " List symbols whose values are near a specified value
printError 给出近期的错误值
version 显示VxWorks版本号
h 显示近期输入的20个命令
shellHistory 设置或显示Shell命令
shellPromptSet( ) 改变C解释器Shell 提示
laddr,1000,2显示反汇编
period n ,function,[arg1].............[arg8]创建一个周期调用任务
repeat m,n,function [arg1]...........[arg8] 创建一个反复调用function的任务,周期为n秒,调用次数为m,m = 0 永久调用。
taskSwitchHookShow 显示任务切换调用例程列表
uld id 卸载模块
moduleShow
tcpStatShow
inetStatShow
tftpInfoShow
lkup "show" ***********************
ipStatShow
routestatShow
semShow
msgQShow
hostShow
shellHistory
stdioShow 打印io流中fp的信息
dosFsShow "/mmc0:1"
PciDeviceShow
bootChange
isrShow
m addr,2,10