CANopenNode / CANopenDemo

CANopenNode tutorial and testing
Apache License 2.0
42 stars 30 forks source link

The domain demo program failed to read #6

Closed Ashenoneq closed 1 year ago

Ashenoneq commented 1 year ago

Hi! I put the domain demo application file on my device A, and then I used the SDO reader function on another device B to read the domain, but I found that it failed to read 1024 bytes, I changed here

static OD_size_t dataSize = 512

And it worked.

I wonder if the SDO read failed because 1,024 bytes were too many and the fifo was full?

Ashenoneq commented 1 year ago

OK,I think i figure out. Here the fifo size is set. here