All posts by RSR

VxWorks Basic and Frequent Command

출처 : http://csg.lbl.gov/pipermail/vxwexplo/2003-March/000762.html
http://www.dfcgen.de/refcards/vxworks.pdf
자주쓰는건 볼드처리

agentModeShow( ) – show the agent mode (*) (WindSh)
b( ) – set or display breakpoints (WindSh)
bd( ) – delete a breakpoint (WindSh)
bdall( ) – delete all breakpoints (WindSh)
bh( ) – set a hardware breakpoint (WindSh)
bootChange( ) – change the boot line (WindSh)
browse( ) – send a message to the browser asking it to browse an
address (*) (WindSh)
c( ) – continue from a breakpoint (WindSh)
cd( ) – change the default directory (WindSh)
checkStack( ) – print a summary of each task’s stack usage (WindSh)
classShow( ) – show information about a class of objects (*) (WindSh)
cplusCtors( ) – call static constructors (C++) (WindSh)
cplusDtors( ) – call static destructors (C++) (WindSh)
cplusStratShow( ) – show C++ static constructors calling strategy (*)
(WindSh)
cplusXtorSet( ) – change C++ static constructor calling strategy (C++)
(WindSh)
cret( ) – continue until the current subroutine returns (WindSh)
d( ) – display memory (WindSh)
devs( ) – list all system-known devices (WindSh)
h( ) – display or set the size of shell history (WindSh)
help( ) – print a synopsis of selected routines (WindSh)
hostShow( ) – display the host table (WindSh)
i( ) – print a summary of each task’s TCB, task by task (WindSh)
iStrict( ) – print a summary of all task TCBs, as an atomic snapshot(*) (WindSh)
icmpstatShow( ) – display statistics for ICMP (WindSh)
ifShow( ) – display the attached network interfaces (WindSh)
inetstatShow( ) – display all active connections for Internet protocol
sockets (WindSh)
intVecShow( ) – display the interrupt vector table (WindSh)
iosDevShow( ) – display the list of devices in the system (WindSh)
iosDrvShow( ) – display a list of system drivers (WindSh)
iosFdShow( ) – display a list of file descriptor names in the system(WindSh)
ipstatShow( ) – display IP statistics (WindSh)
l( ) – disassemble and display a specified number of instructions(WindSh)
ld( ) – load an object module into memory (WindSh)
lkAddr( ) – list symbols whose values are near a specified value(WindSh)
lkup( ) – list symbols (WindSh)
ls( ) – list the contents of a directory (WindSh)
m( ) – modify memory (WindSh)
memPartShow( ) – show partition blocks and statistics (WindSh)
memShow( ) – show system memory partition blocks and statistics(WindSh)
moduleIdFigure( ) – figure out module ID, given name or number (*)(WindSh)
moduleShow( ) – show the current status for all the loaded modules(WindSh)
mqPxShow( ) – show information about a POSIX message queue (*)(WindSh)
mRegs( ) – modify registers (WindSh)
msgQShow( ) – show information about a message queue (WindSh)
period( ) – spawn a task to call a function periodically (WindSh)
printErrno( ) – print the definition of a specified error status value(WindSh)
printLogo( ) – display the Tornado logo (WindSh)
pwd( ) – display the current default directory (WindSh)
quit( ) – shut down WindSh (*) (WindSh)
reboot( ) – reset network devices and transfer control to boot ROMs(WindSh)
repeat( ) – spawn a task to call a function repeatedly (WindSh)
routestatShow( ) – display routing statistics (WindSh)
s( ) – single-step a task (WindSh)
semPxShow( ) – show information about a POSIX semaphore (*) (WindSh)
semShow( ) – show information about a semaphore (WindSh)
shellHistory( ) – display or set the size of shell history (WindSh)
shellPromptSet( ) – change the shell prompt (WindSh)
show( ) – display information on a specified object (WindSh)
smMemPartShow( ) – show user’s shared memory system partition blocks
and statistics (*) (WindSh)
smMemShow( ) – show the shared memory system partition blocks and
statistics (WindSh)
so( ) – single-step, but step over a subroutine (WindSh)
sp( ) – spawn a task with default parameters (WindSh)
sps( ) – spawn a task with default parameters, and leave it suspended(*) (WindSh)
sysResume( ) – reset the agent to tasking mode (*) (WindSh)
sysStatusShow( ) – show system context status (*) (WindSh)
sysSuspend( ) – set the agent to external mode and suspend the system(*) (WindSh)
taskCreateHookShow( ) – show the list of task create routines (WindSh)
taskDeleteHookShow( ) – show the list of task delete routines (WindSh)
taskIdDefault( ) – set the default task ID (WindSh)
taskIdFigure( ) – figure out the task ID of a specified task (*)(WindSh)
taskRegsShow( ) – display the contents of a task’s registers (WindSh)
taskShow( ) – display task information from TCBs (WindSh)
taskSwitchHookShow( ) – show the list of task switch routines (WindSh)
taskWaitShow( ) – show information about the object a task is pendedon (*) (WindSh)
tcpstatShow( ) – display all statistics for the TCP protocol (WindSh)
td( ) – delete a task (WindSh)
tftpInfoShow( ) – get TFTP status information (WindSh)
ti( ) – display complete information from a task’s TCB (WindSh)
tr( ) – resume a task (WindSh)
ts( ) – suspend a task (WindSh)
tt( ) – display a stack trace of a task (WindSh)
tw( ) – print info about the object the given task is pending on (*)(WindSh)
udpstatShow( ) – display statistics for the UDP protocol (WindSh)
unld( ) – unload an object module by specifying a file name or moduleID (WindSh)
version( ) – print VxWorks version information (WindSh)
w( ) – print a summary of each task’s pending information, task by
task (*) (WindSh)
wdShow( ) – show information about a watchdog (WindSh)

