Wikia

CHDK Wiki

DryOS Shell

Talk0
565pages on
this wiki
Revision as of 05:34, January 21, 2012 by 83.236.58.48 (Talk)

DryOS Shell is available via UART Serial Connection with Camera.

Start Shell

On Camera Startup the Canon Event Shell is active.

To start DryOS Shell (Dry-sh) from Event Shell enter drysh:

Event[1]>drysh
=== Dry-shell start ===
Dry>

Available Commands

Dry> help
[Debug]
 task  sem  event  mq  mutex  timer  mkobjsize  extask  kill  suspend  resume
 release  delete  prio  mkcfg  meminfo  xd  xm  memmap  objinfo
[Misc]
 vers  exit  dminfo

Canon SD4000

UART Settings: 115200/8/1/N (115200 Baud)
Voltage Level: 3.3V
Pinout: SD4000

Some Example output:

Dry> vers
DRYOS version 2.3, release #0043
  Dry-MK 2.52
  Dry-DM 1.16
  Dry-stdlib 1.44
  Dry-efat 1.06 091030-3171+
  Dry-shell 1.15
  Dry-command alpha 050
Dry> mkobjsize
 sizeof(dlqueue_t) =   8
 sizeof(   task_t) =  84
 sizeof(    sem_t) =  24
 sizeof(  event_t) =  24
 sizeof(     mq_t) =  44
 sizeof(  mutex_t) =  28
 sizeof(  timer_t) =  40
Dry> objinfo
          MAX  COUNT   PEAK
task      104     63     71
sem       411    293    315
event     150     71     76
mq        120     85     95
mb          0      0      0
mutex     100     20     20
cond        0      0      0
timer       0      0      0
Advertisement | Your ad here

Around Wikia's network

Random Wiki