Flashing updated firmware onto C5 OpenXC device

56 views
Skip to first unread message

Mitch Mitchell

unread,
Jan 21, 2018, 10:03:18 PM1/21/18
to OpenXC
I am trying to flash new firmware on to an OpenXC C5 device I purchased in March 2015 -- I believe it is the F3527C (at least that is the label on the packing slip, and on the device)

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.



Any thoughts?

Thanks!

Mitch Mitchell

unread,
Jan 21, 2018, 10:37:16 PM1/21/18
to OpenXC
Well I was able to successfully flash the device on a Windows 7 platform -- I guess the version of avrdude was the problem?!?

Eric Marsman

unread,
Jan 23, 2018, 9:40:39 AM1/23/18
to OpenXC
Yes, we had issues with the 6+ release of avrdude. We provide the 5.10 as part of the download package provided in step #1 here: http://vi-firmware.openxcplatform.com/en/master/_static/QuickStart%20guide%20to%20using%20C5%20Hardware%20and%20OpenXC.pdf


Regards,
Eric
Reply all
Reply to author
Forward
0 new messages