CANopenNode / CANopenEditor

CANopen Object Dictionary Editor
GNU General Public License v3.0
115 stars 57 forks source link

PDO Mapping 'Invalid' not work while 'Export CanOpenNode' #79

Closed JarvisXing closed 4 months ago

JarvisXing commented 4 months ago

If check TX/RX PDO Mapping Invalid checkbox, COB in TX/RX PDO Mapping will change. But COB-ID in Object Dictionary will not change. COB_IDUsedByTPDO is same as Object Dictionary in OD.c, so PDO->valid is always zero. Is it a bug or design?

trojanobelix commented 4 months ago

Seems to work as expected (Bugfix branch):

image image

}, .x1800_TPDOCommunicationParameter = { .highestSub_indexSupported = 0x06, .COB_IDUsedByTPDO = 0x80000180, .transmissionType = 0xFE, .inhibitTime = 0x1388, .compatibilityEntry = 0x00, .eventTimer = 0x03E8, .SYNCStartValue = 0x00 },

JarvisXing commented 4 months ago

thank you, my mistake. I didn't choose item.