Question
TARGETSEL problem with multidrop on STM32WL and U0
I am trying to do multidrop with STM32WL5MOC and STM32U031. I have some issues:
[1] When WL5MOC is the only active MCU in the circuit (U0 is not powered on) I cannot connect M4 core using TargetSel=0x04970041 option:
- I can connect to M0+ core using tagetsel (STM32_Programmer_CLI -c port=swd TargetSel=0x04970041 ap=1 mode=hotplug)
- If I try the same with ap=0, CLI cannot connect to M4 core and retires with ap=1 and then connects M0+ core again
- There is no issue when not using targetsel option and U0 is disconnected. I can connect both WL5 cores with ap=0 and ap=1 options.
[2] If I power on U0 and try multidrop, I cannot connect any of the cores of WL5:
- I can connect U0 with targetsel option(STM32_Programmer_CLI -c port=swd TargetSel=0x04590041 ap=0 mode=hotplug).. At first CLI cannot connect with ap=0 and retries with ap=1 and then connects.
- Interestginly If I try ap=1 directly, it cannot connect to U0 (STM32_Programmer_CLI -c port=swd TargetSel=0x04590041 ap=0 mode=hotplug)
Am I missing something?
