Hi, I bought the parts for the bench tester excl the OBD port.
I’m trying to upload the files to the STM32 and getting the following error.
</>
AVAILABLE: blackmagic, cmsis-dap, jlink, serial, stlink
CURRENT: upload_protocol = stlink
Uploading .pio\build\bluepill_f103c6\firmware.elf
xPack OpenOCD x86_64 Open On-Chip Debugger 0.11.0+dev (2021-10-16-21:19)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
debug_level: 1
0x2ba01477
hla_swd
none separate
Warn : UNEXPECTED idcode: 0x1ba01477
Error: expected 1 of 1: 0x2ba01477
in procedure ‘program’
** OpenOCD init failed **
shutdown command invoked
*** [upload] Error 1
========================= [FAILED] Took 99.41 seconds =========================
</>
Also received the following error from Atom.
</>
Versions
Atom: 1.60.0 x64
Electron: 9.4.4
OS: Microsoft Windows 10 Pro
Thrown From: Atom Core
Stack Trace
Uncaught Error: The specified module could not be found.
\?\C:\Users\Windows 10 Pro\AppData\Local\atom\app-1.60.0\resources\app.asar.unpacked\node_modules\keyboard-layout\build\Release\keyboard-layout-manager.node
At electron/js2c/asar.js:140
Error: The specified module could not be found.
\\?\C:\Users\Windows 10 Pro\AppData\Local\atom\app-1.60.0\resources\app.asar.unpacked\node_modules\keyboard-layout\build\Release\keyboard-layout-manager.node
at process.func [as dlopen] (electron/js2c/asar.js:140:31)
at Object.Module._extensions..node (internal/modules/cjs/loader.js:1034:18)
at Object.func [as .node] (electron/js2c/asar.js:149:18)
at Module.load (internal/modules/cjs/loader.js:815:32)
at Module._load (internal/modules/cjs/loader.js:727:14)
at Function.Module._load (electron/js2c/asar.js:769:28)
at Module.require (/app.asar/static/index.js:72:46)
at require (internal/modules/cjs/helpers.js:74:18)
at customRequire (~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:1:802772)
at get_KeyboardLayoutManager (~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:14:2877135)
at get_manager (~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:14:2877237)
at Object.getCurrentKeyboardLayout (~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:14:2877363)
at e.keystrokeForKeyboardEvent (~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:14:1121318)
at KeymapManager.keystrokeForKeyboardEvent (~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:11:1225566)
at KeymapManager.handleKeyboardEvent (~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:11:1223551)
at WindowEventHandler.handleDocumentKeyEvent (~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:11:286682)
Commands
-4:44.2.0 platformio-ide:target:upload (input.hidden-input)
-4:44.2.0 platformio-ide:target:upload-C:\Users\Windows 10 Pro\Desktop\stm32_can_sim-main\stm32_can_sim-main (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)
Non-Core Packages
autocomplete-clang 0.13.1
build 0.70.0
busy-signal 2.0.1
file-icons 2.1.47
intentions 2.1.1
language-ini 1.25.0
linter 3.4.0
linter-gcc2 0.8.8
linter-ui-default 3.4.1
platformio-ide 2.7.2
platformio-ide-debugger 1.2.6
platformio-ide-terminal 2.10.1
tool-bar 1.4.4
Additional Information
I’m a complete novice but feel like I’ve got myself as far as I can on my own / reading your material.
Thanks for any help in advance.
Tom