STM32-JLink Bad Command Error Upon Enabling PLL

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

  • STM32-JLink Bad Command Error Upon Enabling PLL

    Hello All,

    I did a search for PLL issues on this forum and came across nothing. My apologies if this one has been dealt with before.

    I am utilizing IAR EWARM V5.2, IAR J-Link and both the ST Eval Board and custom hardware (both running the STM32F103VBT6, Silicon Rev Y). Both have issues when my code enables the PLL. As soon as the STR instruction writes the PLL enable bit, I get a JLINK Bad command error and then the processor is done until I clear the Flash.

    My J-Link is V3.94. Any thoughts? experiences? Need more info?

    Thanks to all.

    Regards

    Russ L.
  • Adding newly learned info to my comments above:

    PLL multiplier of 5x or lower no problem. Higher multiplier- Jlink throws the BAD Command error and micro locks up. ?(

    I've played with JLINK speeds, JLINK.exe talks to it just fine and waveforms are spot on per Segger's troubleshooting.

    Regards,

    Russ