Very new to OpenXC, using chipkit, and creating custom firmware. I have set up my test environment and all was working with some basic custom firmware using passthrough.json. Things were finally progressing past set-up.
Unfortunately, after creating a custom .json file with bit numbering and custom messages I can no longer communicate with the hardware through openxc-dump or openxc-control version from command line. It seems like a driver issue or maybe a path issue but I have uninstalled and reinstalled python made sure it was 32 and not 64. Checked my Path requirements and reinstalled the USB backend. I am lost. Everything was working earlier today
Here is what I see when I try to open up the communication via CMD line and MicroUSB Any help is greatly appreciated.
Microsoft Windows [Version 10.0.10586]
(c) 2015 Microsoft Corporation. All rights reserved.
C:\Users\ryeom_000>cd Documents\GitHub\vi-firmware\script
C:\Users\ryeom_000\Documents\GitHub\vi-firmware\script> upload_hex.bat C:\Users\Ryeom_000\Documents\GitHub\vi-firmware\src\Build\CHIPKIT\vi-firmware-CHIPKIT.hex com3
ECHO is off.
ECHO is off.
avrdude.exe: no programmer has been specified on the command line or the config file
Specify a programmer using the -c option and try again
C:\Users\ryeom_000\Documents\GitHub\vi-firmware\script> upload_hex.bat C:\Users\Ryeom_000\Documents\GitHub\vi-firmware\src\Build\CHIPKIT\vi-firmware-CHIPKIT.hex com3
-q -V -p
-c -b -P
avrdude.exe: invalid baud rate specified '-P'
C:\Users\ryeom_000\Documents\GitHub\vi-firmware\script> upload_hex.bat C:\Users\Ryeom_000\Documents\GitHub\vi-firmware\src\Build\CHIPKIT\vi-firmware-CHIPKIT.hex com3
-q -V -p 32MX795F512L
-c stk500v2 -b 115200 -P com3
avrdude.exe: AVR device initialized and ready to accept instructions
avrdude.exe: Device signature = 0x504943
avrdude.exe: NOTE: FLASH memory has been specified, an erase cycle will be performed
To disable this feature, specify the -D option.
avrdude.exe: current erase-rewrite cycle count is -1145324613 (if being tracked)
avrdude.exe: erasing chip
avrdude.exe: reading input file "C:\Users\Ryeom_000\Documents\GitHub\vi-firmware\src\Build\CHIPKIT\vi-firmware-CHIPKIT.hex"
avrdude.exe: writing flash (257696 bytes):
avrdude.exe: 257696 bytes of flash written
avrdude.exe: safemode: Fuses OK
avrdude.exe done. Thank you.
C:\Users\ryeom_000\Documents\GitHub\vi-firmware\script>openxc-control version
Can't read logs from data source -- stopping: ("USB device couldn't be read", USBError(None, 'usb_reap: timeout error'))
Can't read from data source -- stopping: ("USB device couldn't be read", USBError(None, 'usb_reap: timeout error'))
Device is running version None
C:\Users\ryeom_000\Documents\GitHub\vi-firmware\script>openxc-dump
{"bus": 1, "data": "0x0027000000000000", "id": 0, "timestamp": 1471473976.871}
Can't read logs from data source -- stopping: ("USB device couldn't be read", USBError(None, 'usb_reap: timeout error'))
Can't read from data source -- stopping: ("USB device couldn't be read", USBError(None, 'usb_reap: timeout error'))
C:\Users\ryeom_000\Documents\GitHub\vi-firmware\script>