STM32L476G-EVAL and ST-LINK/V2 Connection Problem
Hello,
I can’t see anything on your pdf screenshot (too small) but anyway, check the board configuration script cfg produced, it should have:
- This is an L476_test board with a single STM32L476ZGTx chip.
- Generated by System Workbench for STM32
source find interface/stlink-v2.cfg
set WORKAREASIZE 0x18000
transport select “hla_swd”
source find target/stm32l4.cfg
- use hardware reset, connect under reset
reset_config srst_only srst_nogate
Then, maybe the jumpers on the eval board are at the wrong place.
Check that pwr_ext jumper is on.
That the jumper is on PSU for power supply and that the board has the external 5V supplied connected.
Check that no debug session are still running or openocd.exe task running.
And quit the stlink utility (or at least disconnect the session).
If this is still not working, what you can try also is to right click on the project name and do a Target->Erase chip before debug.
And why don’t you use the STLink V2-1 on the eval board to debug ?
Rgds,
Laurent