luminary.cfg 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  1. # SPDX-License-Identifier: GPL-2.0-or-later
  2. #
  3. # Luminary Micro Stellaris Evaluation Kits
  4. #
  5. # http://www.luminarymicro.com/products/evaluation_kits.html
  6. #
  7. # There are a number of evaluation kits for Stellaris Cortex-M3 chips.
  8. # Currently they all bundle ftdi based debug support. When that is
  9. # used (instead of an external adapter), use this config file in one
  10. # of these two modes:
  11. #
  12. # - Eval board debug ... debug of the Stellaris chip via port A.
  13. #
  14. # - Other board debug ... same thing, but the board acts as a debug
  15. # adapter for another board (using a standard ARM JTAG connector).
  16. # The Stellaris chip stays in reset.
  17. #
  18. # Those support both JTAG and SWD. SWD is an ARM-only two-wire debug
  19. # protocol; in 2009, OpenOCD does not support SWD.
  20. #
  21. # Port B of the ftdi chip is normally used as a serial link to the
  22. # Stellaris chip. On most boards (but not older LM3S811 eval boards),
  23. # when SWD is used Port B may instead be used to read low-bandwidth
  24. # "SWO trace" data, including so-called "printf style" output from
  25. # firmware via the ITM module as well as profile data.
  26. #
  27. adapter driver ftdi
  28. ftdi device_desc "Stellaris Evaluation Board"
  29. ftdi vid_pid 0x0403 0xbcd9
  30. ftdi layout_init 0x00a8 0x00eb
  31. ftdi layout_signal nSRST -noe 0x0020
  32. ftdi layout_signal SWD_EN -ndata 0x0080
  33. ftdi layout_signal SWDIO_OE -data 0x0008