Skip to main content
MLemd
Visitor II
November 14, 2018
Question

hello, how to program a STM32L151CBU6 without using JTAG?

  • November 14, 2018
  • 1 reply
  • 522 views

I use STM32CubeMX and IAR Embedded workbench. I find to test IAR example projets, but i get this error:

Fatal error: Cannot connect to J-Link via USB.  Session aborted!

    This topic has been closed for replies.

    1 reply

    Tesla DeLorean
    Guru
    November 14, 2018

    You have a J-Link, not an ST-LINK?

    The device is actually powered and functional?

    What exactly have you wired up? Can you provide a schematic, or partial one?

    With BOOT0 High the device will go into the System Loader, where you can try to connect via USART or USB, etc as supported. See App Note AN2606

    https://www.st.com/content/ccc/resource/technical/document/application_note/b9/9b/16/3a/12/1e/40/0c/CD00167594.pdf/files/CD00167594.pdf/jcr:content/translations/en.CD00167594.pdf

    Make sure VDDA is powered, check level on NRST. Check part orientation.

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