D14245.04—DECEMBER 2008 18
PrecisionHD 1080p Camera
User Guide
Remote control
Software upload commands
The CRC algorithm used is the same as in the XModem protocol. CRC for last data packet is only calculated
for the actual data bytes in the packet. Pad last packet with 0x00 so that the data section is 256 bytes long.
The PacketID counter starts at 0.
Command Command Packet Comments
SW start 8x 01 50 a2 0p 0q 0r 0s 0t 0u
0v 0w ff
pqrstuvw = size, pq=LSB
Returns y050ff if ok.
Fatal errors: Returns y06006ff
if upload already in progress.
Returns y06007ff if unable to
access the flash.
SW end 8x 01 50 a1 ff Sent after last SW packet,
instructs camera to verify
new application. Command
may take up to 30 seconds to
complete.
Returns y050ff if ok. Issue a
camera reboot to activate new
software.
Returns y06008ff if verification
of sw failed.
SW abort 8x 01 50 a3 ff Abort sw upload in progress
SW packet 8x a0 pp qq rr ss [256 bytes
data]
ppqq = 16 bit packet id,
pp=LSB
rrss = 16 bit CRC, rr=LSB
Returns y0 50 ff if packet ok.
-> send next one.
Returns y0 60 09 ff if crc error
-> retransmit packet.
Returns y0 60 0a ff if id error
-> retransmit packet
Fatal errors:
y0 60 0b ff not in upload mode
y0 60 0c ff error writing data
to flash
NOTE: Entire message after
8x a0... is raw data, so it may
contain 0xff. Header is kept as
short as possible. Never route
this message through Sony
cameras.
Debug commands
Never route these messages through Sony cameras. They are provided for Rover debugging only, and do
not conform to the Visca length requirements.
Command Command Packet Comments
CAM_PingPong_Reset 8x ae ff Reset ping ctr to 0.
CAM_Ping 8x af 0p 0q 0r 0s [256 bytes
data] ff
pqrs = Pingval. Camera will
respond with OK if correct
pingval received. Increase ctr
with 1 for next packet. Data
section will be dumped to
stdout if it fails.
CAM_Stdin 8x a4 [0-256 bytes stdin] 00 ff Send command to the
command interpreter.
CAM_Debug_Mode 8x 01 39 0q ff q=0: Debug mode off.
q=1: Debug mode on. Camera
will send stdout as visca
messages in the following
format:
y0 50 [0-256 bytes stdout] 00 ff
Other commands
Command Command Packet Comments
CAM_Boot 8x 01 42 ff Reboot the camera. This will
also reset serial speed to 9600.
CAM_Speed 8x 01 34 0p ff p=0: Serial speed 9600. p=1:
Serial speed 115200. Reply will
be sent before the speed switch
takes place. Please wait 20ms
after ok before sending new
commands.
What’s in this user guide?
Getting started
Connecting the camera
Making your own cables
Contact information