You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current implementation of the EMCY public API functions, COEmcySet( ), COEmcyClr( ), COEmcyGet( ), all have an err parameter of size uint8_t. This limits the size of the error table to 256 entries.
Since the error codes defined in 301 are 16-bit, there many more than 256 error codes available for use in a CANopen device.
It would be nice to allow more than 256 error table entries for targets that have the memory resources to support it.
Perhaps the size of the err parameter can be changed to be simply "unsigned", and allow the CPU architecture to determine how large the error table can be.
The text was updated successfully, but these errors were encountered:
The current implementation of the EMCY public API functions, COEmcySet( ), COEmcyClr( ), COEmcyGet( ), all have an err parameter of size uint8_t. This limits the size of the error table to 256 entries.
Since the error codes defined in 301 are 16-bit, there many more than 256 error codes available for use in a CANopen device.
It would be nice to allow more than 256 error table entries for targets that have the memory resources to support it.
Perhaps the size of the err parameter can be changed to be simply "unsigned", and allow the CPU architecture to determine how large the error table can be.
The text was updated successfully, but these errors were encountered: