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.
 
 
 
 
 
 

335 lines
13 KiB

  1. <html>
  2. <meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
  3. <body>
  4. <h1>OpenOCD smoketest results</h1>
  5. These tests can be performed on any JTAG device as long as they are
  6. executed using the unmodified code from git.
  7. <p>The latest version in which the test is known to have passed is in the table below.</p>
  8. <h2>Vocabulary</h2>
  9. <table border="1">
  10. <tr>
  11. <td width="100">Passed version</td>
  12. <td>The latest branch and version on which the test is known to pass</td>
  13. </tr>
  14. <tr>
  15. <td width="100">Broken version</td>
  16. <td>The latest branch and version on which the test is known to fail. n/a when older than passed version.</td>
  17. </tr>
  18. <tr>
  19. <td width="100">ID</td>
  20. <td>A unqiue ID to refer to a test. The unique numbers are maintained in this file. Note that the same test can be run on different hardware/interface. Each combination yields a unique id. </td>
  21. </tr>
  22. </table>
  23. <p></p>
  24. <table border="1">
  25. <tr>
  26. <th width="100">Unique ID</th>
  27. <th width="165">Synopsis</th>
  28. <th align="center" width="110">JTAG device</th>
  29. <th align="center" width="110">Passed version</th>
  30. <th align="center" width="110">Broken version</th>
  31. </tr>
  32. <tr>
  33. <td >fill_malloc</td>
  34. <td width="165">Fill malloc() memory with garbage</td>
  35. <td align="center" >n/a</td>
  36. <td align="center" >n/a</td>
  37. <td align="center" >n/a</td>
  38. </tr>
  39. <tr>
  40. <td >ocd1</td>
  41. <td width="165">Telnet Windows</td>
  42. <td align="center" >n/a</td>
  43. <td align="center" >n/a</td>
  44. <td align="center" >n/a</td>
  45. </tr>
  46. <tr>
  47. <td >ocd2</td>
  48. <td width="165">Telnet Linux</td>
  49. <td align="center" >n/a</td>
  50. <td align="center" >n/a</td>
  51. <td align="center" >n/a</td>
  52. </tr>
  53. <tr>
  54. <td >ocd3</td>
  55. <td width="165">Telnet Cygwin</td>
  56. <td align="center" >n/a</td>
  57. <td align="center" >n/a</td>
  58. <td align="center" >n/a</td>
  59. </tr>
  60. <tr>
  61. <td ><a href="#test_ocd4">ocd4</a></td>
  62. <td width="165">ARM7 debugging</td>
  63. <td align="center" >n/a</td>
  64. <td align="center" >n/a</td>
  65. <td align="center" >n/a</td>
  66. </tr>
  67. <tr>
  68. <td >SAM9260</td>
  69. <td width="165">SAM9260 debugging</td>
  70. <td align="center">ft2232 </td>
  71. <td align="center">500</td>
  72. <td align="center">n/a</td>
  73. </tr>
  74. <tr>
  75. <td >xscale1</td>
  76. <td width="165">XScale debugging</td>
  77. <td align="center" >bitbang</td>
  78. <td align="center" >505</td>
  79. <td align="center" >n/a</td>
  80. </tr>
  81. <tr>
  82. <td >xscale2</td>
  83. <td width="165">XScale debugging</td>
  84. <td align="center" >FT2232</td>
  85. <td align="center" >202</td>
  86. <td align="center" >n/a</td>
  87. </tr>
  88. <tr>
  89. <td ><a href="#bdte-ram">bdte-ram1</a></td>
  90. <td width="165">str710 ram debugging</td>
  91. <td align="center" >JTAGkey</td>
  92. <td align="center" >657</td>
  93. <td align="center" >n/a</td>
  94. </tr>
  95. <tr>
  96. <td ><a href="#bdte-rom">bdte-rom2</a></td>
  97. <td width="165">str710 rom debugging</td>
  98. <td align="center" >JTAGkey</td>
  99. <td align="center" >657</td>
  100. <td align="center" >n/a</td>
  101. </tr>
  102. <tr>
  103. <td ><a href="#bdte-ram">bdte-ram3</a></td>
  104. <td width="165">str912 ram debugging</td>
  105. <td align="center" >JTAGkey</td>
  106. <td align="center" >657</td>
  107. <td align="center" >n/a</td>
  108. </tr>
  109. <tr>
  110. <td ><a href="#bdte-rom">bdte-rom4</a></td>
  111. <td width="165">str912 rom debugging</td>
  112. <td align="center" >JTAGkey</td>
  113. <td align="center" >657</td>
  114. <td align="center" >n/a</td>
  115. </tr>
  116. <tr>
  117. <td ><a href="#bdte-ram">bdte-ram5</a></td>
  118. <td width="165">lpc2148 ram debugging</td>
  119. <td align="center" >JTAGkey</td>
  120. <td align="center" >657</td>
  121. <td align="center" >n/a</td>
  122. </tr>
  123. <tr>
  124. <td ><a href="#bdte-rom">bdte-rom6</a></td>
  125. <td width="165">lpc2148 rom debugging</td>
  126. <td align="center" >JTAGkey</td>
  127. <td align="center" >657</td>
  128. <td align="center" >n/a</td>
  129. </tr>
  130. <tr>
  131. <td ><a href="#bdte-ram">bdte-ram7</a></td>
  132. <td width="165">lpc2294 ram debugging</td>
  133. <td align="center" >JTAGkey</td>
  134. <td align="center" >657</td>
  135. <td align="center" >n/a</td>
  136. </tr>
  137. <tr>
  138. <td ><a href="#bdte-rom">bdte-rom8</a></td>
  139. <td width="165">lpc2294 rom debugging</td>
  140. <td align="center" >JTAGkey</td>
  141. <td align="center" >657</td>
  142. <td align="center" >n/a</td>
  143. </tr>
  144. <tr>
  145. <td ><a href="#bdte-ram">bdte-ram9</a></td>
  146. <td width="165">sam7s256 ram debugging</td>
  147. <td align="center" >JTAGkey</td>
  148. <td align="center" >657</td>
  149. <td align="center" >n/a</td>
  150. </tr>
  151. <tr>
  152. <td ><a href="#bdte-rom">bdte-rom10</a></td>
  153. <td width="165">sam7s256 rom debugging</td>
  154. <td align="center" >JTAGkey</td>
  155. <td align="center" >657</td>
  156. <td align="center" >n/a</td>
  157. </tr>
  158. <tr>
  159. <td ><a href="#bdte-ram">bdte-ram11</a></td>
  160. <td width="165">sam7x256 ram debugging</td>
  161. <td align="center" >JTAGkey</td>
  162. <td align="center" >657</td>
  163. <td align="center" >n/a</td>
  164. </tr>
  165. <tr>
  166. <td ><a href="#bdte-rom">bdte-rom12</a></td>
  167. <td width="165">sam7x256 rom debugging</td>
  168. <td align="center" >JTAGkey</td>
  169. <td align="center" >657</td>
  170. <td align="center" >n/a</td>
  171. </tr>
  172. <tr>
  173. <td ><a href="#bdte-ram">bdte-ram13</a></td>
  174. <td width="165">at91r40008 ram debugging</td>
  175. <td align="center" >JTAGkey</td>
  176. <td align="center" >657</td>
  177. <td align="center" >n/a</td>
  178. </tr>
  179. </table>
  180. <p></p>
  181. <hr>
  182. <h1>OpenOCD JTAG device test results</h1>
  183. Each JTAG device must be tested
  184. <table border="1">
  185. <tr>
  186. <th align="center" width="40">ID</th>
  187. <th width="90">Synopsis</th>
  188. <th >Passed version</th>
  189. <th >Broken version</th>
  190. </tr>
  191. <tr>
  192. <td width="40">jtag1</td>
  193. <td width="90">Parport</td>
  194. <td align="center" >n/a</td>
  195. <td align="center" >n/a</td>
  196. </tr>
  197. <tr>
  198. <td width="40">jtag2</td>
  199. <td width="90">JTAGkey</td>
  200. <td align="center" >657</td>
  201. <td align="center" >n/a</td>
  202. </tr>
  203. <tr>
  204. <td width="40">jtag3</td>
  205. <td width="90">Turtelizer2</td>
  206. <td align="center" >657</td>
  207. <td align="center" >n/a</td>
  208. </tr>
  209. <tr>
  210. <td width="40">jtag4</td>
  211. <td width="90">JTAGkey</td>
  212. <td align="center" >657</td>
  213. <td align="center" >n/a</td>
  214. </tr>
  215. <tr>
  216. <td width="40">jtag5</td>
  217. <td width="90">add new one</td>
  218. <td align="center" >n/a</td>
  219. <td align="center" >n/a</td>
  220. </tr>
  221. </table>
  222. <p>jtag1:</p>
  223. <p>jtag2: Tested on Windows XP Prof. (SP2) with original FTDI&nbsp;driver.</p>
  224. <p>jtag3: Tested on Windows XP Prof. (SP2) with original FTDI&nbsp;driver.</p>
  225. <p>jtag4: Tested on Mac OS X (10.5.2, Intel) with libftdi-0.10 and libusb-0.1.12</p>
  226. <p>jtag5:</p>
  227. <hr>
  228. <h1>OpenOCD JTAG device speed test result</h1>
  229. <p>The test result is in KB/sec.</p>
  230. <table border="1">
  231. <tr>
  232. <th align="center" width="50">ID</th>
  233. <th width="90">Synopsis</th>
  234. <th width="40">r320</th>
  235. <th width="40">r420</th>
  236. <th width="40">r423</th>
  237. <th width="40">r459</th>
  238. <th width="40">r517</th>
  239. <th width="40">r536</th>
  240. <th width="40">r651</th>
  241. <th width="40">r657</th>
  242. </tr>
  243. <tr>
  244. <td width="50"><a href="#speed1">speed1</a></td>
  245. <td width="90">JTAGkey</td>
  246. <td align="center" width="40">93</td>
  247. <td align="center" width="40">64 </td>
  248. <td align="center" width="40">93</td>
  249. <td align="center" width="40">93</td>
  250. <td align="center" width="40">93</td>
  251. <td align="center" width="40">93</td>
  252. <td align="center" width="40">162</td>
  253. <td align="center" width="40">165</td>
  254. </tr>
  255. <tr>
  256. <td width="50"><a href="#speed2">speed2</a></td>
  257. <td width="90">JTAGkey</td>
  258. <td align="center" width="40">n/a</td>
  259. <td align="center" width="40">n/a</td>
  260. <td align="center" width="40">n/a</td>
  261. <td align="center" width="40">n/a</td>
  262. <td align="center" width="40">52</td>
  263. <td align="center" width="40">52</td>
  264. <td align="center" width="40">110</td>
  265. <td align="center" width="40">111</td>
  266. </tr>
  267. <tr>
  268. <td width="50">speed3</td>
  269. <td width="90">add new one</td>
  270. <td align="center" width="40">n/a</td>
  271. <td align="center" width="40">n/a</td>
  272. <td align="center" width="40">n/a</td>
  273. <td align="center" width="40">n/a</td>
  274. <td align="center" width="40">n/a</td>
  275. <td align="center" width="40">n/a</td>
  276. <td align="center" width="40">n/a</td>
  277. <td align="center" width="40">n/a</td>
  278. </tr>
  279. </table>
  280. <p></p>
  281. <hr>
  282. <h1>Policy on removing features from OpenOCD</h1>
  283. If a feature in OpenOCD is known to be broken and nobody has submitted
  284. a fix and the feature is causing trouble for maintainence, it can be
  285. removed from OpenOCD mainline. The threshold for temporarily removing
  286. something from OpenOCD mainline is low to ease maintainence and place the burden of maintainence on those that care about a feature.
  287. <p>Note that code is never deleted from OpenOCD git, it remains in the
  288. repository so if somebody sees a feature removed that they would like
  289. kept, they have but to port and fix that feature back up to main
  290. mainline. This document can be helpful in this regard in that the latest working version and the known broken version may be listed.</p>
  291. <h1>Policy on adding features from OpenOCD</h1>
  292. To add a feature to OpenOCD, generally it should not break any
  293. existing features and it should be functional and the code reasonably
  294. readable and useful to others in the OpenOCD community. The code does
  295. not have to be completed. Work in progress is fine for OpenOCD
  296. mainline.
  297. <p>Also new tests should be defined. Note that the code does not have to pass all the tests. In fact it can be helpful to have tests to describe facets that really should be working, but aren't done yet. </p>
  298. <hr>
  299. <h1>ocd4 - ARM7 debugging<a name="test_ocd4"></a></h1>
  300. Connect to ARM7 device(any), use GDB load to load a program into RAM and single halt, resume and single step.
  301. <hr>
  302. <h1>bdte-ram (Basic debugging test with Eclipse in RAM)<a id="bdte-ram" name="bdte-ram"></a></h1>
  303. <p>This test was made under Eclipse with the Zylin Embedded CDT&nbsp;plugin. For the GDB &quot;Initialize commands&quot; take a look in the examples/&lt;target&gt;/prj/<b>eclipse_ram.gdb</b> file.</p>
  304. <p>Start debugging, the debugger should stop at main. set some breakpoints and &quot;Resume&quot;. If the debugger hit a breakpoint check if the &quot;Variables&quot; looks correct. Remove some breakpoints and &quot;Resume&quot; again. If the target is running, use the &quot;Suspend&quot; function and use &quot;Step Into&quot; or &quot;Step Over&quot; through the source. Even open the &quot;Disassembly&quot; view and enable the &quot;Instruction Stepping Mode&quot;. Now you can single step through the assembler source. Use &quot;Resume&quot; again to run the program, set a breakpoint while the target is running. Check if you can inspect the variables with the mouse over. Play a little with the target...</p>
  305. <hr>
  306. <h1>bdte-rom (Basic debugging test with Eclipse in ROM)<a id="bdte-rom" name="bdte-rom"></a></h1>
  307. <p>This test was made under Eclipse with the Zylin Embedded CDT&nbsp;plugin. For the GDB &quot;Initialize commands&quot; take a look in the examples/&lt;target&gt;/prj/<b>eclipse_rom.gdb</b> file.</p>
  308. <p>Start debugging, the debugger should download and store the program in the flash of the target.</p>
  309. <p>Now you can make some tests like described in the <a href="#bdte-ram">bdte-ram</a> section above too.</p>
  310. <hr>
  311. <h1>speed1 - Download speed test<a id="speed1" name="speed1"></a></h1>
  312. <p>For this test a STR710 with external memory was used. The example project can be found under examples/STR710JtagSpeed. Here Eclipse or the arm-elf-gdb can be used to download the test.elf file into the RAM. The result of the GDB&nbsp;can look like:</p>
  313. <p>Loading section .text, size 0x6019c lma 0x62000000<br>
  314. Start address 0x62000040, load size 393628<br>
  315. Transfer rate: 93 KB/sec, 2008 bytes/write.</p>
  316. <p>In this example a speed of 93 KB/sec was reached. The hardware which was used for the test can be found <a href="http://www.yagarto.de/projects/str7usbmsd/index.html" target="new">here</a>.</p>
  317. <p>The test was made on Windows XP Prof. (SP2) with a JTAGkey and the original FTDI driver.</p>
  318. <hr>
  319. <h1>speed2 - Download speed test<a id="speed2" name="speed2"></a></h1>
  320. <p>For this test a STR710 with external memory was used. The example project can be found under examples/STR710JtagSpeed. Here Eclipse or the arm-elf-gdb can be used to download the test.elf file into the RAM. The result of the GDB&nbsp;can look like:</p>
  321. <p>Loading section .text, size 0x6019c lma 0x62000000<br>
  322. Start address 0x62000040, load size 393628<br>Transfer rate: 52 KB/sec, 2008 bytes/write.</p>
  323. <p>In this example a speed of 52 KB/sec was reached. The hardware which was used for the test can be found <a href="http://www.yagarto.de/projects/str7usbmsd/index.html" target="new">here</a>.</p>
  324. <p>The test was made on Mac OS X (10.5.2, Intel) with a JTAGkey and the following driver:</p>
  325. <p>- libftdi 0.10<br>
  326. - libusb 0.1.12</p>
  327. <p></p>
  328. <p></p>
  329. </body>
  330. </html>