emmebrusa / TSDZ2-Smart-EBike-1

TSDZ2 Open Source Firmware adapted to VLCD5-VLCD6-XH18 displays
GNU General Public License v3.0
133 stars 35 forks source link

getting error no matches found: stm8s105?6 when testing flash #30

Open mrulke opened 1 year ago

mrulke commented 1 year ago

everything seems to be going fine with the install doco but when running the test flash to backup the firmware I get the below

running controller % stm8flash -c stlinkv2 -p stm8s105?6 -r TSDZ2_orig.bin

not sure what that means I checked the wires and the stmv2 is lit up.

Dizotoff commented 1 year ago

Same here. Did you solve it somehow @mrulke ?

Could it be because of the incorrect installation of stm8flash ?

Dizotoff commented 1 year ago

@mrulke I think I've figured it out, just use quotation marks around stm8s105?6 like:

stm8flash -c stlinkv2 -p "stm8s105?6" -r TSDZ2_orig.bin

I took the responsibility and updated the guidelines accordingly. I think this issue can be closed now 🤗

Woobieman commented 1 year ago

I am seeing this same issue on MacOS 10.15 Catalina, quoting the parameter does not seem to work in zsh.

cravl-dev commented 1 year ago

I'm also using ZSH (on KDE Neon), and I had to escape the question mark with a backslash, no quotes needed even. I also needed sudo, of course.

sudo stm8flash -c stlinkv2 -p stm8s105\?6 -r TSDZ2_orig.bin

dzid26 commented 1 year ago

I'm also using ZSH (on KDE Neon), and I had to escape the question mark with a backslash, no quotes needed even. I also needed sudo, of course. sudo stm8flash -c stlinkv2 -p stm8s105\?6 -r TSDZ2_orig.bin

Is \ needed inside makefile too?