Name
camctl - Tool for filling CAM from file
Synopsis
camctl [-hV] [-b base_addr] [-d path] [-D[level]] [-f file] [-v[level]] [-x file]
Options
-bbase_addr- Component base address. Argument may be specified in octal, decimal or hex format according to prefix - "0", "", "0x".
-dpath- Path to device file to use. Default /dev/combosix/0.
-D[level]- Set debug level. Works only if compilled with -DDEBUG specified. The higher level, the more detailed information provided. Without argument level 0 is used as default. Argument stays tight to -D swith -D1 -D2.
-ffile- Source file with data to be written into CAM memory. Format of data
is as follows: "row_number data mask" where
row_numberis row number in decimal fomat starting from value 0,dataandmaskare in hex format without 0x prefix. Each row is on single line. -v[level]- Set verbosity level. The higher level, the more detailed information provided. Level 0 is basic level, level 2 is the most detailed. Without argument level 0 is used as default. Argument stays tight to -v switch -v0 -v1 -v2.
-xfile- Design.xml file to use for component mapping.
-h- Show program help.
-V- Show version.
Examples
- camctl -b 0x4000 -f cam_data.txt -v2
- Fill CAM from file cam_data.txt, unit is at base address 0x4000, verbose operation of level 2 (most detailed).


