CANopen Bootloader Documentation
Version 4.10.00
|
This module holds the complete object dictionary of the CANopen Bootloader. The implementation file cbl_dict.c has a table (aDicTableG
[]) with all necessary entries of the communication profile CiA 301 and CiA 302-3.
The following table shows all objects available by the CANopen Bootloader protocol stack.
Index | Description | Function / Variable | Configuration Symbol |
---|---|---|---|
1000h | Device type | ulIdx1000_DeviceTypeG | - |
1001h | Error register | ubIdx1001_ErrorRegisterG | - |
1002h | Manufacturer status register | ulIdx1002_StatusRegisterG | - |
1008h | Manufacturer device name | aubIdx1008_DeviceNameG | CBL_DICT_OBJ_1008 |
1009h | Manufacturer hardware version | aubIdx1009_HwVersionG | CBL_DICT_OBJ_1009 |
100Ah | Manufacturer software version | aubIdx100A_SwVersionG | CBL_DICT_OBJ_100A |
1014h | COB-ID EMCY | - | CBL_DICT_OBJ_1014 |
1017h | Producer heartbeat time | - | - |
1018:01h | Vendor ID | ulIdx1018_VendorIdG | - |
1018:02h | Product code | ulIdx1018_ProductCodeG | - |
1018:03h | Revision number | ulIdx1018_RevisionNumG | - |
1018:04h | Serial number | CblMgrGetSerialNumber | - |
1F50h | Program data | - | CBL_PROG_MAX |
1F51h | Program control | - | - |
1F56h | Application software identification | aulIdx1F56_SoftIdentG[] | CBL_PROG_MAX |
1F57h | Flash status identification | aulIdx1F57_FlashStatusG[] | CBL_PROG_MAX |
Data Structures | |
struct | CblDicEntry_s |
Functions | |
CPP_CONST CblDicEntry_ts * | CblDictFindEntry (uint16_t uwIndexV, uint8_t ubSubIndexV, uint8_t *pubStatusV) |
CPP_CONST CblDicEntry_ts * CblDictFindEntry | ( | uint16_t | uwIndexV, |
uint8_t | ubSubIndexV, | ||
uint8_t * | pubStatusV | ||
) |
Find entry in object dictionary.
uwIndexV | index of entry |
ubSubIndexV | sub-index of entry |
pubStatusV | pointer to status |
This routine searches the dictionary for an entry defined by the parameters index and sub-index. On success, the pointer to the dictionary entry is returned. On failure the value 0L is returned. The status of the search routine is copied to the location pubStatusV. The following status codes are valid:
eCblDict_FOUND_OBJECT
: object was found (index and sub-index) eCblDict_FAIL_SUBINDEX
: index was found, sub-index not present eCblDict_FAIL_INDEX
: object not found (no index)