CANOpen testing tools failed
Issue Description
I tried running the test code by following the guidelines in the CANopenDemo test documentation
I used the demo device defined in this repository and connected it to canopend via vcan0. After executing the test script, several test cases failed.
Upon investigation, the failures seem to be caused by additional received EMCY (Emergency) messages.
Steps to Reproduce
- Set up the demo device as described in the repository.
- Connect to canopend using vcan0.
- Run the provided test script.
- Observe that some test cases fail due to unexpected EMCY messages.
Expected Behavior
All test cases should pass without receiving unexpected EMCY messages.
Actual Behavior
A few test cases fail because the node sends additional EMCY messages that are not handled or expected by the test.
Questions
- Am I missing any configuration or setup step?
- Are these test cases potentially outdated?
- Could you please suggest a solution or update the test cases to align with the latest CANopenNode behavior?
You receive emergency message on CAN address 0x84: 00 5001 2F 24000000 (little endian ?). See https://github.com/CANopenNode/CANopenNode/blob/master/301/CO_Emergency.h
You have CO_EM_NON_VOLATILE_MEMORY emergency. You must load or save non-volatile storage. See https://github.com/CANopenNode/CANopenDemo/tree/master/tutorial