Posts: 85
Threads: 3
Joined: Apr 2020
Reputation:
6
It's not really how it should work and if I could I would solve it for you but I think that that test code of yours is not showing the problems you are actually facing. If I place the stack in the right position for the F429 (0x20050000) everything just works normal without any problems.
Perhaps that you are using a disco board with QSPI devices which are loaded by STutil?
Anyhow, if it's a bug in EBlink then sooner or later it will show up again
Posts: 40
Threads: 5
Joined: May 2020
Reputation:
0
I use the board of my own design. My colleague, who use the STM32CubeIDE for
another project on the same board, have no problems with debugging.
vdaniel
Posts: 40
Threads: 5
Joined: May 2020
Reputation:
0
I noticed that unlike other STM32 controllers with the FLASH sectors of the same size, e.g. 128K for the H7, the FLASH memory of the F722 have 4 sectors 16 K, one sector 64 K, and three by 128 K.
I think that this is the reason of the EBLink downloading error.
vdaniel
Posts: 40
Threads: 5
Joined: May 2020
Reputation:
0
The version 3.8 does not work too:
EBlink version 3.8-[30] by Gerard Zagema
Interface USB# : 003D002C3137510133333639
Interface type : STlink/V3
STlink connect : Under reset
Target voltage : 3.31V
Interface speed: 3300KHz
Target detected: Cortex-M7 (r1p1) with FPv5_SP
HW breakpoints : 8
HW watchpoints : 4
Fault unwind : Active break (level 2)
STmicro family : STM32F72x/73x
Detected FLASH : 0x80000
Configured RAM : 0x80000
GDB listening (127.0.0.1 @ 2331)
GDB connected
Flashing sector 0, address: 0x08000000, length: 0x8000
Flashing sector 1, address: 0x08008000, length: 0x8000
Flashing sector 2, address: 0x08010000, length: 0x8000
Flashing sector 3, address: 0x08018000, length: 0x3668
Reset: system
Target (forced) Exception!
[LR]: 0xFFFFFFFF
[PC]: 0x08017396
Additional Info:
Usage fault(s):
- Unaligned access fault
vdaniel
Posts: 40
Threads: 5
Joined: May 2020
Reputation:
0
With the 21 oct version
First time try Debugger:
Flashing sector 1, address: 0x08008000, length: 0x8000
ERROR: writing sector 1 failed! [Flash errors]
Reset: system
Target (forced) Exception!
[LR]: 0xFFFFFFFF
[PC]: 0x08017396
Additional Info:
Usage fault(s):
- Unaligned access fault
Third try:
Flashing sector 1, address: 0x08008000, length: 0x8000
Flashing sector 2, address: 0x08010000, length: 0x8000
Flashing sector 3, address: 0x08018000, length: 0x3668
Reset: system
Target (forced) Exception!
[LR]: 0xFFFFFFFF
[PC]: 0x08017396
Additional Info:
Usage fault(s):
- Unaligned access fault
vdaniel
Posts: 40
Threads: 5
Joined: May 2020
Reputation:
0
3.8(40) the same problem.
vdaniel
Posts: 40
Threads: 5
Joined: May 2020
Reputation:
0
3.8(42) the same problem.
vdaniel
Posts: 85
Threads: 3
Joined: Apr 2020
Reputation:
6
Solved in the 3.8 Dev branch
Posts: 40
Threads: 5
Joined: May 2020
Reputation:
0
Great now it works!
Thank you very much.
Varuzhan