Misschien nog een aanvulling op dit topic.
Ik heb wat zitten klooien met de com21 serial link.
Op zich kun je weinig doen, maar als je die bootprocedure onderbreekt, kom je in een shell. Dan kun je o.a. vanalles gaan debuggen. Ik heb hier weinig verstand van, maar misschien dat een programmeur iets leuks ermee kan verzinnen.
[knip]
help Print this list
dbgHelp Print debugger help info
nfsHelp Print nfs help info
netHelp Print network help info
spyHelp Print task histogrammer help info
timexHelp Print execution timer help info
h [n] Print (or set) shell history
i [task] Summary of tasks' TCBs
ti task Complete info on TCB for task
sp adr,args... Spawn a task, pri=100, opt=0, stk=20000
taskSpawn name,pri,opt,stk,adr,args... Spawn a task
td task Delete a task
ts task Suspend a task
tr task Resume a task
d [adr[,nunits[,width]]] Display memory
m adr[,width] Modify memory
mRegs [reg[,task]] Modify a task's registers interactively
pc [task] Return task's program counter
version Print VxWorks version info, and boot line
Type <CR> to continue, Q<CR> to stop:
iam "user"[,"passwd"] Set user name and passwd
whoami Print user name
devs List devices
cd "path" Set current working path
pwd Print working path
ls ["path"[,long]] List contents of directory
ll ["path"] List contents of directory - long format
rename "old","new" Change name of file
copy ["in"][,"out"] Copy in file to out file (0 = std in/out)
ld [syms[,noAbort][,"name"]] Load stdin, or file, into memory
(syms = add symbols to table:
-1 = none, 0 = globals, 1 = all)
lkup ["substr"] List symbols in system symbol table
lkAddr address List symbol table entries near address
checkStack [task] List task stack sizes and usage
printErrno value Print the name of a status value
period secs,adr,args... Spawn task to call function periodically
repeat n,adr,args... Spawn task to call function n times (0=forever)
diskFormat "device" Format disk
diskInit "device" Initialize file system on disk
Type <CR> to continue, Q<CR> to stop:
squeeze "device" Squeeze free space on RT-11 device
NOTE: Arguments specifying 'task' can be either task ID or name.
value = 1 = 0x1
-> dbgHelp
dbgHelp Print this list
dbgInit Install debug facilities
b Display breakpoints
b addr[,task[,count]] Set breakpoint
bd addr[,task] Delete breakpoint
bdall [task] Delete all breakpoints
c [task[,addr[,addr1]]] Continue from breakpoint
cret [task] Continue to subroutine return
s [task[,addr[,addr1]]] Single step
so [task] Single step/step over subroutine
l [adr[,nInst]] List disassembled memory
tt [task] Do stack trace on task
lr [task] Display local registers
mLr [regName],[task] Modify local registers
grShow Display global registers
srShow Display special registers
cfg Give the system's cfg register value
cps [task] Give the task's cps register value
chc [task] Give the task's chc register value
cfgShow value Display meaning of cfg register value
cpsShow value Display meaning of cps register value
chcShow value Display meaning of chc register value
value = 639 = 0x27f = V_FILL + 0x23e
->
[plak]