You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

262 lines
9.5 KiB

  1. /** @page tasks Pending and Open Tasks
  2. This page lists pending and open tasks being considered or worked upon
  3. by the OpenOCD community.
  4. @section thelist The List
  5. Most items are open for the taking, but please post to the mailing list
  6. before spending much time working on anything lists here. The community
  7. may have evolved an idea since it was added here.
  8. Feel free to send patches to add or clarify items on this list, too.
  9. @section thelisttcl TCL
  10. This section provides possible things to improve with OpenOCD's TCL support.
  11. - organize the TCL configurations:
  12. - provide more directory structure for boards/targets?
  13. - factor configurations into layers (encapsulation and re-use)
  14. - Isolate all TCL command support:
  15. - Pure C CLI implementations using --disable-builtin-tcl.
  16. - Allow developers to build new dongles using OpenOCD's JTAG core.
  17. - At first, provide only low-level JTAG support; target layer and
  18. above rely heavily on scripting event mechanisms.
  19. - Allow full TCL support? add --with-tcl=/path/to/installed/tcl
  20. - Move TCL support out of foo.[ch] and into foo_tcl.[ch] (other ideas?)
  21. - See src/jtag/core.c and src/jtag/tcl.c for an example.
  22. - allow some of these TCL command modules to be dynamically loadable?
  23. @section thelistjtag JTAG
  24. This section list issues that need to be resolved in the JTAG layer.
  25. @subsection thelistjtagcore JTAG Core
  26. The following tasks have been suggeted for cleaning up the JTAG layer:
  27. - use tap_set_state everywhere to allow logging TAP state transitions
  28. - rename other tap_states to use standard JTAG names (suggested by ML)
  29. - Encapsulate cmd_queue_cur_state and related varaible handling.
  30. The following tasks have been suggested for adding new core JTAG support:
  31. - autodetect devices present on the scan chain
  32. - implement 'discover_taps' command
  33. - SPI/UART emulation:
  34. - (ab)use bit-banging JTAG interfaces to emulate SPI/UART
  35. - allow SPI to program flash, MCUs, etc.
  36. @subsection thelistjtaginterfaces JTAG Interfaces
  37. The following tasks have been suggeted for improving OpenOCD's JTAG
  38. interface support:
  39. - rework USB communication to be more robust. Two possible options are:
  40. -# use libusb-1.0.1 with libusb-compat-0.1.1 (non-blocking I/O wrapper)
  41. -# rewrite implementation to use non-blocking I/O
  42. - J-Link driver:
  43. - fix to work with long scan chains, such as R.Doss's svf test.
  44. - FT2232 (libftdi):
  45. - make performance comparable to alternatives
  46. - make usability comparable to alternatives
  47. The following tasks have been suggested for adding new JTAG interfaces:
  48. - TCP driver: allow client/server for remote JTAG interface control.
  49. @section thelistswd Serial Wire Debug
  50. - implement Serial Wire Debug interface
  51. @section thelistbs Boundary Scan Support
  52. - add STAPL support?
  53. - add BSDL support?
  54. A few possible options for the above:
  55. -# Fake a TCL equivalent?
  56. -# Integrate an existing library?
  57. -# Write a new C implementation a la Jim?
  58. Once the above are completed:
  59. - add support for programming flash using boundary scan techniques
  60. - add integration with a modified gerber view program:
  61. - provide means to view the PCB and select pins and traces
  62. - allow use-cases such as the following:
  63. - @b Stimulus
  64. -# Double-click on a pin (or trace) with the mouse.
  65. - @b Effects
  66. -# The trace starts blinking, and
  67. -# OpenOCD toggles the pin(s) 0/1.
  68. @section thelisttargets Target Support
  69. - general layer cleanup: @par
  70. https://lists.berlios.de/pipermail/openocd-development/2009-May/006590.html
  71. - ARM11 improvements (MB?)
  72. - fix single stepping (reported by ØH)
  73. - implement missing functionality (grep FNC_INFO_NOTIMPLEMENTED ...)
  74. - Cortex A8 support (ML)
  75. - add target implementation (ML)
  76. - MC1322x support (JW/DE?)
  77. - integrate and test support from JW (and DE?)
  78. - get working with a known good interface (i.e. not today's jlink)
  79. - AT91SAM92xx:
  80. - improvements for unknown-board-atmel-at91sam9260.cfg (RD)
  81. - STR9x: (ZW)
  82. - improvements to str912.cfg to be more general purpose
  83. - AVR: (SQ)
  84. - independently verify implementation
  85. - incrementally improve working prototype in trunk. (SQ)
  86. - work out how to debug this target
  87. - AVR debugging protocol.
  88. - FPGA:
  89. - Altera Nios Soft-CPU support
  90. - Coldfire (suggested by NC)
  91. - can we draw from the BDM project? @par
  92. http://bdm.sourceforge.net/
  93. or the OSBDM package @par
  94. http://forums.freescale.com/freescale/board/message?board.id=OSBDM08&thread.id=422
  95. @section thelistsvf SVF/XSVF
  96. - develop SVF unit tests
  97. - develop XSVF unit tests
  98. @section thelistflash Flash Support
  99. - finish documentation for the following flash drivers:
  100. - avr
  101. - ecosflash
  102. - pic32mx
  103. - ocl
  104. - str9xpec
  105. @subsection thelistflashcfi CFI
  106. - finish implementing bus width/chip width handling (suggested by NC)
  107. - factor vendor-specific code into separate source files
  108. - add new callback interface for vendor-specific code
  109. - investigate/implement "thin wrapper" to use eCos CFI drivers (ØH)
  110. @section thelistdebug Debugger Support
  111. - breakpoints can get lost in some circumstances: @par
  112. https://lists.berlios.de/pipermail/openocd-development/2009-June/008853.html
  113. - integrate Keil AGDI interface to OpenOCD? (submitted by Dario Vecchio)
  114. @section thelisttesting Testing Suite
  115. This section includes several related groups of ideas:
  116. - @ref thelistunittests
  117. - @ref thelistsmoketests
  118. - @ref thelisttestreports
  119. - @ref thelisttestgenerichw
  120. @subsection thelistunittests Unit Tests
  121. - add testing skeleton to provide frameworks for adding tests
  122. - implement server unit tests
  123. - implement JTAG core unit tests
  124. - implement JTAG interface unit tests
  125. - implement flash unit tests
  126. - implement target unit tests
  127. @subsection thelistsmoketests Smoke Test Tools
  128. -# extend 'make check' with a smoketest app
  129. - checks for OOCD_TEST_CONFIG, etc. in environment (or config file)
  130. - if properly set, runs the smoke test with specified parameters
  131. - openocd -f ${OOCD_TEST_CONFIG}
  132. - implies a modular test suite (see below)
  133. - should be able to run some minimal tests with dummy interface:
  134. - compare results of baseline sanity checks with expected results
  135. -# builds a more complete test suite:
  136. - existing testing/examples/ look like a great start
  137. - all targets should be tested fully and for all capabilities
  138. - we do NOT want a "lowest common denominator" test suite
  139. - ... but can we start with one to get going?
  140. - probably requires one test configuration file per board/target
  141. - modularization can occur here, just like with targets/boards/chips
  142. - coverage can increase over time, building up bundles of tests
  143. -# add new 'smoketest' Makefile target:
  144. - calls 'make check' (and the smoketest app)
  145. - gather inputs and output into a report file
  146. @subsection thelisttestreports Test Feedback Tools
  147. These ideas were first introduced here: @par
  148. https://lists.berlios.de/pipermail/openocd-development/2009-May/006358.html
  149. - provide report submission scripts for e-mail and web forms
  150. - add new Makefile targets to post the report:
  151. - 'checkreportsend' -- send to list via e-mail (via sendmail)
  152. - 'checkreportpost' -- send web form (via curl or other script)
  153. @subsection thelisttestgenerichw Generic Hardware Tester
  154. - implement VHDL to use for FPGA-based JTAG TAP testing device
  155. - develop test suite that utilizes this testing device
  156. @section thelistautotools Autotools Build System
  157. - make entire configure process require less user consideration:
  158. - automatically detect the features that are available, unless
  159. options were specifically provided to configure
  160. - provide a report of the drivers that will be build at the end of
  161. running configure, so the users can verify which driverswill be
  162. built during 'make' (and their options) .
  163. - eliminate sources of confusion in @c bootstrap script:
  164. -# Make @c bootstrap call 'configure --enable-maintainer-mode \<opts\>'?
  165. -# Add @c buildstrap script to assist with boostrap and configure steps.
  166. - automatically build tool-chains required for cross-compiling
  167. - produce mingw32, arm-elf, others using in-tree scripts
  168. - build all required target code from sources
  169. - make JTAG and USB debug output a run-time configuration option
  170. @section thelistarchitecture Architectural Tasks
  171. The following architectural tasks need to be accomplished and should be
  172. fairly easy to complete:
  173. - clean-up code to match style guides
  174. - factor code to eliminate duplicated functionality
  175. - rewrite code that uses casts to access 16-bit and larger types
  176. from unaligned memory addresses
  177. - libopenocd support: @par
  178. https://lists.berlios.de/pipermail/openocd-development/2009-May/006405.html
  179. - review and clean up interface/target/flash APIs
  180. The following strategic tasks will require ambition, knowledge, and time
  181. to complete:
  182. - overhaul use of types to improve 32/64-bit portability
  183. - types for both host and target word sizes?
  184. - can we use GDB's CORE_TYPE support?
  185. - Allow N:M:P mapping of servers, targets, and interfaces
  186. - loadable module support for interface/target/flash drivers and commands
  187. - support both static and dynamic modules.
  188. - should probably use libltdl for dynamic library handing.
  189. @section thelistadmin Documentation Tasks
  190. - Develop milestone and release guidelines, processes, and scripts.
  191. - Develop "style" guidelines (and scripts) for maintainers:
  192. - reviewing patches
  193. - committing to Subversion
  194. - Review The Guide for OpenOCD Users for documentation errors or omissions
  195. - Update The Manual for OpenOCD Developerrs:
  196. - Add documentation describing the architecture of each module
  197. - Provide more Technical Primers to bootstrap contributor knowledge
  198. */
  199. /** @file
  200. This file contains the @ref thelist page.
  201. */