I am flashing this from a debian stretch machine using avrdude version 6.3 -- for some reason I cannot flash either the ford specific firmware or the generic firmware from the OpenXC site.
INPUT:
#!/bin/bash
#filename="vi-firmware-type2-CROSSCHASM_C5_BT-ctv7.2.0-csv7.0.0.hex"
filename="vi-obd2-firmware-CROSSCHASM_C5_BT-ctv7.2.0.hex"
location="/dev/ttyACM0"
read -n1 -r -p "Press any key within 5 seconds of connecting the device to start the flash..." key
avrdude -F -U flash:w:$filename -c stk500 -p 32MX795F512L -C ./avrdude.conf -P $location
OUTPUT:
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.00s
avrdude: Device signature = 0x303030
avrdude: Expected signature for 32MX795F512L is 50 49 43
avrdude: NOTE: "flash" memory has been specified, an erase cycle will be performed
To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: reading input file "vi-obd2-firmware-CROSSCHASM_C5_BT-ctv7.2.0.hex"
avrdude: input file vi-obd2-firmware-CROSSCHASM_C5_BT-ctv7.2.0.hex auto detected as Intel Hex
avrdude: ERROR: address 0x9d000100 out of range at line 2 of vi-obd2-firmware-CROSSCHASM_C5_BT-ctv7.2.0.hex <<<<<<<<<<<<<<<<<<<<<<<<<<<<
avrdude: read from file 'vi-obd2-firmware-CROSSCHASM_C5_BT-ctv7.2.0.hex' failed
avrdude: safemode: Fuses OK (E:50, H:58, L:50)
avrdude done. Thank you.