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.
 
 
 
 
 
 

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