[SOLVED] RCC misconfiguration - cannot connect to MCU

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • [SOLVED] RCC misconfiguration - cannot connect to MCU

    Hi,

    I use a STM32F469IG and ported the Eval Firmware to the new PCB with 2 CPUs. Firmware runs only a RealTimeOS (Sciopta) and some Modules. I deactivated IOs (unfortunattely not all). The main thing I forgot was the RCC Config.
    So CPU should run on 560MHz.
    HSE = 25MHz
    PLL_M = 8
    PLL_N = 360
    PLL_P = 2
    -> 560MHz

    The Discovery Board runs with 8MHZ HSE which ends in 180MHz SystemClock.

    Now I cannot connect to it anymore. The JTAG Scan shows the ARM CoreSight JTAG Debug Port and the Boundary Scan Port. But my JLink is unable to reset the CPU.

    I attached some outputs.

    Are there any possiblilities to get into CPU again and do an erase?

    Kind regards
    Andreas
    Files
  • Hi Andreas,

    is the reset pin connected?
    You are using custom hardware (not an evalboard), correct?

    Best regards,
    Niklas
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.
  • Hello Niklas,

    thanks for your help.
    Problem
    solved. I set the BOOT0 Pint to 3.3V and the controller booted into
    Bootloader Mode. Then I was able to attach to it with the debugger and
    erase the flash.
    I adjusted the RCC Values for my custom board. Now Firmware is running.

    Kind regards
    Andreas
  • Hi Andres,


    thanks for the update and good to hear that you are up and running!

    Best regards,
    Niklas
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.