From: Rob M. <Rob...@u-...> - 2024-04-23 23:54:36
|
In addition, I just managed to get one success case, verbose log attached; I've cut the boring middle out of it so that it doesn't require moderator approval (the fail-case logs I sent earlier are awaiting moderator approval since the attachment size became rather large). This success case happened to be with stm32u5_CFGFILE2.cfg but I have had successes with the other configurations in the past, and failures with this one, so I can't say that's relevant. Rob -----Original Message----- From: Rob Meades Sent: Tuesday, April 23, 2024 10:44 PM To: Paul Fertser <fer...@gm...> Cc: Tommy Murphy <tom...@ho...>; ope...@li... Subject: RE: [OpenOCD-user] Anyone using STM32U5 with OpenOCD? Thanks for your support with all of this so far guys, really very useful indeed. Find attached logs with debug level 3 for the following fail cases of flash downloads to my NUCLEO U575ZI-Q board: 0. Using OpenOCD directly, original reset ("reset_config srst_only") : stm32u5_verbose_log_CFGFILE0.txt, stm32u5_CFGFILE0.cfg. 1. As (0) but with reset modified to match the Zephyr west openocd.cfg file ("reset_config srst_only srst_nogate connect_assert_srst"): stm32u5_verbose_log_CFGFILE1.txt, stm32u5_CFGFILE1.cfg. 2. As (1) but with the interface also modified to match the Zephyr west openocd.cfg file (i.e. interface/stlink-dap.cfg, transport select "dapdirect_swd"): stm32u5_verbose_log_CFGFILE2.txt, stm32u5_CFGFILE2.cfg. 3. Zephyr west using OpenOCD "out of the box", unmodified by me, which used to work but is now failing 'cos the board is in that kind of mood it would seem: stm32u5_zephyr_west_verbose.txt. All taken with OpenOCD 0.12.0-3, board power-cycled before each run. Are there any clues in there as to what I might be doing wrong? I've not been able to get a pass case again unfortunately. Rob |