The CLI for the TL866 (https://gitlab.com/DavidGriffith/minipro) now compiles and runs natively on Windows. I used the gcc that comes with strawberry perl:
D:\Source\minipro>gcc --version
gcc (x86_64-posix-seh, Built by strawberryperl.com project) 8.3.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Run make:
D:\Source\minipro>make
gcc -g -O0 -Wall -std=c99 -DSHARE_INSTDIR="\"/usr/local/share/minipro\"" -c -o xml.o xml.c
[code]
D:\Source\minipro>minipro -p 2764A@DIP28 -w total.hex
Found TL866II+ 04.2.123 (0x27b)
Warning: Firmware is newer than expected.
Expected 04.2.122 (0x27a)
Found 04.2.123 (0x27b)
VPP=12V, VDD=5.5V, VCC=5V, Pulse=1000us
Chip ID OK: 0x8908
Found Intel hex file.
Writing Code... 28.98Sec OK
Reading Code... 0.21Sec OK
Verification OK
hmm my compile under windows fails on jedec.o ... so something has changed:
C:\Users\Kris\Documents\MiniPro\minipro>make
process_begin: CreateProcess(NULL, which git, ...) failed.
Makefile:31: pipe: No error
process_begin: CreateProcess(NULL, which git, ...) failed.
Makefile:188: pipe: No error
"Creating version.h"
"#define GIT_BRANCH \""ormat:D | sed s/^.*\>\\s*//\"" >> version.h
"#define GIT_HASH \""ormat:H\"" >> version.h
"#define GIT_HASH_SHORT \""ormat:h\"" >> version.h
"#define GIT_DATE \""ormat:ci\"" >> version.h
"Creating version.c"
gcc -g -O0 -Wall -DSHARE_INSTDIR="\"/usr/local/share/minipro\"" -c -o xml.o xml.c
gcc -g -O0 -Wall -DSHARE_INSTDIR="\"/usr/local/share/minipro\"" -c -o jedec.o jedec.c
In file included from jedec.c:25:
version.h:1:1: error: expected identifier or '(' before string constant
"/*"
^~~~
C:\Users\Kris\Documents\MiniPro\minipro>gcc --version
gcc (x86_64-posix-seh, Built by strawberryperl.com project) 8.3.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Any chance you can share the compiled binary?
thanks
Kris