ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • stm32mp257f-ev1
    카테고리 없음 2025. 5. 18. 20:39

    아 글 쓰다가 컴꺼져서 싹 날라감

     

    openocd

    https://openocd.org/

     

    openocd를 받아서 board cfg를 설정하려하면 stm32mp25 라인이 없음

    stm32cube ide를 통해 필요한 cfg파일들을 잘 가져오자

    https://wiki.stmicroelectronics.cn/stm32mpu/wiki/GDB#cite_note-2

     

    board boot set(sw1)

    보드의 부트 스위치에서 0번과 1번을 1로 set한다. open이 0임

     

    openocd 실행

    C:\OpenOCD-20240916-0.12.0\bin\openocd.exe -f interface\stlink-dap.cfg -f board\stm32mp25x_dk.cfg -c "target smp off" -c "init" -c "halt" -c "targets"

     

    m0p는 계속 reset 되는데 일단은 모르겠음

     

    디버거 실행하고

     arm-none-eabi-gdb .\test0_CM33_NonSecure.elf

     

    target remote localhost:3333

    target remote extended localhost:3333

     

     

Designed by Tistory.