cancel
Showing results for 
Search instead for 
Did you mean: 

Cant connect to stm32 discovery

shinobi
Associate
Posted on October 01, 2011 at 00:11

I have a problem with stm32 discovery. I am using IAR 6.21.3 and I constantly get the following error:

Fatal error: Faild to read CPUID from Cortex device

Session aborted!

ST-Link Utility is also giving me an error:

No target connected

Everything was running fine up until recently when I changed rcc (rcc_cfgr to be precise) and this error popped up. Since then I can't make any kind of connection with the board.

Please, give me some suggestions as to what could have gone wrong and how to fix it. Thanks in advance!
This discussion is locked. Please start a new topic to ask your question.
2 REPLIES 2
Posted on October 01, 2011 at 05:02

Get BOOT0 High (SB16 Off), and BOOT1 Low (SB2 On - Default), it will then boot into the system loader instead of your application.

Also be sure to use SWD mode.
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
shinobi
Associate
Posted on October 01, 2011 at 19:18

It worked! Thank you so much!