2021-01-16 10:38 PM
11:42:17 **** Programming project stm32l4xx_drivers on chip ****
"C:\\Ac6\\SystemWorkbench\\plugins\\fr.ac6.mcu.externaltools.openocd.win32_1.23.0.201904120827\\tools\\openocd\\bin\\openocd.exe" -f stm32.flash.1849521082279362012.cfg -s "C:\\Users\\Hitesh\\Desktop\\MCU3\\stm32l4xx_drivers" -s "C:\\Ac6\\SystemWorkbench\\plugins\\fr.ac6.mcu.debug_2.5.0.201904120827\\resources\\openocd\\st_scripts" -c "program Debug/stm32l4xx_drivers.elf verify reset " -c shutdown
Open On-Chip Debugger 0.10.0+dev-00021-g524e8c8 (2019-04-12-08:48)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
srst_only separate srst_nogate srst_open_drain connect_assert_srst
Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD
padded zone erase set to 1
adapter speed: 8000 kHz
adapter_nsrst_delay: 100
Info : clock speed 8000 kHz
Info : STLINK v2.1 JTAG v35 API v2 M26 VID 0x0483 PID 0x374B
Info : using stlink api v2
Info : Target voltage: 3.237173
Info : Unable to match requested speed 8000 kHz, using 4000 kHz
Info : Stlink adapter speed set to 4000 kHz
Info : STM32L4R5ZITx.cpu: hardware has 6 breakpoints, 4 watchpoints
Info : Listening on port 3333 for gdb connections
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x080005f8 msp: 0x200a0000
Info : Unable to match requested speed 8000 kHz, using 4000 kHz
Info : Stlink adapter speed set to 4000 kHz
Info : Unable to match requested speed 8000 kHz, using 4000 kHz
adapter speed: 4000 kHz
** Programming Started **
auto erase enabled
Info : Device id = 0x10036470
Info : STM32L4xx flash size is 2048kb, base address is 0x8000000
Info : Erase the padded zone before the write
Error: Whole bank access must start at beginning of bank.
target halted due to breakpoint, current mode: Thread
xPSR: 0x61000000 pc: 0x20000050 msp: 0x200a0000
wrote 4096 bytes from file Debug/stm32l4xx_drivers.elf in 0.727408s (5.499 KiB/s)
** Programming Finished **
** Verify Started **
target halted due to breakpoint, current mode: Thread
xPSR: 0x61000000 pc: 0x2000002e msp: 0x200a0000
target halted due to breakpoint, current mode: Thread
xPSR: 0x61000000 pc: 0x2000002e msp: 0x200a0000
verified 3088 bytes in 0.886007s (3.404 KiB/s)
** Verified OK **
** Resetting Target **
shutdown command invoked
11:42:22 Build Finished (took 4s.837ms)
2021-01-22 06:15 AM
Error: Whole bank access must start at beginning of bank.
What is the address the project is using?
What configuration do you have in the Option Bytes?
Use the main forum rather than PM and emailing members.
Consider if the question presents the problem adequately.
If you have to bump a thread, consider adding additional information and context, add links to threads you think relate to the problem, and actions you have taken to resolve or understand the problem.