pyocd / pyOCD

Open source Python library for programming and debugging Arm Cortex-M microcontrollers
https://pyocd.io
Apache License 2.0
1.13k stars 483 forks source link

bug: PyOCD does not support flashing of LPCXpressp55S36 RevD1 (public release) #1629

Open butok opened 1 year ago

butok commented 1 year ago

PyOCD does not support flashing of the LPCXpressp55S36 RevD (public release), that contains the latest LPC55S36 v1 chip. During flashing it print error message: 0006181 C target was not halted as expected after calling flash algorithm routine (IPSR=3) [__main__] FATAL ERROR: command exited with status 1: pyocd flash -e sector -t lpc55s36 'C:\_ddm\ZEPHYR\zephyr_vs\zephyr\build\mcuboot\zephyr\zephyr.bin'

NOTE: The PyOCD supports the old LPCXpressp55S36 RevA board with an old LPC55S36 v0 chip (not public). Most probably the issue is caused by incompatible changes in new chip ROM.

butok commented 1 year ago

Hi @Hoohaha, could you look at this LPCXpressp55S36 RevD1 issue.