You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've recently noticed some issues with 0.36 release (also the 0.36-dev) series. Reverting to an earlier version of pyocd (in this case, 0.35-dev), and everything flashes (and functions) as expected.
[the pyocd.yaml file specifies the .pack to use, I'm using the one from https://github.com/IOsetting/hk32f030m-template/tree/main/Misc]
~/Embedded/HK32F030M-base/Projects/blink$ python3 -m pipx install git+https://github.com/pyocd/pyOCD.git
installed package pyocd 0.36.1.dev2, installed using Python 3.11.9
These apps are now globally available
- pyocd
- pyocd-gdbserver
done! ✨ 🌟 ✨
~/Embedded/HK32F030M-base/Projects/blink$ make flash
pyocd erase -c -t hk32f030mf4p6 --config ./Misc/pyocd.yaml
0001218 I Erasing chip... [eraser]
0001580 I Chip erase complete [eraser]
pyocd load ./Build/blink.hex -t hk32f030mf4p6 --config ./Misc/pyocd.yaml
0001203 I Loading /home/bdroy/Embedded/HK32F030M-base/Projects/blink/Build/blink.hex [load_cmd]
0001339 W T bit in XPSR is invalid; the vector table may be invalid or corrupt [cortex_m]
0001417 C target was not halted as expected after calling flash algorithm routine (IPSR=3) [__main__]
make: *** [rules.mk:117: flash] Error 1
PS D:[...]> pyocd erase --chip -t stm32l071cbtx
0001057 I Erasing chip... [eraser]
0001181 W T bit in XPSR is invalid; the vector table may be invalid or corrupt [cortex_m]
0001209 C target was not halted as expected after calling flash algorithm routine (IPSR=3) [main]
0.35.1 (same HW, did not even unplug the DAPlink):
So there definitely is an issue. I updated the pack to the current version (2.3.0?) which didn't fix the issue.
The MCU is obviously a STM32L071CBT6 (Cortex M0+)
I've recently noticed some issues with 0.36 release (also the 0.36-dev) series. Reverting to an earlier version of pyocd (in this case, 0.35-dev), and everything flashes (and functions) as expected.
[the pyocd.yaml file specifies the .pack to use, I'm using the one from https://github.com/IOsetting/hk32f030m-template/tree/main/Misc]
Also see #1646
The text was updated successfully, but these errors were encountered: