Configuration manager with DCF in object 0x1F22 rewritten almost from scratch.
1. The boot-up message from a device starts a verification of entries
2. If all entries matches the node is started
3. If an entry differs the whole dcf is written and a save is done
4. A reset is send to the node
5. If several boot-up are received at the same time they will be managed one
by one thus only one free sdo client is needed for the whole process.
SillySlave example for CANfestival
Its purpose is only to check if the selected
driver works at least a minimum. The PC running this demo
must be connected through CAN bus to a working master that
recognizes the slave nodeId. The slave should be configured
by the master, then switched to operative. After that, when
the master sends a SYNC, the slave answers with PDO1,
containing an integer that increments each time it is sent.
Please have a look to main.h to tune the master and slave node IDs
It's all. Enjoy it.
GMB
jan 17,2008