Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
stm32F7 exception after flashing
#21
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
Reply
#22
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
Reply
#23
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
Reply
#24
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
Reply
#25
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
Reply
#26
3.8(40) the same problem.

vdaniel
Reply
#27
3.8(42) the same problem.

vdaniel
Reply
#28
Solved in the 3.8 Dev branch
Reply
#29
Great now it works!

Thank you very much.

Varuzhan
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)