OpenOCD WrongDevice Detected - SensorTile
Hello,
I am running into a vexing problem and am hoping someone can give me some clues. Current problem is on MacOS but the same happens on windows 10.
+ Sensor Tile is hooked up to external USB power (tried plugged in as well) and to a Nucleo F411RE + Nucleo is into Mac USB. 2 red lights come on. Board shows up in Finder (Node_F411RE) + Downloaded the STSW-STLKT01-DataLog sample. + Open in Workbench + Compile ok, no error.
Then whether I try to run or run the debugger I always get: OpenOCD WrongDevice Detected
Here is the error log
Open On-Chip Debugger 0.10.0-dev-00007-g58350bc-dirty (2018-01-08-12:15)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
none separate
Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD
padded zone erase set to 1
adapter_nsrst_delay: 100
adapter speed: 480 kHz
Info : tcl server disabled
Info : telnet server disabled
Info : clock speed 1800 kHz
Error: init mode failed (unable to connect to the target)
in procedure ‘init’
in procedure ‘ocd_bouncer’
And then:
Error in final launch sequence
Failed to execute MI command:
-target-select remote localhost:3333
Error message from debugger back end:
localhost:3333: Operation timed out.
localhost:3333: Operation timed out.
+ I’ve tried setting up different board in the setup (both for the sensortile and the F411RE but the message stays exactly the same)
+ By the way, I used to get the “Device already in use message”, that went away when I changed the USB cord.
Help will be much, much appreciated as I’ve been trying to apply the different fixes suggested for similar issues without any luck
Gregory