Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
STM32F756BGT6 - No valid STmicro device ID found
#1
The MCU is correctly detected via the ST-Link utility:
Code:
21:29:20 : ST-LINK SN : *
21:29:20 : V2J37S7
21:29:20 : Connected via SWD.
21:29:20 : SWD Frequency = 4,0 MHz.
21:29:20 : Connection mode : Connect Under Reset.
21:29:20 : Debug in Low Power mode enabled.
21:29:20 : Device ID:0x449
21:29:20 : Device flash Size : 1MBytes
21:29:20 : Device family :STM32F74x/F75x

However, in EmBitz 2.64 using EBlink 6.02-[198], the following issue occurs:
Code:
EBlink version 6.02-[198] by Gerard Zagema

Interface USB# : *
Interface type : STlink/V2
Target voltage : 3.21V
Interface speed: 4000KHz

Target detected: Cortex-M7 (r0p1) with FPv5_SP
HW breakpoints : 8
HW watchpoints : 4
Fault unwind   : Active (level 2)

ERROR: No valid STmicro device ID found

I resolved the issue by editing the stm32.script file. Specifically, I replaced:
["M7",  [0x5C001000],
with
["M7",  [0xE0042000],

After this change, device detection in EmBitz started working correctly.
Reply
#2
Hi,

The correct way to solve this is

Code:
["M7",  [0x5C001000, 0xE0042000],



You may add additional registers to the array. 
There are also M7 mcu's which are using 0x5C001000 and otherwise those are not findable.

I will add this to the script, thanks!

P.s
The 6.02(201) on github is modified
https://github.com/EmBitz/EBlink
Reply
#3
Hi,
Thanks for the clarification!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)