Skip to main content
Kasapoglu.Orkun
Senior
April 6, 2017
Question

STM32F429ZI Keil v5 and STLink Debugger Access Corrupting While Debugging

  • April 6, 2017
  • 4 replies
  • 1515 views
Posted on April 06, 2017 at 15:27

The original post was too long to process during our migration. Please click on the attachment to read the original post.
    This topic has been closed for replies.

    4 replies

    Tesla DeLorean
    Guru
    April 6, 2017
    Posted on April 06, 2017 at 17:45

    Classic reasons for disconnection are resets, low power modes and _WFI, also reprogramming the GPIOA pins the SWDIO/SWCLK reside on.

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    Kasapoglu.Orkun
    Senior
    April 7, 2017
    Posted on April 07, 2017 at 17:36

    Thanks

    Turvey.Clive.002

    ‌. I've found something about that or not I don't know can you take a look at the updated question?

    Tesla DeLorean
    Guru
    April 7, 2017
    Posted on April 07, 2017 at 17:55

    I'd remove 

    SDRAM_GPIOInit(); from the loop, doing it 3 times is problematic. Do it once and early.

    I'll try and walk the code some more later. The GPIO Init stuff looks good as I scan through it. Consider initializing FMC for both THEN SDRAM for both rather than FMC+SDRAM twice.

    If you just enable one bank, do both work independently.

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..