Step-by-Step: STM32 Development Environment with OpenOCD and Visual Studio Code (Linux)

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ม.ค. 2025

ความคิดเห็น • 25

  • @jasonw70
    @jasonw70 5 หลายเดือนก่อน

    Thank you for taking time to make this video. Excellent kickstart to developing for STM32 on Linux.

  • @tzioncastillo2804
    @tzioncastillo2804 8 วันที่ผ่านมา

    Super helpful, thank you!

    • @ekasusilo
      @ekasusilo  7 วันที่ผ่านมา

      Glad it was helpful!

  • @cantaff0rd2
    @cantaff0rd2 ปีที่แล้ว

    very nice worked from the first time like a charm amazing env vs code is my fav editor by far

  • @sabilibili2271
    @sabilibili2271 ปีที่แล้ว

    Finally!!!!! i get this work from here 😭
    Thanks sir!

  • @enlinea777
    @enlinea777 ปีที่แล้ว

    verry good work👍👍👍👍

  • @rithjosef-f3r
    @rithjosef-f3r 8 หลายเดือนก่อน

    Thank you dear .

  • @Toha_Bog
    @Toha_Bog ปีที่แล้ว +1

    when I am running this command I get this error:
    (Command)
    ./configure --prefix=/usr/local --enable-ftdi --enable-stlink --enable-jlink
    (Error)
    configure: error: libjaylink-0.2 is required for the SEGGER J-Link Programmer
    How can I install libjaylink-0.2?

    • @ekasusilo
      @ekasusilo  ปีที่แล้ว

      sudo apt-get install libjaylink

    • @amaarebrahim1849
      @amaarebrahim1849 ปีที่แล้ว

      I couldn't install libjaylink-0.2 with "sudo apt-get install libjaylink". I had to run "sudo apt-get install libjaylink0 libjaylink-dev"

  • @youtubetuts8743
    @youtubetuts8743 ปีที่แล้ว

    I followed your step-by-step guide. After changing the the directory to openocd and configuring, i get this: "make: *** No targets specified and no makefile found. Stop. " when i type make command
    Please help me.

    • @ekasusilo
      @ekasusilo  ปีที่แล้ว

      Check if there was no error during configure stage. That's the reason why the Makefile is missing?

  • @shreyasdeshpande9858
    @shreyasdeshpande9858 ปีที่แล้ว

    Hello Sir , I have followed everything and I in final step debugger also runs successfully, but I cant observe output on my board. I am using STM32F103 custom made board.I have choose the blink example accordingly. I have also changed Port and Pin numbers accordingly, but after debugging I cant observe blinking of the LED. but debugging starts successfully, I can step in each instruction.

    • @ekasusilo
      @ekasusilo  ปีที่แล้ว

      What port and pin number do you use?

  • @北科大-王裕誠
    @北科大-王裕誠 ปีที่แล้ว

    hello Sir,i meet some issue "Failed to launch GDB: Error finishing flash operation (from target-download)" i already follow your all step,pls help

    • @ekasusilo
      @ekasusilo  ปีที่แล้ว +1

      Please look at detail error messages. You can turn on raw GDB debugging messages and find out the root cause.

    • @北科大-王裕誠
      @北科大-王裕誠 ปีที่แล้ว

      ​@@ekasusilo it says Error: error writing to flash at address 0x08000000 at offset 0x00000000
      i search alot website but can't fix that (but thank you anyway)

    • @ekasusilo
      @ekasusilo  ปีที่แล้ว

      @@北科大-王裕誠 Is it a custom board of STM32F4 Discovery? If it is STM32F4 Discovery, please note that there are many hardware revision that may need some workaround to get it working

    • @ekasusilo
      @ekasusilo  ปีที่แล้ว

      @@北科大-王裕誠 Another thing, you may want to try to flash it with STLink Utility and see if it works. One way of debugging issue related to flashing

  • @yuuahmad
    @yuuahmad 4 หลายเดือนก่อน

    ditunggu versi bahasa indonesia-nya mas

  • @msbanda2123
    @msbanda2123 2 ปีที่แล้ว

    👍