Code: |
AS + 770 |
Symbolic: |
bccObjBlockList |
This command will list all loaded and instanced object blocks of the connected device: this is a standard download transfer sequence.
REQDATA structure is the following:
Offset |
Type |
Label |
Description |
---|---|---|---|
0 |
U32 |
FLAGS |
Request flags: 0x00000001 Compiler information 0x00000002 Instance information 0x00000004 Instance parameters 0x00000008 Instance occurrence |
If initial request fails, bccNack is received. Specific errors
NACK code |
Description |
Extra data |
---|---|---|
nackIllegalArgs |
Illegal parameters |
U16 What illegal: 1=Flags |
ITEMDATA structure is the following:
Offset |
Type |
Label |
Description |
---|---|---|---|
0 |
U16 |
RECID |
Record type ID: 1=General information 2=Compiler information 3=Instance information 4=Instance parameters 5=Instance occurrence |
2 |
U8[...] |
DATA |
Data according type ID |
Notes:
•Instance information and compiler information records are always referred to the previous general information record.
•Instance parameter records (multiple) are always referred to the previous instance information record.
•Instance occurrence records (multiple) are always referred to the previous instance information record.
Specific data for type 1 (general information):
Offset |
Type |
Label |
Description |
---|---|---|---|
+0 |
U32 |
FLAGS |
Class flags: (see HEADER.FLAGS in OBB file specifications) |
+4 |
U32 |
VERSION |
Class version (nvMake format) |
+8 |
U8 |
HH |
Compilation time (hour) |
+9 |
U8 |
MM |
Compilation time (minute) |
+10 |
U8 |
SS |
Compilation time (second) |
+11 |
U8 |
DD |
Compilation date (day) |
+12 |
U8 |
MM |
Compilation date (month) |
+13 |
U8 |
YY |
Compilation date (year - 2000) |
+14 |
U32 |
CID |
Class unique ID |
+18 |
U8[14] |
-- |
(reserved) |
+32 |
STRZ |
NAME |
Object block class name |
Specific data for type 2 (compiler information):
Offset |
Type |
Label |
Description |
---|---|---|---|
+0 |
U32 |
FLAGS |
Compiler flags: (none) |
+4 |
STRZ |
INFO |
Compiler informations |
Specific data for type 3 (instance information):
Offset |
Type |
Label |
Description |
---|---|---|---|
+0 |
U32 |
FLAGS |
Instance flags: (none) |
+4 |
U32 |
DIM |
Array dimension (0=none) |
+8 |
U32 |
IID |
Instance unique ID |
+12 |
U8[20] |
-- |
(reserved) |
+32 |
STRZ |
NAME |
Instance name |
Specific data for type 4 (instance parameter):
Offset |
Type |
Label |
Description |
---|---|---|---|
+0 |
U32 |
IIX |
Instance index |
+4 |
STRZ |
PARAM |
Instance parameter |
Specific data for type 5 (instance occurrence):
Offset |
Type |
Label |
Description |
---|---|---|---|
+0 |
U32 |
FLAGS |
Occurrence flags: (none) |
+4 |
U16 |
PID |
Owner process ID |
+6 |
U32 |
ADDR |
Occurrence address |