Readme.txt 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /-------------------------------------\
  2. | Kendryte OpenOCD Win32 Binary |
  3. | version: 0.2.3 |
  4. | data: 2018/02/21 |
  5. \-------------------------------------/
  6. ===============================================================================
  7. Requirement
  8. ===============================================================================
  9. First, Run `zadig-2.4.exe` in `tool/`, `Options` -> `List all devices`, select
  10. your JTAG simulator and convert the vendor drivers to WinUSB drivers.
  11. ===============================================================================
  12. Quickstart
  13. ===============================================================================
  14. We have provided a template configuration for J-Link in `tcl/kendryte.cfg`,
  15. if you are using other JTAG simulators, please modify it yourself.
  16. We added a command line argument '-m', it can set the debug mode, now you have
  17. two options, `-m0` for debugging core 0 while `-m1` for debugging core 1, and
  18. the `-m0` is the default option.
  19. You can start the openocd simply by using the following command:
  20. ./bin/openocd -f ./tcl/kendryte.cfg -m0
  21. After OpenOCD startup, connect GDB with
  22. (gdb) target remote :3333
  23. then start your debugging! :)
  24. More information: https://github.com/kendryte/openocd-kendryte/wiki
  25. ===============================================================================
  26. Bug report
  27. ===============================================================================
  28. If you have some problems, you can open a issue at
  29. https://github.com/kendryte/openocd-kendryte/issues
  30. Thank you for your use.