Script Example: Firmware Reprogram

This is an example that shows how a developer can use the CANCapture scripting language to open a binary image from disk (i.e. a firmware image or configuration), read the data from the file, and transmit it onto the CANbus.

This is useful for implementing a custom reprogramming protocol or for any use where information from a file may need to be transmitted on the CANbus.

It is also a useful supporting example for anyone wishing to use the File I/O functions available in CANCapture scripts.

Sample Workspace Configuration and Script Output:

CANCapture and ECOM Knowledgebase