Need Help Setting up Zephyr VSCode #90388
Unanswered
MuhammadMohtashim
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to setup Zephyr through VSCode, and it just refuses to work.
I first tried to write Blinky to WeAct Black pill STM32F411CEU6 using opencd and the problem is
[stm32f4x.cpu] halted due to breakpoint, current mode: Thread
xPSR: 0x61000000 pc: 0x20000044 msp: 0x20000bdc
TargetName Type Endian TapName State
0* stm32f4x.cpu hla_target little stm32f4x.cpu halted
Info : Unable to match requested speed 2000 kHz, using 1800 kHz
Info : Unable to match requested speed 2000 kHz, using 1800 kHz
[stm32f4x.cpu] halted due to debug-request, current mode: Thread
xPSR: 0x61000000 pc: 0x20000044 msp: 0x20000bdc
Info : Unable to match requested speed 8000 kHz, using 4000 kHz
Info : Unable to match requested speed 8000 kHz, using 4000 kHz
Info : device id = 0x10006431
Info : flash size = 512 KiB
auto erase enabled
wrote 49152 bytes from file c:/Users/mmoht/zephyrproject/blinky/build/blackpill_f411ce/zephyr/zephyr.hex in 1.519997s (31.579 KiB/s)
Info : Unable to match requested speed 2000 kHz, using 1800 kHz
Info : Unable to match requested speed 2000 kHz, using 1800 kHz
shutdown command invoked
Then I thought I might try an ESP32.
Using default settings I get the error
-- west flash: using runner esp32
-- runners.esp32: reset after flashing requested
FATAL ERROR: required program C:/Users/mmoht/zephyrproject/external/modules/hal/espressif\tools\esptool_py\esptool.py not found; install it or add its location to PATH
Even though the esptool is in place and added to the path.
Using OpenOcd
-- west flash: rebuilding
ninja: no work to do.
-- west flash: using runner openocd
FATAL ERROR: hex file location is unknown. Try enabling CONFIG_BUILD_OUTPUT_HEX.
Beta Was this translation helpful? Give feedback.
All reactions