UML 종류

배우긴 했는데… 하도 헷갈려서 찾아보니 정리가 잘되있다

https://www.lucidchart.com/pages/uml-tutorial

ACTIVITY DIAGRAMS
UML_activity_diagram-500x713

USE CASE DIAGRAMS
UML_use_case_diagram-500x403

CLASS DIAGRAMS
UML_class_diagram-900x320

SEQUENCE DIAGRAMS
UML_sequence_diagram-700x664

COMPONENT DIAGRAMS
UML_component_diagram-700x371

DEPLOYMENT DIAGRAMS
UML_deployment_diagram-700x505

ChromeOS 복구

지금 ChromeOS 복구 미디어를 만드려면 Chrome App을 설치해야된다…
예전에는 스크립트만 있으면 됫는데 싶어서 찾아보니 있다!!

https://dl.google.com/dl/edgedl/chromeos/recovery/linux_recovery.sh

설정파일
https://dl.google.com/dl/edgedl/chromeos/recovery/recovery.conf

내 크롬북에 맞는 이미지
https://dl.google.com/dl/edgedl/chromeos/recovery/chromeos_7834.70.0_x86-alex-he_recovery_stable-channel_alex-mp-v4.bin.zip

그냥 압축풀어다가 dd로 구우면된다

알리발 USB 3.0허브

http://www.aliexpress.com/item/High-Quality-Sliver-USB-3-0-HUB-4-ports-Splitter-Adapter-Aluminum-Hub-for-Apple-Macbook/32515102822.html

5.4$ 구매,  18일 쉬핑 30일 수령 셀러쉬핑, 송장 708665????2 (트래킹 불가)

납땜 눈감고 한듯… 아쉬운 마감(스크래치..) 가격이 모든걸 용서

노트북에 쓸려고하는데 우측에 꽂으니까 방향이 반대로 된다….
시간나면 납땜 다시해서 방향을 바꿔야지…

20160530_204452 20160530_204506 20160530_204535 20160530_204545 20160530_204553 20160530_204842

PL2303, CP2102, HC340, FT232

넷다 비슷한 기능의 USB to UART converter

FT232 1.3$정도 젤비쌈
비싼만큼 제일 무난
드라이버 지원도 잘되고 안정적인듯

PL2303 0.6$정도
개인적으로 고장이 잘남…
잘못사면 최신버전드라이버에서(윈도10 기준) 코드 10 에러남…
그럴땐 구버전 설치 pl2303_64bit_installer_3-3-2-102-exe

CP2102 1.2$정도
비싼만큼 내구성이 좋은듯 (근데 24v 인가하니까 듀금……..)

CH340 0.7$정도
짭두이노에 많이 들어있다는데…..
맥 드라이버 없다함/리눅스는 존재 , 아직 많이써보진 못함

내돈주고 산다면 CH340

http://www.rei-labs.net/usb-to-serial-ttlrs232-converter-comparison/