Chris Reed
Chris Reed
Please note that Mbed Studio uses a customised installation of pyocd. Although I'm perfectly happy to help with general pyocd usage, I can't support Mbed Studio's integration. So you really...
It looks like this a failure to load the J-Link shared lib .so. The actual error comes from the OS `dlopen()` call. It seems like it's a problem the OS...
This is the typical low power mode issue. A lot of more recent STM32 devices require the DBGMCU_CR power controls to be set to fully wake up the device prior...
Well, the quickest way to get it working is by adding a `pyocd_user.py` [user script](https://github.com/pyocd/pyOCD/blob/master/docs/user_scripts.md) such as this: ```py DBGMCU_CR = 0xE0042004 def will_init_target(target, init_sequence): def set_traceclken(): target.dp.write_ap(0x00, 0x23000052) #...
@jeromecoutant Absolutely, it should be handled. I'm currently implementing support for debug sequences from CMSIS packs. This will take advantage of the existing STM32 support that configures the DBGMCU registers....
@jeromecoutant I'm continuing development on debug sequence support. Sequences are working, with some minor unsupported features. Right now I'm focusing on integration with the rest of pyocd. It's almost finished....
(Apologies for taking a long time to reply! 🙇🏽) Thanks for providing a detailed report. The exceptions suggest that the XML from the CMSIS-Pack is malformed. I'll have to take...
Hi @pilcherd, thanks for all the details! The warnings about the RW_IRAM1 ELF section and overlapping memory regions are actually from gdb, not pyocd (the output is mixed in Mbed...
(Really sorry I didn't notice your replies!) The reason there are the overlapping RAM regions is because that's how they are defined in the CMSIS pack for the L4R5. It...
Hi @steprat, sorry for the slow reply, I was moving to a new house this past week. Is the pyocd command line in your description correct? It has `-0 connect_mode=under-reset`,...