Hi,--I have the CROSSCHASM C5 BLE VI and have been trying to flash it with the firmware on a Mac running OSX Sierra (10.12) but keep getting stk500_2_ReceiveMessage(): timeoutI'm running this:
avrdude -U flash:w:vi-firmware-FORDBOARD.bin -c stk500 -p 32MX795F512L -C avrdude.conf -P /dev/tty.usbmodem1411The device itself has a red flashing light when you connect it to USB and if I run the flashing command after the 5 seconds, the led turns blue but I still get the timeout error. If I run the command within 5 seconds, the led turns a redish/blueish mixed color and same timeoutThe device is indeed listed in /dev/tty.usbmodem1411This is the verbose output from avrdude:
avrdude: Version 5.10, compiled on Apr 24 2017 at 16:03:06Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/Copyright (c) 2007-2009 Joerg WunschSystem wide configuration file is "avrdude.conf"User configuration file is "/Users/marcos/.avrduderc"User configuration file does not exist or is not a regular file, skippingUsing Port : /dev/tty.usbmodem1411Using Programmer : stk500AVR Part : 32MX795F512LChip Erase delay : 9000 usPAGEL : PD7BS2 : PA0RESET disposition : dedicatedRETRY pulse : SCKserial program mode : yesparallel program mode : yesTimeout : 200StabDelay : 100CmdexeDelay : 25SyncLoops : 32ByteDelay : 0PollIndex : 3PollValue : 0x53Memory Detail :Block Poll Page PolledMemory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------eeprom 65 10 8 0 no 4096 8 0 9000 9000 0x00 0x00flash 65 10 256 0 yes 524288 256 2048 4500 4500 0x00 0x00lfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00hfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00efuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00lock 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00Programmer Type : STK500V2Description : Atmel STK500Programmer Model: STK500Hardware Version: 0Firmware Version Master : 0.00Topcard : UnknownVtarget : 0.0 VSCK period : 0.1 usVaref : 0.0 VOscillator : Offavrdude: AVR device initialized and ready to accept instructionsReading | ################################################## | 100% 0.00savrdude: Device signature = 0x504943avrdude: safemode: lfuse reads as 0avrdude: safemode: hfuse reads as 0avrdude: safemode: efuse reads as 0avrdude: NOTE: FLASH memory has been specified, an erase cycle will be performedTo disable this feature, specify the -D option.avrdude: erasing chipavrdude: reading input file "vi-firmware-FORDBOARD.bin"avrdude: input file vi-firmware-FORDBOARD.bin auto detected as raw binaryavrdude: writing flash (161664 bytes):Writing | | 0% 0.00savrdude: stk500_2_ReceiveMessage(): timeoutavrdude: stk500_2_ReceiveMessage(): timeoutAny suggestions?Thanks in advance!
You received this message because you are subscribed to the Google Groups "OpenXC" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openxc+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/openxc.
To view this discussion on the web visit https://groups.google.com/d/msgid/openxc/01262f11-84a1-4bd7-bf3d-715822d695c4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
$ openxc-control version --format protobufCan't read from data source -- stopping: ("USB device couldn't be read", USBError(60, 'Operation timed out'))Can't read logs from data source -- stopping: ("USB device couldn't be read", USBError(60, 'Operation timed out'))Device is running version None
$ brew install libusbWarning: libusb-1.0.20 already installedWarning: You are using OS X 10.12.We do not provide support for this pre-release version.You may encounter build failures or other breakages.Please create pull-requests instead of filing issues.
$ python --versionPython 2.7.10
To unsubscribe from this group and stop receiving emails from it, send an email to openxc+un...@googlegroups.com.