1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804 5805 5806 5807 5808 5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972 5973 5974 5975 5976 5977 5978 5979 5980 5981 5982 5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 6011 6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 6029 6030 6031 6032 6033 6034 6035 6036 6037 6038 6039 6040 6041 6042 6043 6044 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 6099 6100 6101 6102 6103 6104 6105 6106 6107 6108 6109 6110 6111 6112 6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163 6164 6165 6166 6167 6168 6169 6170 6171 6172 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211 6212 6213 6214 6215 6216 6217 6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 6247 6248 6249 6250 6251 6252 6253 6254 6255 6256 6257 6258 6259 6260 6261 6262 6263 6264 6265 6266 6267 6268 6269 6270 6271 6272 6273 6274 6275 6276 6277 6278 6279 6280 6281 6282 6283 6284 6285 6286 6287 6288 6289 6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 6308 6309 6310 6311 6312 6313 6314 6315 6316 6317 6318 6319 6320 6321 6322 6323 6324 6325 6326 6327 6328 6329 6330 6331 6332 6333 6334 6335 6336 6337 6338 6339 6340 6341 6342 6343 6344 6345 6346 6347 6348 6349 6350 6351 6352 6353 6354 6355 6356 6357 6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 6369 6370 6371 6372 6373 6374 6375 6376 6377 6378 6379 6380 6381 6382 6383 6384 6385 6386 6387 6388 6389 6390 6391 6392 6393 6394 6395 6396 6397 6398 6399 6400 6401 6402 6403 6404 6405 6406 6407 6408 6409 6410 6411 6412 6413 6414 6415 6416 6417 6418 6419 6420 6421 6422 6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 6437 6438 6439 6440 6441 6442 6443 6444 6445 6446 6447 6448 6449 6450 6451 6452 6453 6454 6455 6456 6457 6458 6459 6460 6461 6462 6463 6464 6465 6466 6467 6468 6469 6470 6471 6472 6473 6474 6475 6476 6477 6478 6479 6480 6481 6482 6483 6484 6485 6486 6487 6488 6489 6490 6491 6492 6493 6494 6495 6496 6497 6498 6499 6500 6501 6502 6503 6504 6505 6506 6507 6508 6509 6510 6511 6512 6513 6514 6515 6516 6517 6518 6519 6520 6521 6522 6523 6524 6525 6526 6527 6528 6529 6530 6531 6532 6533 6534 6535 6536 6537 6538 6539 6540 6541 6542 6543 6544 6545 6546 6547 6548 6549 6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 6560 6561 6562 6563 6564 6565 6566 6567 6568 6569 6570 6571 6572 6573 6574 6575 6576 6577 6578 6579 6580 6581 6582 6583 6584 6585 6586 6587 6588 6589 6590 6591 6592 6593 6594 6595 6596 6597 6598 6599 6600 6601 6602 6603 6604 6605 6606 6607 6608 6609 6610 6611 6612 6613 6614 6615 6616 6617 6618 6619 6620 6621 6622 6623 6624 6625 6626 6627 6628 6629 6630 6631 6632 6633 6634 6635 6636 6637 6638 6639 6640 6641 6642 6643 6644 6645 6646 6647 6648 6649 6650 6651 6652 6653 6654 6655 6656 6657 6658 6659 6660 6661 6662 6663 6664 6665 6666 6667 6668 6669 6670 6671 6672 6673 6674 6675 6676 6677 6678 6679 6680 6681 6682 6683 6684 6685 6686 6687 6688 6689 6690 6691 6692 6693 6694 6695 6696 6697 6698 6699 6700 6701 6702 6703 6704 6705 6706 6707 6708 6709 6710 6711 6712 6713 6714 6715 6716 6717 6718 6719 6720 6721 6722 6723 6724 6725 6726 6727 6728 6729 6730 6731 6732 6733 6734 6735 6736 6737 6738 6739 6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 6763 6764 6765 6766 6767 6768 6769 6770 6771 6772 6773 6774 6775 6776 6777 6778 6779 6780 6781 6782 6783 6784 6785 6786 6787 6788 6789 6790 6791 6792 6793 6794 6795 6796 6797 6798 6799 6800 6801 6802 6803 6804 6805 6806 6807 6808 6809 6810 6811 6812 6813 6814 6815 6816 6817 6818 6819 6820 6821 6822 6823 6824 6825 6826 6827 6828 6829 6830 6831 6832 6833 6834 6835 6836 6837 6838 6839 6840 6841 6842 6843 6844 6845 6846 6847 6848 6849 6850 6851 6852 6853 6854 6855 6856 6857 6858 6859 6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 6872 6873 6874 6875 6876 6877 6878 6879 6880 6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 6925 6926 6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 6955 6956 6957 6958 6959 6960 6961 6962 6963 6964 6965 6966 6967 6968 6969 6970 6971 6972 6973 6974 6975 6976 6977 6978 6979 6980 6981 6982 6983 6984 6985 6986 6987 6988 6989 6990 6991 6992 6993 6994 6995 6996 6997 6998 6999 7000 7001 7002 7003 7004 7005 7006 7007 7008 7009 7010 7011 7012 7013 7014 7015 7016 7017 7018 7019 7020 7021 7022 7023 7024 7025 7026 7027 7028 7029 7030 7031 7032 7033 7034 7035 7036 7037 7038 7039 7040 7041 7042 7043 7044 7045 7046 7047 7048 7049 7050 7051 7052 7053 7054 7055 7056 7057 7058 7059 7060 7061 7062 7063 7064 7065 7066 7067 7068 7069 7070 7071 7072 7073 7074 7075 7076 7077 7078 7079 7080 7081 7082 7083 7084 7085 7086 7087 7088 7089 7090 7091 7092 7093 7094 7095 7096 7097 7098 7099 7100 7101 7102 7103 7104 7105 7106 7107 7108 7109 7110 7111 7112 7113 7114 7115 7116 7117 7118 7119 7120 7121 7122 7123 7124 7125 7126 7127 7128 7129 7130 7131 7132 7133 7134 7135 7136 7137 7138 7139 7140 7141 7142 7143 7144 7145 7146 7147 7148 7149 7150 7151 7152 7153 7154 7155 7156 7157 7158 7159 7160 7161 7162 7163 7164 7165 7166 7167 7168 7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 7199 7200 7201 7202 7203 7204 7205 7206 7207 7208 7209 7210 7211 7212 7213 7214 7215 7216 7217 7218 7219 7220 7221 7222 7223 7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 7236 7237 7238 7239 7240 7241 7242 7243 7244 7245 7246 7247 7248 7249 7250 7251 7252 7253 7254 7255 7256 7257 7258 7259 7260 7261 7262 7263 7264 7265 7266 7267 7268 7269 7270 7271 7272 7273 7274 7275 7276 7277 7278 7279 7280 7281 7282 7283 7284 7285 7286 7287 7288 7289 7290 7291 7292 7293 7294 7295 7296 7297 7298 7299 7300 7301 7302 7303 7304 7305 7306 7307 7308 7309 7310 7311 7312 7313 7314 7315 7316 7317 7318 7319 7320 7321 7322 7323 7324 7325 7326 7327 7328 7329 7330 7331 7332 7333 7334 7335 7336 7337 7338 7339 7340 7341 7342 7343 7344 7345 7346 7347 7348 7349 7350 7351 7352 7353 7354 7355 7356 7357 7358 7359 7360 7361 7362 7363 7364 7365 7366 7367 7368 7369 7370 7371 7372 7373 7374 7375 7376 7377 7378 7379 7380 7381 7382 7383 7384 7385 7386 7387 7388 7389 7390 7391 7392 7393 7394 7395 7396 7397 7398 7399 7400 7401 7402 7403 7404 7405 7406 7407 7408 7409 7410 7411 7412 7413 7414 7415 7416 7417 7418 7419 7420 7421 7422 7423 7424 7425 7426 7427 7428 7429 7430 7431 7432 7433 7434 7435 7436 7437 7438 7439 7440 7441 7442 7443 7444 7445 7446 7447 7448 7449 7450 7451 7452 7453 7454 7455 7456 7457 7458 7459 7460 7461 7462 7463 7464 7465 7466 7467 7468 7469 7470 7471 7472 7473 7474 7475 7476 7477 7478 7479 7480 7481 7482 7483 7484 7485 7486 7487 7488 7489 7490 7491 7492 7493 7494 7495 7496 7497 7498 7499 7500 7501 7502 7503 7504 7505 7506 7507 7508 7509 7510 7511 7512 7513 7514 7515 7516 7517 7518 7519 7520 7521 7522 7523 7524 7525 7526 7527 7528 7529 7530 7531 7532 7533 7534 7535 7536 7537 7538 7539 7540 7541 7542 7543 7544 7545 7546 7547 7548 7549 7550 7551 7552 7553 7554 7555 7556 7557 7558 7559 7560 7561 7562 7563 7564 7565 7566 7567 7568 7569 7570 7571 7572 7573 7574 7575 7576 7577 7578 7579 7580 7581 7582 7583 7584 7585 7586 7587 7588 7589 7590 7591 7592 7593 7594 7595 7596 7597 7598 7599 7600 7601 7602 7603 7604 7605 7606 7607 7608 7609 7610 7611 7612 7613 7614 7615 7616 7617 7618 7619 7620 7621 7622 7623 7624 7625 7626 7627 7628 7629 7630 7631 7632 7633 7634 7635 7636 7637 7638 7639 7640 7641 7642 7643 7644 7645 7646 7647 7648 7649 7650 7651 7652 7653 7654 7655 7656 7657 7658 7659 7660 7661 7662 7663 7664 7665 7666 7667 7668 7669 7670 7671 7672 7673 7674 7675 7676 7677 7678 7679 7680 7681 7682 7683 7684 7685 7686 7687 7688 7689 7690 7691 7692 7693 7694 7695 7696 7697 7698 7699 7700 7701 7702 7703 7704 7705 7706 7707 7708 7709 7710 7711 7712 7713 7714 7715 7716 7717 7718 7719 7720 7721 7722 7723 7724 7725 7726 7727 7728 7729 7730 7731 7732 7733 7734 7735 7736 7737 7738 7739 7740 7741 7742 7743 7744 7745 7746 7747 7748 7749 7750 7751 7752 7753 7754 7755 7756 7757 7758 7759 7760 7761 7762 7763 7764 7765 7766 7767 7768 7769 7770 7771 7772 7773 7774 7775 7776 7777 7778 7779 7780 7781 7782 7783 7784 7785 7786 7787 7788 7789 7790 7791 7792 7793 7794 7795 7796 7797 7798 7799 7800 7801 7802 7803 7804 7805 7806 7807 7808 7809 7810 7811 7812 7813 7814 7815 7816 7817 7818 7819 7820 7821 7822 7823 7824 7825 7826 7827 7828 7829 7830 7831 7832 7833 7834 7835 7836 7837 7838 7839 7840 7841 7842 7843 7844 7845 7846 7847 7848 7849 7850 7851 7852 7853 7854 7855 7856 7857 7858 7859 7860 7861 7862 7863 7864 7865 7866 7867 7868 7869 7870 7871 7872 7873 7874 7875 7876 7877 7878 7879 7880 7881 7882 7883 7884 7885 7886 7887 7888 7889 7890 7891 7892 7893 7894 7895 7896 7897 7898 7899 7900 7901 7902 7903 7904 7905 7906 7907 7908 7909 7910 7911 7912 7913 7914 7915 7916 7917 7918 7919 7920 7921 7922 7923 7924 7925 7926 7927 7928 7929 7930 7931 7932 7933 7934 7935 7936 7937 7938 7939 7940 7941 7942 7943 7944 7945 7946 7947 7948 7949 7950 7951 7952 7953 7954 7955 7956 7957 7958 7959 7960 7961 7962 7963 7964 7965 7966 7967 7968 7969 7970 7971 7972 7973 7974 7975 7976 7977 7978 7979 7980 7981 7982 7983 7984 7985 7986 7987 7988 7989 7990 7991 7992 7993 7994 7995 7996 7997 7998 7999 8000 8001 8002 8003 8004 8005 8006 8007 8008 8009 8010 8011 8012 8013 8014 8015 8016 8017 8018 8019 8020 8021 8022 8023 8024 8025 8026 8027 8028 8029 8030 8031 8032 8033 8034 8035 8036 8037 8038 8039 8040 8041 8042 8043 8044 8045 8046 8047 8048 8049 8050 8051 8052 8053 8054 8055 8056 8057 8058 8059 8060 8061 8062 8063 8064 8065 8066 8067 8068 8069 8070 8071 8072 8073 8074 8075 8076 8077 8078 8079 8080 8081 8082 8083 8084 8085 8086 8087 8088 8089 8090 8091 8092 8093 8094 8095 8096 8097 8098 8099 8100 8101 8102 8103 8104 8105 8106 8107 8108 8109 8110 8111 8112 8113 8114 8115 8116 8117 8118 8119 8120 8121 8122 8123 8124 8125 8126 8127 8128 8129 8130 8131 8132 8133 8134 8135 8136 8137 8138 8139 8140 8141 8142 8143 8144 8145 8146 8147 8148 8149 8150 8151 8152 8153 8154 8155 8156 8157 8158 8159 8160 8161 8162 8163 8164 8165 8166 8167 8168 8169 8170 8171 8172 8173 8174 8175 8176 8177 8178 8179 8180 8181 8182 8183 8184 8185 8186 8187 8188 8189 8190 8191 8192 8193 8194 8195 8196 8197 8198 8199 8200 8201 8202 8203 8204 8205 8206 8207 8208 8209 8210 8211 8212 8213 8214 8215 8216 8217 8218 8219 8220 8221 8222 8223 8224 8225 8226 8227 8228 8229 8230 8231 8232 8233 8234 8235 8236 8237 8238 8239 8240 8241 8242 8243 8244 8245 8246 8247 8248 8249 8250 8251 8252 8253 8254 8255 8256 8257 8258 8259 8260 8261 8262 8263 8264 8265 8266 8267 8268 8269 8270 8271 8272 8273 8274 8275 8276 8277 8278 8279 8280 8281 8282 8283 8284 8285 8286 8287 8288 8289 8290 8291 8292 8293 8294 8295 8296 8297 8298 8299 8300 8301 8302 8303 8304 8305 8306 8307 8308 8309 8310 8311 8312 8313 8314 8315 8316 8317 8318 8319 8320 8321 8322 8323 8324 8325 8326 8327 8328 8329 8330 8331 8332 8333 8334 8335 8336 8337 8338 8339 8340 8341 8342 8343 8344 8345 8346 8347 8348 8349 8350 8351 8352 8353 8354 8355 8356 8357 8358 8359 8360 8361 8362 8363 8364 8365 8366 8367 8368 8369 8370 8371 8372 8373 8374 8375 8376 8377 8378 8379 8380 8381 8382 8383 8384 8385 8386 8387 8388 8389 8390 8391 8392 8393 8394 8395 8396 8397 8398 8399 8400 8401 8402 8403 8404 8405 8406 8407 8408 8409 8410 8411 8412 8413 8414 8415 8416 8417 8418 8419 8420 8421 8422 8423 8424 8425 8426 8427 8428 8429 8430 8431 8432 8433 8434 8435 8436 8437 8438 8439 8440 8441 8442 8443 8444 8445 8446 8447 8448 8449 8450 8451 8452 8453 8454 8455 8456 8457 8458 8459 8460 8461 8462 8463 8464 8465 8466 8467 8468 8469 8470 8471 8472 8473 8474 8475 8476 8477 8478 8479 8480 8481 8482 8483 8484 8485 8486 8487 8488 8489 8490 8491 8492 8493 8494 8495 8496 8497 8498 8499 8500 8501 8502 8503 8504 8505 8506 8507 8508 8509 8510 8511 8512 8513 8514 8515 8516 8517 8518 8519 8520 8521 8522 8523 8524 8525 8526 8527 8528 8529 8530 8531 8532 8533 8534 8535 8536 8537 8538 8539 8540 8541 8542 8543 8544 8545 8546 8547 8548 8549 8550 8551 8552 8553 8554 8555 8556 8557 8558 8559 8560 8561 8562 8563 8564 8565 8566 8567 8568 8569 8570 8571 8572 8573 8574 8575 8576 8577 8578 8579 8580 8581 8582 8583 8584 8585 8586 8587 8588 8589 8590 8591 8592 8593 8594 8595 8596 8597 8598 8599 8600 8601 8602 8603 8604 8605 8606 8607 8608 8609 8610 8611 8612 8613 8614 8615 8616 8617 8618 8619 8620 8621 8622 8623 8624 8625 8626 8627 8628 8629 8630 8631 8632 8633 8634 8635 8636 8637 8638 8639 8640 8641 8642 8643 8644 8645 8646 8647 8648 8649 8650 8651 8652 8653 8654 8655 8656 8657 8658 8659 8660 8661 8662 8663 8664 8665 8666 8667 8668 8669 8670 8671 8672 8673 8674 8675 8676 8677 8678 8679 8680 8681 8682 8683 8684 8685 8686 8687 8688 8689 8690 8691 8692 8693 8694 8695 8696 8697 8698 8699 8700 8701 8702 8703 8704 8705 8706 8707 8708 8709 8710 8711 8712 8713 8714 8715 8716 8717 8718 8719 8720 8721 8722 8723 8724 8725 8726 8727 8728 8729 8730 8731 8732 8733 8734 8735 8736 8737 8738 8739 8740 8741 8742 8743 8744 8745 8746 8747 8748 8749 8750 8751 8752 8753 8754 8755 8756 8757 8758 8759 8760 8761 8762 8763 8764 8765 8766 8767 8768 8769 8770 8771 8772 8773 8774 8775 8776 8777 8778 8779 8780 8781 8782 8783 8784 8785 8786 8787 8788 8789 8790 8791 8792 8793 8794 8795 8796 8797 8798 8799 8800 8801 8802 8803 8804 8805 8806 8807 8808 8809 8810 8811 8812 8813 8814 8815 8816 8817 8818 8819 8820 8821 8822 8823 8824 8825 8826 8827 8828 8829 8830 8831 8832 8833 8834 8835 8836 8837 8838 8839 8840 8841 8842 8843 8844 8845 8846 8847 8848 8849 8850 8851 8852 8853 8854 8855 8856 8857 8858 8859 8860 8861 8862 8863 8864 8865 8866 8867 8868 8869 8870 8871 8872 8873 8874 8875 8876 8877 8878 8879 8880 8881 8882 8883 8884 8885 8886 8887 8888 8889 8890 8891 8892 8893 8894 8895 8896 8897 8898 8899 8900 8901 8902 8903 8904 8905 8906 8907 8908 8909 8910 8911 8912 8913 8914 8915 8916 8917 8918 8919 8920 8921 8922 8923 8924 8925 8926 8927 8928 8929 8930 8931 8932 8933 8934 8935 8936 8937 8938 8939 8940 8941 8942 8943 8944 8945 8946 8947 8948 8949 8950 8951 8952 8953 8954 8955 8956 8957 8958 8959 8960 8961 8962 8963 8964 8965 8966 8967 8968 8969 8970 8971 8972 8973 8974 8975 8976 8977 8978 8979 8980 8981 8982 8983 8984 8985 8986 8987 8988 8989 8990 8991 8992 8993 8994 8995 8996 8997 8998 8999 9000 9001 9002 9003 9004 9005 9006 9007 9008 9009 9010 9011 9012 9013 9014 9015 9016 9017 9018 9019 9020 9021 9022 9023 9024 9025 9026 9027 9028 9029 9030 9031 9032 9033 9034 9035 9036 9037 9038 9039 9040 9041 9042 9043 9044 9045 9046 9047 9048 9049 9050 9051 9052 9053 9054 9055 9056 9057 9058 9059 9060 9061 9062 9063 9064 9065 9066 9067 9068 9069 9070 9071 9072 9073 9074 9075 9076 9077 9078 9079 9080 9081 9082 9083 9084 9085 9086 9087 9088 9089 9090 9091 9092 9093 9094 9095 9096 9097 9098 9099 9100 9101 9102 9103 9104 9105 9106 9107 9108 9109 9110 9111 9112 9113 9114 9115 9116 9117 9118 9119 9120 9121 9122 9123 9124 9125 9126 9127 9128 9129 9130 9131 9132 9133 9134 9135 9136 9137 9138 9139 9140 9141 9142 9143 9144 9145 9146 9147 9148 9149 9150 9151 9152 9153 9154 9155 9156 9157 9158 9159 9160 9161 9162 9163 9164 9165 9166 9167 9168 9169 9170 9171 9172 9173 9174 9175 9176 9177 9178 9179 9180 9181 9182 9183 9184 9185 9186 9187 9188 9189 9190 9191 9192 9193 9194 9195 9196 9197 9198 9199 9200 9201 9202 9203 9204 9205 9206 9207 9208 9209 9210 9211 9212 9213 9214 9215 9216 9217 9218 9219 9220 9221 9222 9223 9224 9225 9226 9227 9228 9229 9230 9231 9232 9233 9234 9235 9236 9237 9238 9239 9240 9241 9242 9243 9244 9245 9246 9247 9248 9249 9250 9251 9252 9253 9254 9255 9256 9257 9258 9259 9260 9261 9262 9263 9264 9265 9266 9267 9268 9269 9270 9271 9272 9273 9274 9275 9276 9277 9278 9279 9280 9281 9282 9283 9284 9285 9286 9287 9288 9289 9290 9291 9292 9293 9294 9295 9296 9297 9298 9299 9300 9301 9302 9303 9304 9305 9306 9307 9308 9309 9310 9311 9312 9313 9314 9315 9316 9317 9318 9319 9320 9321 9322 9323 9324 9325 9326 9327 9328 9329 9330 9331 9332 9333 9334 9335 9336 9337 9338 9339 9340 9341 9342 9343 9344 9345 9346 9347 9348 9349 9350 9351 9352 9353 9354 9355 9356 9357 9358 9359 9360 9361 9362 9363 9364 9365 9366 9367 9368 9369 9370 9371 9372 9373 9374 9375 9376 9377 9378 9379 9380 9381 9382 9383 9384 9385 9386 9387 9388 9389 9390 9391 9392 9393 9394 9395 9396 9397 9398 9399 9400 9401 9402 9403 9404 9405 9406 9407 9408 9409 9410 9411 9412 9413 9414 9415 9416 9417 9418 9419 9420 9421 9422 9423 9424 9425 9426 9427 9428 9429 9430 9431 9432 9433 9434 9435 9436 9437 9438 9439 9440 9441 9442 9443 9444 9445 9446 9447 9448 9449 9450 9451 9452 9453 9454 9455 9456 9457 9458 9459 9460 9461 9462 9463 9464 9465 9466 9467 9468 9469 9470 9471 9472 9473 9474 9475 9476 9477 9478 9479 9480 9481 9482 9483 9484 9485 9486 9487 9488 9489 9490 9491 9492 9493 9494 9495 9496 9497 9498 9499 9500 9501 9502 9503 9504 9505 9506 9507 9508 9509 9510 9511 9512 9513 9514 9515 9516 9517 9518 9519 9520 9521 9522 9523 9524 9525 9526 9527 9528 9529 9530 9531 9532 9533 9534 9535 9536 9537 9538 9539 9540 9541 9542 9543 9544 9545 9546 9547 9548 9549 9550 9551 9552 9553 9554 9555 9556 9557 9558 9559 9560 9561 9562 9563 9564 9565 9566 9567 9568 9569 9570 9571 9572 9573 9574 9575 9576 9577 9578 9579 9580 9581 9582 9583 9584 9585 9586 9587 9588 9589 9590 9591 9592 9593 9594 9595 9596 9597 9598 9599 9600 9601 9602 9603 9604 9605 9606 9607 9608 9609 9610 9611 9612 9613 9614 9615 9616 9617 9618 9619 9620 9621 9622 9623 9624 9625 9626 9627 9628 9629 9630 9631 9632 9633 9634 9635 9636 9637 9638 9639 9640 9641 9642 9643 9644 9645 9646 9647 9648 9649 9650 9651 9652 9653 9654 9655 9656 9657 9658 9659 9660 9661 9662 9663 9664 9665 9666 9667 9668 9669 9670 9671 9672 9673 9674 9675 9676 9677 9678 9679 9680 9681 9682 9683 9684 9685 9686 9687 9688 9689 9690 9691 9692 9693 9694 9695 9696 9697 9698 9699 9700 9701 9702 9703 9704 9705 9706 9707 9708 9709 9710 9711 9712 9713 9714 9715 9716 9717 9718 9719 9720 9721 9722 9723 9724 9725 9726 9727 9728 9729 9730 9731 9732 9733 9734 9735 9736 9737 9738 9739 9740 9741 9742 9743 9744 9745 9746 9747 9748 9749 9750 9751 9752 9753 9754 9755 9756 9757 9758 9759 9760 9761 9762 9763 9764 9765 9766 9767 9768 9769 9770 9771 9772 9773 9774 9775 9776 9777 9778 9779 9780 9781 9782 9783 9784 9785 9786 9787 9788 9789 9790 9791 9792 9793 9794 9795 9796 9797 9798 9799 9800 9801 9802 9803 9804 9805 9806 9807 9808 9809 9810 9811 9812 9813 9814 9815 9816 9817 9818 9819 9820 9821 9822 9823 9824 9825 9826 9827 9828 9829 9830 9831 9832 9833 9834 9835 9836 9837 9838 9839 9840 9841 9842 9843 9844 9845 9846 9847 9848 9849 9850 9851 9852 9853 9854 9855 9856 9857 9858 9859 9860 9861 9862 9863 9864 9865 9866 9867 9868 9869 9870 9871 9872 9873 9874 9875 9876 9877 9878 9879 9880 9881 9882 9883 9884 9885 9886 9887 9888 9889 9890 9891 9892 9893 9894 9895 9896 9897 9898 9899 9900 9901 9902 9903 9904 9905 9906 9907 9908 9909 9910 9911 9912 9913 9914 9915 9916 9917 9918 9919 9920 9921 9922 9923 9924 9925 9926 9927 9928 9929 9930 9931 9932 9933 9934 9935 9936 9937 9938 9939 9940 9941 9942 9943 9944 9945 9946 9947 9948 9949 9950 9951 9952 9953 9954 9955 9956 9957 9958 9959 9960 9961 9962 9963 9964 9965 9966 9967 9968 9969 9970 9971 9972 9973 9974 9975 9976 9977 9978 9979 9980 9981 9982 9983 9984 9985 9986 9987 9988 9989 9990 9991 9992 9993 9994 9995 9996 9997 9998 9999 10000 10001 10002 10003 10004 10005 10006 10007 10008 10009 10010 10011 10012 10013 10014 10015 10016 10017 10018 10019 10020 10021 10022 10023 10024 10025 10026 10027 10028 10029 10030 10031 10032 10033 10034 10035 10036 10037 10038 10039 10040 10041 10042 10043 10044 10045 10046 10047 10048 10049 10050 10051 10052 10053 10054 10055 10056 10057 10058 10059 10060 10061 10062 10063 10064 10065 10066 10067 10068 10069 10070 10071 10072 10073 10074 10075 10076 10077 10078 10079 10080 10081 10082 10083 10084 10085 10086 10087 10088 10089 10090 10091 10092 10093 10094 10095 10096 10097 10098 10099 10100 10101 10102 10103 10104 10105 10106 10107 10108 10109 10110 10111 10112 10113 10114 10115 10116 10117 10118 10119 10120 10121 10122 10123 10124 10125 10126 10127 10128 10129 10130 10131 10132 10133 10134 10135 10136 10137 10138 10139 10140 10141 10142 10143 10144 10145 10146 10147 10148 10149 10150 10151 10152 10153 10154 10155 10156 10157 10158 10159 10160 10161 10162 10163 10164 10165 10166 10167 10168 10169 10170 10171 10172 10173 10174 10175 10176 10177 10178 10179 10180 10181 10182 10183 10184 10185 10186 10187 10188 10189 10190 10191 10192 10193 10194 10195 10196 10197 10198 10199 10200 10201 10202 10203 10204 10205 10206 10207 10208 10209 10210 10211 10212 10213 10214 10215 10216 10217 10218 10219 10220 10221 10222 10223 10224 10225 10226 10227 10228 10229 10230 10231 10232 10233 10234 10235 10236 10237 10238 10239 10240 10241 10242 10243 10244 10245 10246 10247 10248 10249 10250 10251 10252 10253 10254 10255 10256 10257 10258 10259 10260 10261 10262 10263 10264 10265 10266 10267 10268 10269 10270 10271 10272 10273 10274 10275 10276 10277 10278 10279 10280 10281 10282 10283 10284 10285 10286 10287 10288 10289 10290 10291 10292 10293 10294 10295 10296 10297 10298 10299 10300 10301 10302 10303 10304 10305 10306 10307 10308 10309 10310 10311 10312 10313 10314 10315 10316 10317 10318 10319 10320 10321 10322 10323 10324 10325 10326 10327 10328 10329 10330 10331 10332 10333 10334 10335 10336 10337 10338 10339 10340 10341 10342 10343 10344 10345 10346 10347 10348 10349 10350 10351 10352 10353 10354 10355 10356 10357 10358 10359 10360 10361 10362 10363 10364 10365 10366 10367 10368 10369 10370 10371 10372 10373 10374 10375 10376 10377 10378 10379 10380 10381 10382 10383 10384 10385 10386 10387 10388 10389 10390 10391 10392 10393 10394 10395 10396 10397 10398 10399 10400 10401 10402 10403 10404 10405 10406 10407 10408 10409 10410 10411 10412 10413 10414 10415 10416 10417 10418 10419 10420 10421 10422 10423 10424 10425 10426 10427 10428 10429 10430 10431 10432 10433 10434 10435 10436 10437 10438 10439 10440 10441 10442 10443 10444 10445 10446 10447 10448 10449 10450 10451 10452 10453 10454 10455 10456 10457 10458 10459 10460 10461 10462 10463 10464 10465 10466 10467 10468 10469 10470 10471 10472 10473 10474 10475 10476 10477 10478 10479 10480 10481 10482 10483 10484 10485 10486 10487 10488 10489 10490 10491 10492 10493 10494 10495 10496 10497 10498 10499 10500 10501 10502 10503 10504 10505 10506 10507 10508 10509 10510 10511 10512 10513 10514 10515 10516 10517 10518 10519 10520 10521 10522 10523 10524 10525 10526 10527 10528 10529 10530 10531 10532 10533 10534 10535 10536 10537 10538 10539 10540 10541 10542 10543 10544 10545 10546 10547 10548 10549 10550 10551 10552 10553 10554 10555 10556 10557 10558 10559 10560 10561 10562 10563 10564 10565 10566 10567 10568 10569 10570 10571 10572 10573 10574 10575 10576 10577 10578 10579 10580 10581 10582 10583 10584 10585 10586 10587 10588 10589 10590 10591 10592 10593 10594 10595 10596 10597 10598 10599 10600 10601 10602 10603 10604 10605 10606 10607 10608 10609 10610 10611 10612 10613 10614 10615 10616 10617 10618 10619 10620 10621 10622 10623 10624 10625 10626 10627 10628 10629 10630 10631 10632 10633 10634 10635 10636 10637 10638 10639 10640 10641 10642 10643 10644 10645 10646 10647 10648 10649 10650 10651 10652 10653 10654 10655 10656 10657 10658 10659 10660 10661 10662 10663 10664 10665 10666 10667 10668 10669 10670 10671 10672 10673 10674 10675 10676 10677 10678 10679 10680 10681 10682 10683 10684 10685 10686 10687 10688 10689 10690 10691 10692 10693 10694 10695 10696 10697 10698 10699 10700 10701 10702 10703 10704 10705 10706 10707 10708 10709 10710 10711 10712 10713 10714 10715 10716 10717 10718 10719 10720 10721 10722 10723 10724 10725 10726 10727 10728 10729 10730 10731 10732 10733 10734 10735 10736 10737 10738 10739 10740 10741 10742 10743 10744 10745 10746 10747 10748 10749 10750 10751 10752 10753 10754 10755 10756 10757 10758 10759 10760 10761 10762 10763 10764 10765 10766 10767 10768 10769 10770 10771 10772 10773 10774 10775 10776 10777 10778 10779 10780 10781 10782 10783 10784 10785 10786 10787 10788 10789 10790 10791 10792 10793 10794 10795 10796 10797 10798 10799 10800 10801 10802 10803 10804 10805 10806 10807 10808 10809 10810 10811 10812 10813 10814 10815 10816 10817 10818 10819 10820 10821 10822 10823 10824 10825 10826 10827 10828 10829 10830 10831 10832 10833 10834 10835 10836 10837 10838 10839 10840 10841 10842 10843 10844 10845 10846 10847 10848 10849 10850 10851 10852 10853 10854 10855 10856 10857 10858 10859 10860 10861 10862 10863 10864 10865 10866 10867 10868 10869 10870 10871 10872 10873 10874 10875 10876 10877 10878 10879 10880 10881 10882 10883 10884 10885 10886 10887 10888 10889 10890 10891 10892 10893 10894 10895 10896 10897 10898 10899 10900 10901 10902 10903 10904 10905 10906 10907 10908 10909 10910 10911 10912 10913 10914 10915 10916 10917 10918 10919 10920 10921 10922 10923 10924 10925 10926 10927 10928 10929 10930 10931 10932 10933 10934 10935 10936 10937 10938 10939 10940 10941 10942 10943 10944 10945 10946 10947 10948 10949 10950 10951 10952 10953 10954 10955 10956 10957 10958 10959 10960 10961 10962 10963 10964 10965 10966 10967 10968 10969 10970 10971 10972 10973 10974 10975 10976 10977 10978 10979 10980 10981 10982 10983 10984 10985 10986 10987 10988 10989 10990 10991 10992 10993 10994 10995 10996 10997 10998 10999 11000 11001 11002 11003 11004 11005 11006 11007 11008 11009 11010 11011 11012 11013 11014 11015 11016 11017 11018 11019 11020 11021 11022 11023 11024 11025 11026 11027 11028 11029 11030 11031 11032 11033 11034 11035 11036 11037 11038 11039 11040 11041 11042 11043 11044 11045 11046 11047 11048 11049 11050 11051 11052 11053 11054 11055 11056 11057 11058 11059 11060 11061 11062 11063 11064 11065 11066 11067 11068 11069 11070 11071 11072 11073 11074 11075 11076 11077 11078 11079 11080 11081 11082 11083 11084 11085 11086 11087 11088 11089 11090 11091 11092 11093 11094 11095 11096 11097 11098 11099 11100 11101 11102 11103 11104 11105 11106 11107 11108 11109 11110 11111 11112 11113 11114 11115 11116 11117 11118 11119 11120 11121 11122 11123 11124 11125 11126 11127 11128 11129 11130 11131 11132 11133 11134 11135 11136 11137 11138 11139 11140 11141 11142 11143 11144 11145 11146 11147 11148 11149 11150 11151 11152 11153 11154 11155 11156 11157 11158 11159 11160 11161 11162 11163 11164 11165 11166 11167 11168 11169 11170 11171 11172 11173 11174 11175 11176 11177 11178 11179 11180 11181 11182 11183 11184 11185 11186 11187 11188 11189 11190 11191 11192 11193 11194 11195 11196 11197 11198 11199 11200 11201 11202 11203 11204 11205 11206 11207 11208 11209 11210 11211 11212 11213 11214 11215 11216 11217 11218 11219 11220 11221 11222 11223 11224 11225 11226 11227 11228 11229 11230 11231 11232 11233 11234 11235 11236 11237 11238 11239 11240 11241 11242 11243 11244 11245 11246 11247 11248 11249 11250 11251 11252 11253 11254 11255 11256 11257 11258 11259 11260 11261 11262 11263 11264 11265 11266 11267 11268 11269 11270 11271 11272 11273 11274 11275 11276 11277 11278 11279 11280 11281 11282 11283 11284 11285 11286 11287 11288 11289 11290 11291 11292 11293 11294 11295 11296 11297 11298 11299 11300 11301 11302 11303 11304 11305 11306 11307 11308 11309 11310 11311 11312 11313 11314 11315 11316 11317 11318 11319 11320 11321 11322 11323 11324 11325 11326 11327 11328 11329 11330 11331 11332 11333 11334 11335 11336 11337 11338 11339 11340 11341 11342 11343 11344 11345 11346 11347 11348 11349 11350 11351 11352 11353 11354 11355 11356 11357 11358 11359 11360 11361 11362 11363 11364 11365 11366 11367 11368 11369 11370 11371 11372 11373 11374 11375 11376 11377 11378 11379 11380 11381 11382 11383 11384 11385 11386 11387 11388 11389 11390 11391 11392 11393 11394 11395 11396 11397 11398 11399 11400 11401 11402 11403 11404 11405 11406 11407 11408 11409 11410 11411 11412 11413 11414 11415 11416 11417 11418 11419 11420 11421 11422 11423 11424 11425 11426 11427 11428 11429 11430 11431 11432 11433 11434 11435 11436 11437 11438 11439 11440 11441 11442 11443 11444 11445 11446 11447 11448 11449 11450 11451 11452 11453 11454 11455 11456 11457 11458 11459 11460 11461 11462 11463 11464 11465 11466 11467 11468 11469 11470 11471 11472 11473 11474 11475 11476 11477 11478 11479 11480 11481 11482 11483 11484 11485 11486 11487 11488 11489 11490 11491 11492 11493 11494 11495 11496 11497 11498 11499 11500 11501 11502 11503 11504 11505 11506 11507 11508 11509 11510 11511 11512 11513 11514 11515 11516 11517 11518 11519 11520 11521 11522 11523 11524 11525 11526 11527 11528 11529 11530 11531 11532 11533 11534 11535 11536 11537 11538 11539 11540 11541 11542 11543 11544 11545 11546 11547 11548 11549 11550 11551 11552 11553 11554 11555 11556 11557 11558 11559 11560 11561 11562 11563 11564 11565 11566 11567 11568 11569 11570 11571 11572 11573 11574 11575 11576 11577 11578 11579 11580 11581 11582 11583 11584 11585 11586 11587 11588 11589 11590 11591 11592 11593 11594 11595 11596 11597 11598 11599 11600 11601 11602 11603 11604 11605 11606 11607 11608 11609 11610 11611 11612 11613 11614 11615 11616 11617 11618 11619 11620 11621 11622 11623 11624 11625 11626 11627 11628 11629 11630 11631 11632 11633 11634 11635 11636 11637 11638 11639 11640 11641 11642 11643 11644 11645 11646 11647 11648 11649 11650 11651 11652 11653 11654 11655 11656 11657 11658 11659 11660 11661 11662 11663 11664 11665 11666 11667 11668 11669 11670 11671 11672 11673 11674 11675 11676 11677 11678 11679 11680 11681 11682 11683 11684 11685 11686 11687 11688 11689 11690 11691 11692 11693 11694 11695 11696 11697 11698 11699 11700 11701 11702 11703 11704 11705 11706 11707 11708 11709 11710 11711 11712 11713 11714 11715 11716 11717 11718 11719 11720 11721 11722 11723 11724 11725 11726 11727 11728 11729 11730 11731 11732 11733 11734 11735 11736 11737 11738 11739 11740 11741 11742 11743 11744 11745 11746 11747 11748 11749 11750 11751 11752 11753 11754 11755 11756 11757 11758 11759 11760 11761 11762 11763 11764 11765 11766 11767 11768 11769 11770 11771 11772 11773 11774 11775 11776 11777 11778 11779 11780 11781 11782 11783 11784 11785 11786 11787 11788 11789 11790 11791 11792 11793 11794 11795 11796 11797 11798 11799 11800 11801 11802 11803 11804 11805 11806 11807 11808 11809 11810 11811 11812 11813 11814 11815 11816 11817 11818 11819 11820 11821 11822 11823 11824 11825 11826 11827 11828 11829 11830 11831 11832 11833 11834 11835 11836 11837 11838 11839 11840 11841 11842 11843 11844 11845 11846 11847 11848 11849 11850 11851 11852 11853 11854 11855 11856 11857 11858 11859 11860 11861 11862 11863 11864 11865 11866 11867 11868 11869 11870 11871 11872 11873 11874 11875 11876 11877 11878 11879 11880 11881 11882 11883 11884 11885 11886 11887 11888 11889 11890 11891 11892 11893 11894 11895 11896 11897 11898 11899 11900 11901 11902 11903 11904 11905 11906 11907 11908 11909 11910 11911 11912 11913 11914 11915 11916 11917 11918 11919 11920 11921 11922 11923 11924 11925 11926 11927 11928 11929 11930 11931 11932 11933 11934 11935 11936 11937 11938 11939 11940 11941 11942 11943 11944 11945 11946 11947 11948 11949 11950 11951 11952 11953 11954 11955 11956 11957 11958 11959 11960 11961 11962 11963 11964 11965 11966 11967 11968 11969 11970 11971 11972 11973 11974 11975 11976 11977 11978 11979 11980 11981 11982 11983 11984 11985 11986 11987 11988 11989 11990 11991 11992 11993 11994 11995 11996 11997 11998 11999 12000 12001 12002 12003 12004 12005 12006 12007 12008 12009 12010 12011 12012 12013 12014 12015 12016 12017 12018 12019 12020 12021 12022 12023 12024 12025 12026 12027 12028 12029 12030 12031 12032 12033 12034 12035 12036 12037 12038 12039 12040 12041 12042 12043 12044 12045 12046 12047 12048 12049 12050 12051 12052 12053 12054 12055 12056 12057 12058 12059 12060 12061 12062 12063 12064 12065 12066 12067 12068 12069 12070 12071 12072 12073 12074 12075 12076 12077 12078 12079 12080 12081 12082 12083 12084 12085 12086 12087 12088 12089 12090 12091 12092 12093 12094 12095 12096 12097 12098 12099 12100 12101 12102 12103 12104 12105 12106 12107 12108 12109 12110 12111 12112 12113 12114 12115 12116 12117 12118 12119 12120 12121 12122 12123 12124 12125 12126 12127 12128 12129 12130 12131 12132 12133 12134 12135 12136 12137 12138 12139 12140 12141 12142 12143 12144 12145 12146 12147 12148 12149 12150 12151 12152 12153 12154 12155 12156 12157 12158 12159 12160 12161 12162 12163 12164 12165 12166 12167 12168 12169 12170 12171 12172 12173 12174 12175 12176 12177 12178 12179 12180 12181 12182 12183 12184 12185 12186 12187 12188 12189 12190 12191 12192 12193 12194 12195 12196 12197 12198 12199 12200 12201 12202 12203 12204 12205 12206 12207 12208 12209 12210 12211 12212 12213 12214 12215 12216 12217 12218 12219 12220 12221 12222 12223 12224 12225 12226 12227 12228 12229 12230 12231 12232 12233 12234 12235 12236 12237 12238 12239 12240 12241 12242 12243 12244 12245 12246 12247 12248 12249 12250 12251 12252 12253 12254 12255 12256 12257 12258 12259 12260 12261 12262 12263 12264 12265 12266 12267 12268 12269 12270 12271 12272 12273 12274 12275 12276 12277 12278 12279 12280 12281 12282 12283 12284 12285 12286 12287 12288 12289 12290 12291 12292 12293 12294 12295 12296 12297 12298 12299 12300 12301 12302 12303 12304 12305 12306 12307 12308 12309 12310 12311 12312 12313 12314 12315 12316 12317 12318 12319 12320 12321 12322 12323 12324 12325 12326 12327 12328 12329 12330 12331 12332 12333 12334 12335 12336 12337 12338 12339 12340 12341 12342 12343 12344 12345 12346 12347 12348 12349 12350 12351 12352 12353 12354 12355 12356 12357 12358 12359 12360 12361 12362 12363 12364 12365 12366 12367 12368 12369 12370 12371 12372 12373 12374 12375 12376 12377 12378 12379 12380 12381 12382 12383 12384 12385 12386 12387 12388 12389 12390 12391 12392 12393 12394 12395 12396 12397 12398 12399 12400 12401 12402 12403 12404 12405 12406 12407 12408 12409 12410 12411 12412 12413 12414 12415 12416 12417 12418 12419 12420 12421 12422 12423 12424 12425 12426 12427 12428 12429 12430 12431 12432 12433 12434 12435 12436 12437 12438 12439 12440 12441 12442 12443 12444 12445 12446 12447 12448 12449 12450 12451 12452 12453 12454 12455 12456 12457 12458 12459 12460 12461 12462 12463 12464 12465 12466 12467 12468 12469 12470 12471 12472 12473 12474 12475 12476 12477 12478 12479 12480 12481 12482 12483 12484 12485 12486 12487 12488 12489 12490 12491 12492 12493 12494 12495 12496 12497 12498 12499 12500 12501 12502 12503 12504 12505 12506 12507 12508 12509 12510 12511 12512 12513 12514 12515 12516 12517 12518 12519 12520 12521 12522 12523 12524 12525 12526 12527 12528 12529 12530 12531 12532 12533 12534 12535 12536 12537 12538 12539 12540 12541 12542 12543 12544 12545 12546 12547 12548 12549 12550 12551 12552 12553 12554 12555 12556 12557 12558 12559 12560 12561 12562 12563 12564 12565 12566 12567 12568 12569 12570 12571 12572 12573 12574 12575 12576 12577 12578 12579 12580 12581 12582 12583 12584 12585 12586 12587 12588 12589 12590 12591 12592 12593 12594 12595 12596 12597 12598 12599 12600 12601 12602 12603 12604 12605 12606 12607 12608 12609 12610 12611 12612 12613 12614 12615 12616 12617 12618 12619 12620 12621 12622 12623 12624 12625 12626 12627 12628 12629 12630 12631 12632 12633 12634 12635 12636 12637 12638 12639 12640 12641 12642 12643 12644 12645 12646 12647 12648 12649 12650 12651 12652 12653 12654 12655 12656 12657 12658 12659 12660 12661 12662 12663 12664 12665 12666 12667 12668 12669 12670 12671 12672 12673 12674 12675 12676 12677 12678 12679 12680 12681 12682 12683 12684 12685 12686 12687 12688 12689 12690 12691 12692 12693 12694 12695 12696 12697 12698 12699 12700 12701 12702 12703 12704 12705 12706 12707 12708 12709 12710 12711 12712 12713 12714 12715 12716 12717 12718 12719 12720 12721 12722 12723 12724 12725 12726 12727 12728 12729 12730 12731 12732 12733 12734 12735 12736 12737 12738 12739 12740 12741 12742 12743 12744 12745 12746 12747 12748 12749 12750 12751 12752 12753 12754 12755 12756 12757 12758 12759 12760 12761 12762 12763 12764 12765 12766 12767 12768 12769 12770 12771 12772 12773 12774 12775 12776 12777 12778 12779 12780 12781 12782 12783 12784 12785 12786 12787 12788 12789 12790 12791 12792 12793 12794 12795 12796 12797 12798 12799 12800 12801 12802 12803 12804 12805 12806 12807 12808 12809 12810 12811 12812 12813 12814 12815 12816 12817 12818 12819 12820 12821 12822 12823 12824 12825 12826 12827 12828 12829 12830 12831 12832 12833 12834 12835 12836 12837 12838 12839 12840 12841 12842 12843 12844 12845 12846 12847 12848 12849 12850 12851 12852 12853 12854 12855 12856 12857 12858 12859 12860 12861 12862 12863 12864 12865 12866 12867 12868 12869 12870 12871 12872 12873 12874 12875 12876 12877 12878 12879 12880 12881 12882 12883 12884 12885 12886 12887 12888 12889 12890 12891 12892 12893 12894 12895 12896 12897 12898 12899 12900 12901 12902 12903 12904 12905 12906 12907 12908 12909 12910 12911 12912 12913 12914 12915 12916 12917 12918 12919 12920 12921 12922 12923 12924 12925 12926 12927 12928 12929 12930 12931 12932 12933 12934 12935 12936 12937 12938 12939 12940 12941 12942 12943 12944 12945 12946 12947 12948 12949 12950 12951 12952 12953 12954 12955 12956 12957 12958 12959 12960 12961 12962 12963 12964 12965 12966 12967 12968 12969 12970 12971 12972 12973 12974 12975 12976 12977 12978 12979 12980 12981 12982 12983 12984 12985 12986 12987 12988 12989 12990 12991 12992 12993 12994 12995 12996 12997 12998 12999 13000 13001 13002 13003 13004 13005 13006 13007 13008 13009 13010 13011 13012 13013 13014 13015 13016 13017 13018 13019 13020 13021 13022 13023 13024 13025 13026 13027 13028 13029 13030 13031 13032 13033 13034 13035 13036 13037 13038 13039 13040 13041 13042 13043 13044 13045 13046 13047 13048 13049 13050 13051 13052 13053 13054 13055 13056 13057 13058 13059 13060 13061 13062 13063 13064 13065 13066 13067 13068 13069 13070 13071 13072 13073 13074 13075 13076 13077 13078 13079 13080 13081 13082 13083 13084 13085 13086 13087 13088 13089 13090 13091 13092 13093 13094 13095 13096 13097 13098 13099 13100 13101 13102 13103 13104 13105 13106 13107 13108 13109 13110 13111 13112 13113 13114 13115 13116 13117 13118 13119 13120 13121 13122 13123 13124 13125 13126 13127 13128 13129 13130 13131 13132 13133 13134 13135 13136 13137 13138 13139 13140 13141 13142 13143 13144 13145 13146 13147 13148 13149 13150 13151 13152 13153 13154 13155 13156 13157 13158 13159 13160 13161 13162 13163 13164 13165 13166 13167 13168 13169 13170 13171 13172 13173 13174 13175 13176 13177 13178 13179 13180 13181 13182 13183 13184 13185 13186 13187 13188 13189 13190 13191 13192 13193 13194 13195 13196 13197 13198 13199 13200 13201 13202 13203 13204 13205 13206 13207 13208 13209 13210 13211 13212 13213 13214 13215 13216 13217 13218 13219 13220 13221 13222 13223 13224 13225 13226 13227 13228 13229 13230 13231 13232 13233 13234 13235 13236 13237 13238 13239 13240 13241 13242 13243 13244 13245 13246 13247 13248 13249 13250 13251 13252 13253 13254 13255 13256 13257 13258 13259 13260 13261 13262 13263 13264 13265 13266 13267 13268 13269 13270 13271 13272 13273 13274 13275 13276 13277 13278 13279 13280 13281 13282 13283 13284 13285 13286 13287 13288 13289 13290 13291 13292 13293 13294 13295 13296 13297 13298 13299 13300 13301 13302 13303 13304 13305 13306 13307 13308 13309 13310 13311 13312 13313 13314 13315 13316 13317 13318 13319 13320 13321 13322 13323 13324 13325 13326 13327 13328 13329 13330 13331 13332 13333 13334 13335 13336 13337 13338 13339 13340 13341 13342 13343 13344 13345 13346 13347 13348 13349 13350 13351 13352 13353 13354 13355 13356 13357 13358 13359 13360 13361 13362 13363 13364 13365 13366 13367 13368 13369 13370 13371 13372 13373 13374 13375 13376 13377 13378 13379 13380 13381 13382 13383 13384 13385 13386 13387 13388 13389 13390 13391 13392 13393 13394 13395 13396 13397 13398 13399 13400 13401 13402 13403 13404 13405 13406 13407 13408 13409 13410 13411 13412 13413 13414 13415 13416 13417 13418 13419 13420 13421 13422 13423 13424 13425 13426 13427 13428 13429 13430 13431 13432 13433 13434 13435 13436 13437 13438 13439 13440 13441 13442 13443 13444 13445 13446 13447 13448 13449 13450 13451 13452 13453 13454 13455 13456 13457 13458 13459 13460 13461 13462 13463 13464 13465 13466 13467 13468 13469 13470 13471 13472 13473 13474 13475 13476 13477 13478 13479 13480 13481 13482 13483 13484 13485 13486 13487 13488 13489 13490 13491 13492 13493 13494 13495 13496 13497 13498 13499 13500 13501 13502 13503 13504 13505 13506 13507 13508 13509 13510 13511 13512 13513 13514 13515 13516 13517 13518 13519 13520 13521 13522 13523 13524 13525 13526 13527 13528 13529 13530 13531 13532 13533 13534 13535 13536 13537 13538 13539 13540 13541 13542 13543 13544 13545 13546 13547 13548 13549 13550 13551 13552 13553 13554 13555 13556 13557 13558 13559 13560 13561 13562 13563 13564 13565 13566 13567 13568 13569 13570 13571 13572 13573 13574 13575 13576 13577 13578 13579 13580 13581 13582 13583 13584 13585 13586 13587 13588 13589 13590 13591 13592 13593 13594 13595 13596 13597 13598 13599 13600 13601 13602 13603 13604 13605 13606 13607 13608 13609 13610 13611 13612 13613 13614 13615 13616 13617 13618 13619 13620 13621 13622 13623 13624 13625 13626 13627 13628 13629 13630 13631 13632 13633 13634 13635 13636 13637 13638 13639 13640 13641 13642 13643 13644 13645 13646 13647 13648 13649 13650 13651 13652 13653 13654 13655 13656 13657 13658 13659 13660 13661 13662 13663 13664 13665 13666 13667 13668 13669 13670 13671 13672 13673 13674 13675 13676 13677 13678 13679 13680 13681 13682 13683 13684 13685 13686 13687 13688 13689 13690 13691 13692 13693 13694 13695 13696 13697 13698 13699 13700 13701 13702 13703 13704 13705 13706 13707 13708 13709 13710 13711 13712 13713 13714 13715 13716 13717 13718 13719 13720 13721 13722 13723 13724 13725 13726 13727 13728 13729 13730 13731 13732 13733 13734 13735 13736 13737 13738 13739 13740 13741 13742 13743 13744 13745 13746 13747 13748 13749 13750 13751 13752 13753 13754 13755 13756 13757 13758 13759 13760 13761 13762 13763 13764 13765 13766 13767 13768 13769 13770 13771 13772 13773 13774 13775 13776 13777 13778 13779 13780 13781 13782 13783 13784 13785 13786 13787 13788 13789 13790 13791 13792 13793 13794 13795 13796 13797 13798 13799 13800 13801 13802 13803 13804 13805 13806 13807 13808 13809 13810 13811 13812 13813 13814 13815 13816 13817 13818 13819 13820 13821 13822 13823 13824 13825 13826 13827 13828 13829 13830 13831 13832 13833 13834 13835 13836 13837 13838 13839 13840 13841 13842 13843 13844 13845 13846 13847 13848 13849 13850 13851 13852 13853 13854 13855 13856 13857 13858 13859 13860 13861 13862 13863 13864 13865 13866 13867 13868 13869 13870 13871 13872 13873 13874 13875 13876 13877 13878 13879 13880 13881 13882 13883 13884 13885 13886 13887 13888 13889 13890 13891 13892 13893 13894 13895 13896 13897 13898 13899 13900 13901 13902 13903 13904 13905 13906 13907 13908 13909 13910 13911 13912 13913 13914 13915 13916 13917 13918 13919 13920 13921 13922 13923 13924 13925 13926 13927 13928 13929 13930 13931 13932 13933 13934 13935 13936 13937 13938 13939 13940 13941 13942 13943 13944 13945 13946 13947 13948 13949 13950 13951 13952 13953 13954 13955 13956 13957 13958 13959 13960 13961 13962 13963 13964 13965 13966 13967 13968 13969 13970 13971 13972 13973 13974 13975 13976 13977 13978 13979 13980 13981 13982 13983 13984 13985 13986 13987 13988 13989 13990 13991 13992 13993 13994 13995 13996 13997 13998 13999 14000 14001 14002 14003 14004 14005 14006 14007 14008 14009 14010 14011 14012 14013 14014 14015 14016 14017 14018 14019 14020 14021 14022 14023 14024 14025 14026 14027 14028 14029 14030 14031 14032 14033 14034 14035 14036 14037 14038 14039 14040 14041 14042 14043 14044 14045 14046 14047 14048 14049 14050 14051 14052 14053 14054 14055 14056 14057 14058 14059 14060 14061 14062 14063 14064 14065 14066 14067 14068 14069 14070 14071 14072 14073 14074 14075 14076 14077 14078 14079 14080 14081 14082 14083 14084 14085 14086 14087 14088 14089 14090 14091 14092 14093 14094 14095 14096 14097 14098 14099 14100 14101 14102 14103 14104 14105 14106 14107 14108 14109 14110 14111 14112 14113 14114 14115 14116 14117 14118 14119 14120 14121 14122 14123 14124 14125 14126 14127 14128 14129 14130 14131 14132 14133 14134 14135 14136 14137 14138 14139 14140 14141 14142 14143 14144 14145 14146 14147 14148 14149 14150 14151 14152 14153 14154 14155 14156 14157 14158 14159 14160 14161 14162 14163 14164 14165 14166 14167 14168 14169 14170 14171 14172 14173 14174 14175 14176 14177 14178 14179 14180 14181 14182 14183 14184 14185 14186 14187 14188 14189 14190 14191 14192 14193 14194 14195 14196 14197 14198 14199 14200 14201 14202 14203 14204 14205 14206 14207 14208 14209 14210 14211 14212 14213 14214 14215 14216 14217 14218 14219 14220 14221 14222 14223 14224 14225 14226 14227 14228 14229 14230 14231 14232 14233 14234 14235 14236 14237 14238 14239 14240 14241 14242 14243 14244 14245 14246 14247 14248 14249 14250 14251 14252 14253 14254 14255 14256 14257 14258 14259 14260 14261 14262 14263 14264 14265 14266 14267 14268 14269 14270 14271 14272 14273 14274 14275 14276 14277 14278 14279 14280 14281 14282 14283 14284 14285 14286 14287 14288 14289 14290 14291 14292 14293 14294 14295 14296 14297 14298 14299 14300 14301 14302 14303 14304 14305 14306 14307 14308 14309 14310 14311 14312 14313 14314 14315 14316 14317 14318 14319 14320 14321 14322 14323 14324 14325 14326 14327 14328 14329 14330 14331 14332 14333 14334 14335 14336 14337 14338 14339 14340 14341 14342 14343 14344 14345 14346 14347 14348 14349 14350 14351 14352 14353 14354 14355 14356 14357 14358 14359 14360 14361 14362 14363 14364 14365 14366 14367 14368 14369 14370 14371 14372 14373 14374 14375 14376 14377 14378 14379 14380 14381 14382 14383 14384 14385 14386 14387 14388 14389 14390 14391 14392 14393 14394 14395 14396 14397 14398 14399 14400 14401 14402 14403 14404 14405 14406 14407 14408 14409 14410 14411 14412 14413 14414 14415 14416 14417 14418 14419 14420 14421 14422 14423 14424 14425 14426 14427 14428 14429 14430 14431 14432 14433 14434 14435 14436 14437 14438 14439 14440 14441 14442 14443 14444 14445 14446 14447 14448 14449 14450 14451 14452 14453 14454 14455 14456 14457 14458 14459 14460 14461 14462 14463 14464 14465 14466 14467 14468 14469 14470 14471 14472 14473 14474 14475 14476 14477 14478 14479 14480 14481 14482 14483 14484 14485 14486 14487 14488 14489 14490 14491 14492 14493 14494 14495 14496 14497 14498 14499 14500 14501 14502 14503 14504 14505 14506 14507 14508 14509 14510 14511 14512 14513 14514 14515 14516 14517 14518 14519 14520 14521 14522 14523 14524 14525 14526 14527 14528 14529 14530 14531 14532 14533 14534 14535 14536 14537 14538 14539 14540 14541 14542 14543 14544 14545 14546 14547 14548 14549 14550 14551 14552 14553 14554 14555 14556 14557 14558 14559 14560 14561 14562 14563 14564 14565 14566 14567 14568 14569 14570 14571 14572 14573 14574 14575 14576 14577 14578 14579 14580 14581 14582 14583 14584 14585 14586 14587 14588 14589 14590 14591 14592 14593 14594 14595 14596 14597 14598 14599 14600 14601 14602 14603 14604 14605 14606 14607 14608 14609 14610 14611 14612 14613 14614 14615 14616 14617 14618 14619 14620 14621 14622 14623 14624 14625 14626 14627 14628 14629 14630 14631 14632 14633 14634 14635 14636 14637 14638 14639 14640 14641 14642 14643 14644 14645 14646 14647 14648 14649 14650 14651 14652 14653 14654 14655 14656 14657 14658 14659 14660 14661 14662 14663 14664 14665 14666 14667 14668 14669 14670 14671 14672 14673 14674 14675 14676 14677 14678 14679 14680 14681 14682 14683 14684 14685 14686 14687 14688 14689 14690 14691 14692 14693 14694 14695 14696 14697 14698 14699 14700 14701 14702 14703 14704 14705 14706 14707 14708 14709 14710 14711 14712 14713 14714 14715 14716 14717 14718 14719 14720 14721 14722 14723 14724 14725 14726 14727 14728 14729 14730 14731 14732 14733 14734 14735 14736 14737 14738 14739 14740 14741 14742 14743 14744 14745 14746 14747 14748 14749 14750 14751 14752 14753 14754 14755 14756 14757 14758 14759 14760 14761 14762 14763 14764 14765 14766 14767 14768 14769 14770 14771 14772 14773 14774 14775 14776 14777 14778 14779 14780 14781 14782 14783 14784 14785 14786 14787 14788 14789 14790 14791 14792 14793 14794 14795 14796 14797 14798 14799 14800 14801 14802 14803 14804 14805 14806 14807 14808 14809 14810 14811 14812 14813 14814 14815 14816 14817 14818 14819 14820 14821 14822 14823 14824 14825 14826 14827 14828 14829 14830 14831 14832 14833 14834 14835 14836 14837 14838 14839 14840 14841 14842 14843 14844 14845 14846 14847 14848 14849 14850 14851 14852 14853 14854 14855 14856 14857 14858 14859 14860 14861 14862 14863 14864 14865 14866 14867 14868 14869 14870 14871 14872 14873 14874 14875 14876 14877 14878 14879 14880 14881 14882 14883 14884 14885 14886 14887 14888 14889 14890 14891 14892 14893 14894 14895 14896 14897 14898 14899 14900 14901 14902 14903 14904 14905 14906 14907 14908 14909 14910 14911 14912 14913 14914 14915 14916 14917 14918 14919 14920 14921 14922 14923 14924 14925 14926 14927 14928 14929 14930 14931 14932 14933 14934 14935 14936 14937 14938 14939 14940 14941 14942 14943 14944 14945 14946 14947 14948 14949 14950 14951 14952 14953 14954 14955 14956 14957 14958 14959 14960 14961 14962 14963 14964 14965 14966 14967 14968 14969 14970 14971 14972 14973 14974 14975 14976 14977 14978 14979 14980 14981 14982 14983 14984 14985 14986 14987 14988 14989 14990 14991 14992 14993 14994 14995 14996 14997 14998 14999 15000 15001 15002 15003 15004 15005 15006 15007 15008 15009 15010 15011 15012 15013 15014 15015 15016 15017 15018 15019 15020 15021 15022 15023 15024 15025 15026 15027 15028 15029 15030 15031 15032 15033 15034 15035 15036 15037 15038 15039 15040 15041 15042 15043 15044 15045 15046 15047 15048 15049 15050 15051 15052 15053 15054 15055 15056 15057 15058 15059 15060 15061 15062 15063 15064 15065 15066 15067 15068 15069 15070 15071 15072 15073 15074 15075 15076 15077 15078 15079 15080 15081 15082 15083 15084 15085 15086 15087 15088 15089 15090 15091 15092 15093 15094 15095 15096 15097 15098 15099 15100 15101 15102 15103 15104 15105 15106 15107 15108 15109 15110 15111 15112 15113 15114 15115 15116 15117 15118 15119 15120 15121 15122 15123 15124 15125 15126 15127 15128 15129 15130 15131 15132 15133 15134 15135 15136 15137 15138 15139 15140 15141 15142 15143 15144 15145 15146 15147 15148 15149 15150 15151 15152 15153 15154 15155 15156 15157 15158 15159 15160 15161 15162 15163 15164 15165 15166 15167 15168 15169 15170 15171 15172 15173 15174 15175 15176 15177 15178 15179 15180 15181 15182 15183 15184 15185 15186 15187 15188 15189 15190 15191 15192 15193 15194 15195 15196 15197 15198 15199 15200 15201 15202 15203 15204 15205 15206 15207 15208 15209 15210 15211 15212 15213 15214 15215 15216 15217 15218 15219 15220 15221 15222 15223 15224 15225 15226 15227 15228 15229 15230 15231 15232 15233 15234 15235 15236 15237 15238 15239 15240 15241 15242 15243 15244 15245 15246 15247 15248 15249 15250 15251 15252 15253 15254 15255 15256 15257 15258 15259 15260 15261 15262 15263 15264 15265 15266 15267 15268 15269 15270 15271 15272 15273 15274 15275 15276 15277 15278 15279 15280 15281 15282 15283 15284 15285 15286 15287 15288 15289 15290 15291 15292 15293 15294 15295 15296 15297 15298 15299 15300 15301 15302 15303 15304 15305 15306 15307 15308 15309 15310 15311 15312 15313 15314 15315 15316 15317 15318 15319 15320 15321 15322 15323 15324 15325 15326 15327 15328 15329 15330 15331 15332 15333 15334 15335 15336 15337 15338 15339 15340 15341 15342 15343 15344 15345 15346 15347 15348 15349 15350 15351 15352 15353 15354 15355 15356 15357 15358 15359 15360 15361 15362 15363 15364 15365 15366 15367 15368 15369 15370 15371 15372 15373 15374 15375 15376 15377 15378 15379 15380 15381 15382 15383 15384 15385 15386 15387 15388 15389 15390 15391 15392 15393 15394 15395 15396 15397 15398 15399 15400 15401 15402 15403 15404 15405 15406 15407 15408 15409 15410 15411 15412 15413 15414 15415 15416 15417 15418 15419 15420 15421 15422 15423 15424 15425 15426 15427 15428 15429 15430 15431 15432 15433 15434 15435 15436 15437 15438 15439 15440 15441 15442 15443 15444 15445 15446 15447 15448 15449 15450 15451 15452 15453 15454 15455 15456 15457 15458 15459 15460 15461 15462 15463 15464 15465 15466 15467 15468 15469 15470 15471 15472 15473 15474 15475 15476 15477 15478 15479 15480 15481 15482 15483 15484 15485 15486 15487 15488 15489 15490 15491 15492 15493 15494 15495 15496 15497 15498 15499 15500 15501 15502 15503 15504 15505 15506 15507 15508 15509 15510 15511 15512 15513 15514 15515 15516 15517 15518 15519 15520 15521 15522 15523 15524 15525 15526 15527 15528 15529 15530 15531 15532 15533 15534 15535 15536 15537 15538 15539 15540 15541 15542 15543 15544 15545 15546 15547 15548 15549 15550 15551 15552 15553 15554 15555 15556 15557 15558 15559 15560 15561 15562 15563 15564 15565 15566 15567 15568 15569 15570 15571 15572 15573 15574 15575 15576 15577 15578 15579 15580 15581 15582 15583 15584 15585 15586 15587 15588 15589 15590 15591 15592 15593 15594 15595 15596 15597 15598 15599 15600 15601 15602 15603 15604 15605 15606 15607 15608 15609 15610 15611 15612 15613 15614 15615 15616 15617 15618 15619 15620 15621 15622 15623 15624 15625 15626 15627 15628 15629 15630 15631 15632 15633 15634 15635 15636 15637 15638 15639 15640 15641 15642 15643 15644 15645 15646 15647 15648 15649 15650 15651 15652 15653 15654 15655 15656 15657 15658 15659 15660 15661 15662 15663 15664 15665 15666 15667 15668 15669 15670 15671 15672 15673 15674 15675 15676 15677 15678 15679 15680 15681 15682 15683 15684 15685 15686 15687 15688 15689 15690 15691 15692 15693 15694 15695 15696 15697 15698 15699 15700 15701 15702 15703 15704 15705 15706 15707 15708 15709 15710 15711 15712 15713 15714 15715 15716 15717 15718 15719 15720 15721 15722 15723 15724 15725 15726 15727 15728 15729 15730 15731 15732 15733 15734 15735 15736 15737 15738 15739 15740 15741 15742 15743 15744 15745 15746 15747 15748 15749 15750 15751 15752 15753 15754 15755 15756 15757 15758 15759 15760 15761 15762 15763 15764 15765 15766 15767 15768 15769 15770 15771 15772 15773 15774 15775 15776 15777 15778 15779 15780 15781 15782 15783 15784 15785 15786 15787 15788 15789 15790 15791 15792 15793 15794 15795 15796 15797 15798 15799 15800 15801 15802 15803 15804 15805 15806 15807 15808 15809 15810 15811 15812 15813 15814 15815 15816 15817 15818 15819 15820 15821 15822 15823 15824 15825 15826 15827 15828 15829 15830 15831 15832 15833 15834 15835 15836 15837 15838 15839 15840 15841 15842 15843 15844 15845 15846 15847 15848 15849 15850 15851 15852 15853 15854 15855 15856 15857 15858 15859 15860 15861 15862 15863 15864 15865 15866 15867 15868 15869 15870 15871 15872 15873 15874 15875 15876 15877 15878 15879 15880 15881 15882 15883 15884 15885 15886 15887 15888 15889 15890 15891 15892 15893 15894 15895 15896 15897 15898 15899 15900 15901 15902 15903 15904 15905 15906 15907 15908 15909 15910 15911 15912 15913 15914 15915 15916 15917 15918 15919 15920 15921 15922 15923 15924 15925 15926 15927 15928 15929 15930 15931 15932 15933 15934 15935 15936 15937 15938 15939 15940 15941 15942 15943 15944 15945 15946 15947 15948 15949 15950 15951 15952 15953 15954 15955 15956 15957 15958 15959 15960 15961 15962 15963 15964 15965 15966 15967 15968 15969 15970 15971 15972 15973 15974 15975 15976 15977 15978 15979 15980 15981 15982 15983 15984 15985 15986 15987 15988 15989 15990 15991 15992 15993 15994 15995 15996 15997 15998 15999 16000 16001 16002 16003 16004 16005 16006 16007 16008 16009 16010 16011 16012 16013 16014 16015 16016 16017 16018 16019 16020 16021 16022 16023 16024 16025 16026 16027 16028 16029 16030 16031 16032 16033 16034 16035 16036 16037 16038 16039 16040 16041 16042 16043 16044 16045 16046 16047 16048 16049 16050 16051 16052 16053 16054 16055 16056 16057 16058 16059 16060 16061 16062 16063 16064 16065 16066 16067 16068 16069 16070 16071 16072 16073 16074 16075 16076 16077 16078 16079 16080 16081 16082 16083 16084 16085 16086 16087 16088 16089 16090 16091 16092 16093 16094 16095 16096 16097 16098 16099 16100 16101 16102 16103 16104 16105 16106 16107 16108 16109 16110 16111 16112 16113 16114 16115 16116 16117 16118 16119 16120 16121 16122 16123 16124 16125 16126 16127 16128 16129 16130 16131 16132 16133 16134 16135 16136 16137 16138 16139 16140 16141 16142 16143 16144 16145 16146 16147 16148 16149 16150 16151 16152 16153 16154 16155 16156 16157 16158 16159 16160 16161 16162 16163 16164 16165 16166 16167 16168 16169 16170 16171 16172 16173 16174 16175 16176 16177 16178 16179 16180 16181 16182 16183 16184 16185 16186 16187 16188 16189 16190 16191 16192 16193 16194 16195 16196 16197 16198 16199 16200 16201 16202 16203 16204 16205 16206 16207 16208 16209 16210 16211 16212 16213 16214 16215 16216 16217 16218 16219 16220 16221 16222 16223 16224 16225 16226 16227 16228 16229 16230 16231 16232 16233 16234 16235 16236 16237 16238 16239 16240 16241 16242 16243 16244 16245 16246 16247 16248 16249 16250 16251 16252 16253 16254 16255 16256 16257 16258 16259 16260 16261 16262 16263 16264 16265 16266 16267 16268 16269 16270 16271 16272 16273 16274 16275 16276 16277 16278 16279 16280 16281 16282 16283 16284 16285 16286 16287 16288 16289 16290 16291 16292 16293 16294 16295 16296 16297 16298 16299 16300 16301 16302 16303 16304 16305 16306 16307 16308 16309 16310 16311 16312 16313 16314 16315 16316 16317 16318 16319 16320 16321 16322 16323 16324 16325 16326 16327 16328 16329 16330 16331 16332 16333 16334 16335 16336 16337 16338 16339 16340 16341 16342 16343 16344 16345 16346 16347 16348 16349 16350 16351 16352 16353 16354 16355 16356 16357 16358 16359 16360 16361 16362 16363 16364 16365 16366 16367 16368 16369 16370 16371 16372 16373 16374 16375 16376 16377 16378 16379 16380 16381 16382 16383 16384 16385 16386 16387 16388 16389 16390 16391 16392 16393 16394 16395 16396 16397 16398 16399 16400 16401 16402 16403 16404 16405 16406 16407 16408 16409 16410 16411 16412 16413 16414 16415 16416 16417 16418 16419 16420 16421 16422 16423 16424 16425 16426 16427 16428 16429 16430 16431 16432 16433 16434 16435 16436 16437 16438 16439 16440 16441 16442 16443 16444 16445 16446 16447 16448 16449 16450 16451 16452 16453 16454 16455 16456 16457 16458 16459 16460 16461 16462 16463 16464 16465 16466 16467 16468 16469 16470 16471 16472 16473 16474 16475 16476 16477 16478 16479 16480 16481 16482 16483 16484 16485 16486 16487 16488 16489 16490 16491 16492 16493 16494 16495 16496 16497 16498 16499 16500 16501 16502 16503 16504 16505 16506 16507 16508 16509 16510 16511 16512 16513 16514 16515 16516 16517 16518 16519 16520 16521 16522 16523 16524 16525 16526 16527 16528 16529 16530 16531 16532 16533 16534 16535 16536 16537 16538 16539 16540 16541 16542 16543 16544 16545 16546 16547 16548 16549 16550 16551 16552 16553 16554 16555 16556 16557 16558 16559 16560 16561 16562 16563 16564 16565 16566 16567 16568 16569 16570 16571 16572 16573 16574 16575 16576 16577 16578 16579 16580 16581 16582 16583 16584 16585 16586 16587 16588 16589 16590 16591 16592 16593 16594 16595 16596 16597 16598 16599 16600 16601 16602 16603 16604 16605 16606 16607 16608 16609 16610 16611 16612 16613 16614 16615 16616 16617 16618 16619 16620 16621 16622 16623 16624 16625 16626 16627 16628 16629 16630 16631 16632 16633 16634 16635 16636 16637 16638 16639 16640 16641 16642 16643 16644 16645 16646 16647 16648 16649 16650 16651 16652 16653 16654 16655 16656 16657 16658 16659 16660 16661 16662 16663 16664 16665 16666 16667 16668 16669 16670 16671 16672 16673 16674 16675 16676 16677 16678 16679 16680 16681 16682 16683 16684 16685 16686 16687 16688 16689 16690 16691 16692 16693 16694 16695 16696 16697 16698 16699 16700 16701 16702 16703 16704 16705 16706 16707 16708 16709 16710 16711 16712 16713 16714 16715 16716 16717 16718 16719 16720 16721 16722 16723 16724 16725 16726 16727 16728 16729 16730 16731 16732 16733 16734 16735 16736 16737 16738 16739 16740 16741 16742 16743 16744 16745 16746 16747 16748 16749 16750 16751 16752 16753 16754 16755 16756 16757 16758 16759 16760 16761 16762 16763 16764 16765 16766 16767 16768 16769 16770 16771 16772 16773 16774 16775 16776 16777 16778 16779 16780 16781 16782 16783 16784 16785 16786 16787 16788 16789 16790 16791 16792 16793 16794 16795 16796 16797 16798 16799 16800 16801 16802 16803 16804 16805 16806 16807 16808 16809 16810 16811 16812 16813 16814 16815 16816 16817 16818 16819 16820 16821 16822 16823 16824 16825 16826 16827 16828 16829 16830 16831 16832 16833 16834 16835 16836 16837 16838 16839 16840 16841 16842 16843 16844 16845 16846 16847 16848 16849 16850 16851 16852 16853 16854 16855 16856 16857 16858 16859 16860 16861 16862 16863 16864 16865 16866 16867 16868 16869 16870 16871 16872 16873 16874 16875 16876 16877 16878 16879 16880 16881 16882 16883 16884 16885 16886 16887 16888 16889 16890 16891 16892 16893 16894 16895 16896 16897 16898 16899 16900 16901 16902 16903 16904 16905 16906 16907 16908 16909 16910 16911 16912 16913 16914 16915 16916 16917 16918 16919 16920 16921 16922 16923 16924 16925 16926 16927 16928 16929 16930 16931 16932 16933 16934 16935 16936 16937 16938 16939 16940 16941 16942 16943 16944 16945 16946 16947 16948 16949 16950 16951 16952 16953 16954 16955 16956 16957 16958 16959 16960 16961 16962 16963 16964 16965 16966 16967 16968 16969 16970 16971 16972 16973 16974 16975 16976 16977 16978 16979 16980 16981 16982 16983 16984 16985 16986 16987 16988 16989 16990 16991 16992 16993 16994 16995 16996 16997 16998 16999 17000 17001 17002 17003 17004 17005 17006 17007 17008 17009 17010 17011 17012 17013 17014 17015 17016 17017 17018 17019 17020 17021 17022 17023 17024 17025 17026 17027 17028 17029 17030 17031 17032 17033 17034 17035 17036 17037 17038 17039 17040 17041 17042 17043 17044 17045 17046 17047 17048 17049 17050 17051 17052 17053 17054 17055 17056 17057 17058 17059 17060 17061 17062 17063 17064 17065 17066 17067 17068 17069 17070 17071 17072 17073 17074 17075 17076 17077 17078 17079 17080 17081 17082 17083 17084 17085 17086 17087 17088 17089 17090 17091 17092 17093 17094 17095 17096 17097 17098 17099 17100 17101 17102 17103 17104 17105 17106 17107 17108 17109 17110 17111 17112 17113 17114 17115 17116 17117 17118 17119 17120 17121 17122 17123 17124 17125 17126 17127 17128 17129 17130 17131 17132 17133 17134 17135 17136 17137 17138 17139 17140 17141 17142 17143 17144 17145 17146 17147 17148 17149 17150 17151 17152 17153 17154 17155 17156 17157 17158 17159 17160 17161 17162 17163 17164 17165 17166 17167 17168 17169 17170 17171 17172 17173 17174 17175 17176 17177 17178 17179 17180 17181 17182 17183 17184 17185 17186 17187 17188 17189 17190 17191 17192 17193 17194 17195 17196 17197 17198 17199 17200 17201 17202 17203 17204 17205 17206 17207 17208 17209 17210 17211 17212 17213 17214 17215 17216 17217 17218 17219 17220 17221 17222 17223 17224 17225 17226 17227 17228 17229 17230 17231 17232 17233 17234 17235 17236 17237 17238 17239 17240 17241 17242 17243 17244 17245 17246 17247 17248 17249 17250 17251 17252 17253 17254 17255 17256 17257 17258 17259 17260 17261 17262 17263 17264 17265 17266 17267 17268 17269 17270 17271 17272 17273 17274 17275 17276 17277 17278 17279 17280 17281 17282 17283 17284 17285 17286 17287 17288 17289 17290 17291 17292 17293 17294 17295 17296 17297 17298 17299 17300 17301 17302 17303 17304 17305 17306 17307 17308 17309 17310 17311 17312 17313 17314 17315 17316 17317 17318 17319 17320 17321 17322 17323 17324 17325 17326 17327 17328 17329 17330 17331 17332 17333 17334 17335 17336 17337 17338 17339 17340 17341 17342 17343 17344 17345 17346 17347 17348 17349 17350 17351 17352 17353 17354 17355 17356 17357 17358 17359 17360 17361 17362 17363 17364 17365 17366 17367 17368 17369 17370 17371 17372 17373 17374 17375 17376 17377 17378 17379 17380 17381 17382 17383 17384 17385 17386 17387 17388 17389 17390 17391 17392 17393 17394 17395 17396 17397 17398 17399 17400 17401 17402 17403 17404 17405 17406 17407 17408 17409 17410 17411 17412 17413 17414 17415 17416 17417 17418 17419 17420 17421 17422 17423 17424 17425 17426 17427 17428 17429 17430 17431 17432 17433 17434 17435 17436 17437 17438 17439 17440 17441 17442 17443 17444 17445 17446 17447 17448 17449 17450 17451 17452 17453 17454 17455 17456 17457 17458 17459 17460 17461 17462 17463 17464 17465 17466 17467 17468 17469 17470 17471 17472 17473 17474 17475 17476 17477 17478 17479 17480 17481 17482 17483 17484 17485 17486 17487 17488 17489 17490 17491 17492 17493 17494 17495 17496 17497 17498 17499 17500 17501 17502 17503 17504 17505 17506 17507 17508 17509 17510 17511 17512 17513 17514 17515 17516 17517 17518 17519 17520 17521 17522 17523 17524 17525 17526 17527 17528 17529 17530 17531 17532 17533 17534 17535 17536 17537 17538 17539 17540 17541 17542 17543 17544 17545 17546 17547 17548 17549 17550 17551 17552 17553 17554 17555 17556 17557 17558 17559 17560 17561 17562 17563 17564 17565 17566 17567 17568 17569 17570 17571 17572 17573 17574 17575 17576 17577 17578 17579 17580 17581 17582 17583 17584 17585 17586 17587 17588 17589 17590 17591 17592 17593 17594 17595 17596 17597 17598 17599 17600 17601 17602 17603 17604 17605 17606 17607 17608 17609 17610 17611 17612 17613 17614 17615 17616 17617 17618 17619 17620 17621 17622 17623 17624 17625 17626 17627 17628 17629 17630 17631 17632 17633 17634 17635 17636 17637 17638 17639 17640 17641 17642 17643 17644 17645 17646 17647 17648 17649 17650 17651 17652 17653 17654 17655 17656 17657 17658 17659 17660 17661 17662 17663 17664 17665 17666 17667 17668 17669 17670 17671 17672 17673 17674 17675 17676 17677 17678 17679 17680 17681 17682 17683 17684 17685 17686 17687 17688 17689 17690 17691 17692 17693 17694 17695 17696 17697 17698 17699 17700 17701 17702 17703 17704 17705 17706 17707 17708 17709 17710 17711 17712 17713 17714 17715 17716 17717 17718 17719 17720 17721 17722 17723 17724 17725 17726 17727 17728 17729 17730 17731 17732 17733 17734 17735 17736 17737 17738 17739 17740 17741 17742 17743 17744 17745 17746 17747 17748 17749 17750 17751 17752 17753 17754 17755 17756 17757 17758 17759 17760 17761 17762 17763 17764 17765 17766 17767 17768 17769 17770 17771 17772 17773 17774 17775 17776 17777 17778 17779 17780 17781 17782 17783 17784 17785 17786 17787 17788 17789 17790 17791 17792 17793 17794 17795 17796 17797 17798 17799 17800 17801 17802 17803 17804 17805 17806 17807 17808 17809 17810 17811 17812 17813 17814 17815 17816 17817 17818 17819 17820 17821 17822 17823 17824 17825 17826 17827 17828 17829 17830 17831 17832 17833 17834 17835 17836 17837 17838 17839 17840 17841 17842 17843 17844 17845 17846 17847 17848 17849 17850 17851 17852 17853 17854 17855 17856 17857 17858 17859 17860 17861 17862 17863 17864 17865 17866 17867 17868 17869 17870 17871 17872 17873 17874 17875 17876 17877 17878 17879 17880 17881 17882 17883 17884 17885 17886 17887 17888 17889 17890 17891 17892 17893 17894 17895 17896 17897 17898 17899 17900 17901 17902 17903 17904 17905 17906 17907 17908 17909 17910 17911 17912 17913 17914 17915 17916 17917 17918 17919 17920 17921 17922 17923 17924 17925 17926 17927 17928 17929 17930 17931 17932 17933 17934 17935 17936 17937 17938 17939 17940 17941 17942 17943 17944 17945 17946 17947 17948 17949 17950 17951 17952 17953 17954 17955 17956 17957 17958 17959 17960 17961 17962 17963 17964 17965 17966 17967 17968 17969 17970 17971 17972 17973 17974 17975 17976 17977 17978 17979 17980 17981 17982 17983 17984 17985 17986 17987 17988 17989 17990 17991 17992 17993 17994 17995 17996 17997 17998 17999 18000 18001 18002 18003 18004 18005 18006 18007 18008 18009 18010 18011 18012 18013 18014 18015 18016 18017 18018 18019 18020 18021 18022 18023 18024 18025 18026 18027 18028 18029 18030 18031 18032 18033 18034 18035 18036 18037 18038 18039 18040 18041 18042 18043 18044 18045 18046 18047 18048 18049 18050 18051 18052 18053 18054 18055 18056 18057 18058 18059 18060 18061 18062 18063 18064 18065 18066 18067 18068 18069 18070 18071 18072 18073 18074 18075 18076 18077 18078 18079 18080 18081 18082 18083 18084 18085 18086 18087 18088 18089 18090 18091 18092 18093 18094 18095 18096 18097 18098 18099 18100 18101 18102 18103 18104 18105 18106 18107 18108 18109 18110 18111 18112 18113 18114 18115 18116 18117 18118 18119 18120 18121 18122 18123 18124 18125 18126 18127 18128 18129 18130 18131 18132 18133 18134 18135 18136 18137 18138 18139 18140 18141 18142 18143 18144 18145 18146 18147 18148 18149 18150 18151 18152 18153 18154 18155 18156 18157 18158 18159 18160 18161 18162 18163 18164 18165 18166 18167 18168 18169 18170 18171 18172 18173 18174 18175 18176 18177 18178 18179 18180 18181 18182 18183 18184 18185 18186 18187 18188 18189 18190 18191 18192 18193 18194 18195 18196 18197 18198 18199 18200 18201 18202 18203 18204 18205 18206 18207 18208 18209 18210 18211 18212 18213 18214 18215 18216 18217 18218 18219 18220 18221 18222 18223 18224 18225 18226 18227 18228 18229 18230 18231 18232 18233 18234 18235 18236 18237 18238 18239 18240 18241 18242 18243 18244 18245 18246 18247 18248 18249 18250 18251 18252 18253 18254 18255 18256 18257 18258 18259 18260 18261 18262 18263 18264 18265 18266 18267 18268 18269 18270 18271 18272 18273 18274 18275 18276 18277 18278 18279 18280 18281 18282 18283 18284 18285 18286 18287 18288 18289 18290 18291 18292 18293 18294 18295 18296 18297 18298 18299 18300 18301 18302 18303 18304 18305 18306 18307 18308 18309 18310 18311 18312 18313 18314 18315 18316 18317 18318 18319 18320 18321 18322 18323 18324 18325 18326 18327 18328 18329 18330 18331 18332 18333 18334 18335 18336 18337 18338 18339 18340 18341 18342 18343 18344 18345 18346 18347 18348 18349 18350 18351 18352 18353 18354 18355 18356 18357 18358 18359 18360 18361 18362 18363 18364 18365 18366 18367 18368 18369 18370 18371 18372 18373 18374 18375 18376 18377 18378 18379 18380 18381 18382 18383 18384 18385 18386 18387 18388 18389 18390 18391 18392 18393 18394 18395 18396 18397 18398 18399 18400 18401 18402 18403 18404 18405 18406 18407 18408 18409 18410 18411 18412 18413 18414 18415 18416 18417 18418 18419 18420 18421 18422 18423 18424 18425 18426 18427 18428 18429 18430 18431 18432 18433 18434 18435 18436 18437 18438 18439 18440 18441 18442 18443 18444 18445 18446 18447 18448 18449 18450 18451 18452 18453 18454 18455 18456 18457 18458 18459 18460 18461 18462 18463 18464 18465 18466 18467 18468 18469 18470 18471 18472 18473 18474 18475 18476 18477 18478 18479 18480 18481 18482 18483 18484 18485 18486 18487 18488 18489 18490 18491 18492 18493 18494 18495 18496 18497 18498 18499 18500 18501 18502 18503 18504 18505 18506 18507 18508 18509 18510 18511 18512 18513 18514 18515 18516 18517 18518 18519 18520 18521 18522 18523 18524 18525 18526 18527 18528 18529 18530 18531 18532 18533 18534 18535 18536 18537 18538 18539 18540 18541 18542 18543 18544 18545 18546 18547 18548 18549 18550 18551 18552 18553 18554 18555 18556 18557 18558 18559 18560 18561 18562 18563 18564 18565 18566 18567 18568 18569 18570 18571 18572 18573 18574 18575 18576 18577 18578 18579 18580 18581 18582 18583 18584 18585 18586 18587 18588 18589 18590 18591 18592 18593 18594 18595 18596 18597 18598 18599 18600 18601 18602 18603 18604 18605 18606 18607 18608 18609 18610 18611 18612 18613 18614 18615 18616 18617 18618 18619 18620 18621 18622 18623 18624 18625 18626 18627 18628 18629 18630 18631 18632 18633 18634 18635 18636 18637 18638 18639 18640 18641 18642 18643 18644 18645 18646 18647 18648 18649 18650 18651 18652 18653 18654 18655 18656 18657 18658 18659 18660 18661 18662 18663 18664 18665 18666 18667 18668 18669 18670 18671 18672 18673 18674 18675 18676 18677 18678 18679 18680 18681 18682 18683 18684 18685 18686 18687 18688 18689 18690 18691 18692 18693 18694 18695 18696 18697 18698 18699 18700 18701 18702 18703 18704 18705 18706 18707 18708 18709 18710 18711 18712 18713 18714 18715 18716 18717 18718 18719 18720 18721 18722 18723 18724 18725 18726 18727 18728 18729 18730 18731 18732 18733 18734 18735 18736 18737 18738 18739 18740 18741 18742 18743 18744 18745 18746 18747 18748 18749 18750 18751 18752 18753 18754 18755 18756 18757 18758 18759 18760 18761 18762 18763 18764 18765 18766 18767 18768 18769 18770 18771 18772 18773 18774 18775 18776 18777 18778 18779 18780 18781 18782 18783 18784 18785 18786 18787 18788 18789 18790 18791 18792 18793 18794 18795 18796 18797 18798 18799 18800 18801 18802 18803 18804 18805 18806 18807 18808 18809 18810 18811 18812 18813 18814 18815 18816 18817 18818 18819 18820 18821 18822 18823 18824 18825 18826 18827 18828 18829 18830 18831 18832 18833 18834 18835 18836 18837 18838 18839 18840 18841 18842 18843 18844 18845 18846 18847 18848 18849 18850 18851 18852 18853 18854 18855 18856 18857 18858 18859 18860 18861 18862 18863 18864 18865 18866 18867 18868 18869 18870 18871 18872 18873 18874 18875 18876 18877 18878 18879 18880 18881 18882 18883 18884 18885 18886 18887 18888 18889 18890 18891 18892 18893 18894 18895 18896 18897 18898 18899 18900 18901 18902 18903 18904 18905 18906 18907 18908 18909 18910 18911 18912 18913 18914 18915 18916 18917 18918 18919 18920 18921 18922 18923 18924 18925 18926 18927 18928 18929 18930 18931 18932 18933 18934 18935 18936 18937 18938 18939 18940 18941 18942 18943 18944 18945 18946 18947 18948 18949 18950 18951 18952 18953 18954 18955 18956 18957 18958 18959 18960 18961 18962 18963 18964 18965 18966 18967 18968 18969 18970 18971 18972 18973 18974 18975 18976 18977 18978 18979 18980 18981 18982 18983 18984 18985 18986 18987 18988 18989 18990 18991 18992 18993 18994 18995 18996 18997 18998 18999 19000 19001 19002 19003 19004 19005 19006 19007 19008 19009 19010 19011 19012 19013 19014 19015 19016 19017 19018 19019 19020 19021 19022 19023 19024 19025 19026 19027 19028 19029 19030 19031 19032 19033 19034 19035 19036 19037 19038 19039 19040 19041 19042 19043 19044 19045 19046 19047 19048 19049 19050 19051 19052 19053 19054 19055 19056 19057 19058 19059 19060 19061 19062 19063 19064 19065 19066 19067 19068 19069 19070 19071 19072 19073 19074 19075 19076 19077 19078 19079 19080 19081 19082 19083 19084 19085 19086 19087 19088 19089 19090 19091 19092 19093 19094 19095 19096 19097 19098 19099 19100 19101 19102 19103 19104 19105 19106 19107 19108 19109 19110 19111 19112 19113 19114 19115 19116 19117 19118 19119 19120 19121 19122 19123 19124 19125 19126 19127 19128 19129 19130 19131 19132 19133 19134 19135 19136 19137 19138 19139 19140 19141 19142 19143 19144 19145 19146 19147 19148 19149 19150 19151 19152 19153 19154 19155 19156 19157 19158 19159 19160 19161 19162 19163 19164 19165 19166 19167 19168 19169 19170 19171 19172 19173 19174 19175 19176 19177 19178 19179 19180 19181 19182 19183 19184 19185 19186 19187 19188 19189 19190 19191 19192 19193 19194 19195 19196 19197 19198 19199 19200 19201 19202 19203 19204 19205 19206 19207 19208 19209 19210 19211 19212 19213 19214 19215 19216 19217 19218 19219 19220 19221 19222 19223 19224 19225 19226 19227 19228 19229 19230 19231 19232 19233 19234 19235 19236 19237 19238 19239 19240 19241 19242 19243 19244 19245 19246 19247 19248 19249 19250 19251 19252 19253 19254 19255 19256 19257 19258 19259 19260 19261 19262 19263 19264 19265 19266 19267 19268 19269 19270 19271 19272 19273 19274 19275 19276 19277 19278 19279 19280 19281 19282 19283 19284 19285 19286 19287 19288 19289 19290 19291 19292 19293 19294 19295 19296 19297 19298 19299 19300 19301 19302 19303 19304 19305 19306 19307 19308 19309 19310 19311 19312 19313 19314 19315 19316 19317 19318 19319 19320 19321 19322 19323 19324 19325 19326 19327 19328 19329 19330 19331 19332 19333 19334 19335 19336 19337 19338 19339 19340 19341 19342 19343 19344 19345 19346 19347 19348 19349 19350 19351 19352 19353 19354 19355 19356 19357 19358 19359 19360 19361 19362 19363 19364 19365 19366 19367 19368 19369 19370 19371 19372 19373 19374 19375 19376 19377 19378 19379 19380 19381 19382 19383 19384 19385 19386 19387 19388 19389 19390 19391 19392 19393 19394 19395 19396 19397 19398 19399 19400 19401 19402 19403 19404 19405 19406 19407 19408 19409 19410 19411 19412 19413 19414 19415 19416 19417 19418 19419 19420 19421 19422 19423 19424 19425 19426 19427 19428 19429 19430 19431 19432 19433 19434 19435 19436 19437 19438 19439 19440 19441 19442 19443 19444 19445 19446 19447 19448 19449 19450 19451 19452 19453 19454 19455 19456 19457 19458 19459 19460 19461 19462 19463 19464 19465 19466 19467 19468 19469 19470 19471 19472 19473 19474 19475 19476 19477 19478 19479 19480 19481 19482 19483 19484 19485 19486 19487 19488 19489 19490 19491 19492 19493 19494 19495 19496 19497 19498 19499 19500 19501 19502 19503 19504 19505 19506 19507 19508 19509 19510 19511 19512 19513 19514 19515 19516 19517 19518 19519 19520 19521 19522 19523 19524 19525 19526 19527 19528 19529 19530 19531 19532 19533 19534 19535 19536 19537 19538 19539 19540 19541 19542 19543 19544 19545 19546 19547 19548 19549 19550 19551 19552 19553 19554 19555 19556 19557 19558 19559 19560 19561 19562 19563 19564 19565 19566 19567 19568 19569 19570 19571 19572 19573 19574 19575 19576 19577 19578 19579 19580 19581 19582 19583 19584 19585 19586 19587 19588 19589 19590 19591 19592 19593 19594 19595 19596 19597 19598 19599 19600 19601 19602 19603 19604 19605 19606 19607 19608 19609 19610 19611 19612 19613 19614 19615 19616 19617 19618 19619 19620 19621 19622 19623 19624 19625 19626 19627 19628 19629 19630 19631 19632 19633 19634 19635 19636 19637 19638 19639 19640 19641 19642 19643 19644 19645 19646 19647 19648 19649 19650 19651 19652 19653 19654 19655 19656 19657 19658 19659 19660 19661 19662 19663 19664 19665 19666 19667 19668 19669 19670 19671 19672 19673 19674 19675 19676 19677 19678 19679 19680 19681 19682 19683 19684 19685 19686 19687 19688 19689 19690 19691 19692 19693 19694 19695 19696 19697 19698 19699 19700 19701 19702 19703 19704 19705 19706 19707 19708 19709 19710 19711 19712 19713 19714 19715 19716 19717 19718 19719 19720 19721 19722 19723 19724 19725 19726 19727 19728 19729 19730 19731 19732 19733 19734 19735 19736 19737 19738 19739 19740 19741 19742 19743 19744 19745 19746 19747 19748 19749 19750 19751 19752 19753 19754 19755 19756 19757 19758 19759 19760 19761 19762 19763 19764 19765 19766 19767 19768 19769 19770 19771 19772 19773 19774 19775 19776 19777 19778 19779 19780 19781 19782 19783 19784 19785 19786 19787 19788 19789 19790 19791 19792 19793 19794 19795 19796 19797 19798 19799 19800 19801 19802 19803 19804 19805 19806 19807 19808 19809 19810 19811 19812 19813 19814 19815 19816 19817 19818 19819 19820 19821 19822 19823 19824 19825 19826 19827 19828 19829 19830 19831 19832 19833 19834 19835 19836 19837 19838 19839 19840 19841 19842 19843 19844 19845 19846 19847 19848 19849 19850 19851 19852 19853 19854 19855 19856 19857 19858 19859 19860 19861 19862 19863 19864 19865 19866 19867 19868 19869 19870 19871 19872 19873 19874 19875 19876 19877 19878 19879 19880 19881 19882 19883 19884 19885 19886 19887 19888 19889 19890 19891 19892 19893 19894 19895 19896 19897 19898 19899 19900 19901 19902 19903 19904 19905 19906 19907 19908 19909 19910 19911 19912 19913 19914 19915 19916 19917 19918 19919 19920 19921 19922 19923 19924 19925 19926 19927 19928 19929 19930 19931 19932 19933 19934 19935 19936 19937 19938 19939 19940 19941 19942 19943 19944 19945 19946 19947 19948 19949 19950 19951 19952 19953 19954 19955 19956 19957 19958 19959 19960 19961 19962 19963 19964 19965 19966 19967 19968 19969 19970 19971 19972 19973 19974 19975 19976 19977 19978 19979 19980 19981 19982 19983 19984 19985 19986 19987 19988 19989 19990 19991 19992 19993 19994 19995 19996 19997 19998 19999 20000 20001 20002 20003 20004 20005 20006 20007 20008 20009 20010 20011 20012 20013 20014 20015 20016 20017 20018 20019 20020 20021 20022 20023 20024 20025 20026 20027 20028 20029 20030 20031 20032 20033 20034 20035 20036 20037 20038 20039 20040 20041 20042 20043 20044 20045 20046 20047 20048 20049 20050 20051 20052 20053 20054 20055 20056 20057 20058 20059 20060 20061 20062 20063 20064 20065 20066 20067 20068 20069 20070 20071 20072 20073 20074 20075 20076 20077 20078 20079 20080 20081 20082 20083 20084 20085 20086 20087 20088 20089 20090 20091 20092 20093 20094 20095 20096 20097 20098 20099 20100 20101 20102 20103 20104 20105 20106 20107 20108 20109 20110 20111 20112 20113 20114 20115 20116 20117 20118 20119 20120 20121 20122 20123 20124 20125 20126 20127 20128 20129 20130 20131 20132 20133 20134 20135 20136 20137 20138 20139 20140 20141 20142 20143 20144 20145 20146 20147 20148 20149 20150 20151 20152 20153 20154 20155 20156 20157 20158 20159 20160 20161 20162 20163 20164 20165 20166 20167 20168 20169 20170 20171 20172 20173 20174 20175 20176 20177 20178 20179 20180 20181 20182 20183 20184 20185 20186 20187 20188 20189 20190 20191 20192 20193 20194 20195 20196 20197 20198 20199 20200 20201 20202 20203 20204 20205 20206 20207 20208 20209 20210 20211 20212 20213 20214 20215 20216 20217 20218 20219 20220 20221 20222 20223 20224 20225 20226 20227 20228 20229 20230 20231 20232 20233 20234 20235 20236 20237 20238 20239 20240 20241 20242 20243 20244 20245 20246 20247 20248 20249 20250 20251 20252 20253 20254 20255 20256 20257 20258 20259 20260 20261 20262 20263 20264 20265 20266 20267 20268 20269 20270 20271 20272 20273 20274 20275 20276 20277 20278 20279 20280 20281 20282 20283 20284 20285 20286 20287 20288 20289 20290 20291 20292 20293 20294 20295 20296 20297 20298 20299 20300 20301 20302 20303 20304 20305 20306 20307 20308 20309 20310 20311 20312 20313 20314 20315 20316 20317 20318 20319 20320 20321 20322 20323 20324 20325 20326 20327 20328 20329 20330 20331 20332 20333 20334 20335 20336 20337 20338 20339 20340 20341 20342 20343 20344 20345 20346 20347 20348 20349 20350 20351 20352 20353 20354 20355 20356 20357 20358 20359 20360 20361 20362 20363 20364 20365 20366 20367 20368 20369 20370 20371 20372 20373 20374 20375 20376 20377 20378 20379 20380 20381 20382 20383 20384 20385 20386 20387 20388 20389 20390 20391 20392 20393 20394 20395 20396 20397 20398 20399 20400 20401 20402 20403 20404 20405 20406 20407 20408 20409 20410 20411 20412 20413 20414 20415 20416 20417 20418 20419 20420 20421 20422 20423 20424 20425 20426 20427 20428 20429 20430 20431 20432 20433 20434 20435 20436 20437 20438 20439 20440 20441 20442 20443 20444 20445 20446 20447 20448 20449 20450 20451 20452 20453 20454 20455 20456 20457 20458 20459 20460 20461 20462 20463 20464 20465 20466 20467 20468 20469 20470 20471 20472 20473 20474 20475 20476 20477 20478 20479 20480 20481 20482 20483 20484 20485 20486 20487 20488 20489 20490 20491 20492 20493 20494 20495 20496 20497 20498 20499 20500 20501 20502 20503 20504 20505 20506 20507 20508 20509 20510 20511 20512 20513 20514 20515 20516 20517 20518 20519 20520 20521 20522 20523 20524 20525 20526 20527 20528 20529 20530 20531 20532 20533 20534 20535 20536 20537 20538 20539 20540 20541 20542 20543 20544 20545 20546 20547 20548 20549 20550 20551 20552 20553 20554 20555 20556 20557 20558 20559 20560 20561 20562 20563 20564 20565 20566 20567 20568 20569 20570 20571 20572 20573 20574 20575 20576 20577 20578 20579 20580 20581 20582 20583 20584 20585 20586 20587 20588 20589 20590 20591 20592 20593 20594 20595 20596 20597 20598 20599 20600 20601 20602 20603 20604 20605 20606 20607 20608 20609 20610 20611 20612 20613 20614 20615 20616 20617 20618 20619 20620 20621 20622 20623 20624 20625 20626 20627 20628 20629 20630 20631 20632 20633 20634 20635 20636 20637 20638 20639 20640 20641 20642 20643 20644 20645 20646 20647 20648 20649 20650 20651 20652 20653 20654 20655 20656 20657 20658 20659 20660 20661 20662 20663 20664 20665 20666 20667 20668 20669 20670 20671 20672 20673 20674 20675 20676 20677 20678 20679 20680 20681 20682 20683 20684 20685 20686 20687 20688 20689 20690 20691 20692 20693 20694 20695 20696 20697 20698 20699 20700 20701 20702 20703 20704 20705 20706 20707 20708 20709 20710 20711 20712 20713 20714 20715 20716 20717 20718 20719 20720 20721 20722 20723 20724 20725 20726 20727 20728 20729 20730 20731 20732 20733 20734 20735 20736 20737 20738 20739 20740 20741 20742 20743 20744 20745 20746 20747 20748 20749 20750 20751 20752 20753 20754 20755 20756 20757 20758 20759 20760 20761 20762 20763 20764 20765 20766 20767 20768 20769 20770 20771 20772 20773 20774 20775 20776 20777 20778 20779 20780 20781 20782 20783 20784 20785 20786 20787 20788 20789 20790 20791 20792 20793 20794 20795 20796 20797 20798 20799 20800 20801 20802 20803 20804 20805 20806 20807 20808 20809 20810 20811 20812 20813 20814 20815 20816 20817 20818 20819 20820 20821 20822 20823 20824 20825 20826 20827 20828 20829 20830 20831 20832 20833 20834 20835 20836 20837 20838 20839 20840 20841 20842 20843 20844 20845 20846 20847 20848 20849 20850 20851 20852 20853 20854 20855 20856 20857 20858 20859 20860 20861 20862 20863 20864 20865 20866 20867 20868 20869 20870 20871 20872 20873 20874 20875 20876 20877 20878 20879 20880 20881 20882 20883 20884 20885 20886 20887 20888 20889 20890 20891 20892 20893 20894 20895 20896 20897 20898 20899 20900 20901 20902 20903 20904 20905 20906 20907 20908 20909 20910 20911 20912 20913 20914 20915 20916 20917 20918 20919 20920 20921 20922 20923 20924 20925 20926 20927 20928 20929 20930 20931 20932 20933 20934 20935 20936 20937 20938 20939 20940 20941 20942 20943 20944 20945 20946 20947 20948 20949 20950 20951 20952 20953 20954 20955 20956 20957 20958 20959 20960 20961 20962 20963 20964 20965 20966 20967 20968 20969 20970 20971 20972 20973 20974 20975 20976 20977 20978 20979 20980 20981 20982 20983 20984 20985 20986 20987 20988 20989 20990 20991 20992 20993 20994 20995 20996 20997 20998 20999 21000 21001 21002 21003 21004 21005 21006 21007 21008 21009 21010 21011 21012 21013 21014 21015 21016 21017 21018 21019 21020 21021 21022 21023 21024 21025 21026 21027 21028 21029 21030 21031 21032 21033 21034 21035 21036 21037 21038 21039 21040 21041 21042 21043 21044 21045 21046 21047 21048 21049 21050 21051 21052 21053 21054 21055 21056 21057 21058 21059 21060 21061 21062 21063 21064 21065 21066 21067 21068 21069 21070 21071 21072 21073 21074 21075 21076 21077 21078 21079 21080 21081 21082 21083 21084 21085 21086 21087 21088 21089 21090 21091 21092 21093 21094 21095 21096 21097 21098 21099 21100 21101 21102 21103 21104 21105 21106 21107 21108 21109 21110 21111 21112 21113 21114 21115 21116 21117 21118 21119 21120 21121 21122 21123 21124 21125 21126 21127 21128 21129 21130 21131 21132 21133 21134 21135 21136 21137 21138 21139 21140 21141 21142 21143 21144 21145 21146 21147 21148 21149 21150 21151 21152 21153 21154 21155 21156 21157 21158 21159 21160 21161 21162 21163 21164 21165 21166 21167 21168 21169 21170 21171 21172 21173 21174 21175 21176 21177 21178 21179 21180 21181 21182 21183 21184 21185 21186 21187 21188 21189 21190 21191 21192 21193 21194 21195 21196 21197 21198 21199 21200 21201 21202 21203 21204 21205 21206 21207 21208 21209 21210 21211 21212 21213 21214 21215 21216 21217 21218 21219 21220 21221 21222 21223 21224 21225 21226 21227 21228 21229 21230 21231 21232 21233 21234 21235 21236 21237 21238 21239 21240 21241 21242 21243 21244 21245 21246 21247 21248 21249 21250 21251 21252 21253 21254 21255 21256 21257 21258 21259 21260 21261 21262 21263 21264 21265 21266 21267 21268 21269 21270 21271 21272 21273 21274 21275 21276 21277 21278 21279 21280 21281 21282 21283 21284 21285 21286 21287 21288 21289 21290 21291 21292 21293 21294 21295 21296 21297 21298 21299 21300 21301 21302 21303 21304 21305 21306 21307 21308 21309 21310 21311 21312 21313 21314 21315 21316 21317 21318 21319 21320 21321 21322 21323 21324 21325 21326 21327 21328 21329 21330 21331 21332 21333 21334 21335 21336 21337 21338 21339 21340 21341 21342 21343 21344 21345 21346 21347 21348 21349 21350 21351 21352 21353 21354 21355 21356 21357 21358 21359 21360 21361 21362 21363 21364 21365 21366 21367 21368 21369 21370 21371 21372 21373 21374 21375 21376 21377 21378 21379 21380 21381 21382 21383 21384 21385 21386 21387 21388 21389 21390 21391 21392 21393 21394 21395 21396 21397 21398 21399 21400 21401 21402 21403 21404 21405 21406 21407 21408 21409 21410 21411 21412 21413 21414 21415 21416 21417 21418 21419 21420 21421 21422 21423 21424 21425 21426 21427 21428 21429 21430 21431 21432 21433 21434 21435 21436 21437 21438 21439 21440 21441 21442 21443 21444 21445 21446 21447 21448 21449 21450 21451 21452 21453 21454 21455 21456 21457 21458 21459 21460 21461 21462 21463 21464 21465 21466 21467 21468 21469 21470 21471 21472 21473 21474 21475 21476 21477 21478 21479 21480 21481 21482 21483 21484 21485 21486 21487 21488 21489 21490 21491 21492 21493 21494 21495 21496 21497 21498 21499 21500 21501 21502 21503 21504 21505 21506 21507 21508 21509 21510 21511 21512 21513 21514 21515 21516 21517 21518 21519 21520 21521 21522 21523 21524 21525 21526 21527 21528 21529 21530 21531 21532 21533 21534 21535 21536 21537 21538 21539 21540 21541 21542 21543 21544 21545 21546 21547 21548 21549 21550 21551 21552 21553 21554 21555 21556 21557 21558 21559 21560 21561 21562 21563 21564 21565 21566 21567 21568 21569 21570 21571 21572 21573 21574 21575 21576 21577 21578 21579 21580 21581 21582 21583 21584 21585 21586 21587 21588 21589 21590 21591 21592 21593 21594 21595 21596 21597 21598 21599 21600 21601 21602 21603 21604 21605 21606 21607 21608 21609 21610 21611 21612 21613 21614 21615 21616 21617 21618 21619 21620 21621 21622 21623 21624 21625 21626 21627 21628 21629 21630 21631 21632 21633 21634 21635 21636 21637 21638 21639 21640 21641 21642 21643 21644 21645 21646 21647 21648 21649 21650 21651 21652 21653 21654 21655 21656 21657 21658 21659 21660 21661 21662 21663 21664 21665 21666 21667 21668 21669 21670 21671 21672 21673 21674 21675 21676 21677 21678 21679 21680 21681 21682 21683 21684 21685 21686 21687 21688 21689 21690 21691 21692 21693 21694 21695 21696 21697 21698 21699 21700 21701 21702 21703 21704 21705 21706 21707 21708 21709 21710 21711 21712 21713 21714 21715 21716 21717 21718 21719 21720 21721 21722 21723 21724 21725 21726 21727 21728 21729 21730 21731 21732 21733 21734 21735 21736 21737 21738 21739 21740 21741 21742 21743 21744 21745 21746 21747 21748 21749 21750 21751 21752 21753 21754 21755 21756 21757 21758 21759 21760 21761 21762 21763 21764 21765 21766 21767 21768 21769 21770 21771 21772 21773 21774 21775 21776 21777 21778 21779 21780 21781 21782 21783 21784 21785 21786 21787 21788 21789 21790 21791 21792 21793 21794 21795 21796 21797 21798 21799 21800 21801 21802 21803 21804 21805 21806 21807 21808 21809 21810 21811 21812 21813 21814 21815 21816 21817 21818 21819 21820 21821 21822 21823 21824 21825 21826 21827 21828 21829 21830 21831 21832 21833 21834 21835 21836 21837 21838 21839 21840 21841 21842 21843 21844 21845 21846 21847 21848 21849 21850 21851 21852 21853 21854 21855 21856 21857 21858 21859 21860 21861 21862 21863 21864 21865 21866 21867 21868 21869 21870 21871 21872 21873 21874 21875 21876 21877 21878 21879 21880 21881 21882 21883 21884 21885 21886 21887 21888 21889 21890 21891 21892 21893 21894 21895 21896 21897 21898 21899 21900 21901 21902 21903 21904 21905 21906 21907 21908 21909 21910 21911 21912 21913 21914 21915 21916 21917 21918 21919 21920 21921 21922 21923 21924 21925 21926 21927 21928 21929 21930 21931 21932 21933 21934 21935 21936 21937 21938 21939 21940 21941 21942 21943 21944 21945 21946 21947 21948 21949 21950 21951 21952 21953 21954 21955 21956 21957 21958 21959 21960 21961 21962 21963 21964 21965 21966 21967 21968 21969 21970 21971 21972 21973 21974 21975 21976 21977 21978 21979 21980 21981 21982 21983 21984 21985 21986 21987 21988 21989 21990 21991 21992 21993 21994 21995 21996 21997 21998 21999 22000 22001 22002 22003 22004 22005 22006 22007 22008 22009 22010 22011 22012 22013 22014 22015 22016 22017 22018 22019 22020 22021 22022 22023 22024 22025 22026 22027 22028 22029 22030 22031 22032 22033 22034 22035 22036 22037 22038 22039 22040 22041 22042 22043 22044 22045 22046 22047 22048 22049 22050 22051 22052 22053 22054 22055 22056 22057 22058 22059 22060 22061 22062 22063 22064 22065 22066 22067 22068 22069 22070 22071 22072 22073 22074 22075 22076 22077 22078 22079 22080 22081 22082 22083 22084 22085 22086 22087 22088 22089 22090 22091 22092 22093 22094 22095 22096 22097 22098 22099 22100 22101 22102 22103 22104 22105 22106 22107 22108 22109 22110 22111 22112 22113 22114 22115 22116 22117 22118 22119 22120 22121 22122 22123 22124 22125 22126 22127 22128 22129 22130 22131 22132 22133 22134 22135 22136 22137 22138 22139 22140 22141 22142 22143 22144 22145 22146 22147 22148 22149 22150 22151 22152 22153 22154 22155 22156 22157 22158 22159 22160 22161 22162 22163 22164 22165 22166 22167 22168 22169 22170 22171 22172 22173 22174 22175 22176 22177 22178 22179 22180 22181 22182 22183 22184 22185 22186 22187 22188 22189 22190 22191 22192 22193 22194 22195 22196 22197 22198 22199 22200 22201 22202 22203 22204 22205 22206 22207 22208 22209 22210 22211 22212 22213 22214 22215 22216 22217 22218 22219 22220 22221 22222 22223 22224 22225 22226 22227 22228 22229 22230 22231 22232 22233 22234 22235 22236 22237 22238 22239 22240 22241 22242 22243 22244 22245 22246 22247 22248 22249 22250 22251 22252 22253 22254 22255 22256 22257 22258 22259 22260 22261 22262 22263 22264 22265 22266 22267 22268 22269 22270 22271 22272 22273 22274 22275 22276 22277 22278 22279 22280 22281 22282 22283 22284 22285 22286 22287 22288 22289 22290 22291 22292 22293 22294 22295 22296 22297 22298 22299 22300 22301 22302 22303 22304 22305 22306 22307 22308 22309 22310 22311 22312 22313 22314 22315 22316 22317 22318 22319 22320 22321 22322 22323 22324 22325 22326 22327 22328 22329 22330 22331 22332 22333 22334 22335 22336 22337 22338 22339 22340 22341 22342 22343 22344 22345 22346 22347 22348 22349 22350 22351 22352 22353 22354 22355 22356 22357 22358 22359 22360 22361 22362 22363 22364 22365 22366 22367 22368 22369 22370 22371 22372 22373 22374 22375 22376 22377 22378 22379 22380 22381 22382 22383 22384 22385 22386 22387 22388 22389 22390 22391 22392 22393 22394 22395 22396 22397 22398 22399 22400 22401 22402 22403 22404 22405 22406 22407 22408 22409 22410 22411 22412 22413 22414 22415 22416 22417 22418 22419 22420 22421 22422 22423 22424 22425 22426 22427 22428 22429 22430 22431 22432 22433 22434 22435 22436 22437 22438 22439 22440 22441 22442 22443 22444 22445 22446 22447 22448 22449 22450 22451 22452 22453 22454 22455 22456 22457 22458 22459 22460 22461 22462 22463 22464 22465 22466 22467 22468 22469 22470 22471 22472 22473 22474 22475 22476 22477 22478 22479 22480 22481 22482 22483 22484 22485 22486 22487 22488 22489 22490 22491 22492 22493 22494 22495 22496 22497 22498 22499 22500 22501 22502 22503 22504 22505 22506 22507 22508 22509 22510 22511 22512 22513 22514 22515 22516 22517 22518 22519 22520 22521 22522 22523 22524 22525 22526 22527 22528 22529 22530 22531 22532 22533 22534 22535 22536 22537 22538 22539 22540 22541 22542 22543 22544 22545 22546 22547 22548 22549 22550 22551 22552 22553 22554 22555 22556 22557 22558 22559 22560 22561 22562 22563 22564 22565 22566 22567 22568 22569 22570 22571 22572 22573 22574 22575 22576 22577 22578 22579 22580 22581 22582 22583 22584 22585 22586 22587 22588 22589 22590 22591 22592 22593 22594 22595 22596 22597 22598 22599 22600 22601 22602 22603 22604 22605 22606 22607 22608 22609 22610 22611 22612 22613 22614 22615 22616 22617 22618 22619 22620 22621 22622 22623 22624 22625 22626 22627 22628 22629 22630 22631 22632 22633 22634 22635 22636 22637 22638 22639 22640 22641 22642 22643 22644 22645 22646 22647 22648 22649 22650 22651 22652 22653 22654 22655 22656 22657 22658 22659 22660 22661 22662 22663 22664 22665 22666 22667 22668 22669 22670 22671 22672 22673 22674 22675 22676 22677 22678 22679 22680 22681 22682 22683 22684 22685 22686 22687 22688 22689 22690 22691 22692 22693 22694 22695 22696 22697 22698 22699 22700 22701 22702 22703 22704 22705 22706 22707 22708 22709 22710 22711 22712 22713 22714 22715 22716 22717 22718 22719 22720 22721 22722 22723 22724 22725 22726 22727 22728 22729 22730 22731 22732 22733 22734 22735 22736 22737 22738 22739 22740 22741 22742 22743 22744 22745 22746 22747 22748 22749 22750 22751 22752 22753 22754 22755 22756 22757 22758 22759 22760 22761 22762 22763 22764 22765 22766 22767 22768 22769 22770 22771 22772 22773 22774 22775 22776 22777 22778 22779 22780 22781 22782 22783 22784 22785 22786 22787 22788 22789 22790 22791 22792 22793 22794 22795 22796 22797 22798 22799 22800 22801 22802 22803 22804 22805 22806 22807 22808 22809 22810 22811 22812 22813 22814 22815 22816 22817 22818 22819 22820 22821 22822 22823 22824 22825 22826 22827 22828 22829 22830 22831 22832 22833 22834 22835 22836 22837 22838 22839 22840 22841 22842 22843 22844 22845 22846 22847 22848 22849 22850 22851 22852 22853 22854 22855 22856 22857 22858 22859 22860 22861 22862 22863 22864 22865 22866 22867 22868 22869 22870 22871 22872 22873 22874 22875 22876 22877 22878 22879 22880 22881 22882 22883 22884 22885 22886 22887 22888 22889 22890 22891 22892 22893 22894 22895 22896 22897 22898 22899 22900 22901 22902 22903 22904 22905 22906 22907 22908 22909 22910 22911 22912 22913 22914 22915 22916 22917 22918 22919 22920 22921 22922 22923 22924 22925 22926 22927 22928 22929 22930 22931 22932 22933 22934 22935 22936 22937 22938 22939 22940 22941 22942 22943 22944 22945 22946 22947 22948 22949 22950 22951 22952 22953 22954 22955 22956 22957 22958 22959 22960 22961 22962 22963 22964 22965 22966 22967 22968 22969 22970 22971 22972 22973 22974 22975 22976 22977 22978 22979 22980 22981 22982 22983 22984 22985 22986 22987 22988 22989 22990 22991 22992 22993 22994 22995 22996 22997 22998 22999 23000 23001 23002 23003 23004 23005 23006 23007 23008 23009 23010 23011 23012 23013 23014 23015 23016 23017 23018 23019 23020 23021 23022 23023 23024 23025 23026 23027 23028 23029 23030 23031 23032 23033 23034 23035 23036 23037 23038 23039 23040 23041 23042 23043 23044 23045 23046 23047 23048 23049 23050 23051 23052 23053 23054 23055 23056 23057 23058 23059 23060 23061 23062 23063 23064 23065 23066 23067 23068 23069 23070 23071 23072 23073 23074 23075 23076 23077 23078 23079 23080 23081 23082 23083 23084 23085 23086 23087 23088 23089 23090 23091 23092 23093 23094 23095 23096 23097 23098 23099 23100 23101 23102 23103 23104 23105 23106 23107 23108 23109 23110 23111 23112 23113 23114 23115 23116 23117 23118 23119 23120 23121 23122 23123 23124 23125 23126 23127 23128 23129 23130 23131 23132 23133 23134 23135 23136 23137 23138 23139 23140 23141 23142 23143 23144 23145 23146 23147 23148 23149 23150 23151 23152 23153 23154 23155 23156 23157 23158 23159 23160 23161 23162 23163 23164 23165 23166 23167 23168 23169 23170 23171 23172 23173 23174 23175 23176 23177 23178 23179 23180 23181 23182 23183 23184 23185 23186 23187 23188 23189 23190 23191 23192 23193 23194 23195 23196 23197 23198 23199 23200 23201 23202 23203 23204 23205 23206 23207 23208 23209 23210 23211 23212 23213 23214 23215 23216 23217 23218 23219 23220 23221 23222 23223 23224 23225 23226 23227 23228 23229 23230 23231 23232 23233 23234 23235 23236 23237 23238 23239 23240 23241 23242 23243 23244 23245 23246 23247 23248 23249 23250 23251 23252 23253 23254 23255 23256 23257 23258 23259 23260 23261 23262 23263 23264 23265 23266 23267 23268 23269 23270 23271 23272 23273 23274 23275 23276 23277 23278 23279 23280 23281 23282 23283 23284 23285 23286 23287 23288 23289 23290 23291 23292 23293 23294 23295 23296 23297 23298 23299 23300 23301 23302 23303 23304 23305 23306 23307 23308 23309 23310 23311 23312 23313 23314 23315 23316 23317 23318 23319 23320 23321 23322 23323 23324 23325 23326 23327 23328 23329 23330 23331 23332 23333 23334 23335 23336 23337 23338 23339 23340 23341 23342 23343 23344 23345 23346 23347 23348 23349 23350 23351 23352 23353 23354 23355 23356 23357 23358 23359 23360 23361 23362 23363 23364 23365 23366 23367 23368 23369 23370 23371 23372 23373 23374 23375 23376 23377 23378 23379 23380 23381 23382 23383 23384 23385 23386 23387 23388 23389 23390 23391 23392 23393 23394 23395 23396 23397 23398 23399 23400 23401 23402 23403 23404 23405 23406 23407 23408 23409 23410 23411 23412 23413 23414 23415 23416 23417 23418 23419 23420 23421 23422 23423 23424 23425 23426 23427 23428 23429 23430 23431 23432 23433 23434 23435 23436 23437 23438 23439 23440 23441 23442 23443 23444 23445 23446 23447 23448 23449 23450 23451 23452 23453 23454 23455 23456 23457 23458 23459 23460 23461 23462 23463 23464 23465 23466 23467 23468 23469 23470 23471 23472 23473 23474 23475 23476 23477 23478 23479 23480 23481 23482 23483 23484 23485 23486 23487 23488 23489 23490 23491 23492 23493 23494 23495 23496 23497 23498 23499 23500 23501 23502 23503 23504 23505 23506 23507 23508 23509 23510 23511 23512 23513 23514 23515 23516 23517 23518 23519 23520 23521 23522 23523 23524 23525 23526 23527 23528 23529 23530 23531 23532 23533 23534 23535 23536 23537 23538 23539 23540 23541 23542 23543 23544 23545 23546 23547 23548 23549 23550 23551 23552 23553 23554 23555 23556 23557 23558 23559 23560 23561 23562 23563 23564 23565 23566 23567 23568 23569 23570 23571 23572 23573 23574 23575 23576 23577 23578 23579 23580 23581 23582 23583 23584 23585 23586 23587 23588 23589 23590 23591 23592 23593 23594 23595 23596 23597 23598 23599 23600 23601 23602 23603 23604 23605 23606 23607 23608 23609 23610 23611 23612 23613 23614 23615 23616 23617 23618 23619 23620 23621 23622 23623 23624 23625 23626 23627 23628 23629 23630 23631 23632 23633 23634 23635 23636 23637 23638 23639 23640 23641 23642 23643 23644 23645 23646 23647 23648 23649 23650 23651 23652 23653 23654 23655 23656 23657 23658 23659 23660 23661 23662 23663 23664 23665 23666 23667 23668 23669 23670 23671 23672 23673 23674 23675 23676 23677 23678 23679 23680 23681 23682 23683 23684 23685 23686 23687 23688 23689 23690 23691 23692 23693 23694 23695 23696 23697 23698 23699 23700 23701 23702 23703 23704 23705 23706 23707 23708 23709 23710 23711 23712 23713 23714 23715 23716 23717 23718 23719 23720 23721 23722 23723 23724 23725 23726 23727 23728 23729 23730 23731 23732 23733 23734 23735 23736 23737 23738 23739 23740 23741 23742 23743 23744 23745 23746 23747 23748 23749 23750 23751 23752 23753 23754 23755 23756 23757 23758 23759 23760 23761 23762 23763 23764 23765 23766 23767 23768 23769 23770 23771 23772 23773 23774 23775 23776 23777 23778 23779 23780 23781 23782 23783 23784 23785 23786 23787 23788 23789 23790 23791 23792 23793 23794 23795 23796 23797 23798 23799 23800 23801 23802 23803 23804 23805 23806 23807 23808 23809 23810 23811 23812 23813 23814 23815 23816 23817 23818 23819 23820 23821 23822 23823 23824 23825 23826 23827 23828 23829 23830 23831 23832 23833 23834 23835 23836 23837 23838 23839 23840 23841 23842 23843 23844 23845 23846 23847 23848 23849 23850 23851 23852 23853 23854 23855 23856 23857 23858 23859 23860 23861 23862 23863 23864 23865 23866 23867 23868 23869 23870 23871 23872 23873 23874 23875 23876 23877 23878 23879 23880 23881 23882 23883 23884 23885 23886 23887 23888 23889 23890 23891 23892 23893 23894 23895 23896 23897 23898 23899 23900 23901 23902 23903 23904 23905 23906 23907 23908 23909 23910 23911 23912 23913 23914 23915 23916 23917 23918 23919 23920 23921 23922 23923 23924 23925 23926 23927 23928 23929 23930 23931 23932 23933 23934 23935 23936 23937 23938 23939 23940 23941 23942 23943 23944 23945 23946 23947 23948 23949 23950 23951 23952 23953 23954 23955 23956 23957 23958 23959 23960 23961 23962 23963 23964 23965 23966 23967 23968 23969 23970 23971 23972 23973 23974 23975 23976 23977 23978 23979 23980 23981 23982 23983 23984 23985 23986 23987 23988 23989 23990 23991 23992 23993 23994 23995 23996 23997 23998 23999 24000 24001 24002 24003 24004 24005 24006 24007 24008 24009 24010 24011 24012 24013 24014 24015 24016 24017 24018 24019 24020 24021 24022 24023 24024 24025 24026 24027 24028 24029 24030 24031 24032 24033 24034 24035 24036 24037 24038 24039 24040 24041 24042 24043 24044 24045 24046 24047 24048 24049 24050 24051 24052 24053 24054 24055 24056 24057 24058 24059 24060 24061 24062 24063 24064 24065 24066 24067 24068 24069 24070 24071 24072 24073 24074 24075 24076 24077 24078 24079 24080 24081 24082 24083 24084 24085 24086 24087 24088 24089 24090 24091 24092 24093 24094 24095 24096 24097 24098 24099 24100 24101 24102 24103 24104 24105 24106 24107 24108 24109 24110 24111 24112 24113 24114 24115 24116 24117 24118 24119 24120 24121 24122 24123 24124 24125 24126 24127 24128 24129 24130 24131 24132 24133 24134 24135 24136 24137 24138 24139 24140 24141 24142 24143 24144 24145 24146 24147 24148 24149 24150 24151 24152 24153 24154 24155 24156 24157 24158 24159 24160 24161 24162 24163 24164 24165 24166 24167 24168 24169 24170 24171 24172 24173 24174 24175 24176 24177 24178 24179 24180 24181 24182 24183 24184 24185 24186 24187 24188 24189 24190 24191 24192 24193 24194 24195 24196 24197 24198 24199 24200 24201 24202 24203 24204 24205 24206 24207 24208 24209 24210 24211 24212 24213 24214 24215 24216 24217 24218 24219 24220 24221 24222 24223 24224 24225 24226 24227 24228 24229 24230 24231 24232 24233 24234 24235 24236 24237 24238 24239 24240 24241 24242 24243 24244 24245 24246 24247 24248 24249 24250 24251 24252 24253 24254 24255 24256 24257 24258 24259 24260 24261 24262 24263 24264 24265 24266 24267 24268 24269 24270 24271 24272 24273 24274 24275 24276 24277 24278 24279 24280 24281 24282 24283 24284 24285 24286 24287 24288 24289 24290 24291 24292 24293 24294 24295 24296 24297 24298 24299 24300 24301 24302 24303 24304 24305 24306 24307 24308 24309 24310 24311 24312 24313 24314 24315 24316 24317 24318 24319 24320 24321 24322 24323 24324 24325 24326 24327 24328 24329 24330 24331 24332 24333 24334 24335 24336 24337 24338 24339 24340 24341 24342 24343 24344 24345 24346 24347 24348 24349 24350 24351 24352 24353 24354 24355 24356 24357 24358 24359 24360 24361 24362 24363 24364 24365 24366 24367 24368 24369 24370 24371 24372 24373 24374 24375 24376 24377 24378 24379 24380 24381 24382 24383 24384 24385 24386 24387 24388 24389 24390 24391 24392 24393 24394 24395 24396 24397 24398 24399 24400 24401 24402 24403 24404 24405 24406 24407 24408 24409 24410 24411 24412 24413 24414 24415 24416 24417 24418 24419 24420 24421 24422 24423 24424 24425 24426 24427 24428 24429 24430 24431 24432 24433 24434 24435 24436 24437 24438 24439 24440 24441 24442 24443 24444 24445 24446 24447 24448 24449 24450 24451 24452 24453 24454 24455 24456 24457 24458 24459 24460 24461 24462 24463 24464 24465 24466 24467 24468 24469 24470 24471 24472 24473 24474 24475 24476 24477 24478 24479 24480 24481 24482 24483 24484 24485 24486 24487 24488 24489 24490 24491 24492 24493 24494 24495 24496 24497 24498 24499 24500 24501 24502 24503 24504 24505 24506 24507 24508 24509 24510 24511 24512 24513 24514 24515 24516 24517 24518 24519 24520 24521 24522 24523 24524 24525 24526 24527 24528 24529 24530 24531 24532 24533 24534 24535 24536 24537 24538 24539 24540 24541 24542 24543 24544 24545 24546 24547 24548 24549 24550 24551 24552 24553 24554 24555 24556 24557 24558 24559 24560 24561 24562 24563 24564 24565 24566 24567 24568 24569 24570 24571 24572 24573 24574 24575 24576 24577 24578 24579 24580 24581 24582 24583 24584 24585 24586 24587 24588 24589 24590 24591 24592 24593 24594 24595 24596 24597 24598 24599 24600 24601 24602 24603 24604 24605 24606 24607 24608 24609 24610 24611 24612 24613 24614 24615 24616 24617 24618 24619 24620 24621 24622 24623 24624 24625 24626 24627 24628 24629 24630 24631 24632 24633 24634 24635 24636 24637 24638 24639 24640 24641 24642 24643 24644 24645 24646 24647 24648 24649 24650 24651 24652 24653 24654 24655 24656 24657 24658 24659 24660 24661 24662 24663 24664 24665 24666 24667 24668 24669 24670 24671 24672 24673 24674 24675 24676 24677 24678 24679 24680 24681 24682 24683 24684 24685 24686 24687 24688 24689 24690 24691 24692 24693 24694 24695 24696 24697 24698 24699 24700 24701 24702 24703 24704 24705 24706 24707 24708 24709 24710 24711 24712 24713 24714 24715 24716 24717 24718 24719 24720 24721 24722 24723 24724 24725 24726 24727 24728 24729 24730 24731 24732 24733 24734 24735 24736 24737 24738 24739 24740 24741 24742 24743 24744 24745 24746 24747 24748 24749 24750 24751 24752 24753 24754 24755 24756 24757 24758 24759 24760 24761 24762 24763 24764 24765 24766 24767 24768 24769 24770
|
2017-01-22 Paul Fertser <fercerpav@gmail.com>
* : The openocd-0.10.0 release Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2017-01-19 Matthias Welwarsky <matthias.welwarsky@sysgo.com>
* : arm_dpm: avoid duplicating the register cache This bug was already attempted to fix in an earlier patch but
merging the "defer-examine" feature caused a regression, which this
patch tries to fix again. Change-Id: Ie1ad1516f0d7f130d44e003d6c29dcc1a02a82ca Signed-off-by:
Matthias Welwarsky <matthias.welwarsky@sysgo.com> Reviewed-on:
http://openocd.zylin.com/3951 Tested-by: jenkins Reviewed-by: Paul
Fertser <fercerpav@gmail.com>
2017-01-15 Paul Fertser <fercerpav@gmail.com>
* : The openocd-0.10.0-rc2 release candidate Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2017-01-07 Paul Fertser <fercerpav@gmail.com>
* : jtag: core: report TRST and SRST as asserted only when they
really are When SRST is never enabled, the global jtag_srst variable is left at
its initial state, that is, -1, and it does _not_ mean SRST is
currently asserted. Same about TRST. Fixes "reset halt" in cases when srst_pulls_trst but srst usage is
not enabled. Change-Id: I8d2e9120479de4cfbf5561033926c9ef945eecc9 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/3943 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-by: Tomas
Vanek <vanekt@fbl.cz>
2017-01-07 Tomas Vanek <vanekt@fbl.cz>
* : tcl at91samdXX.cfg: partially revert change 3722 Commit 25d7ba19c9e70cf5b912f660cf6aaa93d9ca120f introduced a problem
with 'reset halt' due to setting srst_pulls_trst: Error: cortex_m.c:595 cortex_m_halt(): can't request a halt while in reset if nSRST pulls nTRST Sorry, I don't know why I overlooked it when I tested #3722. Change-Id: I41e9473dd91a86d93cf3e78b1fbbdfe1dd188d83 Reported-by:
Ladislav Laska <laska@kam.mff.cuni.cz> Signed-off-by: Tomas Vanek
<vanekt@fbl.cz> Reviewed-on: http://openocd.zylin.com/3942
Tested-by: jenkins Reviewed-by: Andreas Fritiofson
<andreas.fritiofson@gmail.com>
2017-01-03 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : doc: Improve ftdi driver section Fix typo and a sentence that sounds strange since the ft2232 driver
was removed. Add documentation for the SWD signal usage. Remove the text mentioning a default VID:PID which doesn't exist. Change-Id: I27eba571f2f7c46bdb6ae623ab285595018e99d9 Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/3935 Tested-by: jenkins Reviewed-by: Paul
Fertser <fercerpav@gmail.com>
2016-12-25 Paul Fertser <fercerpav@gmail.com>
* : jtag: drivers: build usb_blaster only if enabled Fix build failure when libusb dev files are not available and so
usb_blaster is disabled. Change-Id: I4cda7df689cdb4b62b733cbbab813241cf561e29 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/3920 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com>
2016-12-25 Paul Fertser <fercerpav@gmail.com>
* : Restore -dev suffix Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2016-11-04 Paul Fertser <fercerpav@gmail.com>
* : NEWS: prepare for new release Change-Id: I141ff17f6dcab7e164a19c91b975ddd455d26dbc Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/3854 Tested-by: jenkins
2016-07-20 Paul Fertser <fercerpav@gmail.com>
* : doc: add a cross-reference to GDB threading commands Change-Id: If4766ba0053fc94cd47495e442fcf288241af218 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/3557 Tested-by: jenkins
2016-11-30 Paul Fertser <fercerpav@gmail.com>
* : tcl: target: imx5{1,3}: remove bogus tapenable command This seems to be a leftover from borrowing from omap3* configs.
Since SJC is not enabling or disabling the DAP tap, and the tap is
always available, the extra tapenable command causes warnings on
startup (can't enable what's already enabled). Change-Id: I7514436d565aa5b91876dbdab547956f36dcab77 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/3892 Tested-by: jenkins
2016-12-10 Paul Fertser <fercerpav@gmail.com>
* : README: fix a typo Change-Id: I1ad1ba001f8fad0fffa9b6bd5b21dd58be4f6181 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/3902 Tested-by: jenkins Reviewed-by:
Chengyu Zheng <chengyu.zheng@polimi.it>
2016-08-16 Paul Fertser <fercerpav@gmail.com>
* : jimtcl: update to 0.77, the current version, enable only
specific modules This is needed to fix build on aarch64 to get updated config.guess. Because some newer JimTcl modules that get enabled are failing to
build on some of the platforms OpenOCD supports, enable only a fixed
set that shouldn't cause any issues. We also disable running Jim Tcl tests on distcheck because they
never worked (before 85358e479e5bbf295a5aaf743f3c29a5e1a4fd1c Jim
commit) but didn't break Jenkins build; with newer version they're
getting run and fail due to limited permissions for filesystem and
networking operations. Change-Id: I0b6c6a00bf2cf0902bbb01c9c0224fe93c74ac94 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/3700 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com>
2016-12-13 Paul Fertser <fercerpav@gmail.com>
* : jtag: drivers: ulink: fix uninitialised variable warning This prevents clean build when --enable-verbose-jtag-io is used. Change-Id: I5c9e6968cfa425b1f6f92f59156b6ae38cb9af18 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/3907 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com>
2016-11-14 Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>
* : stm32l0.cfg: Add examine-end event like on other STM32 targets. Enable debug in standby/stop/sleep. Stop watchdogs during halt. Change-Id: I8383a191cd897118bd88bf78528d05943f3a368e Signed-off-by:
Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de> Reviewed-on:
http://openocd.zylin.com/3882 Tested-by: jenkins Reviewed-by: Paul
Fertser <fercerpav@gmail.com>
2016-11-18 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : Deprecate ZY1000, ioutils and oocd_trace These have not been maintained for a very long time so I say it's
time we remove them. Change-Id: Ic091978d734be09347e271736df0f7f7f9095243 Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/3885 Tested-by: jenkins Reviewed-by: Paul
Fertser <fercerpav@gmail.com>
2016-11-06 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : Convert to non-recursive make Change-Id: I11f8bc8553957e2ff083c09e72e16881e4d3bb6f Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/3865 Tested-by: jenkins Reviewed-by: Paul
Fertser <fercerpav@gmail.com>
2016-11-06 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : configure: Don't set user variables CFLAGS is a user variable and shouldn't be set in either
configure.ac or Makefile.am because that makes it impossible to
override compiler flags at configure or make time. AC_SUBST the default warning flags into AM_CFLAGS instead, which is
emitted before CFLAGS on the compiler command line. Do the same thing with a mingw-specific flag as well. Change-Id: I6ac3a3c8b7e0abf6f0e60ea239b549d68ea6d370 Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/3870 Tested-by: jenkins Reviewed-by: Paul
Fertser <fercerpav@gmail.com>
2016-11-06 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : configure: Use same case for libjaylink as for other libs Change-Id: I60d91a0543d9b8c580254cdc5f04b2e60209b98b Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/3868 Tested-by: jenkins Reviewed-by: Paul
Fertser <fercerpav@gmail.com>
2016-08-13 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : target: Replace malloc+manual zeroing with calloc Change-Id: I3c782c34b59cb36b8ca1d36e9c804c67bae5cb45 Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/3667 Tested-by: jenkins Reviewed-by: Paul
Fertser <fercerpav@gmail.com>
2016-11-18 Marc Schink <openocd-dev@marcschink.de>
* : jlink: Output libjaylink version Output the package version of libjaylink to ease debugging. Change-Id: I3b9da6d046d140ba850056c98e67bed22c885ee0 Signed-off-by:
Marc Schink <openocd-dev@marcschink.de> Reviewed-on:
http://openocd.zylin.com/3887 Tested-by: jenkins Reviewed-by: Paul
Fertser <fercerpav@gmail.com>
2015-09-30 Marc Schink <openocd-dev@marcschink.de>
* : jlink: Add EMUCOM support EMUCOM is a way to communicate with a J-Link device via so called
channels. A channel can either be read or written in a single
operation. Beside the reserved channels for SEGGER, there are channels
available to implement vendor and/or device specific
functionalities. For example, EMUCOM is used on many starter and
development kits from Silicon Labs to access power measurements and
various other information and settings. Change-Id: I6094109c043b34aed4a40ceabe71f30ff896bf1d Signed-off-by:
Marc Schink <openocd-dev@marcschink.de> Reviewed-on:
http://openocd.zylin.com/3794 Tested-by: jenkins Reviewed-by: Paul
Fertser <fercerpav@gmail.com>
2016-11-02 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : xscale: Move debug handler to contrib/loaders Avoid special rules to generate array at compile time by shipping
the generated file. Convert to Makefile build like the other
loaders. Change-Id: I5a05edddcfaff3d395086cd3aa33120f8a7aa9dc Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/3864 Tested-by: jenkins Reviewed-by: Paul
Fertser <fercerpav@gmail.com>
2016-11-04 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : Remove build date from banner for releases In support for reproducible builds, see
https://wiki.debian.org/ReproducibleBuilds Fixes Debian bug #834316. Change-Id: Id81ec72a87bf6dd99abfd2a0ae074658111bc9a3 Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/3866 Tested-by: jenkins Reviewed-by: Paul
Fertser <fercerpav@gmail.com>
2016-02-15 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : configure: Remove conflicting CMSIS_DAP conditional It's already defined by PROCESS_ADAPTERS. Change-Id: I3bbcb0f77c645e9c5a98c2d5069c178358d1516b Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/3239 Tested-by: jenkins Reviewed-by: Paul
Fertser <fercerpav@gmail.com>
2016-11-13 Matthias Welwarsky <matthias.welwarsky@sysgo.com>
* : cortex_m: allow setting debug ap during create This patch adds a Cortex-M private configuration option that allows
setting the acess point during target creation. This circumvents
situations in hybrid systems when the correct access point can not
be automatically detected. Change-Id: If313a5250e6e66509bb9080f3498feab7781dced Signed-off-by:
Matthias Welwarsky <matthias.welwarsky@sysgo.com> Reviewed-on:
http://openocd.zylin.com/3639 Tested-by: jenkins Reviewed-by: Paul
Fertser <fercerpav@gmail.com>
2016-05-22 Marc Schink <openocd-dev@marcschink.de>
* : helper: Code cleanup for hexify() Simplify hexify() and do not longer use 0 as special case for the
parameter 'count' to determine the string length of the binary
input. Instead, use strlen() outside of the function if needed.
Additionally, fix the return value and return the length of the
converted string. The old function always returned 2 * count. Also, use more appropriate data types for the function parameters
and add a small documentation. Change-Id: I133a8ab786b8f7c1296afcaf9c0a0b43881e5112 Signed-off-by:
Marc Schink <openocd-dev@marcschink.de> Reviewed-on:
http://openocd.zylin.com/3793 Tested-by: jenkins Reviewed-by: Tomas
Vanek <vanekt@fbl.cz>
2016-07-20 Steven Stallion <stallion@squareup.com>
* : gdb_server: support qXfer:threads:read packet This patch adds support for the qXfer:threads:read packet. In
addition to providing a more efficient method of updating thread
state, recent versions of GDB (7.11.1 and up) can also report remote
thread names. While thread names are not enabled in this patch due
to its limited applicability at the moment, it can be enabled at a
later date with little effort. As a part of revamping how threads are presented to GDB, extra info
strings for each of the supported RTOSes were updated to match
conventions present in the GDB source code. For more information,
see remote_threads_extra_info() in remote.c. This results in a much
smoother experience when interacting with GDB. It is also worth mentioning that use of qXfer:threads:read works
around a number of regressions in older versions of GDB regarding
remote thread display. Trust me, it's great. Change-Id: I97dd6a93c342ceb9b9d0023b6359db0e5604c6e6 Signed-off-by:
Steven Stallion <stallion@squareup.com> Reviewed-on:
http://openocd.zylin.com/3559 Tested-by: jenkins Reviewed-by: Tomas
Vanek <vanekt@fbl.cz> Reviewed-by: Paul Fertser
<fercerpav@gmail.com>
2016-10-25 Owen Kirby <oskirby@gmail.com>
* : at91sam4: Add missing SAM4S family CHIPIDs and remove FWS=6. Add missing CHIPID values for all SAM4S parts listed in revision K
of Atmel-11100-32-bit Cortex-M4-Microcontroller-SAM4S_Datasheet.pdf.
I have also removed the FWS=6 workaround, as this appears to be a
copy-paste error from the SAM3X family. Change-Id: I1ce1d82911f39d6fcb8f04034f5c9c9bf2818466 Signed-off-by:
Owen Kirby <oskirby@gmail.com> Signed-off-by: Tomas Vanek
<vanekt@fbl.cz> Reviewed-on: http://openocd.zylin.com/3837
Tested-by: jenkins
2016-11-04 Paul Fertser <fercerpav@gmail.com>
* : jtag: drivers: cmsis-dap: fix operation with SAMD10 Xplained
board Change-Id: I9164edeb83c9a9106e74798e98b9517177e83358 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/3856 Tested-by: jenkins Reviewed-by: Tomas
Vanek <vanekt@fbl.cz>
2016-01-12 Evan Hunter <ehunter@broadcom.com>
* : Cortex-R: Force usage of physical memory read/write since there
is no MMU Change-Id: I69d6e6301ab66744258fe650a76c7241bebe00a8 Signed-off-by:
Evan Hunter <ehunter@broadcom.com> Reviewed-on:
http://openocd.zylin.com/3203 Tested-by: jenkins Reviewed-by: Girts
Folkmanis <opensource@girts.me> Reviewed-by: Matthias Welwarsky
<matthias@welwarsky.de> Reviewed-by: Jiri Kastner
<cz172638@gmail.com> Reviewed-by: Paul Fertser <fercerpav@gmail.com>
2016-11-10 Matthias Welwarsky <matthias.welwarsky@sysgo.com>
* : target: Add verify_image_checksum command This avoids the secondary binary search if the checksum is different Change-Id: I986ba7687cea76f30e37a6bca58aabde18198263 Signed-off-by:
Evan Hunter <ehunter@broadcom.com> Signed-off-by: Matthias Welwarsky
<matthias.welwarsky@sysgo.com> Reviewed-on:
http://openocd.zylin.com/2869 Tested-by: jenkins Reviewed-by: Tomas
Vanek <vanekt@fbl.cz> Reviewed-by: Paul Fertser
<fercerpav@gmail.com>
2016-11-11 Andreas Frber <afaerber@suse.de>
* : xmc4xxx: Add support for XMC4300 XMC4300 can reuse the existing XMC4700/XMC4800 sectors support. Add
support for XMC4300 AA to the info command. Change-Id: Id929a51d20c73bd869a4457ffedc48ad5fa3f2df Signed-off-by:
Andreas Färber <afaerber@suse.de> Reviewed-on:
http://openocd.zylin.com/3875 Tested-by: jenkins Reviewed-by: Paul
Fertser <fercerpav@gmail.com>
2016-11-23 Matthias Welwarsky <matthias.welwarsky@sysgo.com>
* : cortex_a: remove partnum magic from arp_examine and dbginit Depending on the Debug implementation the "OS Lock" feature might be
implemented or not. It is not actually depending on the part number
of the implemented ARM core but on the DBGOSLSR.OSLM bits. This
patch removes querying the part number and implements proper parsing
of OSLM. Result is a more generic approach that will work out-of-box
on more devices. Change-Id: I79e052869c2f9af1d7fdedef42faddb7292e7332 Signed-off-by:
Matthias Welwarsky <matthias@welwarsky.de> Reviewed-on:
http://openocd.zylin.com/3213 Tested-by: jenkins Reviewed-by: Paul
Fertser <fercerpav@gmail.com>
2015-11-27 Peter Lawrence <majbthrd@gmail.com>
* : tcl: Support for Analog Devices ADSP-SC58x target tcl to enable debugging of ARM Cortex-A5 on ADSP-SC58x Change-Id: I378f8b94b7d6d6b9d0567985abc0e36aea7c8dea Signed-off-by:
Peter Lawrence <majbthrd@gmail.com> Reviewed-on:
http://openocd.zylin.com/3125 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-by: Andreas
Fritiofson <andreas.fritiofson@gmail.com> Reviewed-by: Matthias
Welwarsky <matthias@welwarsky.de>
2016-08-24 Tomas Vanek <vanekt@fbl.cz>
* : tcl at91samdXX.cfg: update config to current OpenOCD status Remove comment about workaround of not working 'reset halt' - not
needed as 'reset halt' is working as expected @ EDBG with srst_only.
Add srst_pulls_trst to reset_config as it no more triggers an error. Change-Id: I47cf445690c46ccfb866900cddbfcaefc8649f82 Signed-off-by:
Tomas Vanek <vanekt@fbl.cz> Reviewed-on:
http://openocd.zylin.com/3722 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com>
2016-02-15 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : Remove since long deprecated ft2232 driver Purge all legacy interface configurations so there's no more
confusion over which one to use. Also remove doc/INSTALL.txt which mentions ft2232 but otherwise just
duplicates what INSTALL says. Change-Id: Ic94f808f123d4917e600b79309f1272c78a7bb11 Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/3236 Tested-by: jenkins Reviewed-by:
Andreas Färber <afaerber@suse.de> Reviewed-by: Freddie Chopin
<freddie.chopin@gmail.com>
2016-06-11 Marc Schink <openocd-dev@marcschink.de>
* : configure.ac: Fix J-Link adapter description The J-Link driver is not JTAG only and the correct spelling of the
company is "SEGGER". Change-Id: Ic1062247d3bf0d564960f1ac6dfc86ffb34593e0 Signed-off-by:
Marc Schink <openocd-dev@marcschink.de> Reviewed-on:
http://openocd.zylin.com/3530 Tested-by: jenkins Reviewed-by: Paul
Fertser <fercerpav@gmail.com>
2016-06-06 Marc Schink <openocd-dev@marcschink.de>
* : configure.ac: Fix libjaylink integration Do not configure internal libjaylink if libusb-1.0 is not available
or if J-Link driver is disabled (--disable-jlink). Change-Id: I021bca91dbbc33888a997c664f7836225306c3ef Signed-off-by:
Marc Schink <openocd-dev@marcschink.de> Reviewed-on:
http://openocd.zylin.com/3528 Tested-by: jenkins Reviewed-by: Paul
Fertser <fercerpav@gmail.com>
2016-07-27 Tomas Vanek <vanekt@fbl.cz>
* : flash at91samd, at91sam4l: fix improper use of mem_ap_ call Since merge of #3149 OpenOCD start with an unresponsive SAMD or
SAM4L resulted in segfaults. First was in cortex_m_assert_reset
(fixed by #3552), second was in samd_handle_reset_deassert()
/sam4l_handle_reset_deassert(). The change replaces mem_ap_write_u32/8 by target_write_u32/8. It
also takes better care about examining and polling target before
debug control registers are set. It prevents lockup when 'reset
halt' is issued on unresponsive cpu. Change-Id: I2516489f4771aebfc1118d174f527497b8a201ad Signed-off-by:
Tomas Vanek <vanekt@fbl.cz> Reviewed-on:
http://openocd.zylin.com/3603 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com>
2016-08-02 Tomas Vanek <vanekt@fbl.cz>
* : flash Kinetis: Family K8x added Change-Id: I8c090a6fe6c204ce20622006490f896c2a55292f Signed-off-by:
Tomas Vanek <vanekt@fbl.cz> Reviewed-on:
http://openocd.zylin.com/3614 Tested-by: jenkins Reviewed-by:
Freddie Chopin <freddie.chopin@gmail.com>
2016-07-22 Tomas Vanek <vanekt@fbl.cz>
* : flash Kinetis: longword programming changed to
flash_async_algorithm Change-Id: I9c40acfad37760c3dab454f2432817b2d420792d Signed-off-by:
Tomas Vanek <vanekt@fbl.cz> Reviewed-on:
http://openocd.zylin.com/3563 Reviewed-by: Steven Stallion
<stallion@squareup.com> Tested-by: jenkins Reviewed-by: Freddie
Chopin <freddie.chopin@gmail.com>
2016-03-30 Harald Welte <laforge@gnumonks.org>
* : AM335x: Disable watchdog on 'reset halt' At least on my (phyCORE-AM335X) system, the AM335x watchdog needs to
be disabled to use OpenOCD for more than 6.5 seconds after reset. Change-Id: I3d883a9f572b0ccb92f9864853a00c372e39d7f2 Signed-off-by:
Harald Welte <laforge@gnumonks.org> Reviewed-on:
http://openocd.zylin.com/3391 Tested-by: jenkins Reviewed-by: Tom
Rini <trini@konsulko.com> Reviewed-by: Paul Fertser
<fercerpav@gmail.com>
2014-12-09 HarishKumar <harishpresent@gmail.com>
* : Tcl commands: Fix improper return status in flash commands and
load_image. Nand write command : nand_fileio_cleanup() always returns ERROR_OK.
Due to this, handle_nand_write_command() retuns ERROR_OK in the case
of nand failure. ERROR_FAIL should be returned. Flash erase_sector command : handle_flash_erase_command() always
returns ERROR_OK even if the erase functionality of actual driver
implementation fails. retval value should be returned. Flash write_bank command : handle_flash_write_bank_command() returns
ERROR_OK even if fileio_open() and fileio_read fails. ERROR_FAIL
should be returned. Load_image command : handle_load_image_command() retuns ERROR_OK
even if image_open() fails. ERROR_FAIL should be returned. When the
buffer is null, breaking the loop without setting retval =
ERROR_FAIL would cause load_image to return ERROR_OK. Change-Id: Ice32f6036971ab5e8e4dd65edf54b394b001c80c Signed-off-by:
HarishKumar <harishpresent@gmail.com> Reviewed-on:
http://openocd.zylin.com/2431 Reviewed-by: Andreas Fritiofson
<andreas.fritiofson@gmail.com> Tested-by: jenkins
2016-07-25 Rick Foos <rfoos@solengtech.com>
* : tcl/board: Add board configuration for nRF51-DK, and nRF52-DK. Both boards use SEGGER interface. nRF52 flash driver is in change 3511. The board files were needed for transport select to SWD. The default
jtag transport didn't failover to SWD. Change-Id: Id9c72aa88eeeb6a4e1999ee182f5284dbe535c05 Signed-off-by:
Rick Foos <rfoos@solengtech.com> Reviewed-on:
http://openocd.zylin.com/3600 Tested-by: jenkins Reviewed-by:
Fredrik Hederstierna <fredrik.hederstierna@gmail.com> Reviewed-by:
Michael Dietz <mjdietzx@gmail.com> Reviewed-by: Jiří Pinkava
<j-pi@seznam.cz> Reviewed-by: Freddie Chopin
<freddie.chopin@gmail.com>
2016-09-09 Jiří Pinkava <j-pi@seznam.cz>
* : nrf51: show proper part number Change-Id: I3e8169eb577888ee54541a1e864a8ad5a9a7cfd1 Signed-off-by:
Jiří Pinkava <j-pi@seznam.cz> Reviewed-on:
http://openocd.zylin.com/3733 Tested-by: jenkins Reviewed-by:
Fredrik Hederstierna <fredrik@hederstierna.com> Reviewed-by: Michael
Dietz <mjdietzx@gmail.com> Reviewed-by: Freddie Chopin
<freddie.chopin@gmail.com>
2016-10-05 Paul Fertser <fercerpav@gmail.com>
* : flash: nor: lpc2000: handle lpc11xx parts with more than 96k
memory Known big flash parts such as LPC11u68/e68 have a non-uniform memory
organisation, the first 24 sectors are 4k, the rest are 32k. Change-Id: Icf515152dfc54ec0ca187561d2d63088b9640f14 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/3802 Tested-by: jenkins Reviewed-by:
akaWolf Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
2016-10-21 Gabrielle Trotter <gtrotter@bulogics.com>
* : atsamv: Support for ATSAMS70N19 Memory Configuration Change-Id: I3c17fcb7ee053f92aa583149bea7b8e33b3b86f7 Signed-off-by:
gtrotter@bulogics.com Reviewed-on: http://openocd.zylin.com/3834
Tested-by: jenkins Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
2016-08-21 Andreas Frber <afaerber@suse.de>
* : target: Clean up format strings Clean up some type casts and misuses of format specifiers in
preparation for target address type changes. Change-Id: Idf08286f41bca636e35a09e8ddc1d71af3d6e151 Signed-off-by:
Andreas Färber <afaerber@suse.de> Reviewed-on:
http://openocd.zylin.com/3717 Tested-by: jenkins Reviewed-by: Tomas
Vanek <vanekt@fbl.cz>
2016-08-21 Andreas Frber <afaerber@suse.de>
* : breakpoints: Add missing space in error message A space after the format specifier was missing. Change-Id: Ib67eb0fb0d6e05d765206d30d5e4a74cb41bb47b Signed-off-by:
Andreas Färber <afaerber@suse.de> Reviewed-on:
http://openocd.zylin.com/3715 Tested-by: jenkins Reviewed-by: Tomas
Vanek <vanekt@fbl.cz>
2016-10-04 Paul Fertser <fercerpav@gmail.com>
* : jtag: drivers: mpsse: ignore error to detach kernel driver This makes it possible to run OpenOCD as unprivileged user on
FreeBSD. Change-Id: If1182d09ad2d51f370ae7e6da02f19c7a21c66c9 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/3800 Tested-by: jenkins Reviewed-by: Tomas
Vanek <vanekt@fbl.cz>
2016-08-21 Tomas Vanek <vanekt@fbl.cz>
* : flash Kinetis: fix mdm check_security regression in JTAG mode Commit 6d5b4d709cb05e8daf0350ac507b928da95d0abb causes failed assert
when JTAG transport is selected: src/target/arm_adi_v5.h:346: dap_queue_ap_read: Assertion `ap->dap->ops != ((void *)0)' failed. As check_security runs early in examine-start event, dap->ops must
be checked. Change-Id: Ibd8312a3c668fbce834eed9790eabeed794117aa Signed-off-by:
Tomas Vanek <vanekt@fbl.cz> Reviewed-on:
http://openocd.zylin.com/3712 Tested-by: jenkins Reviewed-by:
Andreas Färber <afaerber@suse.de> Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2016-06-28 Sean Cross <xobs@kosagi.com>
* : tcl/board: add configuration for Novena's integrated FPGA Change-Id: Iecd57c0ef59cfde98de36464a73436f57b0835e2 Signed-off-by:
Sean Cross <xobs@kosagi.com> Signed-off-by: Paul Fertser
<fercerpav@gmail.com> Reviewed-on: http://openocd.zylin.com/3532
Tested-by: jenkins Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2016-05-15 Marc Schink <openocd-dev@marcschink.de>
* : libjaylink: Update for API changes Update to latest libjaylink version and incorporate API changes. The major change in libjaylink is a rework of the device discovery.
Please test device discovery extensively, especially with multiple
devices connected. All other changes in libjaylink are of minor
importance for OpenOCD. Change-Id: I9a50e83f59557505ce29809c7762c5df1cec10eb Signed-off-by:
Marc Schink <openocd-dev@marcschink.de> Reviewed-on:
http://openocd.zylin.com/3735 Reviewed-by: Andreas Färber
<afaerber@suse.de> Reviewed-by: Steven Stallion
<stallion@squareup.com> Tested-by: jenkins Reviewed-by: Paul Fertser
<fercerpav@gmail.com>
2016-08-18 Marc Schink <openocd-dev@marcschink.de>
* : helper/log: Add log_vprintf_lf() Add log_vprintf_lf() to enable the possibility to output log
messages with a variable argument list. Change-Id: I7fd6e93db63a7d98f662df2881a42e4d923c3848 Signed-off-by:
Marc Schink <openocd-dev@marcschink.de> Reviewed-on:
http://openocd.zylin.com/3709 Tested-by: jenkins Reviewed-by:
Andreas Färber <afaerber@suse.de> Reviewed-by: Paul Fertser
<fercerpav@gmail.com>
2016-10-04 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : stm32f2x: Increase options write timeout Large flash parts time out when unlocking. Mass erase time is
specified as 32 seconds worst case for some parts. Automatic mass
erase is probably not using x8 parallelism, though, but a too large
timeout shouldn't hurt. Also, use the new define instead of hardcoded timeout when mass
erasing. Change-Id: Ib5af60d52ed7d53277bfe7176c4c44f79d3a26bc Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/3738 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2016-05-30 Michael Dietz <mjdietzx@gmail.com>
* : nRF51: Fix bug in Code memory size. The code memory size was a bug and seemed to be working by accident
since there happened to be 256 pages in the device that was tested
on which corresponded to 256kb. Also don't fail if memory size != expected memory size based on hwid
as this hwid is unstable and should be used only for
debug/diagnostics. Change-Id: I4e98f7498a36c53fc51783eddfdaba704d30e3ca Signed-off-by:
Michael Dietz <mjdietzx@gmail.com> Reviewed-on:
http://openocd.zylin.com/3510 Tested-by: jenkins Reviewed-by: Jiří
Pinkava <j-pi@seznam.cz> Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
2016-08-14 Andreas Frber <afaerber@suse.de>
* : nds32: Fix typo in debug log wathcpoint -> watchpoint Change-Id: If84cfb5097ed17ef97491667c622ba7d870ac9c2 Signed-off-by:
Andreas Färber <afaerber@suse.de> Reviewed-on:
http://openocd.zylin.com/3673 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2014-10-21 Kent Brinkley <jkbrinkley.imgtec@gmail.com>
* : mips: Added #define for scan_delay legacy mode default value Believe in using defines to make maintenance easier. Change-Id: I8edf151352131bbf2b884dfcd67ca5764b11b13c Signed-off-by:
Kent Brinkley <jkbrinkley.imgtec@gmail.com> Reviewed-on:
http://openocd.zylin.com/2350 Reviewed-by: Andreas Fritiofson
<andreas.fritiofson@gmail.com> Tested-by: jenkins
2016-10-04 Spencer Oliver <spen@spen-soft.co.uk>
* : stm32l4x: fix incorrect device id mask Change-Id: I37cf9cbdd07dc3764d2c719b7c6ed5852aea3943 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/3799 Tested-by: jenkins
2016-07-22 Tomas Vanek <vanekt@fbl.cz>
* : flash Kinetis: Implement flash protection setting Kinetis family employs strange concept of Flash Configuration Field
at address 0x400 of program flash. Writing incorrect data to FCF may
permanently lock the device. The change introduces 'kinetis fcf_source protection' mode. In this
mode write of flash image data to FCF is prevented. FCF data build
from protection (set by 'flash protect' command) are written
instead. FCF data are written also just after erase of relevant sector. It
protects device from locking security by reset or power cycle after
erase. prot_blocks array is used as protection blocks have bigger size than
sectors. Alignment and padding programming sections is rewritten to fix
writing with not section boundary aligned begin. Change-Id: I9fc8bd37d6f627fb8ed7abb7f7560e78a740b195 Signed-off-by:
Tomas Vanek <vanekt@fbl.cz> Reviewed-on:
http://openocd.zylin.com/3562 Reviewed-by: Andreas Fritiofson
<andreas.fritiofson@gmail.com> Tested-by: jenkins
2016-07-22 Tomas Vanek <vanekt@fbl.cz>
* : flash Kinetis: refactoring ftfx commands and numerous minor
changes Add kinetis_ftfx_decode_error() to show flash error type in human
readable message. Add kinetis_ftfx_prepare() to prepare flash module just once in
command (not each time kinetis_ftfx_command() is called). Change target_read/write_memory() to target_read/write_u8/32(). Make ftfx_fstat parameter of kinetis_ftfx_command() optional. Longword flash write: Fix huge memory leak after write of unaligned
block. Check flash address alignment properly. Do not fill whole
padding buffer but its end after original data. Remove duplicite
padding. Change-Id: Ia5e312909f68d3cc724c8cbffe1cd903b9102124 Signed-off-by:
Tomas Vanek <vanekt@fbl.cz> Reviewed-on:
http://openocd.zylin.com/3561 Tested-by: jenkins Reviewed-by: Steven
Stallion <stallion@squareup.com> Reviewed-by: Andreas Fritiofson
<andreas.fritiofson@gmail.com>
2016-07-19 Tomas Vanek <vanekt@fbl.cz>
* : flash Kinetis: dynamic status detection before starting
mass_erase The change prevents starting mass_erase in unstable state of MCU
(RESET/WDOG loop). mass_erase of secured MCU using manual reset
button is supported. Timeouts are measured by timeval_ms() instead
of iteration count. mass_erase timeout prolonged to 16 seconds
because aborting mass_erase in progress (deasserting reset) leaves
the device in security locked state. Change-Id: I6605532df56080a54c2a1dfe49094e3db4ce534a Signed-off-by:
Tomas Vanek <vanekt@fbl.cz> Reviewed-on:
http://openocd.zylin.com/3551 Tested-by: jenkins Reviewed-by: Steven
Stallion <stallion@squareup.com> Reviewed-by: Andreas Fritiofson
<andreas.fritiofson@gmail.com>
2016-07-09 Steven Stallion <stallion@squareup.com>
* : kinetis: support mass erase on boards without SRST NXP (nee Freescale) documents the mass erase procedure using the
MDM-AP block in AN4835. Existing support for this feature did not
properly handle boards without SRST. This patch updates the
mass_erase command such that it works correctly on these boards.
Additionally, the core is left in a halted state once complete to
prevent reset loops due to the watchdog as reported by some users. Since the MDM-AP provides an additional method of halting and
resetting the core that is disconnected from the DAP, additional
commands are provided to manage this state. These commands are
particularly helpful when connecting to a target with an unknown
state. Change-Id: I40f006d5d964befb12b019c5d509988decdd3f91 Signed-off-by:
Steven Stallion <stallion@squareup.com> Reviewed-on:
http://openocd.zylin.com/3540 Tested-by: jenkins Reviewed-by: Tomas
Vanek <vanekt@fbl.cz>
2015-02-25 Stephen Tridgell <stephen.tridgell@exablaze.com>
* : ftdi: Added a method to read the signal values Change-Id: Ie32a372bbc57249b4802d900234a0e8e7d1d1830 Signed-off-by:
Stephen Tridgell <stephen.tridgell@exablaze.com> Reviewed-on:
http://openocd.zylin.com/2556 Reviewed-by: Andreas Fritiofson
<andreas.fritiofson@gmail.com> Tested-by: jenkins
2016-08-01 Antony Pavlov <antonynpavlov@gmail.com>
* : tcl/board: add Marsohod CPLD board config Marsohod is a very cheap CPLD Development and Education board.
Please see http://marsohod.org/howtostart/plata for details. Sample usage: openocd -f board/marsohod.cfg -c init -c "svf -tap epm240.tap
project.svf" -c shutdown Change-Id: Ia8b7d46cbead15a2a41a2a4e68d7ff4f4ee3e88a Signed-off-by:
Antony Pavlov <antonynpavlov@gmail.com> Reviewed-on:
http://openocd.zylin.com/3608 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com>
2015-09-28 Antony Pavlov <antonynpavlov@gmail.com>
* : tcl/board: add Marsohod3 FPGA board config Marsohod3 is a cheap FPGA Development and Education board. Please
see http://www.marsohod.org/plata-marsokhod3 for details. Sample usage: openocd -f board/marsohod3.cfg -c init -c "svf -tap 10m50.tap
project.svf" -c shutdown Change-Id: Ie5f43e696bbd1f3be2710c3916e808359f6e8d18 Signed-off-by:
Antony Pavlov <antonynpavlov@gmail.com> Reviewed-on:
http://openocd.zylin.com/3606 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com>
2015-07-28 Antony Pavlov <antonynpavlov@gmail.com>
* : tcl/board: add Marsohod2 FPGA board config Marsohod2 is a very cheap FPGA Development and Education board.
Please see http://www.marsohod.org/prodmarsohod2 for details. Sample usage: openocd -f board/marsohod2.cfg -c init -c "svf -tap ep3c10.tap
project.svf" -c shutdown Change-Id: Ibf39a5d463eeda9d4031fa626f01ea2599396ff2 Signed-off-by:
Antony Pavlov <antonynpavlov@gmail.com> Reviewed-on:
http://openocd.zylin.com/2890 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-by: Paul
Fertser <fercerpav@gmail.com>
2015-09-27 Antony Pavlov <antonynpavlov@gmail.com>
* : tcl/interface/ftdi: add config for the MBFTDI adapter MBFTDI is a very cheap FT2232-based JTAG adapter for programming
Marsohod FPGA board. Please see http://www.marsohod.org/prodmbftdi for details. Change-Id: I35f758b49d1566098dc27f9581829cccad93ceeb Signed-off-by:
Antony Pavlov <antonynpavlov@gmail.com> Reviewed-on:
http://openocd.zylin.com/3604 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com>
2016-08-10 Peter A. Bigot <pab@pabigot.com>
* : gdb_server: support disabling server Although the documentation suggested this worked, and it is
implemented for tcl_port and telnet_port, the directive was not
recognized for gdb_port. Change-Id: I38d95ee879ec3f6d551603b7313749a21e0e498e Signed-off-by:
Peter A. Bigot <pab@pabigot.com> Reviewed-on:
http://openocd.zylin.com/3637 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com>
2016-07-20 Steven Stallion <stallion@squareup.com>
* : rtos: remove display_str member This patch removes the display_str member in the thread_detail
struct. This member was not being used and provides no additional
benefit over the thread_name_str and extra_info_str members. This
change is made in preparation of support for the qXfer:threads:read
packet, which will modernize how thread information is shared with
GDB. Change-Id: I1f8bc6325e6aa790e02ea6caee9d6f44c5fedf36 Signed-off-by:
Steven Stallion <stallion@squareup.com> Reviewed-on:
http://openocd.zylin.com/3558 Tested-by: jenkins Reviewed-by: Paul
Fertser <fercerpav@gmail.com>
2016-05-21 Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>
* : flash/nor/tcl.c: Less verbose output of flash erase_check. Only report non-erased or unknown sectors or if bank is fully
erased. Change-Id: I94f0bc2a0d6529d1ea5f66b284cefd6a2c61fe39 Signed-off-by:
Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de> Reviewed-on:
http://openocd.zylin.com/3501 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-by:
Andreas Färber <afaerber@suse.de>
2016-02-09 Matthias Welwarsky <matthias.welwarsky@sysgo.com>
* : board: add configuration for freescale imx6q sabresd board This configuration file contains jtag, reset and init functions for
the Freescale SabreSD board variant with iMX6Q SoC. Change-Id: I2366af6da1d82550eb485f36ad61469305c59ffb Signed-off-by:
Matthias Welwarsky <matthias.welwarsky@sysgo.com> Reviewed-on:
http://openocd.zylin.com/3357 Tested-by: jenkins Reviewed-by:
Freddie Chopin <freddie.chopin@gmail.com>
2016-03-02 Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>
* : tcl/target/stm32f4x.cfg: Use Workareasize of smallest possible
device. Increase workareasize when it is know we have a larger device. Change-Id: Ieaee92e7cd25cc201989f14de122349698871412 Signed-off-by:
Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de> Reviewed-on:
http://openocd.zylin.com/3378 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com>
2016-07-21 Tomas Vanek <vanekt@fbl.cz>
* : target: check late abort from target in async_algorithm target_run_flash_async_algorithm() ignored abort from target (rp set
to 0) when raised after all data have been written in fifo. I could
result e.g. in not reported error during flash write. The change adds rp test after target algorithm has finished. Change-Id: Iadd93371e4a4602737be10079479285d81ae41b2 Signed-off-by:
Tomas Vanek <vanekt@fbl.cz> Reviewed-on:
http://openocd.zylin.com/3560 Tested-by: jenkins Reviewed-by: Steven
Stallion <stallion@squareup.com> Reviewed-by: Andreas Fritiofson
<andreas.fritiofson@gmail.com>
2016-02-28 Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>
* : tcl/target/stm32l4x.cfg: Reduce adapter speed before reset. Change-Id: I200286c0b980369f74e8f1e497bc5e565ddb616d Signed-off-by:
Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de> Reviewed-on:
http://openocd.zylin.com/3366 Tested-by: jenkins Reviewed-by: Tomas
Vanek <vanekt@fbl.cz>
2016-05-22 Andreas Frber <afaerber@suse.de>
* : kinetis_ke: Switch to standard build variables Instead of using ARM_ prefixed variables and an "arm" target, use
CROSS_COMPILE, AS, OBJCOPY. This requires to switch from ?= to = to
avoid the host assembler getting invoked. This allows to handle kinetis_ke subdirectory like fm4 and xmc1xxx. Change-Id: I7ea0bf119f6c4716f4d6002794004730af49eef4 Signed-off-by:
Andreas Färber <afaerber@suse.de> Reviewed-on:
http://openocd.zylin.com/3505 Tested-by: jenkins Reviewed-by: Tomas
Vanek <vanekt@fbl.cz>
2016-08-06 Tomas Vanek <vanekt@fbl.cz>
* : psoc4.cfg: fixed typo in message, add a hint PSoC4 design prevents reset halt/init with standard/low level SWD
adapter if hw reset line configured. Give user hint to use
'reset_config none' in such case. Change-Id: I0ca2c46b8575829b0013fd151f2eb63963d66653 Signed-off-by:
Tomas Vanek <vanekt@fbl.cz> Reviewed-on:
http://openocd.zylin.com/3617 Tested-by: jenkins Reviewed-by:
Andreas Färber <afaerber@suse.de> Reviewed-by: Andreas Fritiofson
<andreas.fritiofson@gmail.com>
2016-08-10 Felix Held <felix-openocd@felixheld.de>
* : xilinx-xc7: correct Artix7 15T IDCODE The IDCODE of Artix7 15T in the UG470 is wrong; Artix7 35T and 15T
don't have the same IDCODE. I've tested this on real hardware. Change-Id: Iac267dc449c23454dd119126749dbeb8267c18ac Signed-off-by:
Felix Held <felix-openocd@felixheld.de> Reviewed-on:
http://openocd.zylin.com/3633 Reviewed-by: Andreas Fritiofson
<andreas.fritiofson@gmail.com> Tested-by: jenkins
2016-03-02 Matthias Welwarsky <matthias.welwarsky@sysgo.com>
* : target: add "phys" argument to mem2array, array2mem Allow using physical addresses with mem2array and array2mem. In
order to minimize the impact on existing scripts, "phys" is added as
an optional 5th parameter to both commands. This patch also adds "phys" variants to the memwrite/memread
commands in memory.tcl. Change-Id: Ia6307f9d861789e7f3ccf1f98961d666bf8d85d6 Signed-off-by:
Matthias Welwarsky <matthias.welwarsky@sysgo.com> Reviewed-on:
http://openocd.zylin.com/3387 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com>
2016-05-25 Andrey Skvortsov <andrej.skvortzov@gmail.com>
* : flash: nor: mdr: fix verification problem with 1986VE1T or
1986VE3T 1986VE1T and 1986VE3T have issue with flash acceleration engine
described in their errata (issue 0007). After programming flash
acceleration engine's buffer contains old data, and therefore first
read data are wrong. Because of this verification after programming
fails always. Recommended workaround for the issue is to flush flash
accelerator's buffer. To do so it's necessary to read at least 64
bytes of flash through accelerator. Reading bytes through JTAG using default_flash_read doesn't help.
It seems that reading should be done by uC itself. Change-Id: I18ef464a68ad5c5b16d3933f31ca61f8e2e7cca3 Signed-off-by:
Andrey Skvortsov <andrej.skvortzov@gmail.com> Reviewed-on:
http://openocd.zylin.com/3509 Tested-by: jenkins Reviewed-by: Paul
Fertser <fercerpav@gmail.com>
2015-04-24 Tomas Vanek <vanekt@fbl.cz>
* : arm_adi_v5: add dap apreg command for AP register read/write A developer tool: Direct access to AP registers can be useful for
handling vendor specific AP like Freescale Kinetis MDM or Atmel
SMAP. Change-Id: Ie2c7160fc6b2e398513eb23e1e52cbb52b88d9bd Signed-off-by:
Tomas Vanek <vanekt@fbl.cz> Reviewed-on:
http://openocd.zylin.com/2777 Reviewed-by: Andreas Fritiofson
<andreas.fritiofson@gmail.com> Tested-by: jenkins
2016-07-11 Steven Stallion <stallion@squareup.com>
* : server: support binding to arbitrary interfaces Some installations of OpenOCD are used in restricted environments
that do not permit binding to public interfaces. This patch does not affect the default behavior to listen on all
interfaces, however it does give the option to restrict services by
way of the bindto command. Change-Id: Id51bd64b376a8c62dd47b08b4d834872925e6af2 Signed-off-by:
Steven Stallion <stallion@squareup.com> Reviewed-on:
http://openocd.zylin.com/3534 Tested-by: jenkins Reviewed-by: Tomas
Vanek <vanekt@fbl.cz>
2015-11-27 Esben Haabendal <esben@haabendal.dk>
* : cfi: Add support for strangely endianness broken SoC
implementations This adds the 'data_swap' parameter to the CFI driver, which enables
swapping of data bytes when writing/programming words to the flash.
Note, that this specifically means that bytes are not swapped when
writing command words to the flash chip. Unless you are using the
SAP in an LS102x chip to program an attached 16-bit NOR flash, you
hopefully do not need this! Change-Id: I1e6f7169da36f373c880d1756d9c21c9957acc50 Signed-off-by:
Esben Haabendal <esben@haabendal.dk> Reviewed-on:
http://openocd.zylin.com/3109 Tested-by: jenkins Reviewed-by: Paul
Fertser <fercerpav@gmail.com>
2016-05-31 Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>
* : stm32f7x.cfg: Fix expected JTAG id. Change-Id: Icd21b9ac5f50094262f30db431d8a775a0d263ca Signed-off-by:
Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de> Reviewed-on:
http://openocd.zylin.com/3512 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com>
2016-05-16 Marc Schink <openocd-dev@marcschink.de>
* : Remove FSF address from GPL notices Also make GPL notices consistent according to:
https://www.gnu.org/licenses/gpl-howto.html Change-Id: I84c9df40a774958a7ed91460c5d931cfab9f45ba Signed-off-by:
Marc Schink <openocd-dev@marcschink.de> Reviewed-on:
http://openocd.zylin.com/3488 Tested-by: jenkins Reviewed-by:
Andreas Färber <afaerber@suse.de> Reviewed-by: Freddie Chopin
<freddie.chopin@gmail.com> Reviewed-by: Andreas Fritiofson
<andreas.fritiofson@gmail.com>
2015-11-29 Andreas Frber <afaerber@suse.de>
* : armv4_5: Integrate build of erase check code Add rules to build armv4_5_erase_check.inc, and convert the code to
target endianness the least intrusive way. Drop an unused word from the assembler sources to make the ARM
bytecode fully match that of armv4_5.c and to not break ARMv4
assumptions. This completes the build rules for contrib/loaders/erase_check
directory. Change-Id: I36be7a944e26142088195fa3fb072d4e577bf328 Signed-off-by:
Andreas Färber <afaerber@suse.de> Reviewed-on:
http://openocd.zylin.com/3135 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com>
2016-05-08 Andreas Frber <afaerber@suse.de>
* : armv4_5: Improve arm_checksum_memory() error handling Clean up the working area in case writing fails. Change the error
handling paradigm to avoid duplication. Change-Id: Ie3f95f992a98a1325428e4032a1c17346d4c9977 Signed-off-by:
Andreas Färber <afaerber@suse.de> Reviewed-on:
http://openocd.zylin.com/3472 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com>
2016-04-17 Andreas Frber <afaerber@suse.de>
* : tcl/target: Add PSoC 5LP config Tested with CY8CKIT-059 and soldered-on J5 connector. Change-Id: I687786179f2df354321a18d26330c60908461e0b Signed-off-by:
Andreas Färber <afaerber@suse.de> Reviewed-on:
http://openocd.zylin.com/3410 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com>
2016-02-16 Andreas Frber <afaerber@suse.de>
* : xmc4500: Disable SRST for SDRAM App Kit Just like observed with the General App Kit earlier, it now started
to fail halting: SWD IDCODE 0x2ba01477 TARGET: xmc4500.cpu - Not halted in procedure 'reset' in procedure 'ocd_bouncer' SWD IDCODE 0x2ba01477 Halt timed out, wake up GDB. Rely on the target's default sysresetreq behavior to allow flashing
to work seemlessly again. Change-Id: Ib9ce5f2c0ab99dca6d0fc74435fe26a58437fae5 Signed-off-by:
Andreas Färber <afaerber@suse.de> Reviewed-on:
http://openocd.zylin.com/3416 Tested-by: jenkins Reviewed-by: Jeff
Ciesielski <jeffciesielski@gmail.com> Reviewed-by: Andreas
Fritiofson <andreas.fritiofson@gmail.com>
2015-07-12 Andreas Frber <afaerber@suse.de>
* : lpcspifi: Fix SWD support for LPC43xx When using SWD rather than JTAG transport, the lpcspifi driver
complains: Error: Device ID 0x0 is not known as SPIFI capable Error: auto_probe failed This is because target's JTAG tap->idcode is zero for SWD. Drop this check completely and hardcode the addresses for now.
Neither the JTAG TAPID nor the SWD IDCODE are unique enough to
detect the exact chip model and thereby its memory map. Change-Id: Ic230e3e989a3e1f1a5b3bae68bdb34e5ef55d392 Signed-off-by:
Andreas Färber <afaerber@suse.de> Reviewed-on:
http://openocd.zylin.com/3089 Tested-by: jenkins Reviewed-by:
Freddie Chopin <freddie.chopin@gmail.com>
2016-04-17 Marc Schink <openocd-dev@marcschink.de>
* : board/efm32: Disable SRST The current configuration leads to the following error when trying
to program the target: SWD IDCODE 0x2ba01477 timed out while waiting for target halted TARGET: efm32.cpu - Not halted in procedure 'program' in procedure 'reset' called at file "embedded:startup.tcl", line
478 in procedure 'ocd_bouncer' Use the default reset handling of the target (SYSRESETREQ) to reset
the system rather than SRST to fix the problem. Tested on EFM32GG, EFM32TG and EZR32WG STK. Change-Id: I788c41baf08b20814cbe0934b563424c4bc144b8 Signed-off-by:
Marc Schink <openocd-dev@marcschink.de> Reviewed-on:
http://openocd.zylin.com/3420 Tested-by: jenkins Reviewed-by:
Andreas Färber <afaerber@suse.de> Reviewed-by: Freddie Chopin
<freddie.chopin@gmail.com>
2016-05-20 Ivo Manca <pinkel@gmail.com>
* : nand: change use_raw to boolean Change type of use_raw to boolean. This parameter was already
assigned a boolean variable (in COMMAND_PARSE_ENABLE) and used as a
boolean. Change-Id: I22f8308246cb25ec9ec2395599e406160410a2a8 Signed-off-by:
Ivo Manca <pinkel@gmail.com> Reviewed-on:
http://openocd.zylin.com/3496 Reviewed-by: Andreas Färber
<afaerber@suse.de> Tested-by: jenkins Reviewed-by: Freddie Chopin
<freddie.chopin@gmail.com>
2016-05-19 Samuel Martin <s.martin49@gmail.com>
* : tcl: add STM32F429I-DISC1 board config Both the STM32F429I-DISC{O,1} boards are equipped with the same MCU,
but differ by the debugging chip: - the STM32F429I-DISCO uses the ST-LINK/V2 chip; - the STM32F429I-DISC1 uses the ST-LINK/V2-B chip (which matches the
USB VID/PID set in stlink-v2-1.cfg). Change-Id: I07d637f72d26cf5d714472638da974eb6ca02325 Signed-off-by:
Samuel Martin <s.martin49@gmail.com> Reviewed-on:
http://openocd.zylin.com/3492 Reviewed-by: Andreas Färber
<afaerber@suse.de> Tested-by: jenkins Reviewed-by: Freddie Chopin
<freddie.chopin@gmail.com>
2016-05-18 Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>
* : stm32l1/Cat.3: Devices have only one bank. Change-Id: I02ce243c228ea20be6d5f01fee705a671747ebad Signed-off-by:
Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de> Reviewed-on:
http://openocd.zylin.com/3490 Tested-by: jenkins Reviewed-by:
Freddie Chopin <freddie.chopin@gmail.com>
2016-05-16 Andreas Frber <afaerber@suse.de>
* : kinetis: Fix typo in variable names It's security, not securtiy. Change-Id: Idb10d7e0a1ca47d2d93b496d12cd4ec7ad116f22 Signed-off-by:
Andreas Färber <afaerber@suse.de> Reviewed-on:
http://openocd.zylin.com/3487 Tested-by: jenkins Reviewed-by: Tomas
Vanek <vanekt@fbl.cz>
2016-05-14 Andreas Frber <afaerber@suse.de>
* : arm_adi_v5: Add part numbers for Infineon XMC4000 family This was found on multiple XMC4500: Valid ROM table present Component base address 0xe00ff000 Peripheral ID 0x00001c11db Designer is 0x0c1, Infineon (Siemens) Part is 0x1db, Unrecognized Component class is 0x1, ROM table MEMTYPE system memory present on bus On multiple XMC4700 and an XMC4800 this was found instead: Valid ROM table present Component base address 0xe00ff000 Peripheral ID 0x00001c11df Designer is 0x0c1, Infineon (Siemens) Part is 0x1df, Unrecognized Component class is 0x1, ROM table MEMTYPE system memory present on bus Name them "XMC4500 ROM" and "XMC4700/4800 ROM" respectively. Change-Id: If369a6d16524004ba439b878f090a313a9f3a760 Signed-off-by:
Andreas Färber <afaerber@suse.de> Reviewed-on:
http://openocd.zylin.com/3482 Tested-by: jenkins Reviewed-by:
Freddie Chopin <freddie.chopin@gmail.com>
2016-02-14 Alexander Kurz <akurz@blala.de>
* : jtag ulink: dont compile function when not required ulink_calculate_frequency() is used exclusively when _DEBUG_JTAG_IO_
is set, no need to compile this function if it is not used.
Declaring it static in the same commit. Change-Id: I243ffdf69a1dc3bee6d16e4bb8d78396b6ea5144 Signed-off-by:
Alexander Kurz <akurz@blala.de> Reviewed-on:
http://openocd.zylin.com/3241 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com>
2016-05-14 Andreas Frber <afaerber@suse.de>
* : arm_adi_v5: Adjust part number column alignment Consistently increase the space-indentation of the .full values to
nicely align with the new "Qualcomm QDSS Component v1" .type value. Change-Id: Icd28d8f3fc7c3afcccb9dcfe138ac57d64927d1a Suggested-by:
Freddie Chopin <freddie.chopin@gmail.com> Signed-off-by: Andreas
Färber <afaerber@suse.de> Reviewed-on:
http://openocd.zylin.com/3480 Reviewed-by: Freddie Chopin
<freddie.chopin@gmail.com> Tested-by: jenkins
2016-05-14 Andreas Frber <afaerber@suse.de>
* : doc: Fix mismerges of fm4, kinetis and kinetis_ke flash drivers Commit dfc6658cf98d494e066426945879b9f60bbf9678 ("Kinetis: flash
driver described in openocd.texi") inserted a kinetis section
between fm3 and lpc2000. Then commit
43ff5acd45017fd9828cc56f54b929e600956c3b ("flash: New Spansion FM4
flash driver") was merged, inserting the fm4 section between kinetis
and lpc2000, instead of after fm3. Finally kinetis_ke was added
between kinetis and fm4 in commit
5396ec5dcc64354c8101f8d3f16d498ca3b10326 ("flash: Added support for
Freescale Kinetis KE family."). Restore the alphabetical order by moving the fm4 section to before
kinetis. Change-Id: I77e47c3cd5b2cd8570b62ff2f7be8526aaf57ad0 Signed-off-by:
Andreas Färber <afaerber@suse.de> Reviewed-on:
http://openocd.zylin.com/3484 Tested-by: jenkins Reviewed-by: Tomas
Vanek <vanekt@fbl.cz> Reviewed-by: Marc Schink
<openocd-dev@marcschink.de>
2016-05-05 Jiri Kastner <cz172638@gmail.com>
* : arm_adi_v5: added partnumber for APQ8016 On APQ8016 was found a CoreSight component designed by Qualcomm,
according to db410c HRM [1] it has a partnumber following this
schema: [11:8] is 0x4 meaning Qualcomm designed Coresight component in QDSS.
Reads as 0x4. [7:6] is Subsystem/core family ID (e.g. denote QDSS
family or generation). [5:4] is Subsystem/core configuration
options (e.g. denote cache options, etc.). [3:2] is Subsystem/core
fuse options. [1:0] is Subsystem/core future use field Reads as
0x440. [1] -
https://developer.qualcomm.com/download/sd410/hardware-register-description-qualcomm-snapdragon-410.pdfChange-Id: I9b4b41fd17c59d2f5ae35b53278d06d6087665f8 Signed-off-by:
Jiri Kastner <cz172638@gmail.com> Signed-off-by: Andreas Färber
<afaerber@suse.de> Reviewed-on: http://openocd.zylin.com/3408
Tested-by: jenkins Reviewed-by: Freddie Chopin
<freddie.chopin@gmail.com>
2016-02-08 Rick Foos <rfoos@solengtech.com>
* : flash/nor: Add Ambiq Micro Apollo flash driver. Initial release of Ambiq Micro Apollo flash driver supporting our
sub-threshold (low power) Cortex M4F part, and Evaluation Kit. We have been shipping openocd to our customers for about one year. The EVK boards are SWD only using ftdi. We also use two of the other
COM instances to display debug information. It takes about 15 seconds to flash 512K, and mass erase is about 5
seconds. Tested by internal verification group, FAE's, and customer sites. Merged commit 'refs/changes/17/3417/1' as suggested. Makefile.am and
drivers.c follow the new format to avoid conflicts. Removed unused fault_capture command. Added documentation for flash driver. Change-Id: Iae92d869369c6827244f0071f9cb522d8d91fed8 Signed-off-by:
Rick Foos <rfoos@solengtech.com> Reviewed-on:
http://openocd.zylin.com/3230 Tested-by: jenkins Reviewed-by:
Freddie Chopin <freddie.chopin@gmail.com>
2016-05-08 Andreas Frber <afaerber@suse.de>
* : xmc4xxx: Improve xmc4xxx_blank_check_memory() error handling Clean up working area in case writing fails. Probably inherited from
armv7m_blank_check_memory(). Fix adapted from
armv7m_checksum_memory(). Change-Id: I784bef481d1eba833ab6a9c34249fe9d43a16081 Signed-off-by:
Andreas Färber <afaerber@suse.de> Reviewed-on:
http://openocd.zylin.com/3470 Tested-by: jenkins Reviewed-by: Tomas
Vanek <vanekt@fbl.cz>
2016-05-11 Aleksander Morgado <aleksander@aleksander.es>
* : arm7: add missing braces around an if() Spotted by gcc: arm7_9_common.c: In function ‘arm7_9_unset_breakpoint’: arm7_9_common.c:353:4: error: this ‘if’ clause does not
guard... [-Werror=misleading-indentation] if (current_instr ==
arm7_9->thumb_bkpt) ^~ arm7_9_common.c:356:5: note: ...this statement, but the latter
is misleadingly indented as if it is guarded by the ‘if’ if
(retval != ERROR_OK) ^~ The logic won't change once the braces have been added, as the new
'retval' check only makes sense within the if(). Change-Id: I6a303e118f2150e5eb25c9268ad06de5d8a533b2 Signed-off-by:
Aleksander Morgado <aleksander@aleksander.es> Reviewed-on:
http://openocd.zylin.com/3477 Tested-by: jenkins Reviewed-by:
Andreas Färber <afaerber@suse.de> Reviewed-by: Matthias Welwarsky
<matthias@welwarsky.de> Reviewed-by: Freddie Chopin
<freddie.chopin@gmail.com>
2016-02-13 Alexander Kurz <akurz@blala.de>
* : Helper ioutil: cleanup: removing dead code The ioutil helper functions copyfile and copydir were last and only
used in ecosboard.c which has been removed with commit 39650e22.
Removing the dead code. Change-Id: I36c7c4c5009d755b4513a14a9f9e214d1ee500e8 Signed-off-by:
Alexander Kurz <akurz@blala.de> Reviewed-on:
http://openocd.zylin.com/3240 Tested-by: jenkins Reviewed-by:
Freddie Chopin <freddie.chopin@gmail.com>
2016-02-22 Robert Jordens <jordens@gmail.com>
* : flash/nor/spi: fix macronix 25l1005 chip erase Change-Id: Ibc445bbe9360d0f1f41e71af8b990b96e0ae5d1f Signed-off-by:
Robert Jordens <jordens@gmail.com> Reviewed-on:
http://openocd.zylin.com/3349 Tested-by: jenkins Reviewed-by:
Freddie Chopin <freddie.chopin@gmail.com>
2016-03-02 Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>
* : stlink: Decode more errors. For STLINK_SWD_AP_FAULT git://git.ac6.fr/openocd commit
657e3e885b9ee10 returns ERROR_OK with the comment: Change in error
status when reading outside RAM. This fix allows CDT plugin to
visualize memory. Change-Id: Id8e220961b748ef9467fd84de62b1dc84ace63f8 Signed-off-by:
Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de> Reviewed-on:
http://openocd.zylin.com/3373 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-by:
Freddie Chopin <freddie.chopin@gmail.com>
2016-03-25 Lieven Hollevoet <lieven@quicksand.be>
* : Support for debug interface lock of EFM32 controllers The capability to lock the debug interface on EFM32 controllers was
lacking in OpenOCD. After receiving some pointers by zapb_ and
PaulFertser on IRC (thanks guys!) I have added this capability. This works by writing the required bits in the debug lock word to
'0'. Note: there is currently no way to re-enable the debug interface
from OpenOCD as doing this requires specific pin wiggling that is
currently not implemented yet. However: having the capability to lock the debug interface is useful
when building a volume programming jig. You can flash the program
code, verify and then lock the debug interface so that the device
cannot be read when it is deployed in the field. Change-Id: If2d562dfdb4b95519785a4395f755d9ae3d0cf12 Signed-off-by:
Lieven Hollevoet <hollie@lika.be> Reviewed-on:
http://openocd.zylin.com/3389 Tested-by: jenkins Reviewed-by:
Freddie Chopin <freddie.chopin@gmail.com>
2016-04-24 Andreas Frber <afaerber@suse.de>
* : xmc4xxx: Fix error propagation for erase_check callback If an error occurs during xmc4xxx_blank_check_memory() aka
.erase_check, it would break out of the loop over flash sectors and
return ERROR_OK. Instead return the error code so that tcl.c can notify the user. Change-Id: Ie2c1b7933eef2b240b28f8a292634fbbf5b31706 Signed-off-by:
Andreas Färber <afaerber@suse.de> Reviewed-on:
http://openocd.zylin.com/3425 Tested-by: jenkins Reviewed-by:
Freddie Chopin <freddie.chopin@gmail.com>
2016-04-06 Matthias Welwarsky <matthias.welwarsky@sysgo.com>
* : ftdi: make ftdi_location command depend on libusb1 version The function libusb_get_port_numbers(), required for the command
ftdi_location, is only available in recent version of libusb1.
Compilation will break if the function is not available. This patch
enables the command only if libusb1 contains the necessary function. Change-Id: I091e72dafa4ed22eea51692751d43246a8152987 Signed-off-by:
Matthias Welwarsky <matthias.welwarsky@sysgo.com> Reviewed-on:
http://openocd.zylin.com/3396 Tested-by: jenkins Reviewed-by:
Andreas Färber <afaerber@suse.de> Reviewed-by: Freddie Chopin
<freddie.chopin@gmail.com>
2016-04-21 Peter D. Gray <peter@conalgo.com>
* : at91samd: Add additional "B Variant" parts from SAMD21 family The parts are listed in Rev I of the Datasheet Change-Id: Icdd9108a0f1f19f666fce79de7f25df9f46de866 Signed-off-by:
Peter D. Gray <peter@conalgo.com> Reviewed-on:
http://openocd.zylin.com/3424 Reviewed-by: Freddie Chopin
<freddie.chopin@gmail.com> Tested-by: jenkins
2014-08-24 Salvador Arroyo <salvador@telecable.es>
* : Fix for BMIPS BMIPS always needs 2 additional instructions to reach the core.
Seems there is a 2 instructions fifo between the tap and the core,
or it behaves in this way. No idea of the purpose of this fifo, I
can only guess. Of course function mips32_pracc_clean_text_jump()
must add this additional instructions (NOPs). Only tested on
bcm3348.. Change-Id: I3183d3ce865d469d7262ba4b15446e5743a5f1df Signed-off-by:
Salvador Arroyo <salvador@telecable.es> Reviewed-on:
http://openocd.zylin.com/2270 Tested-by: jenkins Reviewed-by: Kent
Brinkley <jkbrinkley.imgtec@gmail.com> Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2016-04-25 Tomas Vanek <vanekt@fbl.cz>
* : at91samd: Atmel SAML22 (segment LCD) family added Part IDs taken from Atmel-42402C-SAM L22_Datasheet_Complete-01/2016
(revision C) Change-Id: I1eb76a92097a8327da10faa0551e7fc962a549f8 Signed-off-by:
Tomas Vanek <vanekt@fbl.cz> Reviewed-on:
http://openocd.zylin.com/3426 Tested-by: jenkins Reviewed-by:
Freddie Chopin <freddie.chopin@gmail.com>
2015-12-19 Tomas Vanek <vanekt@fbl.cz>
* : flash Kinetis: new KVx family added Cortex-M0+ and M4 motor control MCUs KV10, KV11, KV30, KV31, KV42,
KV44 and KV46 added to SDID identification. Watchdog disable code
changed to work on Cortex-M0+ (KV1x) Protection size set to 1K for
16K flash devices (KV10Z16) - cherry picked from Andrey Smirnov's change #2051 Change-Id: Ia6f4868eaf7e2cb6ad6a736210c703a67e0027be Signed-off-by:
Tomas Vanek <vanekt@fbl.cz> Reviewed-on:
http://openocd.zylin.com/3235 Tested-by: jenkins Reviewed-by: Kyle
Manna <kyle.manna@fuel7.com> Reviewed-by: Freddie Chopin
<freddie.chopin@gmail.com>
2016-04-17 Andreas Frber <afaerber@suse.de>
* : flash/nor: Reorder drivers alphabetically To avoid conflicts between flash drivers being added, consistently
use an alphabetical sort order for the three places new drivers get
added: * Makefile.am NOR_DRIVERS (note: automake disallows a trailing
backslash) * drivers.c struct flash_driver forward declarations * drivers.c flash_drivers array Change-Id: Idcd6a8e12821ef10958a6b3ad7bac0dc63cadd08 Signed-off-by:
Andreas Färber <afaerber@suse.de> Reviewed-on:
http://openocd.zylin.com/3417 Tested-by: jenkins Reviewed-by:
Freddie Chopin <freddie.chopin@gmail.com>
2016-03-02 Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>
* : stm32f2x.c: Add more F4 devices. Taken from git://git.ac6.fr/openocd commit e8ed67c42227b7072
STM32F446 (0x434) now is's own case. Change-Id: I5061db7102b4c923c9f39d3d2f0cc69d29fca0a4 Signed-off-by:
Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de> Reviewed-on:
http://openocd.zylin.com/3375 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com>
2015-11-30 Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>
* : stm32l4x.c: Correct waiting for data. Old code waited only for 7 bytes and didn't handle buffer
wrap-around, but was functional despite. Change-Id: Iceaf7be1e51368b2ec0a8722cc9ac16d12f9aa63 Signed-off-by:
Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de> Reviewed-on:
http://openocd.zylin.com/3140 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2016-04-13 Marc Schink <openocd-dev@marcschink.de>
* : server/telnet: Check malloc() return values Change-Id: I598bd2dd5a65c0d1a8745bde41763057c4427a31 Signed-off-by:
Marc Schink <openocd-dev@marcschink.de> Reviewed-on:
http://openocd.zylin.com/3412 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-by: Freddie Chopin
<freddie.chopin@gmail.com>
2016-04-06 Jonathan Dumaresq <jdumaresq@cimeq.qc.ca>
* : RTOS support: Add FPU support for FreeRTOS Add new structure for for working with FPU thread in thread view.
This modification support both stacking. When FPU is activated, LR
must be validated to check if the FPU register are push on the
stack. This is mandatory to find the correct stack pointer position. the modified code was inspired and adapted from
https://github.com/TauLabs/TauLabs/commit/88d2003bb83a6b72c796274c889e307f96645966Change-Id: I6641926aa14e7216cacb399cbc8bb0db324cc9fc Signed-off-by:
Jonathan Dumaresq <jdumaresq@cimeq.qc.ca> Reviewed-on:
http://openocd.zylin.com/3397 Tested-by: jenkins Reviewed-by: Sergey
A. Borshch <sb-sf@users.sourceforge.net> Reviewed-by: Harry Zhurov
<harry.zhurov@gmail.com> Reviewed-by: Anton Gusev Reviewed-by:
Михаил Цивинский <mtsivinsky@gmail.com> Reviewed-by:
Freddie Chopin <freddie.chopin@gmail.com>
2015-11-30 Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>
* : stm32l4x.c: Free r6/7 for 64-bit operations. Use r5 instead of r7. Change-Id: I350d00eeabe9446d64dba8f1dbffb5d4beab7dd6 Signed-off-by:
Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de> Reviewed-on:
http://openocd.zylin.com/3138 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2016-03-10 Tomas Vanek <vanekt@fbl.cz>
* : flash Kinetis: remove TARGET_HALTED halted check from probe There is no reason why not probe running target. Initial gdb
connect to running target is now possible without halt in gdb-attach
event. Change-Id: Iacc4a231587d378168b18db871582f1086504831 Signed-off-by:
Tomas Vanek <vanekt@fbl.cz> Reviewed-on:
http://openocd.zylin.com/3382 Tested-by: jenkins Reviewed-by: Uwe
Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de> Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com>
2016-02-02 Matthias Welwarsky <matthias.welwarsky@sysgo.com>
* : ftdi: allow selecting device by usb bus location This patch adds a 'ftdi_location' command to select an adapter by
usb bus number and port path. This is helpful if you have a rack full of adapters in a testing or
manufacturing setup where the only constant is the physical usb bus
location of the adapter you want to address. Vid:Pid are not unique,
serial number _may_ be unique (and maybe not with embedded adapters)
but will change when a new target is plugged. Specifying a location allows to understand instantly which board
failed bringup or testing. Change-Id: I403c7c6c8e34fe42041b3f967db80f3160a4f1a3 Signed-off-by:
Matthias Welwarsky <matthias.welwarsky@sysgo.com> Reviewed-on:
http://openocd.zylin.com/3351 Tested-by: jenkins Reviewed-by: Paul
Fertser <fercerpav@gmail.com>
2015-12-13 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : jim-nvp: Make Jim_GetOpt_String const-correct Change-Id: Iae9824f6ff47a1944e674e59bfaa970904645082 Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/3178 Tested-by: jenkins
2016-01-12 Evan Hunter <ehunter@broadcom.com>
* : Cortex-A/R: Add missing timeout for loop polling DSCR & fix
timeout types Change-Id: I345658cfdc8a34a98418727423ac6bd562e980f3 Signed-off-by:
Evan Hunter <ehunter@broadcom.com> Reviewed-on:
http://openocd.zylin.com/3201 Tested-by: jenkins Reviewed-by:
Matthias Welwarsky <matthias@welwarsky.de> Reviewed-by: Andreas
Fritiofson <andreas.fritiofson@gmail.com>
2015-12-06 Andreas Frber <afaerber@suse.de>
* : fm4: Add support for MB9BFx64/x65 These appear to be just additional flash size configurations.
Entirely based on manual, untested. Change-Id: I4460dc1a588335df8fc0a385d24513a4e35b6951 Signed-off-by:
Andreas Färber <afaerber@suse.de> Reviewed-on:
http://openocd.zylin.com/3157 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2016-02-06 Paul Fertser <fercerpav@gmail.com>
* : flash: nor: mdr: implement read/verify for Info memory This adds necessary code to obtain data from the Info region which
is not memory-mapped so can't be read the usual way. With this "flash read_bank" and "flash verify_bank" commands should
start to work as expected for the Info memory block. Change-Id: I57e4b80fff577500cfa85954b625fe9c9ff92aa5 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/3227 Tested-by: jenkins Reviewed-by: Eldar
Khayrullin <eldar.khayrullin@mail.ru> Reviewed-by: Andreas
Fritiofson <andreas.fritiofson@gmail.com>
2015-11-29 Andreas Frber <afaerber@suse.de>
* : xmc4xxx: Integrate build of erase check code Instead of pointing to the assembler sources in a comment and
inline-commenting the THUMB bytecode, place the hex array alongside
the assembler sources and include it via preprocessor. Originally inspired by a typo in the file path during driver
development, but it also facilitates making changes to the assembler
sources. A Makefile is provided to help automate updating the bytecode. It is
not integrated with the automake system to avoid forcing an ARM
cross-compiler onto every user, i.e. after modifying the sources
they need to be rebuilt in that directory before building the usual
way. ARM_CROSS_COMPILE= can be passed on the make command line to
deal with native ARM toolchains or with varying prefixes of
cross-toolchains. Change-Id: I00ceb980a68c8554a180dd13719ac77b677a8bcd Signed-off-by:
Andreas Färber <afaerber@suse.de> Reviewed-on:
http://openocd.zylin.com/3133 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-by: Paul
Fertser <fercerpav@gmail.com>
2016-02-17 Colin Helliwell <colin.helliwell@ln-systems.com>
* : at91sam4 Flash: Added identification of atsam4n's The Flash driver for at91sam4 cpu's has been enhanced to recognise
and support the SAM4N family. Change-Id: I50c471a6053b52edffd8efdd8abfe516cc5c55ee Signed-off-by:
Colin Helliwell <colin.helliwell@ln-systems.com> Reviewed-on:
http://openocd.zylin.com/3242 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2016-02-25 Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>
* : stm32lx.c: Add STM32L0 categories 1, 2 and 5. Change-Id: I493072a856a66e4cd60de490a0937287db4b5c4d Signed-off-by:
Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de> Reviewed-on:
http://openocd.zylin.com/3360 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com>
2016-02-26 Alexander Kurz <akurz@blala.de>
* : flash/nor/faux.c: fixing check for failed malloc Error found by static code analysis using the semantic pattern
null_ref2/mini_null_ref2.cocci, see coccinellery.org Change-Id: Ic817c29f0ccf2b41fc8f7d9a480ad30d6e5b7ab8 Signed-off-by:
Alexander Kurz <akurz@blala.de> Reviewed-on:
http://openocd.zylin.com/3364 Tested-by: jenkins Reviewed-by: Uwe
Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de> Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com>
2016-02-28 Alexander Kurz <akurz@blala.de>
* : flash/nor/stellaris: fix: flash info RCC and RCC2 mixed up The flash info command on stellaris platformes "TI/LMI Stellaris
information ... rcc is ..., rcc2 is ..." presented the actual RCC2
register as rcc and an uninitialized variable as rcc2 due to a copy
and paste error. Found using the semantic pattern da/da.cocci, see
coccinellery.org Change-Id: I6f920fc3e07fdc085ea8e2248fbc9453eb8393dc Signed-off-by:
Alexander Kurz <akurz@blala.de> Reviewed-on:
http://openocd.zylin.com/3368 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com>
2016-02-28 Alexander Kurz <akurz@blala.de>
* : Cleanup: removal of obsolete semicolons Obsolete C source code semicolons were removed using the semantic
patch semicolon/semicolon.cocci, see coccinellery.org Change-Id: I153b4995a9e028ebaf5f58c947821dc78345a777 Signed-off-by:
Alexander Kurz <akurz@blala.de> Reviewed-on:
http://openocd.zylin.com/3367 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com>
2016-02-18 Peter A. Bigot <pab@pabigot.com>
* : nrf51: move hwid 0057 and add 0058 Chip markings: N51822 / QFAAG2 / 1435CZ for HWID 0057 N51822 / QFAAG3 / 1436AJ for HWID 0058 Change-Id: I242b94d6a2362aae0de970c7ac77811c76dacdc0 Signed-off-by:
Peter A. Bigot <pab@pabigot.com> Reviewed-on:
http://openocd.zylin.com/3187 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com>
2015-12-29 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : arm_adi_v5: Rewrite dap_rom_display Simplify by printing one component per call, instead of one complete
ROM Table per call. Print common information the same way for all
components, including ROM tables, because ROM tables (at least the
top level) contain useful information in their identification
registers, such as the manufacturer of the SoC. Print component designer name using the JEP106 helper when
available. Change-Id: Ic51bccd98acfae6886243500153fbdd567be2fae Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/3182 Tested-by: jenkins Reviewed-by: Jiri
Kastner <cz172638@gmail.com> Reviewed-by: James Mastros
<james@mastros.biz>
2016-02-10 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : adi_v5_swd: Avoid special handling the SELECT cache during
connect The cache is forced to zero to match the value expected by the DPIDR
read so the connect sequence is not destroyed by a SELECT update. However, DPIDR and in fact all registers except address 4 are
independent of the current DPBANKSEL value. Change
swd_queue_dp_bankselect() to use this fact and avoid touching SELECT
for those registers. Change-Id: I0cd11925fb6adef481bbf45cc24ea2c6dab4b6fb Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/3231 Tested-by: jenkins Reviewed-by: Tomas
Vanek <vanekt@fbl.cz>
2015-10-13 Tomas Vanek <vanekt@fbl.cz>
* : Kinetis: flash driver described in openocd.texi Change-Id: Id3410fc94f73191e3d7810115676046e5c760a0b Signed-off-by:
Tomas Vanek <vanekt@fbl.cz> Reviewed-on:
http://openocd.zylin.com/3014 Tested-by: jenkins
2015-10-02 Tomas Vanek <vanekt@fbl.cz>
* : Kinetis: invalidate flash cache after erase/write Cached old flash contents broke verify readback on Kx devices. Change-Id: I0effaf358f451b473f0d9c762a133ffd21bc64b4 Signed-off-by:
Tomas Vanek <vanekt@fbl.cz> Reviewed-on:
http://openocd.zylin.com/2993 Tested-by: jenkins
2015-10-02 Tomas Vanek <vanekt@fbl.cz>
* : Kinetis: nvm_partition command Command for partitioning FlexNVM to data flash and EEPROM blocks Change-Id: Ia0ea65d72b0e5f23da330520284b0bd26435e444 Signed-off-by:
Tomas Vanek <vanekt@fbl.cz> Reviewed-on:
http://openocd.zylin.com/2991 Tested-by: jenkins
2015-10-01 Tomas Vanek <vanekt@fbl.cz>
* : Kinetis: kinetis_ftfx_command() based on target instead of flash
bank kinetis_ftfx_command() did not use other struct flash_bank* members
than base->target. Switching first parameter to struct target*
enables use of kinetis_ftfx_command() without unnecessary bank
getting and probing. Removed kinetis_securing_test: kind of dead code, same function as
command flash erase_address pad 0x400 0x10 Removed "NAND" word from help as flash is obviously NOR Change-Id: I3f5fc295ef2bf42f3e913549949f2a36377f6367 Signed-off-by:
Tomas Vanek <vanekt@fbl.cz> Reviewed-on:
http://openocd.zylin.com/2988 Tested-by: jenkins
2016-01-21 Freddie Chopin <freddie.chopin@gmail.com>
* : Add board config for ST NUCLEO L476RG board The file was contributed by Sébastien Lorquet. Change-Id: I118f5b16181488b9e3327891e6130b908419f1c4 Signed-off-by:
Freddie Chopin <freddie.chopin@gmail.com> Reviewed-on:
http://openocd.zylin.com/3214 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com>
2016-01-29 anpilog <anpilog@gmail.com>
* : cmsis-dap: Fix CMSIS-DAP serial number processing. Check CMSIS-DAP adapter has serialnumber before pass it to wcscmp.
Keep looking for onother adapter if choosed one doesn't have correct
serialnumber. Change-Id: I7d386a03cb49b9baf22073ae1c6b14269ed3b618 Signed-off-by:
Andrii Anpilogov <anpilog@gmail.com> Reviewed-on:
http://openocd.zylin.com/3226 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2015-11-05 Jacob Rosenthal <jakerosenthal@gmail.com>
* : flash: nor: nrf51: add hwid 0x0057 Change-Id: I43b9dc1ce254a8ee8c84ad8e25bb809eb8629e13 Signed-off-by:
Jacob Rosenthal <jakerosenthal@gmail.com> Signed-off-by: Paul
Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/3102 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2014-11-20 Kent Brinkley <jkbrinkley.imgtec@gmail.com>
* : Change isa string Laying the ground work for adding microAptiv core Change-Id: I161a8a8cb250240ebc8518c91e746d6f921c41c7 Signed-off-by:
Kent Brinkley <jkbrinkley.imgtec@gmail.com> Reviewed-on:
http://openocd.zylin.com/2400 Tested-by: jenkins Reviewed-by: Mindy
Beseler <mbeseler@yahoo.com> Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2016-01-15 Robert Jordens <jordens@gmail.com>
* : flash/nor/spi: reorder to group micron devices Change-Id: Ic5b13e8b994d0741a0a12cd7ed427191b42958e2 Signed-off-by:
Robert Jordens <jordens@gmail.com> Reviewed-on:
http://openocd.zylin.com/3207 Tested-by: jenkins Reviewed-by:
Antonio Borneo <borneo.antonio@gmail.com>
2016-02-13 Alexander Kurz <akurz@blala.de>
* : Helper time_support: const function arguments duration_elapsed and duration_kbps will not modify the struct
duration passed as function argument, hence it should be declared
const. Change-Id: I459c396952c78e907257e2c2f2c630abde92aaa8 Signed-off-by:
Alexander Kurz <akurz@blala.de> Reviewed-on:
http://openocd.zylin.com/3232 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com>
2015-11-16 Tim 'mithro' Ansell <mithro@mithis.com>
* : tcl: Support for the miniSpartan6+ board. * https://www.scarabhardware.com/minispartan6/ *
https://github.com/scarabhardware/miniSpartan6-plus/raw/master/miniSpartan6%2B_Rev_B.pdfThe miniSpartan6+ board is wired identically to the Pipistrello
device but sadly doesn't have a custom device description. Change-Id: I07fd57b1ec87d72edf68860684928a3781e2f08a Signed-off-by:
Tim 'mithro' Ansell <mithro@mithis.com> Reviewed-on:
http://openocd.zylin.com/3117 Tested-by: jenkins Reviewed-by: Paul
Fertser <fercerpav@gmail.com>
2016-01-15 Paul Fertser <fercerpav@gmail.com>
* : flash: nor: {pic32mx,cfi}: fix register names Commit fd43be07265b5f3cf3146f2bb80c1c2fc0a44fcf introduced a
regression: since the register names were changed from those
traditional for MIPS to common GDB scheme the code that makes use of
them needs to be changed accordingly. This commit restores pic32mx flash driver functionality. Change-Id: Id18c739390fae36737a02dc30c363d0444f53b96 Reported-by:
Louis Rannou <louson@users.sf.net> Signed-off-by: Paul Fertser
<fercerpav@gmail.com> Reviewed-on: http://openocd.zylin.com/3206
Tested-by: jenkins Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2015-12-28 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : helper: Add converter from JEP106 ID to manufacturer name Use it to print the manufacturer of detected TAPs Change-Id: Ic4384c61c7f6f7ae2a9b860a805a5997542f72cc Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/3177 Tested-by: jenkins Reviewed-by: Jiri
Kastner <cz172638@gmail.com> Reviewed-by: Paul Fertser
<fercerpav@gmail.com>
2016-01-20 Jiri Kastner <cz172638@gmail.com>
* : arm_adi_v5: dap_partnums - correction of partnumbers, new added according to... ARM DDI 0433B is: 0x9a5 Cortex-A5 PMU ARM DDI 0435C is: 0x955 Cortex-A5 ETM ARM DDI 0401C is: 0x950 Cortex-A9 PTM ARM DDI 0469B is: 0x931 Cortex-R5 ETM ARM DDI 0460D is: 0xc15 Cortex-R5 Debug ARM DDI 0458C is: 0x9b7 Cortex-R7 PMU 0xc17 Cortex-R7 Debug ARM DDI 0535C is: 0x95b Cortex-A17 PTM 0x9ae Cortex-A17 PMU 0xc0e Cortex-A17 Debug ARM DDI 0500F is: 0x9a8 Cortex-A53 CTI 0x95d Cortex-A53 ETM 0x9d3 Cortex-A53 PMU 0xd03 Cortex-A53 Debug ARM DDI 0488G is: 0x906 Cortex-A57/A72 CTI 0x95e Cortex-A57 ETM 0x9d7 Cortex-A57 PMU 0xd07 Cortex-A57 Debug ARM 100095_0002_03_en is: 0x95a Cortex-A72 ETM 0x9d8 Cortex-A72 PMU 0xd08 Cortex-A72 Debug Change-Id: Ieffefb30f2e75c45fe1a2f9c8204e3a9b1af3d7a Signed-off-by:
Jiri Kastner <cz172638@gmail.com> Reviewed-on:
http://openocd.zylin.com/3198 Tested-by: jenkins Reviewed-by: Paul
Fertser <fercerpav@gmail.com>
2015-12-11 Matthias Welwarsky <matthias@welwarsky.de>
* : adi_v5_jtag: implement DAP WAIT support ADIv5 specifies that DP and AP accesses may generate a WAIT response
when the hardware is not able to complete a request for various
reasons in time before the next request is sent. Currently, the
software treats a WAIT response as a fatal error and aborts
operation on the DAP. This patch implements WAIT handling by keeping a journal of all
outstanding and completed accesses, including their response status.
At certain times (when dap_run() is called), the journal is
inspected for WAIT responses and all discarded accesses are replayed
to complete them. Special care is taken to not re-execute already
successfully completed operations. Change-Id: I2790070388cf1ab2e8c9a042d74eb3ef776aa583 Signed-off-by:
Matthias Welwarsky <matthias@welwarsky.de> Reviewed-on:
http://openocd.zylin.com/3166 Tested-by: jenkins Reviewed-by: Paul
Fertser <fercerpav@gmail.com>
2016-01-12 Evan Hunter <ehunter@broadcom.com>
* : Cortex-A: Fix unicode quote in comment Change-Id: I4747c113ab6c02199f078d9b4a4ec372d011fb2d Signed-off-by:
Evan Hunter <ehunter@broadcom.com> Reviewed-on:
http://openocd.zylin.com/3200 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com>
2015-12-31 Peter A. Bigot <pab@pabigot.com>
* : arm_adi_v5: deconflict local variables from global symbols BeagleBone debian 7 builds produce: adi_v5_jtag.c: In function 'jtag_ap_q_bankselect': adi_v5_jtag.c:336:11: error: declaration of 'select' shadows a
global declaration [-Werror=shadow] Fix this by changing the local variable to 'sel'. Change-Id: I8e29662ac12bc77d38d5064046d59b7364853cd9 Signed-off-by:
Peter A. Bigot <pab@pabigot.com> Reviewed-on:
http://openocd.zylin.com/3184 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com>
2015-12-17 Spencer Oliver <spen@spen-soft.co.uk>
* : libjaylink: use http mirror for submodule The other submodules default to http for users behind firewalls. Change-Id: I58fce00478ec6c94f75992f4e8f0c24f556abe61 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/3172 Tested-by: jenkins
2015-11-24 Matthias Welwarsky <matthias@welwarsky.de>
* : cortex_a: add 'dacrfixup' to cortex-a command group work around issues with software breakpoints when the text segment
is mapped read-only by the OS. Set DACR to "all-manager" to bypass
TLB permission checks on memory access. Change-Id: I79fd9b32b04a4d538d489896470ee30b26b72b30 Signed-off-by:
Matthias Welwarsky <matthias@welwarsky.de> Reviewed-on:
http://openocd.zylin.com/3107 Tested-by: jenkins Reviewed-by: Paul
Fertser <fercerpav@gmail.com>
2015-10-13 Matthias Welwarsky <matthias@welwarsky.de>
* : AM335x: allow simultaneous debugging of A8 and M3 cores This patch fixes the tap order so that it matches the actual jtag
chain when all taps are enabled. It also introduces a variable
DEFAULT_TAPS that can be set outside of this script, e.g. on the
command line, to specify which taps are to be enabled on init.
Lastly, a new debug target "am335x.m3" is added so that the
Wakeup-M3 can be selected for debugging. Change-Id: Iccf177fda8d5e3737b1b2bb8fd1eaa7d3262ed9f Signed-off-by:
Matthias Welwarsky <matthias@welwarsky.de> Reviewed-on:
http://openocd.zylin.com/3013 Tested-by: jenkins Reviewed-by: Paul
Fertser <fercerpav@gmail.com>
2015-12-15 Andreas Frber <afaerber@suse.de>
* : tcl/board: Add Renesas DK-S7G2 config Tested with "J-Link OB RX621-ARM-SWD V1 compiled Nov 4 2014
10:47:22". Change-Id: Ib64c0be407f99df57f058a4498556fd5ab7e9112 Signed-off-by:
Andreas Färber <afaerber@suse.de> Reviewed-on:
http://openocd.zylin.com/3170 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2015-11-29 Andreas Frber <afaerber@suse.de>
* : tcl/board: Add Infineon XMC4700 Relax Kit Series config Tested with Relax Kit for 5V Shields: J-Link Lite-XMC4200 Rev.1 compiled Oct 14 2015 10:14:50 and with
Relax Lite Kit: J-Link Lite-XMC4200 Rev.1 compiled Oct 14 2015
10:14:50 Derived from xmc4800-relax.cfg. Change-Id: I4e10fb6ed1f85168634d3b5259d3041ffc6b74d8 Signed-off-by:
Andreas Färber <afaerber@suse.de> Reviewed-on:
http://openocd.zylin.com/3130 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2015-12-17 Matthias Welwarsky <matthias@welwarsky.de>
* : arm_debug: optimize DP and AP reads over JTAG On JTAG, all reads are pipelined. If you read a register, the result
is not delivered inside the request that issued the read, it is
delivered in the following request. The current code therefore
issues a scan of the RDBUFF register after each read. This adds a
superfluous transaction after each read. This patch follows a strategy similar to what SWD already
implements. It also leverages that all JTAG reads are pipelined,
i.e. the result will be clocked out in the next JTAG data phase, no
matter if it's READ or WRITE. Therefore it's never necessary to
explicitly read RDBUFF other than for the very last READ before a
dap_run(). Change-Id: Ie40b1fef3203f0cdcb503f40dcbd2a68b0f9776c Signed-off-by:
Matthias Welwarsky <matthias@welwarsky.de> Reviewed-on:
http://openocd.zylin.com/3167 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com>
2015-12-08 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : arm_adi_v5: Make the DAP API stateless Remove entirely the concept of a "selected" AP that has to be
maintained between calls. All the information the DAP ops need are
now provided to each call through the AP/DAP pointer. Consolidate the cache of the SELECT fields into one single field
caching the entire register. Change-Id: I2e1c93ac5ee8ac38a7d680ca2c660c30093a6b87 Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/3165 Tested-by: jenkins Reviewed-by:
Matthias Welwarsky <matthias@welwarsky.de>
2015-12-06 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : arm_adi_v5: Fix dap apsel confusing behaviour. Make dap apsel without arguments show current state instead of
changing to AP 0. Change-Id: I75ea10e3e1b8a067f2dc417ec6691dc7ceec1af6 Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/3163 Tested-by: jenkins Reviewed-by:
Matthias Welwarsky <matthias@welwarsky.de>
2015-12-06 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : cortex: Set default memaccess_tck only during examine It's currently set during target creation but the AP that will be
used for the target is not even known. Change-Id: I4502e7eb1fa8d90f746445b8cf8a4c21cb7d519e Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/3155 Tested-by: jenkins Reviewed-by:
Matthias Welwarsky <matthias@welwarsky.de>
2015-12-28 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : arm_adi_v5: Remove all mem_ap_sel_* functions All mem_ap_* functions now make sure the SELECT register is updated
with the AP number that it's operating on. This shouldn't have to be
handled explicitly. Change-Id: Ib193d8930fabb6a25715064355f98258c9580b5d Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/3153 Tested-by: jenkins Reviewed-by:
Matthias Welwarsky <matthias@welwarsky.de>
2015-12-06 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : arm_adi_v5: Split ahbap_debugport_init This function does two separate things, powering up the DP and
setting up a MEM-AP. But the DP needs to be powered before even
searching for a MEM-AP to initialize and targets may have multiple
MEM-APs that need initializing. Split the function into dap_dp_init() and mem_ap_init() and change
all call sites to use the appropriate one. Change-Id: I92f55e09754a93f3f01dd8e5aa1ffdf60c856126 Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/3151 Tested-by: jenkins Reviewed-by:
Matthias Welwarsky <matthias@welwarsky.de>
2015-12-06 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : arm_adi_v5: Change mem_ap calls to take pointer to AP and not
DAP Change-Id: I8d3e42056aa5828cb917ca578a54b7d53846a150 Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/3149 Tested-by: jenkins Reviewed-by:
Matthias Welwarsky <matthias@welwarsky.de>
2015-12-06 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : arm_adi_v5: Convert the AP references from numbers to pointers Change the debug_ap and memory_ap fields of the cortex_a target and
the debug_ap field of the cortex_m target to be pointers to the
struct adiv5_ap instead of AP numbers in some known DAP. This reduces the dependency on the DAP struct in the targets and
enables MEM-AP accesses to take the relevant AP as parameter. Change-Id: I39d7b134d78000564b7eec5bff464adf0ef89147 Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/3147 Tested-by: jenkins Reviewed-by:
Matthias Welwarsky <matthias@welwarsky.de>
2015-12-06 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : cortex_a: Call ahbap_debugport_init on the discovered AP and not
0 Change-Id: I76bb9bd800697776a375ab803402780c3c7bea35 Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/3145 Tested-by: jenkins Reviewed-by:
Matthias Welwarsky <matthias@welwarsky.de>
2015-11-14 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : arm_adi_v5: Remove unused is_swd flag Not clear what it was supposed to be used for. It probably
shouldn't. Change-Id: Ife1d833e59ba80f93876447d752a0ca7e7b57b0f Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/3143 Tested-by: jenkins Reviewed-by:
Matthias Welwarsky <matthias@welwarsky.de>
2015-11-13 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : swd: Remove DAP from parameter list Making the SWD driver aware of the DAP that controls it is a
layering violation. The only usage for the DAP pointer is to store the number of idle
cycles the AP may need to avoid WAITs. Replace the DAP pointer with
a cycle count hint instead to avoid future misuse. Change-Id: I3e64e11a43ba2396bd646a4cf8f9bc331805d802 Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/3141 Tested-by: jenkins Reviewed-by: Paul
Fertser <fercerpav@gmail.com>
2015-12-06 Patrick Stewart <patstew@gmail.com>
* : cortex_m: Select an AP when accessing the DAP Prepare to support multiple cortex-m cores on one DAP. Uses
mem_ap_sel_* functions and removes mem_ap_* functions. Adds a new
debug_ap parameter to the cortex_m (currently set to zero as in
existing code). Change-Id: I6926029d1e7bf44a42d453d1aff349bda824ba72 Signed-off-by:
Patrick Stewart <patstew@gmail.com> Reviewed-on:
http://openocd.zylin.com/2983 Tested-by: jenkins Reviewed-by:
Matthias Welwarsky <matthias@welwarsky.de> Reviewed-by: Andreas
Fritiofson <andreas.fritiofson@gmail.com>
2015-08-06 Alamy Liu <alamy.liu@gmail.com>
* : adi_v5: Rename AP_REG_* to MEM_AP_REG_* and add LA support This is a TODO in the src/target/arm_adi_v5.h for MEM-AP registers. Some new registers are introduced in ADIv5.2 specification. MEM_AP_REG_MGT (0x20) // Memory Barrier Transfer register MEM_AP_REG_TAR64 (0x08) // Bits[63:32] of Transfer Address MEM_AP_REG_BASE64 (0xF0) // Bits[63:32] of Debug Base Address Refer to 7.5 MEM-AP register summary in IHI0031C: ARM Debug Interface Architecture Specification ADIv5.0
to ADIv5.2 Change-Id: I3bc4296a04c35f5c64f851e5865d3099922613fa Signed-off-by:
Alamy Liu <alamy.liu@gmail.com> Reviewed-on:
http://openocd.zylin.com/2904 Tested-by: jenkins Reviewed-by:
Matthias Welwarsky <matthias@welwarsky.de> Reviewed-by: Andreas
Fritiofson <andreas.fritiofson@gmail.com>
2015-12-28 Paul Fertser <fercerpav@gmail.com>
* : jtag: drivers: bcm2835gpio: fix a typo in informational message Change-Id: I70176f9c623e85ba03d8e08992cade232c1bd7fd Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/3176 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com>
2015-11-29 Andreas Frber <afaerber@suse.de>
* : xmc4xxx: Add XMC4800 support Tested with EES-AA chip revision on Relax EtherCAT Kit. Change-Id: I457f24d242e0674d1f446c03a329efadff754d6a Signed-off-by:
Andreas Färber <afaerber@suse.de> Reviewed-on:
http://openocd.zylin.com/3132 Tested-by: jenkins Reviewed-by: Jeff
Ciesielski <jeffciesielski@gmail.com> Reviewed-by: Paul Fertser
<fercerpav@gmail.com>
2015-11-25 Matthias Welwarsky <matthias@welwarsky.de>
* : cortex_a: fix fast-mode memory reads cortex_a_read_apb_ab_memory_fast() uses the wrong order of ITR and
DSCR writes when setting up the transfer. ARM DDI0406C says in C8.2
regarding "Fast mode" operation to first switch to fast mode and
then latch the instruction in ITR. Current implementation first
wrote ITR, causing the instruction to be executed immediately, then
switched to fast mode without an instruction latched. Repeated
reading of DTRTX didn't execute LDC and thus replicated its current
content into the whole buffer. This patch uses the following, revised algorithm: 1) switch to non-blocking mode and issue the LDC for the first word 2) if more than one word is to be read: - switch to fast mode - latch the LDC instruction into ITR (it is _not_ executed) - issue (count-1) reads of DTRTX register, each read returns the
current content of DTRTX and re-issues the latched instruction -> now the second-to-last word is in the buffer and the LDC for the
last word has been issued. 3) wait for the last instruction to complete 4) switch back to non-blocking mode 5) Read DTRTX for the last (or: only) word and put it into the
buffer Change-Id: I44f5c585962ffa5af257c3d5a2a802c122b6b1e4 Signed-off-by:
Matthias Welwarsky <matthias@welwarsky.de> Reviewed-on:
http://openocd.zylin.com/3122 Tested-by: jenkins Reviewed-by:
Christopher Head <chead@zaber.com> Reviewed-by: Paul Fertser
<fercerpav@gmail.com>
2015-11-24 Matthias Welwarsky <matthias@welwarsky.de>
* : cortex_a: replace cortex_a_check_address function When accessing memory through the ARM core, privilege levels and mmu
access permissions observed. Thus it depends on the current mode of
the ARM core whether an access is possible or not. the ARM in USR
mode can not access memory mapped to a higher privilege level. This
means, if the ARM core is halted while executing at PL0, the
debugger would be prevented from setting a breakpoint at an address
with a higher privilege level, e.g. in the OS kernel. This is not
desirable. cortex_a_check_address() tried to work around this by predicting if
an access would fail and switched the ARM core to SVC mode. However,
the prediction was based on hardcoded address ranges and only worked
for Linux and a 3G/1G user/kernel space split. This patch changes the policy to always switch to SVC mode for
memory accesses. It introduces two functions
cortex_a_prep_memaccess() and cortex_a_post_memaccess() which
bracket memory reads and writes. These function encapsulate all
actions necessary for preparation and cleanup. Change-Id: I4ccdb5fd17eadeb2b66ae28caaf0ccd2d014eaa9 Signed-off-by:
Matthias Welwarsky <matthias@welwarsky.de> Reviewed-on:
http://openocd.zylin.com/3119 Reviewed-by: Paul Fertser
<fercerpav@gmail.com> Tested-by: jenkins
2015-10-29 Matthias Welwarsky <matthias@welwarsky.de>
* : cortex_a: force cache and tlb bypass when cpu is in debug state for minimal impact on the hardware state, force all memory accesses
to bypass the caches and tlbs. This may actually be the default, but
ARM recommends in DDI0406C to set proper default values on debug
init. Change-Id: If5ac097b6ee725c047b1e86c2f90eabe16b98c7b Signed-off-by:
Matthias Welwarsky <matthias@welwarsky.de> Reviewed-on:
http://openocd.zylin.com/3079 Reviewed-by: Paul Fertser
<fercerpav@gmail.com> Tested-by: jenkins
2015-10-18 Matthias Welwarsky <matthias@welwarsky.de>
* : cortex_a: Update instruction cache after setting a soft
breakpoint Call armv7a_l1_d_cache_flush_virt() before writing the breakpoint,
to make sure the d-cache is clean and invalid at the breakpoint
location down to PoC. Call armv7a_l1_d_cache_inval_virt() after writing the breakpoint
again, so that d-cache will pick up the modified code. Call
armv7a_l1_i_cache_inval_virt() after writing the breakpoint to
memory to make the change visible to the CPU. Change-Id: I24fc27058d99cb00d7f6002ccb623cab66b0d234 Signed-off-by:
Matthias Welwarsky <matthias@welwarsky.de> Reviewed-on:
http://openocd.zylin.com/3033 Reviewed-by: Paul Fertser
<fercerpav@gmail.com> Tested-by: jenkins
2015-10-16 Matthias Welwarsky <matthias@welwarsky.de>
* : armv7a: fix debug messages regarding cache on/off state Cache bits are not level specific, remove "l1" from debug message.
Also, fix data/instruction mixup in armv7a_l1_i_cache_sanity_check() Change-Id: I259665ffe62c7ada5b4f98d3fd907e93662d4091 Signed-off-by:
Matthias Welwarsky <matthias@welwarsky.de> Reviewed-on:
http://openocd.zylin.com/3028 Reviewed-by: Paul Fertser
<fercerpav@gmail.com> Tested-by: jenkins
2015-10-16 Matthias Welwarsky <matthias@welwarsky.de>
* : armv7a: add d-cache virtual address range flush function This patch adds a function for cleaning & invalidating a virtual
address range from the architecture caches down to the point of
coherence. Change-Id: I4061ab023a3797fabc967f3a34498034841d52c6 Signed-off-by:
Matthias Welwarsky <matthias@welwarsky.de> Reviewed-on:
http://openocd.zylin.com/3026 Reviewed-by: Paul Fertser
<fercerpav@gmail.com> Tested-by: jenkins
2015-10-16 Matthias Welwarsky <matthias@welwarsky.de>
* : armv7a: fix handling of inner caches ARMv7 architecture allows up to 7 cache levels that are
architecturally visible, as opposed to "system caches", which are
outside of the domain defined by ARMv7 and require separate
management. This patch enables detection and identification of
caches at all levels. It also implements a new "flush-all" function
that cleans & invalidates all cache levels to the "Point of
Coherence". Change-Id: Ib77115d6044d39845907941c6f031e208f6e0aa5 Signed-off-by:
Matthias Welwarsky <matthias@welwarsky.de> Reviewed-on:
http://openocd.zylin.com/3024 Reviewed-by: Paul Fertser
<fercerpav@gmail.com> Tested-by: jenkins
2015-10-15 Matthias Welwarsky <matthias@welwarsky.de>
* : armv7a: rename l2_cache to outer_cache The outer cache is not necessarily at L2 in a system. Rename
functions to make that clear. Change-Id: Ia636a4844f50634f2bdf5cdce285febc1a47c11f Signed-off-by:
Matthias Welwarsky <matthias@welwarsky.de> Reviewed-on:
http://openocd.zylin.com/3020 Tested-by: jenkins Reviewed-by: Paul
Fertser <fercerpav@gmail.com>
2015-04-23 Oleksij Rempel <linux@rempel-privat.de>
* : add armv7a_cache handlers This patch introduces, new command set and handlers for l1 and l2x
caches. Patch set 10 folded the following changes into this one: Ib1a2a1fc1b929dc49532ac13a78e8eb796ab4415
If8d87a03281d0f4ad402909998e7834eb4837e79
I0749f129fa74e04f4e9c20d143a744f09ef750d8 Change-Id: I849f4d1f20610087885eeddefa81d976f77cf199 Signed-off-by:
Oleksij Rempel <linux@rempel-privat.de> Signed-off-by: Matthias
Welwarsky <matthias@welwarsky.de> Reviewed-on:
http://openocd.zylin.com/2800 Tested-by: jenkins Reviewed-by: Paul
Fertser <fercerpav@gmail.com>
2015-05-18 Oleksij Rempel <linux@rempel-privat.de>
* : cortex_a: add cortex_a_[read|write]_buffer Change-Id: I82011822d913aa7228f5c6262b540156494bedfe Signed-off-by:
Oleksij Rempel <linux@rempel-privat.de> Reviewed-on:
http://openocd.zylin.com/2797 Reviewed-by: Paul Fertser
<fercerpav@gmail.com> Tested-by: jenkins
2015-05-15 Oleksij Rempel <linux@rempel-privat.de>
* : cortex_a: remove ahb support for phys_memory access Change-Id: I5b7c21c16e95cc1a3160e356d6e64f1f8c449e6e Signed-off-by:
Oleksij Rempel <linux@rempel-privat.de> Reviewed-on:
http://openocd.zylin.com/2795 Tested-by: jenkins Reviewed-by: Paul
Fertser <fercerpav@gmail.com>
2015-09-21 Marc Schink <openocd-dev@marcschink.de>
* : jlink: Retrieve maximum speed from device. If supported, the maximum transport speed is now retrieved from the
device. Change-Id: I614f405ec91cf199c851781785fd26cbd10c37a6 Signed-off-by:
Marc Schink <openocd-dev@marcschink.de> Reviewed-on:
http://openocd.zylin.com/2955 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2015-05-27 Jakub Kubiak <jakub@kubiak.es>
* : flash/nor/lpc2000: add alternative part ID for LPC1343 http://support.code-red-tech.com/CodeRedWiki/DebugAccessChip > Note
that once you have recovered debug access to your MCU, then in most
cases you should then modify your Debug Configuration to turn vector
catch off again. If this is not done, then this can cause problems
in some circumstances with some versions of the Code Red IDE. For
example with NXP LPC13xx parts, connecting more than once to the MCU
with vector catch enabled can lead to the part ID being incorrectly
read - which can again cause debug connections to fail This patch
adds an alternative part ID for LPC1343. With this patch "program"
command works fine for flashing. Change-Id: I8632e898a4c33102455925d25715b4f4edfa1d97 Signed-off-by:
Jakub Kubiak <jakub@kubiak.es> Reviewed-on:
http://openocd.zylin.com/2782 Tested-by: jenkins Reviewed-by:
Andreas Färber <afaerber@suse.de> Reviewed-by: Freddie Chopin
<freddie.chopin@gmail.com>
2015-08-11 Karl Palsson <karlp@tweak.net.au>
* : efm32: remove duplicate part name decoding. The probe and info methods had duplicate sections decoding family
names to generate a human friendly part name. Extract this to a
common helper. Change-Id: I4c6309d83c601e154b7c14ad9c15c53854ee1e98 Signed-off-by:
Karl Palsson <karlp@tweak.net.au> Reviewed-on:
http://openocd.zylin.com/2932 Tested-by: jenkins Reviewed-by:
Andreas Färber <afaerber@suse.de> Reviewed-by: Freddie Chopin
<freddie.chopin@gmail.com>
2015-04-09 Felipe Balbi <balbi@ti.com>
* : jtag: commands: save a pointer to list tail By saving a pointer to the tail of the list, we don't need to
traverse the entire command queue before we're able to append an
item to it. With this patch, I see a 10% improvement when using the embedded
XDS100v2 on AM437x IDK board to load a 4MiB binary (linux zImage) to
DDR with load_image. IOW, we went from ~305kB/sec to ~336kb/sec. Change-Id: Idb55d49f0d0106043374ab520b2f3b6b32f2c50f Signed-off-by:
Felipe Balbi <balbi@ti.com> Reviewed-on:
http://openocd.zylin.com/2709 Tested-by: jenkins Reviewed-by: Stian
Skjelstad <stian@nixia.no> Reviewed-by: Daniele Emancipato
<daniele12457@hotmail.com> Reviewed-by: Matthias Welwarsky
<matthias@welwarsky.de> Reviewed-by: Freddie Chopin
<freddie.chopin@gmail.com>
2015-08-27 Paul Fertser <fercerpav@gmail.com>
* : svf: fix off-by-one error in line numbers as output to user This makes SVF error output match actual line numbers in the file
processed. Change-Id: I1fa4b9d0891e4358b7beada516945d5331ebe182 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2945 Tested-by: jenkins
2015-11-17 Andreas Frber <afaerber@suse.de>
* : tcl/target: Add Nordic nRF52 config Base config without flash support for now. Change-Id: I96a5b6ad35e00dc706177ea9dbdffc384ae7f62b Signed-off-by:
Andreas Färber <afaerber@suse.de> Reviewed-on:
http://openocd.zylin.com/3110 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2015-10-27 Tomas Vanek <vanekt@fbl.cz>
* : flash: at91samd: flash write code cleaning SAMD driver suffered from following problems: 1) Flash was erased as an integral part of flash write. It was not
documented so with usual workflow it resulted in erasing flash twice
(and reducing flash lifespan) and in almost double flashing time. 2) Sector erase was silently skipped if "is_erased" flag was set.
"is_erased" logic was not reliable, e.g. when a row write was
aborted after successful write of some pages, sector was still
considered as erased. "is_erased" flag could not cope with flash
writes from a user program. 3) Writing of a block with start address unaligned to a flash page
resulted in failed assert and OpenOCD abort. 4) Disabling cache in bit 18 of 16-bit halfword never worked. MCU
implements cache invalidate in hardware so there is no need to take
care about. This bug was reported by Tony DiCola. New code does not erase flash in write operation. Instead it
traditionally relies on erasing flash beforehand. "is_erased" logic
and cache disabling is completely removed. It simplifies write
procedure a lot and flash write is now faster. The change partly solves ticket #109 SAMD/SAM4L driver doubles flash
erase. Change-Id: I582b497d01a351575533a1f8c9810a4413be0216 Signed-off-by:
Tomas Vanek <vanekt@fbl.cz> Reviewed-on:
http://openocd.zylin.com/3045 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2015-11-05 Tomas Vanek <vanekt@fbl.cz>
* : jtag: cmsis-dap: Issue disconnect before reconnecting cmsis-dap protocol has both DAP_Connect and DAP_Disconnect commands.
Logically if cmsis_dap_swd_switch_seq() calls DAP_Connect in
connected state it should call DAP_Disconnect first. Doing so surprisingly solves problems on Atmel EDBG with target
SAMD/R/L/C. Without this change SWD communication breaks after
reset run/halt in config "reset_config srst_only" and reconnect
trials repeatedly fail with "SWD ack not OK: 0 JUNK" Change-Id: Ie951098d5e0c83f388e2df414608aaabec2135c9 Signed-off-by:
Tomas Vanek <vanekt@fbl.cz> Reviewed-on:
http://openocd.zylin.com/3098 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2015-04-14 Paul Fertser <fercerpav@gmail.com>
* : tcl/interface/ftdi: add 100ask's OpenJTAG config Schematics provided by Matthias Bock. Change-Id: I3d00453fece3b4df58a53bee21fff646a8b71a34 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2718 Tested-by: jenkins
2015-10-18 Ragnar Sundblad <raggesu@gmail.com>
* : topic: Interface config file for FTDI UM232H module Added interface config file for the FTDI FT232H based UM232H module.
This should work with UM232H-B too, an even cheaper module, but that
has not been tested. Change-Id: Ifc312d6741da0b7862fe07d854023190d7afe251 Signed-off-by:
Ragnar Sundblad <raggesu@gmail.com> Reviewed-on:
http://openocd.zylin.com/3031 Tested-by: jenkins Reviewed-by:
Freddie Chopin <freddie.chopin@gmail.com>
2015-08-23 Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>
* : stm32l4: Add cpu and stm32l4discovery board configuration. Change-Id: I20d3fcee04516eb3b9bb22933e7e366eed0c0b2e Signed-off-by:
Karl Palsson <karlp@tweak.net.au> Signed-off-by: Uwe Bonnes
<bon@elektron.ikp.physik.tu-darmstadt.de> Reviewed-on:
http://openocd.zylin.com/2942 Tested-by: jenkins Reviewed-by:
Freddie Chopin <freddie.chopin@gmail.com>
2015-01-09 Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>
* : tcl: Add default hooks for STM32F4x Set up PLL and increase clock at reset init. Change-Id: I611bc6fb7c0c5afd8ed3f4ad8e64f3c7b981d31c Signed-off-by:
Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de> Reviewed-on:
http://openocd.zylin.com/2609 Tested-by: jenkins Reviewed-by: Rémi
PRUD'HOMME <prudhomme.remi@gmail.com> Reviewed-by: Freddie Chopin
<freddie.chopin@gmail.com>
2015-04-29 Rémi PRUD’HOMME <prudhomme.remi@gmail.com>
* : Add config files for STM32F7-DISCO and STM327[4|5]6G-EVAL. Change-Id: I0803939f0ab1de97e544ca0f1257daac11fb50de Signed-off-by:
Rémi PRUD'HOMME <prudhomme.remi@gmail.com> Signed-off-by: Uwe
Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de> Reviewed-on:
http://openocd.zylin.com/2754 Tested-by: jenkins Reviewed-by:
Freddie Chopin <freddie.chopin@gmail.com>
2015-01-21 Jeff Ciesielski <jeffciesielski@gmail.com>
* : flash: New driver for XMC4xxx microcontroller family This is a complete flash driver for the Infineon XMC4xxx family of
microcontrollers, based on the TMS570 driver by Andrey Yurovsky.
The driver attempts to discover the particular variant of MCU via a
combination of the SCU register (to determine if this is indeed an
XMC4xxx part) and the FLASH0_ID register (to determine the variant).
If this fails, the driver will not load. The driver has been added
to the README and documentation. Tests: * Hardware: XMC4500 (XMC4500_relax), XMC4200 (XMC4200 enterprise) * SWD + JTAG * Binary: 144k, 1M Note: * Flash protect only partly tested. These parts only allow the flash protection registers (UCB) to be written 4 times total, and my
devkits have run out of uses (more on the way) Future Work: * User 1/2(permalock) locking support via custom command * In-memory flash loader bootstrap (flashing is rather slow...) Change-Id: I1d3345d5255d8de8dc4175cf987eb4a037a8cf7f Signed-off-by:
Jeff Ciesielski <jeffciesielski@gmail.com> Signed-off-by: Andreas
Färber <afaerber@suse.de> Reviewed-on:
http://openocd.zylin.com/2488 Tested-by: jenkins Reviewed-by: Paul
Fertser <fercerpav@gmail.com>
2015-11-02 Morgan Quigley <morgan@osrfoundation.org>
* : tcl/board: add Atmel SAM V71 Xplained Ultra Tested with cmsis-dap using the EDBG chip on the board. Change-Id: I3d398685c81e4701a9f6c1a66e60f7a87f839daa Signed-off-by:
Morgan Quigley <morgan@osrfoundation.org> Reviewed-on:
http://openocd.zylin.com/3092 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2015-11-04 Esben Haabendal <esben@haabendal.dk>
* : cfi: Fix fallback to memory writes Change-Id: I2d09139b95ff62c62a0b071584e85a87494ed313 Signed-off-by:
Esben Haabendal <esben@haabendal.dk> Reviewed-on:
http://openocd.zylin.com/3095 Tested-by: jenkins Reviewed-by: Paul
Fertser <fercerpav@gmail.com>
2015-07-17 Evan Hunter <ehunter@broadcom.com>
* : Cortex A/R : Allow interrupt disable during single-step Example usage: cortex_a maskisr on cortex_a maskisr off cortex_r maskisr on cortex_r maskisr off Change-Id: I799288d9b848a06f561ba29ec1eb8e5eeace5685 Signed-off-by:
Evan Hunter <ehunter@broadcom.com> Reviewed-on:
http://openocd.zylin.com/2876 Tested-by: jenkins Reviewed-by:
Matthias Welwarsky <matthias@welwarsky.de> Reviewed-by: Freddie
Chopin <freddie.chopin@gmail.com>
2015-10-16 Mahavir Jain <mjain@marvell.com>
* : flash/nor/spi: Add GigaDevice gd25q16c/32c/128c flash support Change-Id: I44052fd3467d7e0bbdc038b815204e39fa499684 Signed-off-by:
Mahavir Jain <mjain@marvell.com> Reviewed-on:
http://openocd.zylin.com/3029 Tested-by: jenkins Reviewed-by:
Antonio Borneo <borneo.antonio@gmail.com> Reviewed-by: Freddie
Chopin <freddie.chopin@gmail.com>
2015-10-07 Matthias Welwarsky <matthias@welwarsky.de>
* : armv7a: re-read ttb information if ttbcr changes If ttbcr is changed after the debugger has examined a target for the
first time, address translations may fail. This problem does not
show up with Linux because it doesn't use ttbr1, but it shows with
other OS that use this feature. If the debugger connects to the
target while it's in u-boot, all address translations will fail
after the OS has booted and the target can not be debugged. This patch reads the ttbcr in armv7a_mmu_translate_va() and compares
it a cached value. If a difference is detected, armv7a_read_ttbcr()
is called to re-parse the ttb configuration and update the cache. Change-Id: I1c3adf53ea9d748a0e1e3091d9581e5c43ed64e8 Signed-off-by:
Matthias Welwarsky <matthias@welwarsky.de> Reviewed-on:
http://openocd.zylin.com/3005 Tested-by: jenkins Reviewed-by:
Freddie Chopin <freddie.chopin@gmail.com>
2015-10-31 Andreas Frber <afaerber@suse.de>
* : tcl/board: Add LPC-Link2 config Tested with Olimex ARM-USB-TINY-H adapter (both JTAG and SWD). Change-Id: Idc8a030e9692eec761d1e2485cbf9897660c0ca0 Signed-off-by:
Andreas Färber <afaerber@suse.de> Reviewed-on:
http://openocd.zylin.com/3082 Tested-by: jenkins Reviewed-by: Paul
Fertser <fercerpav@gmail.com> Reviewed-by: Freddie Chopin
<freddie.chopin@gmail.com>
2015-09-30 Thomas Schmid <thomas@rfranging.com>
* : Kinetis: Disable watchdog on Kx devices when programming. Kx devices with FTFA flash need the watchdog disabled when
programming. I tried to keep overhead as small as possible and
re-use registers that were already inquired (e.g. sim_sdid). Change-Id: Ibc29a26ec34102d78a6c3920dd16f63e134a8f6f Signed-off-by:
Thomas Schmid <thomas@rfranging.com> Reviewed-on:
http://openocd.zylin.com/2986 Tested-by: jenkins Reviewed-by: Tomas
Vanek <vanekt@fbl.cz> Reviewed-by: Paul Fertser
<fercerpav@gmail.com>
2015-10-06 Jonathan Larmour <jifl@eCosCentric.com>
* : helper/options: Use OPENOCD_SCRIPTS dir if set. This makes it easier to relocate the install tree of OpenOCD from
where it was originally built (for example, if put onto a different
machine), without having to change scripts or add something to the
command line every time. Change-Id: Ia5edf0eba166f7a999f267bd6a92402dab9b399e Signed-off-by:
Jonathan Larmour <jifl@eCosCentric.com> Reviewed-on:
http://openocd.zylin.com/3004 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2015-06-17 Oleksij Rempel <linux@rempel-privat.de>
* : tcl/target|board: add config Atheros ar2313 Add configs for Atheros ar2313 MIPS based WiSoC and board based on
this chip: Netgear WP102 Change-Id: Id93957b5d5851a272f15be35f9f448a9ce6d8a08 Signed-off-by:
Oleksij Rempel <linux@rempel-privat.de> Reviewed-on:
http://openocd.zylin.com/2835 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2015-10-03 Marc Schink <openocd-dev@marcschink.de>
* : helper/log: Cleanup #includes. Change-Id: Ie343524dd843d518086a86866391b5a34556082b Signed-off-by:
Marc Schink <openocd-dev@marcschink.de> Reviewed-on:
http://openocd.zylin.com/2996 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2015-10-02 Marc Schink <openocd-dev@marcschink.de>
* : helper/fileio: Fix memory leak. The memory leak occurs when opening a file fails. It can be
reproduced by using the "flash verify_bank" command with a filename
that does not exist. Change-Id: I60b7b545c18793d750ff75d08124fde3f0aa6f64 Signed-off-by:
Marc Schink <openocd-dev@marcschink.de> Reviewed-on:
http://openocd.zylin.com/2998 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2015-04-01 Oleksij Rempel <external.Oleksij.Rempel@de.bosch.com>
* : target: tell which target state is meant If we work on smp system, the output of step command will depend on
Id of default target. This patch adds additional information to
help find what on which core is happening. Example of LOG after this patch. imx6.cpu.1: target state: halted
^^^^^^^^^^ target halted in ARM state due to breakpoint, current
mode: Supervisor cpsr: 0x60000093 pc: 0x80076c0c MMU: enabled,
D-Cache: enabled, I-Cache: enabled imx6.cpu.0: target state: halted
^^^^^^^^^^ target halted in ARM state due to debug-request, current
mode: Supervisor cpsr: 0x20000193 pc: 0x802ccb6c MMU: enabled,
D-Cache: enabled, I-Cache: enabled Change-Id: I536a2cce33b5ab10af9de2a43b9960320c17729f Signed-off-by:
Oleksij Rempel <external.Oleksij.Rempel@de.bosch.com> Reviewed-on:
http://openocd.zylin.com/2691 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2015-10-31 Andreas Frber <afaerber@suse.de>
* : lpc4350_spifi_generic: Clean up work area size Since 2cbbe9a it was actually decreasing the configured work area
size. We could now do "set WORKAREASIZE 0x2000" before sourcing
lpc4350.cfg, but there seems no point in doing so. Simply drop the
configuration here. Change-Id: I25b9dbbc007ba652b66099832198b7c329929858 Signed-off-by:
Andreas Färber <afaerber@suse.de> Reviewed-on:
http://openocd.zylin.com/3086 Tested-by: jenkins Reviewed-by: Karl
Palsson <karlp@tweak.net.au> Reviewed-by: Paul Fertser
<fercerpav@gmail.com>
2015-10-31 Andreas Frber <afaerber@suse.de>
* : lpc8xx: Allow CHIPNAME override Default to lpc8xx as before, but allow setting the actual CHIPNAME. Change-Id: I5a48fa75c640440a0d4c3f2858653e94bed846d2 Signed-off-by:
Andreas Färber <afaerber@suse.de> Reviewed-on:
http://openocd.zylin.com/3084 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com>
2015-10-24 Maxime Coquelin <mcoquelin.stm32@gmail.com>
* : tcl: add STM32F469 discovery board config Change-Id: Iad7ee06330b3259ea0ce0d174dfdade6785913eb Signed-off-by:
Maxime Coquelin <mcoquelin.stm32@gmail.com> Reviewed-on:
http://openocd.zylin.com/3043 Tested-by: jenkins Reviewed-by:
Antonio Borneo <borneo.antonio@gmail.com> Reviewed-by: Freddie
Chopin <freddie.chopin@gmail.com>
2015-10-31 Matthias Welwarsky <matthias@welwarsky.de>
* : board: don't hardcode interface for ti_beaglebone Board files should not select the interface. The BeagleBone Black is
not limited to just one JTAG interface. Change-Id: I71ccc3dd9e2ca331a436701fab04e548b0abf829 Signed-off-by:
Matthias Welwarsky <matthias@welwarsky.de> Reviewed-on:
http://openocd.zylin.com/3083 Tested-by: jenkins Reviewed-by:
Freddie Chopin <freddie.chopin@gmail.com>
2015-10-05 Andrew Ruder <andrew.ruder@elecsyscorp.com>
* : rtos: turn stack alignment into a function pointer Some targets (Cortex M) require more complicated calculations for
turning the stored stack pointer back into a process stack pointer.
For example, the Cortex M stores a bit in the auto-stacked xPSR
indicating that alignment had to be performed and an additional 4
byte padding is present before the exception stacking. This change
only sets up the framework for Cortex-M unstacking and does not add
Cortex-M support. Note: this also fixes the alignment calculation nearly addressed by
change #2301 entitled rtos/rtos.c: fix stack alignment calculation.
Updated calculation is in rtos_generic_stack_align. Change-Id: I0f662cad0df81cbe5866219ad0fef980dcb3e44f Signed-off-by:
Andrew Ruder <andrew.ruder@elecsyscorp.com> Cc: Paul Fertser
<fercerpav@gmail.com> Cc: Andreas Fritiofson
<andreas.fritiofson@gmail.com> Cc: Evan Hunter
<evanhunter920@gmail.com> Cc: Jon Burgess <jburgess777@gmail.com>
Reviewed-on: http://openocd.zylin.com/3002 Reviewed-by: Andreas
Fritiofson <andreas.fritiofson@gmail.com> Tested-by: jenkins
2015-08-17 Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>
* : stm32f2x: Add memory barrier needed for STM32F7 flashing. Change-Id: I44fca55c46fc8f960ba46a0604692ce98909face Signed-off-by:
Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de> Reviewed-on:
http://openocd.zylin.com/2939 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com>
2015-08-17 Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>
* : stm32f2x.c: Handle STM32F42x/43x 1 MiByte devices with DB1M
option set. Change-Id: Ic51d34a9abe9693fd21e9b3247523821b6fb1fe3 Signed-off-by:
Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de> Reviewed-on:
http://openocd.zylin.com/2938 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2015-10-20 Andreas Frber <afaerber@suse.de>
* : tcl/board: Add Diolan LPC4357-DB1 config Adapted from diolan_lpc4350-db1.cfg. Both boards are identical
except for the SoC, so keep them in sync. Change-Id: If892d8e953b0e3a9209a95b3b23a547357c10b7a Signed-off-by:
Andreas Färber <afaerber@suse.de> Reviewed-on:
http://openocd.zylin.com/3038 Tested-by: jenkins Reviewed-by:
Freddie Chopin <freddie.chopin@gmail.com>
2015-10-22 fenugrec <fenugrec@users.sourceforge.net>
* : docs: added note for increasing gdb remotetimeout when using the
"gdb_port pipe" command. Change-Id: I9c9514a193fd65454890571a17373b9c64d84757 Signed-off-by:
fenugrec <fenugrec@users.sourceforge.net> Signed-off-by: Paul
Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/3040 Tested-by: jenkins Reviewed-by:
Freddie Chopin <freddie.chopin@gmail.com>
2015-10-11 Andreas Frber <afaerber@suse.de>
* : tcl/board: Add Spansion SK-FM4-U120-9B560 config Change-Id: I01464b2a999890d50b95d0fb98ff46d8a04a2c57 Signed-off-by:
Andreas Färber <afaerber@suse.de> Reviewed-on:
http://openocd.zylin.com/3009 Tested-by: jenkins Reviewed-by:
Freddie Chopin <freddie.chopin@gmail.com>
2015-10-20 Andreas Frber <afaerber@suse.de>
* : fm4: Add JTAG support Add support for the JTAG TAPID found on SK-FM4-U120-9B560-MEM V1.1.0
board. Change-Id: Idbfe28927e0c549f0c89c29904d23971281927c9 Signed-off-by:
Andreas Färber <afaerber@suse.de> Reviewed-on:
http://openocd.zylin.com/3039 Tested-by: jenkins Reviewed-by:
Freddie Chopin <freddie.chopin@gmail.com>
2015-10-11 Andreas Frber <afaerber@suse.de>
* : fm4: Split out S6E2CC family config Its memory layout is different from MB9BFxxx. Change-Id: I39c9f9cf582cd182971a9f83bb88c7a18da6cf15 Signed-off-by:
Andreas Färber <afaerber@suse.de> Reviewed-on:
http://openocd.zylin.com/3007 Tested-by: jenkins Reviewed-by:
Freddie Chopin <freddie.chopin@gmail.com>
2015-10-29 Andreas Frber <afaerber@suse.de>
* : tcl/target: Add Exynos5250 config Change-Id: Ia673d3f16b2238d5af8fbeff2d57c6cf27dcffb1 Signed-off-by:
Andreas Färber <afaerber@suse.de> Reviewed-on:
http://openocd.zylin.com/3080 Tested-by: jenkins Reviewed-by:
Freddie Chopin <freddie.chopin@gmail.com>
2015-05-10 Andreas Frber <afaerber@suse.de>
* : tcl/target: Add config for XMOS XS1-XAU8A-10's ARM core The XS1-XAU8A-10 has 8 xCORE cores and one ARM core. This config
represents the ARM Cortex-M3 core, which is apparently Silicon Labs
EFM32 Giant Gecko IP. Change-Id: I998360f096c759d2e274d96c1ca2e0450ba61146 Signed-off-by:
Andreas Färber <afaerber@suse.de> Reviewed-on:
http://openocd.zylin.com/2762 Tested-by: jenkins Reviewed-by:
Oleksij Rempel Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-by: Paul Fertser <fercerpav@gmail.com>
2015-09-27 Tim 'mithro' Ansell <mithro@mithis.com>
* : tcl: Support for reading "Device DNA" from Spartan 6 devices. Most Xilinx FPGA devices contain an embedded, unique device
identifier called the "Device DNA". The identifier is nonvolatile,
permanently programmed into the FPGA, and is unchangeable providing
a great serial / tracking number. Debugging was done in
https://github.com/timvideos/HDMI2USB/issues/36 Change-Id: Iad03eafb40887f0321a4dc22858a7c3bf37a12b3 Signed-off-by:
Tim 'mithro' Ansell <mithro@mithis.com> Reviewed-on:
http://openocd.zylin.com/2960 Tested-by: jenkins Reviewed-by: Paul
Fertser <fercerpav@gmail.com>
2015-09-27 Tim 'mithro' Ansell <mithro@mithis.com>
* : tcl: Adding the Digilent Atlys board. The board is supported via the ixo-usb-jtag firmware. Change-Id: I1e8a5ead850c0843b8532a5b54a7e7117778278e Signed-off-by:
Tim 'mithro' Ansell <mithro@mithis.com> Reviewed-on:
http://openocd.zylin.com/2962 Tested-by: jenkins Reviewed-by: Paul
Fertser <fercerpav@gmail.com>
2015-08-13 Peter A. Bigot <pab@pabigot.com>
* : nrf51: recognize hwid 0084 Chip markings: N51822 / QFACA1 / 1513AN Change-Id: Idb7fc723850ea08b60b9f5c97a53f1ae8dfc8eb2 Signed-off-by:
Peter A. Bigot <pab@pabigot.com> Reviewed-on:
http://openocd.zylin.com/2936 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2015-09-24 Tomas Vanek <vanekt@fbl.cz>
* : Kinetis: give a reasonable default for max_flash_prog_size max_flash_prog_size euals to pflash_sector_size_bytes for most of
devices. There is no point setting max_flash_prog_size for devices
without FS_PROGRAM_SECTOR capability. Check for zero sector_size to
avoid div by zero exception in case of device has FlexNVM but the
driver does not define nvm_sector_size_bytes Change-Id: Iaf4e007fb1ec3d24c373350410e4bebe504a4c3e Signed-off-by:
Tomas Vanek <vanekt@fbl.cz> Reviewed-on:
http://openocd.zylin.com/2958 Tested-by: jenkins Reviewed-by: Thomas
Schmid <thomas@rfranging.com> Reviewed-by: Paul Fertser
<fercerpav@gmail.com> Reviewed-by: Patrick Stewart
<patstew@gmail.com>
2015-09-02 Alex Forencich <alex@alexforencich.com>
* : flash/nor/spi: Add Winbond w25q128fv Change-Id: I2e13c02361982468f41f218421ece9046bcc9a5f Signed-off-by:
Alex Forencich <alex@alexforencich.com> Reviewed-on:
http://openocd.zylin.com/2951 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2015-09-11 Jim Paris <jim@jtan.com>
* : stlink_usb: fix typo Change-Id: I3cf5ced568319878b8bf40743e4c07718f630c68 Signed-off-by:
Jim Paris <jim@jtan.com> Reviewed-on: http://openocd.zylin.com/2953
Tested-by: jenkins Reviewed-by: Andreas Färber <afaerber@suse.de>
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
2015-06-04 Nemui Trinomius <nemuisan_kawausogasuki@live.jp>
* : numicro: Integrate Nuvoton NuMicro flash driver. Flash driver "mini51.c" and "nuc1x.c" are same target MCU. This
patch integrates each driver and functions, and makes into new
"NuMicro" flash driver. Change-Id: Ifff5c1cfdd265acca0f489631695be9194fa144c Signed-off-by:
Nemui Trinomius <nemuisan_kawausogasuki@live.jp> Reviewed-on:
http://openocd.zylin.com/2794 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2015-04-23 Andreas Frber <afaerber@suse.de>
* : tcl/board: Add Parallella-I board config Tested with Porcupine-1 JTAG adapter board and Digilent JTAG-HS3
interface; reset does not yet work, pending nSRST configuration of
the interface used. Change-Id: I0d0679e098d93ffbd1539004cdb900e2a8ae4a25 Signed-off-by:
Andreas Färber <afaerber@suse.de> Reviewed-on:
http://openocd.zylin.com/2730 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2015-04-23 Andreas Frber <afaerber@suse.de>
* : tcl/interface/ftdi: Add Digilent JTAG-HS3 config Derived from tcl/interface/digilent-hs1.cfg. JTAG-HS3 has an open drain buffer on pin 14 for SRST to work with
PS_SRST_B on Xilinx Zynq SoC. Change-Id: I1e9e72d0511528a61207e318aff937ae9fad5bf9 Signed-off-by:
Andreas Färber <afaerber@suse.de> Reviewed-on:
http://openocd.zylin.com/2728 Tested-by: jenkins Reviewed-by: Robert
Jordens <jordens@gmail.com> Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2015-06-23 Philipp Wagner <philipp.wagner@tum.de>
* : tcl_server: Support line buffers up to 4M (v3) Currently, the maximum size of a command sent to the TCL server is
4k. This patch increases this limit up to 4M. Reasoning: To get high-speed JTAG data transfers, I'm using a very
long shift register. This reduces the overhead of the state changes,
as well as the latency due to the common USB adapter transfers
considerably. In order to submit those long DRSCAN commands to
OpenOCD over the TCL/TCL interface, long TCL command lines are
required. This is enabled by this patch. v3: Address review comments. Drop line instead of connection when
realloc() fails. Changes in v2 of this patch: The line buffer is allocated
dynamically to avoid an OpenOCD memory overhead if the large buffers
are not used. The buffer starts at 4K and increases exponentially up
to 1M, and then linearly in 1M increments up to 4M. Change-Id: Iecaef6a56ed5e18e9de4d912a514031ea78fa3bd Signed-off-by:
Philipp Wagner <philipp.wagner@tum.de> Reviewed-on:
http://openocd.zylin.com/2837 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com>
2015-03-09 Austin Morton <austinpmorton@gmail.com>
* : server: tcl_trace command Implements async target trace output to the tcl server Change-Id: I0178f6404447337d523782a1d2c317457030da40 Signed-off-by:
Austin Morton <austinpmorton@gmail.com> Reviewed-on:
http://openocd.zylin.com/2588 Tested-by: jenkins Reviewed-by: Paul
Fertser <fercerpav@gmail.com>
2015-07-30 Paul Fertser <fercerpav@gmail.com>
* : svf: flush the queue before reallocing memory During reallocation a new memory region might be allocated and the
old one freed. If jtag queue is holding a pointer to the old memory,
it will segfault during the execution. Avoid this by flushing the
queue before a reallocation attempt is made. This should fix ticket #102. Change-Id: I737fc3f1ebf6d76413a475beb8bf20184fe0233f Reported-by:
Alex Forencich <aforencich@users.sf.net> Signed-off-by: Paul Fertser
<fercerpav@gmail.com> Reviewed-on: http://openocd.zylin.com/2899
Tested-by: jenkins Reviewed-by: Andreas Fritiofson
<andreas.fritiofson@gmail.com>
2015-07-16 Evan Hunter <ehunter@broadcom.com>
* : gdb_server: Add check for malloc fail Change-Id: I623b30883042eae3253ed29de5c426da760dffa0 Signed-off-by:
Evan Hunter <ehunter@broadcom.com> Reviewed-on:
http://openocd.zylin.com/2871 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2015-06-10 Andrey Yurovsky <yurovsky@gmail.com>
* : at91samd: add chip IDs for SAMC20 and SAMC21 families Add the chip IDs corresponding to the new 5V "SAMC" parts which are
otherwise identical to the SAMD and should work with this driver.
Also add the configurations for their Xplained Pro boards. Change-Id: Ic268d4ac384a3a77d4211a94da9f9faf4d8c0f7b Signed-off-by:
Andrey Yurovsky <yurovsky@gmail.com> Reviewed-on:
http://openocd.zylin.com/2809 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2015-07-02 Robert Jordens <jordens@gmail.com>
* : kc705: digilent-jtag/kintex7/jtagspi board Xilinx Kintex7 Development board with integrated Digilent JTAG-SMT1
(a.k.a. HS1) interface and a 128 MBit SPI flash. Change-Id: I9daba0a2fb2c17e04bcb37bd41872ebde25e0d2f Signed-off-by:
Robert Jordens <jordens@gmail.com> Reviewed-on:
http://openocd.zylin.com/2861 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2015-07-01 Robert Jordens <jordens@gmail.com>
* : flash/nor/jtagspi: add JTAGSPI driver Many FPGA board speak JTAG and have a SPI flash for their bitstream
attached to them. The SPI flash is programmed by first uploading a
proxy bitstream to the FPGA that connects the JTAG interface to the
SPI interface if the IR contains a certain USER instruction. Then
the SPI flash can be erase, written, read directly through the JTAG
DR. The JTAG and SPI signaling is compatible. Such a proxy bitstream
only needs to connect TDO-MISO, TDI-MOSI, TCK-CLK, and the activate
the chip select when the IR contains the special instruction and the
JTAG state machine is in the DR-SHIFT state. Change-Id: Ibc21d793a83b36fa37e2704966aa5c837c4dd0d2 Signed-off-by:
Robert Jordens <jordens@gmail.com> Reviewed-on:
http://openocd.zylin.com/2844 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2015-07-02 Robert Jordens <jordens@gmail.com>
* : cpld/virtex2: allow JSTART to be disabled This adds an option to disable the use of the JSTART instruction
when loading bitstreams to xilinx fpgas. JSTART apparently prevents
configuration if the startup clock is not set to the jtag clock in
the bitstream. xc3sprog is omitting JSTART for all devices. Problems with loading a
bitstream that does not have StartupClk:JTAGClk are described here:
http://www.xilinx.com/support/answers/56151.html Change-Id: I8137c0bae05a8c3c6f8e2611869f70a770d1651d Signed-off-by:
Robert Jordens <jordens@gmail.com> Reviewed-on:
http://openocd.zylin.com/2860 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2015-06-30 Robert Jordens <jordens@gmail.com>
* : target/testee: manage target->state The testee target is usefull for certain non-cpu pass-through
situations, for example in the case of a spi flash mapped to the DR
of a JTAG tap, as is the case for most FPGAs with SPI flashs behind
them. We just manage the RUNNING/RESET/HALTED state in the testee driver
to support it being halted which is a requirement for flash banks. Change-Id: I1b4d52c58a1f6bd753e126bfde74dcc5164d7b69 Signed-off-by:
Robert Jordens <jordens@gmail.com> Reviewed-on:
http://openocd.zylin.com/2840 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2015-05-14 Andreas Frber <afaerber@suse.de>
* : tcl/target: Add Freescale Vybrid VF6xx config This covers only the Cortex-A5 for now, not the Cortex-M4. Change-Id: I739ec52b14b83d6e9f124ed61f8941502e481402 Signed-off-by:
Andreas Färber <afaerber@suse.de> Reviewed-on:
http://openocd.zylin.com/2766 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2015-05-17 Kyle Manna <kyle@kylemanna.com>
* : udev: Add J-Link on-board nRF51-DK * Add USB VID and PID for the J-Link interface running on the Nordic Semiconductor nRF51-DK. Also tested with debug out port to debug external boards. * Fixes permissions problems. Change-Id: I01ffc3150fa2af92d399b50e0195dc255a40ec42 Signed-off-by:
Kyle Manna <kyle@kylemanna.com> Reviewed-on:
http://openocd.zylin.com/2774 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2015-07-02 Alexander Drozdov <adrozdoff@gmail.com>
* : RTOS: ThreadX support on ARM926E-JS ThreadX uses two stacking schemas on ARM926E-JS, extend API to use
more then one stecking at time. Change-Id: I92d445ad0981b6409ea4c4e7e438d3a7ae39cbe7 Signed-off-by:
Alexander Drozdov <adrozdoff@gmail.com> Reviewed-on:
http://openocd.zylin.com/2848 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2015-05-25 Paul Fertser <fercerpav@gmail.com>
* : manual: make it compatible with ancient texinfo versions that
lack @raggedright This is needed to unbreak build on systems that ship texinfo version
4.x. Change-Id: Ie665d29b02bb65da7e8ed0d48d17fa56e231bd0d Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2781 Tested-by: jenkins Reviewed-by: David
Ung <davidu@nvidia.com> Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk> Reviewed-by: Oleksij Rempel
2015-05-18 Paul Fertser <fercerpav@gmail.com>
* : The openocd-0.9.0 release Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2015-05-10 Paul Fertser <fercerpav@gmail.com>
* : jtag/drivers/stlink: fix SRST issue with stlink-v1 Even though the latest firmware version for stlink-v1 supports "v2"
JTAG API, the hardware SRST handling is still broken; amend the
check accordingly. Change-Id: I62c662cd7aa209d2d6e9fe260f5c0be81d0ce672 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2761 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2015-03-10 Peter A. Bigot <pab@pabigot.com>
* : nrf51: refine and extend known devices table The notation Gx0 in the nRF51 Series Compatibility Matrix indicates
that the specified HWID is valid only for build code 0 of each chip,
and for subsequent builds the HWID will be different. Replace the
Gx0 notation with G0 throughout, and add the missing HWID for
nRF51422 QFAC A1 (present on the newer nRF51 developer boards). See:
https://www.nordicsemi.com/eng/nordic/download_resource/41917/5/55913589See:
https://devzone.nordicsemi.com/question/30774/mapping-hwid-to-revision-information/Change-Id: I79d842137d41342db35904867c48b06fbc6fbc70 Signed-off-by:
Peter A. Bigot <pab@pabigot.com> Signed-off-by: Angus Gratton
<gus@projectgus.com> Reviewed-on: http://openocd.zylin.com/2593
Tested-by: jenkins Reviewed-by: Paul Fertser <fercerpav@gmail.com>
2015-05-02 Austin Morton <austinpmorton@gmail.com>
* : server: avoid the tcl server crashing when there is no target Since commit 1d0cf0df37a4e831ca3121ba8987d5848cad3e42 ("server:
tcl_notifications command") connecting to the tcl server would
terminate openocd. Fix this. Change-Id: I36e2a7482f7db3a30ff7e9f969c3b6cda9599382 Signed-off-by:
Austin Morton <austinpmorton@gmail.com> Reviewed-on:
http://openocd.zylin.com/2759 Tested-by: jenkins Reviewed-by: Forest
Crossman <cyrozap@gmail.com> Reviewed-by: Paul Fertser
<fercerpav@gmail.com>
2015-05-16 Paul Fertser <fercerpav@gmail.com>
* : manual: fix usb_blaster_pin command syntax and description Change-Id: If3fbb2fe4f1842bea3962a6b903fd16aa9e8b545 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2771 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com>
2015-05-15 Paul Fertser <fercerpav@gmail.com>
* : manual: reorder flash driver info Put all the individual driver descriptions to where they really
belong, fix sectioning etc. Change-Id: I94dc09e9a296ec57db4475f8dfb0a7d62a754aa4 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2770 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com>
2015-05-15 Paul Fertser <fercerpav@gmail.com>
* : manual: remove the lists of config files Directory listings are volatile and serve no purpose in the manual.
Just remove them. Change-Id: I63d54ba209c29eafb6608cf406b8ce5d8e9ee6c8 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2768 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com>
2015-04-24 Paul Fertser <fercerpav@gmail.com>
* : The openocd-0.9.0-rc1 release candidate Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2015-04-24 Paul Fertser <fercerpav@gmail.com>
* : jtag/drivers/ti_icdi: do not segfault when adapter can't be
opened Change-Id: Id3af8dfd18b13947bca4f3c89c2516ccbcef60b6 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2742 Tested-by: jenkins
2014-05-02 Jiri Kastner <cz172638@gmail.com>
* : target/ti_tms570.cfg: added several JTAG IDs for TMS570LS family from TI datasheets for whole cortex-r4 family added JTAG IDs TMS570LS1227 16- and 32-Bit RISC Flash Microcontroller (Rev. A)
http://www.ti.com/lit/pdf/spns192 0x0B95502F 16/32-Bit RISC Flash Microcontroller, TMS5703137-EP (Rev. B)
http://www.ti.com/lit/pdf/spns230 0x0D8A002F 0x2D8A002F 0x3D8A002F RM48L952 16- and 32-Bit RISC Flash Microcontroller (Rev. B)
http://www.ti.com/lit/pdf/spns177 0x0D8A002F 0x2D8A002F 0x3D8A002F RM46L852 16- and 32-BIT RISC Flash Microcontroller (Rev. A)
http://www.ti.com/lit/pdf/spns185 0x0B95502F RM48Lx30 16- and 32-Bit RISC Flash Microcontroller (Rev. A)
http://www.ti.com/lit/pdf/spns176 0x0B8A002F 0x2B8A002F 0x3B8A002F RM46Lx30 16- and 32-BIT RISC Flash Microcontroller (Rev. A)
http://www.ti.com/lit/pdf/spns182 0x0B95502F RM46Lx50 16- and 32-BIT RISC Flash Microcontroller (Rev. A)
http://www.ti.com/lit/pdf/spns184 0x0B95502F TMS570LS04x/03x 16- and 32-BIT RISC Flash Microcontroller (Rev. A)
http://www.ti.com/lit/pdf/spns186 0x0B97102F RM42L432 16- and 32-BIT RISC Flash Microcontroller (Rev. A)
http://www.ti.com/lit/pdf/spns180 0x0B97102F RM46Lx40 16- and 32-BIT RISC Flash Microcontroller (Rev. A)
http://www.ti.com/lit/pdf/ 0x0B95502F TMS570LS12x5 16- and 32-BIT RISC Flash Microcontroller (Rev. A)
http://www.ti.com/lit/pdf/spns191 0x0B95502F RM48Lx40 16- and 32-Bit RISC Flash Microcontroller (Rev. A)
http://www.ti.com/lit/pdf/spns175 0x0B8A002F 0x2B8A002F 0x3B8A002F TMS570LS31x4/21x4 16- and 32-Bit RISC Flash Microcontroller (Rev. A)
http://www.ti.com/lit/pdf/spns165 0x0B8A002F 0x2B8A002F 0x3B8A002F TMS570LS20216/20206/10216/10206/10116/10106 16/32-Bit RISC Flash
Microcontroller (Rev. F) http://www.ti.com/lit/pdf/spns141 0x0B7B302F TMS570LS31x5/21x5 16- and 32-Bit RISC Flash Microcontroller (Rev. B)
http://www.ti.com/lit/pdf/spns164 0x0B8A002F 0x2B8A002F 0x3B8A002F RM48Lx50 16- and 32-Bit RISC Flash Microcontroller (Rev. A)
http://www.ti.com/lit/pdf/spns174 0x0B8A002F 0x2B8A002F 0x3B8A002F TMS570LS3137 16- and 32-Bit RISC Flash Microcontroller (Rev. B)
http://www.ti.com/lit/pdf/spns162 0x0B8A002F 0x2B8A002F 0x3B8A002F TMS570LS12x4 16- and 32-BIT RISC Flash Microcontroller (Rev. A)
http://www.ti.com/lit/pdf/spns190 0x0B95502F TMS570LS1115 16- and 32-Bit RISC Flash Microcontroller (Rev. A)
http://www.ti.com/lit/pdf/spns189 0x0B95502F TMS570LS11x4 16- and 32-BIT RISC Flash Microcontroller (Rev. A)
http://www.ti.com/lit/pdf/spns188 0x0B95502F Change-Id: Idf53a44851e1bb4bde4a74c64b65d4411e56da7c Signed-off-by:
Jiri Kastner <cz172638@gmail.com> Tested-by: Jiri Kastner
<cz172638@gmail.com> Reviewed-on: http://openocd.zylin.com/2123
Tested-by: jenkins Reviewed-by: Paul Fertser <fercerpav@gmail.com>
2015-04-24 Paul Fertser <fercerpav@gmail.com>
* : rtos/mqx: prevent crash with -rtos auto Since mqx comes last in the list, with the auto option its
update_threads is called even though it wasn't detected. This check should be removed from all the rtos helpers and moved to
the generic code, but better do it later all in one go. Change-Id: If24ab42a58a468d90e9f12028d4c2fb76a9bc2e8 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2741 Tested-by: jenkins
2015-04-17 Paul Fertser <fercerpav@gmail.com>
* : target: try to reexamine even when polling fails After intermittent connection failures or target power failures it
might be necessary to try reexamination even when polling fails.
This should make communication with Cortex-A targets more reliable. This was runtime tested with stlink attached to an stm32l1 and an
FTDI JTAG adapter attached to an stm32f1 target. Change-Id: I38c4db8124b7f4bbf53ddda53c13273449f49c15 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2721 Tested-by: jenkins Reviewed-by: Felipe
Balbi <balbi@ti.com> Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-by: Andreas Färber <afaerber@suse.de>
2015-03-17 Simon Qian <openocd@versaloon.com>
* : configure the SWD frequency when setting adapter speed in SWD
mode for versaloon Change-Id: I99cdc11ba1442e4c9efaa0f1de8e7089ec725e14 Signed-off-by:
Simon Qian <openocd@versaloon.com> Reviewed-on:
http://openocd.zylin.com/2608 Tested-by: jenkins Reviewed-by: Tomas
Vanek <vanekt@fbl.cz> Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2015-04-09 Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>
* : stlink_usb.c: Decode some more errors. Change-Id: I637cb63bd39120554aa184eaa48fd00a4852359f Signed-off-by:
Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de> Reviewed-on:
http://openocd.zylin.com/2706 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2015-04-08 Marc Schink <openocd-dev@marcschink.de>
* : flash: efm32: Add support for EZR32LG and EZR32WG. This patch was tested with an EZR32WG Starter Kit. Change-Id: I0f7c619e715fe30e88e6da3bead0806dd3bce819 Signed-off-by:
Marc Schink <openocd-dev@marcschink.de> Reviewed-on:
http://openocd.zylin.com/2700 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2015-04-10 Spencer Oliver <spen@spen-soft.co.uk>
* : cmsis-dap: print vendor and product id on open failure Change-Id: Iae7ed8d59a722b805536550a8033f5fb7c85c5fc Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/2708 Tested-by: jenkins Reviewed-by: Andrey
Yurovsky <yurovsky@gmail.com>
2015-04-09 Paul Fertser <fercerpav@gmail.com>
* : tcl/target/stm32f3: fix reset init for stlink Use mmw to manipulate only selected bits of the word. msb and mwb
verify the memory location and may error on PLLRDY set as a result
of PLLON written. Change-Id: I9a4c1e58f002a1e5e99be1bd34aac27ba65d111d Reported-by:
Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de> Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2702 Tested-by: jenkins
2015-03-15 Paul Fertser <fercerpav@gmail.com>
* : Fix several format specifiers errors exposed by arm-none-eabi Change-Id: I1fe5c5c0b22cc23deedcf13ad5183c957551a1b7 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2719 Tested-by: jenkins
2015-04-16 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : rtos: add instructions and helper code to make FreeRTOS work
again Run-time tested with FreeRTOS V8.1.2 (current version). For the time being I propose this way of dealing with RTOSes that do
not export necessary information on their own. I also suggest implementing a similar scheme for ChibiOS, exporting
the necessary struct fields' offsets via an OpenOCD-specific helper. Change-Id: Iacf8b88004d62206215fe80011fd7592438446a3 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Signed-off-by: Andreas Fritiofson
<andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/2347 Tested-by: jenkins
2015-03-14 Tomas Vanek <vanekt@fbl.cz>
* : AT91SAM4L: handle reset run/halt in SMAP This is a remake of http://openocd.zylin.com/1966 originally written
by Angus Gratton <gus@projectgus.com> ATSAM4L has a "System Manager Access Port" (SMAP) that holds the CPU
in reset if TCK is low when srst (RESET_N) is deasserted. Without
this change any use of sysresetreq or srst locks the chip in reset
state until power is cycled. A new function smap_reset_deassert is called as reset-deassert-post
event handler. It optionally prepares reset vector catch and SMAP
reset is released then. Change-Id: Iad736357b0f551725befa2b9e00f3bc54504f3d8 Signed-off-by:
Tomas Vanek <vanekt@fbl.cz> Reviewed-on:
http://openocd.zylin.com/2604 Tested-by: jenkins Reviewed-by: Paul
Fertser <fercerpav@gmail.com>
2015-03-14 Paul Fertser <fercerpav@gmail.com>
* : target/cortex_a: emit a clear error message when dbgbase can't
be detected In some cases (the most obvious are TI's SoCs) ROM table lacks
entries for the cores, so OpenOCD has no way to determine what debug
base to use. Due to an error fixed in ec9ccaa28849 it wasn't handled
properly, and OpenOCD would continue to try using dbgbase = 0, which
happened to work for e.g. AM437x. This patch adds a clear indication to the user that to access such a
target, dbgbase must be set manually in the config. Reported by Felipe Balbi on IRC. Change-Id: Id8533e708f44b76550eb8b659564f5f45717c298 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2603 Tested-by: jenkins
2015-04-06 Paul Fertser <fercerpav@gmail.com>
* : jtag/adi_v5_jtag: fix infinite recursion in
jtagdp_transaction_endcheck() Calling ahbap_debugport_init() is wrong here because the actions
performed by it might lead to jtagdp_transaction_endcheck errors
thus leading to infinite recursion. The removed code is not needed now because target polling should
lead to reexamination automatically, and both cortex_a and cortex_m
call ahbap_debugport_init() as part of their target examine handler. This was reported as a real life issue on IRC by Weaselweb with
Cortex-A target. Quitte reports similar results in some
circumstances (adapter_khz too high) with LPC17xx. Change-Id: I7148022f76a1272b5262d251f2e807ffb1543547 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2697 Tested-by: jenkins
2015-04-03 Paul Fertser <fercerpav@gmail.com>
* : jtag/startup.tcl: fix regression with autoselecting JTAG This regression was introduced with d90b86d8. "transport select"
doesn't throw an error anymore and autoselects the first available
transport on its own. Reported by moyix on IRC. Change-Id: I3f303c0372e915931cca4b28af450694abc1a63e Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2693 Tested-by: jenkins
2015-03-13 Paul Fertser <fercerpav@gmail.com>
* : Tcl exception codes cleanup, shutdown command amendments This patch might influence openocd Tcl commands behaviour in subtle
ways, please give it a nice testing. The idea is that if an OpenOCD Tcl command returns an error, an
exception is raised, and then the return code is propogated all the
way up (or to the "catch" if present). This allows to detect
"shutdown" which is not actually an error but has to raise an
exception to stop execution of the commands that follow it in the
script. openocd_thread special-cases shutdown because it should then
terminate OpenOCD with a success error code, unless shutdown was
called with an optional "error" argument which means terminate with
a non-zero exit code. Change-Id: I7b6fa8a2e24c947dc45d8def0008b4b007c478b3 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2600 Tested-by: jenkins Reviewed-by: Juha
Niskanen <juha.niskanen@haltian.com> Reviewed-by: Jens Bauer
<jens@gpio.dk> Reviewed-by: Oleksij Rempel <linux@rempel-privat.de>
2015-02-26 Paul Fertser <fercerpav@gmail.com>
* : jtag/tcl: fix incorrect memcpy in jim_newtap_expected_id Found by clang static checker. On the very first call of jim_newtap_expected_id()
pTap->expected_ids and expected_len are null, and there's nothing to
copy. This patch changes this cryptic code to use realloc() instead. Change-Id: Ic0b5140d08257a906f15b55a2ae64db7bc06d5f1 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2562 Reviewed-by: Stian Skjelstad
<stian@nixia.no> Tested-by: jenkins
2015-03-17 Nemui Trinomius <nemuisan_kawausogasuki@live.jp>
* : lpc2000: Removed cmd51_can_xxxxb variables. Current flash driver can fail to write across the sector boundary.
This patch fixes "thisrun_bytes" set to "cmd51_dst_boundary" value
instead of "cmd51_can_xxxxb" Referred to SevenW's post and fix,thanks.
http://sourceforge.net/p/openocd/mailman/openocd-devel/thread/fa32e7d6654df22470dc5f4a3dbc984a%40familiebenschop.nl/#msg33594152Tested on below listed chips.
LPC810,LPC811,LPC812,LPC824,LPC1115,LPC1343,LPC1347,LPC1227,
LPC1769,LPC1788,LPC54102,LPC4088 and LPC2388. Change-Id: If1c6a1daa58ca27c405bd959a784e599a7a8f4d4 Signed-off-by:
Nemui Trinomius <nemuisan_kawausogasuki@live.jp> Reviewed-on:
http://openocd.zylin.com/2607 Tested-by: jenkins Reviewed-by: Jens
Bauer <jens@gpio.dk> Reviewed-by: Paul Fertser <fercerpav@gmail.com>
2015-03-23 Patrick Noffke <patrick@noffke.me>
* : Added Atmel SAM4SA16C chip (chip ID 0x28a70ce0). Change-Id: I45e8e807a36c39940b910b3edb40698c7d8dabd6 Signed-off-by:
Patrick Noffke <patrick@noffke.me> Reviewed-on:
http://openocd.zylin.com/2625 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2015-01-18 Andreas Frber <afaerber@suse.de>
* : tcl/target: Add Infineon XMC1000 family target config Basic target config, verified against XMC1100 AA/AB, XMC1200 AA/AB,
XMC1300 AA/AB manuals. The default adapter_khz was tested with the XMC1100 Boot Kit. Change-Id: Iff6ed52d875ccb83c0d4ff0d555b90e0f28b860c Signed-off-by:
Andreas Färber <afaerber@suse.de> Reviewed-on:
http://openocd.zylin.com/2471 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2015-03-01 Andreas Frber <afaerber@suse.de>
* : tcl/target: Add Spansion FM4 config Assembled by trial-and-error for an S6E2CC. Change-Id: I317c12d24c9075ce3de286455fa3ee45731c5c81 Signed-off-by:
Andreas Färber <afaerber@suse.de> Reviewed-on:
http://openocd.zylin.com/2569 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2015-03-05 Ed Beroset <beroset@ieee.org>
* : em357: Corrected EM357 support including errata details Original submitted code had only been tested with em358, but testing
with actual em357 revealed errors that this patch corrects. Change-Id: I70cf31210de8ed84e3755a56e76261ad200322bb Signed-off-by:
Ed Beroset <beroset@ieee.org> Reviewed-on:
http://openocd.zylin.com/2581 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2014-11-21 Evan Hunter <ehunter@broadcom.com>
* : RTOS: Add logging to FreeRTOS and general RTOS Change-Id: I43d14f3b59daae7f90c344abdf71eaa8f74ef7ef Signed-off-by:
Evan Hunter <ehunter@broadcom.com> Reviewed-on:
http://openocd.zylin.com/2391 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2015-03-09 Paul Fertser <fercerpav@gmail.com>
* : jtag/core: honour SRST timings in SWD mode Since SWD is currently abusing the JTAG command queue for reset and
sleep handling (and all other operations are performed in a
different way), sleep needs to be forced explicitly to ensure
correct timings. Change-Id: I5b0da6cbb7d0560154e4077b261aa6828cefc892 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2591 Tested-by: jenkins Reviewed-by: Tomas
Vanek <vanekt@fbl.cz> Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2015-02-28 Jeff Ciesielski <jeffciesielski@gmail.com>
* : tcl/board: Add Infineon XMC4200 Application Kit config Change-Id: I3a946ba3745da651d470cd574222ba5c7147ac9d Signed-off-by:
Jeff Ciesielski <jeffciesielski@gmail.com> Signed-off-by: Andreas
Färber <afaerber@suse.de> Reviewed-on:
http://openocd.zylin.com/2566 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2015-01-18 Andreas Frber <afaerber@suse.de>
* : tcl/target: Add Infineon XMC4000 family config Base config, verified against XMC4500, XMC4400 and XMC4100/XMC4200
manuals. Change-Id: I10907bdf307bc6d11dc5454bf5391758de49dc30 Signed-off-by:
Andreas Färber <afaerber@suse.de> Reviewed-on:
http://openocd.zylin.com/2480 Tested-by: jenkins Reviewed-by: Jeff
Ciesielski <jeffciesielski@gmail.com> Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2015-03-19 Felipe Balbi <balbi@ti.com>
* : target: icepick: call icepick_c_setup it also works on icepick_d. Change-Id: I50c0c81286aae673c94ea77e47454ff48eab1668 Signed-off-by:
Felipe Balbi <balbi@ti.com> Reviewed-on:
http://openocd.zylin.com/2623 Tested-by: jenkins Reviewed-by: Tom
Rini <trini@konsulko.com> Reviewed-by: Paul Fertser
<fercerpav@gmail.com>
2015-03-18 Felipe Balbi <balbi@ti.com>
* : tcl: target: am437x: pass coreid This commit is only for the sake of completeness as default coreid
is zero. In any case, coreids 1-4 are used for the different PRU
cores inside the SoC. Change-Id: I775f2f444b1a908ffaf7bdbc43bcc966f19668c4 Signed-off-by:
Felipe Balbi <balbi@ti.com> Reviewed-on:
http://openocd.zylin.com/2621 Tested-by: jenkins Reviewed-by: Tom
Rini <trini@konsulko.com> Reviewed-by: Paul Fertser
<fercerpav@gmail.com>
2015-03-18 Felipe Balbi <balbi@ti.com>
* : target: am437x: fix DebugSS DAP ID Main DAP (where Cortex A9 sits) ID is actually 0x46b6902f. Fix it. Change-Id: Ifa3335186bcf60d264d4ecea477bfe2f5ca10ead Signed-off-by:
Felipe Balbi <balbi@ti.com> Reviewed-on:
http://openocd.zylin.com/2619 Tested-by: jenkins Reviewed-by: Tom
Rini <trini@konsulko.com> Reviewed-by: Paul Fertser
<fercerpav@gmail.com>
2015-03-16 Felipe Balbi <balbi@ti.com>
* : tcl: am437x: add reset-init event handler this event handler will configure and lock PLLs and configure DDR so
platform is placed in usable state. Change-Id: Idd02f4c9789181d69578f8606ac3576ea1dd8a0b Tested-by: Tom
Rini <trini@konsulko.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Reviewed-on: http://openocd.zylin.com/2616 Tested-by: jenkins
Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Paul Fertser
<fercerpav@gmail.com>
2015-03-16 Felipe Balbi <balbi@ti.com>
* : tcl: am437x: define registers to be used later a later commit will implement a proper reset-init handler to lock
pll and configure ddr as we should. Change-Id: I432cf28a5a944bfa83c20aed7298dbd29df30e38 Tested-by: Tom
Rini <trini@konsulko.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Reviewed-on: http://openocd.zylin.com/2614 Tested-by: jenkins
Reviewed-by: Paul Fertser <fercerpav@gmail.com>
2015-03-13 Felipe Balbi <balbi@ti.com>
* : tcl: board: ti_am437x_evm: select jtag transport default already is jtag, but this silences a warning during startup. Change-Id: I94478327bbb259649500ef74a5b5c10d51e2a517 Signed-off-by:
Felipe Balbi <balbi@ti.com> Reviewed-on:
http://openocd.zylin.com/2612 Tested-by: jenkins Reviewed-by: Tom
Rini <trini@konsulko.com> Reviewed-by: Paul Fertser
<fercerpav@gmail.com>
2015-03-13 Felipe Balbi <balbi@ti.com>
* : tcl: target: am437x.cfg: pass correct dbgbase Since commit ec9ccaa28849 (arm_adi_v5: make
dap_lookup_cs_component() traverse subtables and handle multicore)
AM437x devices can't be used with OpenOCD anymore. The reason is
that dbgbase used to be set to zero before that commit and that just
happens to work with AM437x devices. A more robust solution is to pass correct dbgbase when creating the
target, which this commit does. Signed-off-by: Felipe Balbi <balbi@ti.com> Change-Id:
Iaf2617804324de8094b25137943e08b84f14c75f Reviewed-on:
http://openocd.zylin.com/2602 Tested-by: jenkins Reviewed-by: Paul
Fertser <fercerpav@gmail.com> Reviewed-by: Tom Rini
<trini@konsulko.com>
2015-02-26 Mateusz Manowiecki <segmentation@fault.pl>
* : jtag/drivers/ftdi.c: removed memory leak swd_cmd_queue buffer memory leak removed Change-Id: Iafcdf034d32a37d577b58b6256c8fd9b064ce228 Signed-off-by:
Mateusz Manowiecki <segmentation@fault.pl> Reviewed-on:
http://openocd.zylin.com/2563 Tested-by: jenkins Reviewed-by:
Andreas Färber <afaerber@suse.de> Reviewed-by: Andreas Fritiofson
<andreas.fritiofson@gmail.com> Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2015-03-08 Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>
* : Add configuration for EFM32 Gecko boards with Segger J-Link. Tested with Tiny Gecko. Change-Id: Iddb87170b6aaaf7f15d3c4517c8661dd6394be8f Signed-off-by:
Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de> Reviewed-on:
http://openocd.zylin.com/2585 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2015-02-25 Angus Gratton <gus@projectgus.com>
* : transport: make 'transport select' auto-select the first
available transport if not set This should allow most of the existing configurations for older
versions to remain compatible without forcing the user to change his
or her config to explicitly select transport. Also in some circumstances can remove the need to chain a "-c
transport select X" when building custom configs on the command
line, which seems like a common new user pitfall. Change-Id: Ic87a38c0b9b88e88fb6d106385efce2f39381d3d Suggested-by:
Petteri Aimonen <jpa@git.mail.kapsi.fi> Signed-off-by: Angus Gratton
<gus@projectgus.com> Reviewed-on: http://openocd.zylin.com/2551
Reviewed-by: Paul Fertser <fercerpav@gmail.com> Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
2014-10-26 Paul Fertser <fercerpav@gmail.com>
* : drivers/cmsis-dap: port to common SWD framework Valgrind-tested. Comparison of flashing performance on an FRDM-KL25Z board running
mbed CMSIS-DAP variant, 5MHz clock, old driver: wrote 28096 bytes from file demo.elf in 26.833590s (1.023 KiB/s)
verified 27264 bytes in 1.754972s (15.171 KiB/s) this implementation: wrote 28096 bytes from file demo.elf in 3.691939s (7.432 KiB/s)
verified 27264 bytes in 0.598987s (44.450 KiB/s) Also tested "Keil ULINK-ME CMSIS-DAP" with an STM32F100 target, 5MHz
clock, results reading from flash, old driver: dumped 131072 bytes in 98.445305s (1.300 KiB/s) this implementation: dumped 131072 bytes in 8.242686s (15.529 KiB/s) Change-Id: Ic64d3124b1d6cd9dd1016445bb627c71e189ae95 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2356 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2015-03-10 Paul Fertser <fercerpav@gmail.com>
* : flash/nor/kinetis: do not attempt mass-erase in place of a bank
erase Many kinetis parts come in multi-bank configuration, so this
optimisation here can't be performed safely. Investigated and fixed by Richard Braun. Change-Id: I2b56614b47951595c403a1a8edd3afe11b85679b Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2594 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2015-02-09 Paul Fertser <fercerpav@gmail.com>
* : armv7m: add generic trace support (TPIU, ITM, etc.) This provides support for various trace-related subsystems in a
generic and expandable way. Change-Id: I3a27fa7b8cfb111753088bb8c3d760dd12d1395f Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2538 Tested-by: jenkins
2014-07-03 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : tcl: Add default hooks for STM32F3x Keep clocks running in low power modes. Stop watchdogs from
interfering with the debug session. Set up PLL and increase clock at
reset init. Change-Id: I984d2018f7d47a1042f1e12894563154fa7b566c Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/2196 Tested-by: jenkins Reviewed-by: Uwe
Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de> Reviewed-by: Paul
Fertser <fercerpav@gmail.com>
2015-02-28 Andreas Frber <afaerber@suse.de>
* : jlink: Add variant "J-Link Lite-XMC4000" Avoids "J-Link hw type unknown 0x10" on the Infineon Relax Lite Kit. Change-Id: I3091623ead2e84b67ac20d9866307ccbb3f26f66 Signed-off-by:
Andreas Färber <afaerber@suse.de> Reviewed-on:
http://openocd.zylin.com/2568 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2015-02-11 Paul Fertser <fercerpav@gmail.com>
* : server, target, cortex_m: add deinit_target to the API to free
resources This should facilitate dynamic target creation and removal. Currently it helps with getting 0 bytes lost report from Valgrind on
exit (after talking to a nucleo board). However, 1,223,886 bytes in
5,268 blocks are still reachable which means the app holds pointers
to that data on exit. The majority comes from the jtag command
queue, there're also many blocks from TCL command registration. Change-Id: I7523234bb90fffd26f7d29cdd7648ddd221d46ab Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2544 Tested-by: jenkins Reviewed-by: Stian
Skjelstad <stian@nixia.no>
2015-02-11 Paul Fertser <fercerpav@gmail.com>
* : hla/hla_interface: call HLA layout API close() on quit This bug was exposed by Valgrind. Change-Id: I2e2bc036b49ca3ff22f78f765ee4537763350096 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2543 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2015-02-11 Paul Fertser <fercerpav@gmail.com>
* : target: fix timer callbacks processing Warning, behaviour change: before this patch if a timer callback
returned an error, the other handlers in the list were not called. This patch fixes two different issues with the way timer callbacks
are called: 1. The function is not designed to be reentrant but a nested call is
possible via: target_handle timer event -> poll -> target events
before/after reexaminantion -> script_command_run ->
target_call_timer_callbacks_now . This patch makes function a no-op
when called recursively; 2. The current code can deal with the case when calling a handler
leads to its removal but not when it leads to removal of the next
callback in the list. This patch defers actual removal to
consolidate it with the calling loop. These bugs were exposed by Valgrind. Change-Id: Ia628a744634f5d2911eb329747e826cb9772e789 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2541 Tested-by: jenkins Reviewed-by: Stian
Skjelstad <stian@nixia.no> Reviewed-by: Andreas Färber
<afaerber@suse.de> Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2015-02-15 Paul Fertser <fercerpav@gmail.com>
* : stlink: avoid null pointer dereference in stlink_usb_close() Otherwise it happens if stlink can not be opened on start. Change-Id: I7088f10e61508dae230eccfe576a51498c92f5b8 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2550 Tested-by: jenkins Reviewed-by:
Andreas Färber <afaerber@suse.de> Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk> Reviewed-by: Stian Skjelstad <stian@nixia.no>
2015-01-29 Paul Fertser <fercerpav@gmail.com>
* : armv7m: do not access FPU registers when not present This is runtime and valgrind tested with l0, l1 and f3 hla boards. Change-Id: I49b0b042253d5f3bf216997f0203583db319fe23 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2516 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2015-01-31 Paul Fertser <fercerpav@gmail.com>
* : jimtcl: update to 0.76 release version It makes sense to use the latest released version to ensure
compatibility. Change-Id: I0957f927d825fa6fb6a1594ca17bcca46ee6c1a6 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2522 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2015-02-26 Paul Fertser <fercerpav@gmail.com>
* : target/cortex_a: remove dead assignment Found by clang static checker. Change-Id: I77b0dc18188328fdb28d07b9e5c52e06182d9e2b Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2561 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2015-02-26 Paul Fertser <fercerpav@gmail.com>
* : flash/nor/sim3x: remove dead assignment Found by clang static code checker. Change-Id: Ic1370f8d7a48f08da6514afec5aacde38af7dfb6 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2559 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2014-12-19 Karl Palsson <karlp@remake.is>
* : contrib: itmdump: fix incorrect format printf Change-Id: I29100e4b284e031613586a66daa74987d86ac9e1 Signed-off-by:
Karl Palsson <karlp@tweak.net.au> Signed-off-by: Paul Fertser
<fercerpav@gmail.com> Reviewed-on: http://openocd.zylin.com/2449
Tested-by: jenkins Reviewed-by: Uwe Bonnes
<bon@elektron.ikp.physik.tu-darmstadt.de> Reviewed-by: Stian
Skjelstad <stian@nixia.no> Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2014-10-03 Marian Cingel <cingel.marian@gmail.com>
* : rtos: Freescale MQX rtos support ARMv7E-M (CortexM4) architecture - fix position offset of r2,r3 registers on exception stack - switch 'calloc' arguments - remove prototypes of internal function and typedefs - add NULL check for alloc functions - remove last line of license "Franklin Street, Fifth Floor" because of 'checkpatch' validation - environment: jlink + twrk60n512 Change-Id: I70840ded15b17dd945ca190ce31e2775078da2d9 Signed-off-by:
Marian Cingel <cingel.marian@gmail.com> Reviewed-on:
http://openocd.zylin.com/2353 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2015-01-29 Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>
* : stm32l1.cfg: Add ID Code of Cat.2 devices. Change-Id: I4eb5020858c1896e294d633213f3df3fa45b6250 Signed-off-by:
Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de> Reviewed-on:
http://openocd.zylin.com/2517 Reviewed-by: Paul Fertser
<fercerpav@gmail.com> Tested-by: jenkins
2015-02-24 Nemui Trinomius <nemuisan_kawausogasuki@live.jp>
* : lpc2000: Add LPC407x/8x flash size auto detection This patch adds auto flash size detection for LPC407x/8x series. Tested on below listed chips. LPC4088 LPC1788(regression test) Change-Id: I82f62678a04eac9b84658bd6d1cfdf45be64c931 Signed-off-by:
Nemui Trinomius <nemuisan_kawausogasuki@live.jp> Reviewed-on:
http://openocd.zylin.com/2555 Tested-by: jenkins Reviewed-by: Paul
Fertser <fercerpav@gmail.com> Reviewed-by: Jens Bauer <jens@gpio.dk>
2015-01-05 Mateusz Manowiecki <segmentation@fault.pl>
* : Added system signal handling to Linux version (with http://www.cons.org/cracauer/sigint.html in mind) Change-Id: I15f559bc1122a408c3fb9338ba55c16fab3187e1 Signed-off-by:
Mateusz Manowiecki <segmentation@fault.pl> Reviewed-on:
http://openocd.zylin.com/2443 Tested-by: jenkins Reviewed-by: Paul
Fertser <fercerpav@gmail.com>
2014-09-25 Arne Wichmann <arnew@rasentrimmer.org>
* : target & board: AT91SAM7A2 and Olimex SAM7-LA2 Initial Support for AT91SAM7A2 on Olimex SAM7-LA2 board. The board
seems not to be able to reset into halted mode, as srst is connected
to NRESET of the cpu (configured srst_pulls_trst). JTAG RCLK is
connected to CLK. Tested with
interface/ftdi/olimex-arm-usb-ocd-h.cfg. Change-Id: I2bdd67e3683e45f1119c5850bad294aa107891d8 Signed-off-by:
Arne Wichmann <arne.wichmann@gmail.com> Reviewed-on:
http://openocd.zylin.com/2318 Tested-by: jenkins Reviewed-by: Paul
Fertser <fercerpav@gmail.com>
2015-01-28 Theodore A. Roth <troth@openavr.org>
* : nrf51: Update known devices table. Added new entries to the nrf51_known_devices_table array. New
entries are documented in the "nRF51 Series Compatability Matrix
V1.0" found on the Nordic Semi web site. Reordered entries to match
the order found in the document. Also added an entry for an undocumented hwid discovered while
flashing the PCA10031 and PCA10028 dev boards. Change-Id: Icca7da103d437dc28e651f27ab937fe953b9aac9 Signed-off-by:
Theodore A. Roth <troth@openavr.org> Reviewed-on:
http://openocd.zylin.com/2514 Tested-by: jenkins Reviewed-by: Paul
Fertser <fercerpav@gmail.com>
2015-01-16 Paul Fertser <fercerpav@gmail.com>
* : cfg: add board and target configs for TI SimpleLink Wi-Fi CC3200
LaunchPad Change-Id: I4396ee737c1dad380aa23894bbd1faf75f26d072 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2465 Tested-by: jenkins
2015-01-19 Oleksij Rempel <linux@rempel-privat.de>
* : tcl/target|board: add configs for Alphascale asm9260t This adds configs for Alphascale asm9260t ARM based SoC and
Evaluation Kit based on this chip. Change-Id: Id8d3a1ef204e3ae84540c2693e3d62650ba82f73 Signed-off-by:
Oleksij Rempel <linux@rempel-privat.de> Reviewed-on:
http://openocd.zylin.com/2515 Tested-by: jenkins Reviewed-by: Paul
Fertser <fercerpav@gmail.com>
2015-02-12 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : cfg: Fix Kinetis kwikstik/kx config The flash definition belongs in the target cfg. Add some working
area and suitable reset_config. Make kx.cfg more similar to klx.cfg. Disable rclk as it is dead slow and a fixed 1MHz clock seems to
work. Change-Id: I8328f179c3a33be64403da93616abb48651bdfe6 Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/2227 Tested-by: jenkins Reviewed-by: Tomas
Vanek <vanekt@fbl.cz> Reviewed-by: Paul Fertser
<fercerpav@gmail.com>
2014-12-11 Jean-Christian de Rivaz <jc@eclis.ch>
* : Add SWD protocol support to bitbang This is based on the initial work by Paul Fertser with addition of
the switch sequences and new ACK handling. In case of WAIT
response, the sticky bits are cleared and the last operation is
repeated. The ACK handling is based on the interpretation of the 8
February 2006 ARM Debug Interface v5 Architecture Specification Change-Id: Id50855b1ffff310177ccf9883dc9eb0d1b4458c8 Signed-off-by:
Jean-Christian de Rivaz <jc@eclis.ch> Reviewed-on:
http://openocd.zylin.com/2437 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-by: Paul Fertser
<fercerpav@gmail.com> Reviewed-by: Andreas Fritiofson
<andreas.fritiofson@gmail.com>
2015-02-13 Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>
* : cortex_m: Add Cortex-M0 identification to ROM-table display. Change-Id: Id7715a83ba9793844475629aaffd10a81ce586b6 Signed-off-by:
Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de> Reviewed-on:
http://openocd.zylin.com/2549 Tested-by: jenkins Reviewed-by: Paul
Fertser <fercerpav@gmail.com> Reviewed-by: Stian Skjelstad
<stian@nixia.no>
2015-01-27 Paul Fertser <fercerpav@gmail.com>
* : doc: stellaris driver supports Tiva C too Change-Id: I3b77bf0617c0bbba85cfd678adece57aa7d03e32 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2509 Tested-by: jenkins
2015-01-27 Paul Fertser <fercerpav@gmail.com>
* : README, doc: add mrvlqspi flash driver information Change-Id: I7a270cdaf3d9119aa75285a8d1e063c2fe2a31b7 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2510 Tested-by: jenkins
2014-08-22 Andrej Kazmin <funnyfish@funnyfish.botik.ru>
* : flash/nor/at91samd: add small delay before checking nvm status OpenOCD's SWD subsystem doesn't currently have a consistent WAIT
handling (i.e. it doesn't ever retry, just returns an error), so
right after a row write a small delay is needed as AHB access is
stalled during the flashing operation. The issue was exposed with a samd20 using ftdi SWD transport. Change-Id: I07d99d3a96845cc689c3904a41f4d41344f200aa Signed-off-by:
Andrej Kazmin <funnyfish@funnyfish.botik.ru> Signed-off-by: Paul
Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2268 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com>
2015-01-27 Paul Fertser <fercerpav@gmail.com>
* : server: shutdown command should lead to exit without evaluating
the rest Currently openocd -c "echo a1; shutdown; echo a2" outputs both "a1" and "a2" and only then shuts down. This patch
fixes it by making shutdown command throw an exception, so unless
it's caught the shutdown will behave as expected. Change-Id: I764268b3a9046ff3e9717d04095ea0673f1d755a Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2511 Tested-by: jenkins Reviewed-by: Uwe
Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de> Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2015-01-18 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : xscale: Use the correct method to access registers Change-Id: I900a0787812cb24d1f74ca50eb6bb4f85375a353 Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/2478 Tested-by: jenkins Reviewed-by: Paul
Fertser <fercerpav@gmail.com>
2015-01-18 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : cortex_m: Use the correct method to access registers Convert the DWT register store to use a byte array and fix the byte
order bug uncovered by that. Also fix an incorrect access of the PC
value. Change-Id: Idb5acab71bdf5a96895c358324b05c335e4d32ca Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/2476 Tested-by: jenkins Reviewed-by: Uwe
Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de> Reviewed-by: Paul
Fertser <fercerpav@gmail.com>
2014-02-26 Antony Pavlov <antonynpavlov@gmail.com>
* : mips32: add gdb target description support This commit is inspired by commit 1255b18fc650193094666ba8afd2018089cc9794 Author: Spencer Oliver <spen@spen-soft.co.uk> Date: Fri Sep 13 09:44:36 2013 +0100 armv7m: add gdb target description support Change-Id: I75c3971fd0599d34ed49fb73975378b57f2a4af0 Signed-off-by:
Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Salvador
Arroyo <sarroyofdez@yahoo.es> CC: Spencer Oliver
<spen@spen-soft.co.uk> CC: Oleksij Rempel <linux@rempel-privat.de>
CC: Paul Fertser <fercerpav@gmail.com> CC: Gregory Fong
<gregory.0xf0@gmail.com> Reviewed-on: http://openocd.zylin.com/1972
Reviewed-by: Paul Fertser <fercerpav@gmail.com> Tested-by: jenkins
2015-02-09 Anton Kuzmin <anton.kuzmin@cs.fau.de>
* : tcl/interface/ftdi: correct LED config for BusBlaster KT-Link Configure the LED to be off by default, blink on activity. Change-Id: I8515ee66c49bddf866268b85811be15c2dbc086c Signed-off-by:
Anton Kuzmin <anton.kuzmin@cs.fau.de> Signed-off-by: Paul Fertser
<fercerpav@gmail.com> Reviewed-on: http://openocd.zylin.com/2539
Tested-by: jenkins
2014-06-27 Angus Gratton <gus@projectgus.com>
* : nrf51 - Add async loader. Performance on nrf51822QAA/stlink-v2
from ~3.5KiB/s to ~19.5KiB/s. Change-Id: Ib0bf41a0cec85f0bd5728551f8ad7f6255e4ea04 Signed-off-by:
Angus Gratton <gus@projectgus.com> [spamjunkeater@gmail.com: Cleanup
buffer allocation, detect -1 for unknown pages] Signed-off-by: Erdem
U. Altunyurt <spamjunkeater@gmail.com> Signed-off-by: Paul Fertser
<fercerpav@gmail.com> Reviewed-on: http://openocd.zylin.com/2204
Tested-by: jenkins Reviewed-by: Andreas Fritiofson
<andreas.fritiofson@gmail.com>
2015-01-31 Joerg Fischer <turboj@gmx.de>
* : J-Link serial number config option Add serial option to jlink config commands, handy when there is more
than one adapter connected. To select adapter 0123456 for OpenOCD, use jlink serial 0123456 Change-Id: Ib29ce3f0c4975e1169211721a4531bf4db61f1ee Signed-off-by:
Joerg Fischer <turboj@gmx.de> Reviewed-on:
http://openocd.zylin.com/2521 Tested-by: jenkins Reviewed-by: Paul
Fertser <fercerpav@gmail.com>
2015-01-27 Paul Fertser <fercerpav@gmail.com>
* : README: mention "transport select" in quickstart section Change-Id: I027635c3c8632efcf58cf979b9cb2f99e9e7f046 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2512 Tested-by: jenkins Reviewed-by: Uwe
Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de> Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2015-02-04 Paul Fertser <fercerpav@gmail.com>
* : doc: document the OCL (on chip flash loader) driver Change-Id: I8afe870c7a16b04473f4822c2df9a7607f0480e7 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2529 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2015-01-30 Oleksij Rempel <linux@rempel-privat.de>
* : tcl/target|board: add config Atheros ar9331 Add configs for Atheros ar9331 MIPS based WiSoC and board based on
this chip: TP-LINK TL-MR3020 Change-Id: I9e99719bce4bbb28311f6e9cddb32288db6e7b91 Signed-off-by:
Oleksij Rempel <linux@rempel-privat.de> Reviewed-on:
http://openocd.zylin.com/2519 Tested-by: jenkins Reviewed-by: Paul
Fertser <fercerpav@gmail.com>
2014-12-06 Pawel Si <stawel+openocd@gmail.com>
* : mini51: support for Nuvoton NuMicro M051 series flash memory adds flash support for Nuvoton M052, M054, M058, M0516
microcontrollers into the mini51 driver, patch also adds support for
programing LDROM, flash data and flash config. I've tested it on a M0516LBN microcontroller using an ST-LINK/V2: 1. removing security lock: openocd -f interface/stlink-v2.cfg -f target/m051.cfg -c "init ;
halt ; mini51 chip_erase; exit" 2. flashing: openocd -f interface/stlink-v2.cfg -f target/m051.cfg -c
"program file.hex" Change-Id: I918bfbb42461279c216fb9c22272d77501a2f202 Signed-off-by:
Pawel Si <stawel+openocd@gmail.com> Reviewed-on:
http://openocd.zylin.com/2426 Tested-by: jenkins Reviewed-by: Nemui
Trinomius <nemuisan_kawausogasuki@live.jp> Reviewed-by: Paul Fertser
<fercerpav@gmail.com>
2015-01-17 Ed Beroset <beroset@ieee.org>
* : em357: added target files for em357 and em358 This patch adds support for Silicon Labs (formerly Ember) EM357 and
EM358 chips and derivatives. Change-Id: Ie63aed95a2f4ef1a6b955e301a51b4de1b3a5462 Signed-off-by:
Ed Beroset <beroset@ieee.org> Reviewed-on:
http://openocd.zylin.com/2470 Tested-by: jenkins Reviewed-by: Paul
Fertser <fercerpav@gmail.com>
2014-01-12 Heinz Schweiger <openocd@htl-steyr.ac.at>
* : cfg: TI Tiva C dk-tm4c129x Evaluation Kits New Texas Instruments Tiva C Series Boards
http://www.ti.com/tool/dk-tm4c129x Change-Id: I44f96982e91786b977b3d29e0f4c7053d584a703 Signed-off-by:
Heinz Schweiger <openocd@htl-steyr.ac.at> Reviewed-on:
http://openocd.zylin.com/1867 Tested-by: jenkins Reviewed-by: Paul
Fertser <fercerpav@gmail.com>
2014-09-08 Tomas Vanek <vanekt@fbl.cz>
* : psoc4: support for Cypress PSoC 41xx/42xx family New NOR flash driver was derived from stm32lx. Procedure
ocd_process_reset_inner is overriden in psoc4.cfg to handle reset
halt and system ROM peculiarities. Change-Id: Ib835324412d106ad749e1351a8e18e6be34ca500 Signed-off-by:
Tomas Vanek <vanekt@fbl.cz> Reviewed-on:
http://openocd.zylin.com/2282 Tested-by: jenkins Reviewed-by: Paul
Fertser <fercerpav@gmail.com>
2015-01-24 Paul Fertser <fercerpav@gmail.com>
* : flash/nor/stm32lx: use 0 base to autodetect second bank location Change-Id: I3c296b3e276fcd4d92e4180fc0d2133eebfcc240 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2503 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2015-01-23 Paul Fertser <fercerpav@gmail.com>
* : flash/nor/stm32l: unify waiting for busy flag functions Change-Id: I5e6daff8232bb4807dd13a1951fbf335529661d4 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2491 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2015-01-20 Paul Fertser <fercerpav@gmail.com>
* : configure: define WIN32_LEAN_AND_MEAN early to make it effective This macro makes windows builds faster and helps with the old
"#define interface struct" issue as the word "interface" is part of
libusb-0.1 API. However, defining it in replacements.h is too late,
as windows.h gets included by that time from somewhere else. This solution is provided by Ray Donnelly from the MSYS2 team. Change-Id: I376a5fb3d106786515d7e1ba44dbd751e4dcdb1b Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2486 Tested-by: jenkins Reviewed-by:
Xiaofan <xiaofanc@gmail.com> Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2015-01-23 Paul Fertser <fercerpav@gmail.com>
* : flash/nor/stm32f2x: add new revisions of STM32F4x parts Change-Id: I7585ccbe12fe079e960ce9e33d9a143672a6a08c Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2493 Tested-by: jenkins Reviewed-by: Rémi
PRUD'HOMME <prudhomme.remi@gmail.com> Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2014-12-11 Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>
* : Add more STM32F3 IDs in target/stm32f3.cfg. Change-Id: I4c4462aa025639c4d20e6fa23c8845a69e60afc5 Signed-off-by:
Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de> Reviewed-on:
http://openocd.zylin.com/2435 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com>
2015-01-15 Paul Fertser <fercerpav@gmail.com>
* : tcl/target: add lpc8xx.cfg This adds a trivial config for LPC8xx chips based on the already
existing infrastructure in lpc1xxx.cfg. Change-Id: I7384df1f3c2e3e8ab767319728db5c4f8149480f Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2464 Tested-by: jenkins Reviewed-by:
Andreas Färber <afaerber@suse.de> Reviewed-by: Nemui Trinomius
<nemuisan_kawausogasuki@live.jp>
2015-01-18 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : armv4_5: Continue the change from uint32_t to uint8_t[4] for
regs Also remove an unrelated no-op cast. Change-Id: Ibeb6c72e5b0b0347abb568947a05a179661faf2d Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/2473 Reviewed-by: Paul Fertser
<fercerpav@gmail.com> Tested-by: jenkins
2015-01-16 Jens Bauer <jens@gpio.dk>
* : stm32f2x: Fix byte order bug. Do not use buf_set_u32 on integers; they're not buffers. If using
buf_set_u32 on integers, bytes will be exchanged on Big Endian
targets. In this particular case, FLASH_OPTCR was incorrectly
written, causing it to often contain one of these values:
0x00aaaae1, 0x00aaffef, 0x00ffabe1 or 0x00abffe1. This
write-protected the device before flash-programming, causing this
command... flash write_image erase unlock myfile.elf ... to fail,
complaining about write-protection. Repeating the above command
would change the OPTCR register each time. After applying this
patch, the OPTCR remains "unchanged". Change-Id: I73d510fcc2e81a01973ad5c6e1aa22715ebd2743 Signed-off-by:
Jens Bauer <jens@gpio.dk> Reviewed-on: http://openocd.zylin.com/2466
Tested-by: jenkins Reviewed-by: Andreas Fritiofson
<andreas.fritiofson@gmail.com>
2015-01-09 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : jtag: Rewrite TAP verification/auto-probe logic Enable auto-creating additional discovered TAPs even if some TAPs
are predefined, avoiding initialization failure when it's not
necessary. Also, drop the arbitrary limit on the number of predefined TAPs.
Still, don't auto-create any if there are more than 20 TAPs already,
to stop a noisy connection from creating unlimited TAPs. Create auto-probed TAPs with less noise. Reduce code duplication between verification and auto-probing. Change-Id: I82a504d92dbcc0060206e71f10c5158256b5f561 Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/2236 Tested-by: jenkins Reviewed-by: Paul
Fertser <fercerpav@gmail.com>
2015-01-21 Jaakko Kukkohovi <jkukkohovi@gmail.com>
* : jtag/drivers/cmsis-dap-usb: fix cmsis_dap_serial Previously the serial wasn't actually used in hid_open() call, which
meant that the first device with matching vid:pid was opened
irrespective of the actual serial number. Change-Id: I45216ae5d9e0798e97be693c30e2f03c89b9a02b Signed-off-by:
Jaakko Kukkohovi <jkukkohovi@gmail.com> Reviewed-on:
http://openocd.zylin.com/2487 Tested-by: jenkins Reviewed-by: Jörg
Wunsch <openocd@uriah.heep.sax.de> Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2015-01-10 Paul Fertser <fercerpav@gmail.com>
* : tcl/target/stellaris: Snowflake supports SYSRESETREQ too Change-Id: If4bf472ab8867c54a976bdb5803f7e4f79f350a8 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2461 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-by: Ed Beroset
<beroset@ieee.org>
2015-01-17 Paul Fertser <fercerpav@gmail.com>
* : jtag/drivers/stlink: demote the output of available speeds to
DEBUG Change-Id: If0afb6fb1cb2f39619e4e614573065c145255c3e Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2469 Reviewed-by: Jens Bauer <jens@gpio.dk>
Tested-by: jenkins Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2015-01-09 Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>
* : stm32f07/9: Both devices have 256 kByte Flash Maximum. See RM0091, Rev.7. page 56. Change-Id: I9a98094d49739686f93e26a5112eb0a2a8a7c883 Signed-off-by:
Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de> Reviewed-on:
http://openocd.zylin.com/2458 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2015-01-09 Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>
* : stm32f09x: Print info in get_stm32x_info. Change-Id: I5f9b765fe04906e124e2c95ff6bf7193be9d4ce2 Signed-off-by:
Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de> Reviewed-on:
http://openocd.zylin.com/2456 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2015-01-10 Paul Fertser <fercerpav@gmail.com>
* : cfg: add srst_nogate to the supported targets, remove from board
configs It depends on the particular target whether it can work with SRST
asserted or not, so this belongs to the target config rather than
the board config. Also, this allows for simple openocd -f myboard.cfg -c "reset_config connect_assert_srst" command to be used whenever a user feels a need to connect to an
unresponsive target. Change-Id: I3d8da9ae47088fc0c75a20bfdd20074be1014de0 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2459 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2014-11-21 Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>
* : stm32f0/nucleo: Use only one configuration for all stm32f0
nucleo boards. Change-Id: Ib2ddcd7a92c0d7ad503ef8e953f2bc304241a9f0 Signed-off-by:
Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de> Reviewed-on:
http://openocd.zylin.com/2396 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2014-12-09 Karl Palsson <karlp@remake.is>
* : target/stm32xx: Endian is not configurable. So remove it from all the configs, it's misleading, and leads to
cargo culting of config files. Change-Id: I2b77e60d5e96f9759c7c9fc91b20e73be2e95d9a Signed-off-by:
Karl Palsson <karlp@tweak.net.au> Signed-off-by: Paul Fertser
<fercerpav@gmail.com> Reviewed-on: http://openocd.zylin.com/2446
Tested-by: jenkins Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2014-12-19 Karl Palsson <karlp@remake.is>
* : contrib: itmdump: fix multi byte decoding Incorrect byte manipulations. Change-Id: Id8c3f457b39f4b2b75613076d403359c4972a69d Signed-off-by:
Karl Palsson <karlp@tweak.net.au> Signed-off-by: Paul Fertser
<fercerpav@gmail.com> Reviewed-on: http://openocd.zylin.com/2448
Tested-by: jenkins Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2014-12-15 Andreas Frber <afaerber@suse.de>
* : tcl/board: Add TI TMDX570LS20SUSB board config It is derived from ti_tmdx570ls31usb.cfg, using a different TAP ID. Change-Id: I2d911995c76ea4f75a780cc230d61f4959825809 Signed-off-by:
Andreas Färber <afaerber@suse.de> Reviewed-on:
http://openocd.zylin.com/2440 Tested-by: jenkins Reviewed-by: Paul
Fertser <fercerpav@gmail.com> Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2014-10-09 Spencer Oliver <spen@spen-soft.co.uk>
* : hla: add ability to change adapter speed (if supported) As a note we need to cache the requested speed setting, as the hla
interface may not be ready when the first adapter_khz is called. Change-Id: I2fa6807d5f0bd3f0365cf178bd10a230c39415a7 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/2334 Tested-by: jenkins
2015-01-07 Paul Fertser <fercerpav@gmail.com>
* : jtag/hla: output possible idcode candidates in case of mismatch Output a similar message to what we have on low-level JTAG adapters
to avoid confusing users. Reported on IRC by chickensk. Change-Id: I96d58410ef715b966e32d79c0aacf38596c5eb3f Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2451 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2015-01-07 Spencer Oliver <spen@spen-soft.co.uk>
* : docs: update bug tracker URL Change-Id: I6a362020a29ccb9222f7909b5b34e5c35a02ed4b Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/2454 Tested-by: jenkins Reviewed-by: Paul
Fertser <fercerpav@gmail.com>
2014-10-14 Alexander Stein <alexander.stein@systec-electronic.com>
* : cortex_a: Add support for A7 MPCore A7 MPCore needs unlocking the debug registers same as with A15
MPCore. Found out by hacking on the code. Change-Id: I613cb4fb35007b85b4a9a401577b47768bc1a08b Signed-off-by:
Alexander Stein <alexander.stein@systec-electronic.com> Reviewed-on:
http://openocd.zylin.com/2344 Tested-by: jenkins Reviewed-by: Kamal
Dasu <kamal.dasu@gmail.com> Reviewed-by: Andreas Fritiofson
<andreas.fritiofson@gmail.com>
2014-12-08 Tomas Vanek <vanekt@fbl.cz>
* : ChibiOS: struct ChibiOS_params_list[] should not be const Procedure ChibiOS_update_memory_signature() sets struct member
signature. Change-Id: I45adbd14fa7cda99413fd0b516d45b3fb55e322d Signed-off-by:
Tomas Vanek <vanekt@fbl.cz> Reviewed-on:
http://openocd.zylin.com/2427 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2014-11-20 Spencer Oliver <spen@spen-soft.co.uk>
* : flash: fix kinetis driver typos Change-Id: I0a4557f08507c61cb8ab33b38d2b6b069c344c09 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/2385 Tested-by: jenkins
2014-10-11 Salvador Arroyo <sarroyofdez@yahoo.es>
* : avoid segfaulting when attempting to set an unavailable type of
breackpoint For example "bp 0x20000000 8 2" makes openocd segfaulting on a
stm32f4x Discovery board. Change-Id: I1ddd46b1fa9ade78db2234ed975ccefb72539331 Signed-off-by:
Salvador Arroyo <sarroyofdez@yahoo.es> Reviewed-on:
http://openocd.zylin.com/2342 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2014-11-02 Paul Fertser <fercerpav@gmail.com>
* : swd: handle various failure conditions When communication with target fails for whatever reason, it makes
sense to do JTAG-to-SWD (in case the target got power-cycled or the
DAP method was reset anyhow), SWD line reset sequence (part of
JTAG-to-SWD already) and the mandatory IDCODE read. Schedule that to
be performed on the next poll. Fix the return values for ftdi and jlink drivers to be consistent
with OpenOCD error codes and remove ad-hoc calls to perform DAP
method switching (as it's now done from the upper layer
automatically). Change-Id: Ie18797d4ce7ac43d8249f8f81f1064a2424e02be Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2371 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-by: Mateusz
Manowiecki <segmentation@fault.pl>
2014-11-14 Spencer Oliver <spen@spen-soft.co.uk>
* : rtos: free gdb packet allocated memory compile tested only. Change-Id: I3bc06c212967a3ce44a875f802b554c178537d1d Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/2382 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com>
2014-07-30 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : jtag: Remove unnecessary global variable Change-Id: I96e5f13b12da2970eafc5fca24b7952d427eeca9 Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/2235 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2014-11-21 Karl Palsson <karlp@tweak.net.au>
* : stm32l: split l0/l1 support no jtag, different HSI settings L0 is cortex m0+, so different id codes, SWD only, different
addresses for the clock speedup. It has no endian options, no
boundary scan. Removed all L0 specific portions from L1 files, and renamed files to
clarify their purpose. The deprecated stm32lx_stlink.cfg is kept as
is, as it is only around for backwards compatibility with prior
releases. Tested on STM32L053 Discovery and STM32L151 Discovery. Has _not_ been tested with jtag on L1. Change-Id: I8eea890d2f92a302d9e9c8a8832d218ee1b6bcfc Signed-off-by:
Karl Palsson <karlp@tweak.net.au> Signed-off-by: Paul Fertser
<fercerpav@gmail.com> Reviewed-on: http://openocd.zylin.com/2405
Tested-by: jenkins Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk> Reviewed-by: Juha Niskanen
<juha.niskanen@haltian.com>
2014-11-18 Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>
* : tcl/target/stm32f4: ramp up JTAG speed, HSI is 16MHz there Since all F4 parts have an internal HSI providing 16MHz, it's safe
to use 2MHz JTAG frequency by default. Change-Id: I2702d5a1d642d4acd4af2db54c028949132c6900 Signed-off-by:
Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de> Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2383 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2014-10-30 Grigori Goronzy <greg@chown.ath.cx>
* : lpc2000: ignore status of part ID IAP command The IAP firmware won't return a proper status with some versions.
This happens on my CCC r0ket board and others have seen it as well
[1]. So just ignore the status code and do a (weak) consistency
check instead. [1]
http://www.lpcware.com/content/forum/lpc1343-iap-read-part-identification-commandChange-Id: I0daa779d520a540629677c56857bbc20d6db422d Signed-off-by:
Grigori Goronzy <greg@chown.ath.cx> Reviewed-on:
http://openocd.zylin.com/2364 Tested-by: jenkins Reviewed-by: Paul
Fertser <fercerpav@gmail.com>
2014-10-10 Antony Pavlov <antonynpavlov@gmail.com>
* : or1k: remove address of the Free Software Foundation The FSF address has changed; The FSF site says that address is Free Software Foundation 51 Franklin Street, Fifth Floor Boston, MA 02110-1301 USA (see http://www.fsf.org/about/contact/) Instead of updating it each time the address changes, just drop it
completely treewide. Change-Id: I27199f7625901f677d8105d1e8876cff00147b71 Signed-off-by:
Antony Pavlov <antonynpavlov@gmail.com> Reviewed-on:
http://openocd.zylin.com/2340 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2014-10-07 Antony Pavlov <antonynpavlov@gmail.com>
* : mips32: fix typos Change-Id: Ibb98fe3da68bf670a5bb83600bb49647db8a4163 Signed-off-by:
Antony Pavlov <antonynpavlov@gmail.com> Reviewed-on:
http://openocd.zylin.com/2338 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2014-10-24 Christian Gudrian <christian.gudrian@gmx.de>
* : Added FPU support for ChibiOS/RT When an enabled FPU is detected we now use an appropriate stacking. Change-Id: I1b0f43ec22e1c55c4f10e2ffa97d4aaa77bca5ee Signed-off-by:
Christian Gudrian <christian.gudrian@gmx.de> Reviewed-on:
http://openocd.zylin.com/2354 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2014-10-25 Paul Fertser <fercerpav@gmail.com>
* : rtos: allow symbols to be optional for a particular RTOS Default to non-optional. Change-Id: Ifc9ddb1ab701a19c3760f95da47da6f7d412ff2e Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2355 Tested-by: jenkins Reviewed-by:
Christian Gudrian <christian.gudrian@gmx.de> Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2014-10-31 Paul Fertser <fercerpav@gmail.com>
* : jtag/drivers/jlink: implement register command to fix SWD Some J-Link fw versions require registration to be performed before
SWD operation is possible. It doesn't harm anyway, vendor's
utilities do it unconditionally. Thanks go to Segger for providing the necessary information. Change-Id: Iabd76c743eca86e2c817a97cb93c969fec3f7ac6 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2331 Tested-by: jenkins
2014-10-27 Anders <anders@openpuma.org>
* : flash/nor/lpcspifi.c: fix bug that prevented clean reset after
flash write After SPI flash was written by the assembly language stub, the last
SPI command was not terminated by raising CS. This left the SPI
device in a hung state that prevented the flash from being read by
the M4 SPIFI controller, even after the M4 was fully reset. To
access the flash via SPIFI, it was necessary to completely power
cycle the board. This fix adds the missing instructions to raise CS and terminate the
SPI command after the last byte. This allows the M4 to be resumed or
reset cleanly after flashing. The SPIFI memory is now immediately
accessable at address 0x1400 0000 after flashing is complete. Change-Id: I4d5e03bded0fa00c430c2991f182dc18611d5f48 Signed-off-by:
Anders <anders@openpuma.org> Reviewed-on:
http://openocd.zylin.com/2359 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2014-09-20 Nemui Trinomius <nemuisan_kawausogasuki@live.jp>
* : lpc2000: Added LPC1500 series flash programming support. This patch adds flash programming support for LPC1547/8/9 and
LPC1517/8/9. Tested on LPC1549(LPC1549 LPCXpresso Board with
CMSIS-DAP firmware). Change-Id: Ic95b4d62055bb9fdc2ca484696a38ccaf49ad951 Signed-off-by:
Nemui Trinomius <nemuisan_kawausogasuki@live.jp> Reviewed-on:
http://openocd.zylin.com/2304 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-by: Grigori G
<greg@chown.ath.cx>
2014-10-29 Jim Paris <jim@jtan.com>
* : nrf51: verify that UICR needs erasing before triggering an error
about it If the UICR is already empty, there's no reason to return an error
just because it can't be erased again. This happens, for example,
when flashing UICR from GDB after a "monitor nrf51 mass_erase". Change-Id: Ia6d28c43189205fb5a7120b1c7312e45eb32edb7 Signed-off-by:
Jim Paris <jim@jtan.com> Reviewed-on: http://openocd.zylin.com/2363
Tested-by: jenkins Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2014-10-28 Jim Paris <jim@jtan.com>
* : nrf51: fix UICR region size The UICR region is actually 0x100 bytes in size. Besides making the
full region accessible, having the right value is important because
GDB rounds flash addresses to the nearest multiple of the block size
when determing which flash blocks to erase. Change-Id: I416c391cbfc7be41a03a9b9c6e42326c87391f38 Signed-off-by:
Jim Paris <jim@jtan.com> Reviewed-on: http://openocd.zylin.com/2361
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Tested-by: jenkins
2014-10-26 Paul Fertser <fercerpav@gmail.com>
* : tcl/interface/ftdi/swd-resistor-hack: clarify and add schematic
diagram Change-Id: I8600ee983de85e4225430ae508a50cd938122d89 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2357 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com>
2014-10-02 Spencer Oliver <spen@spen-soft.co.uk>
* : cmsis-dap: refactor HID PID/VID check loop In preparation for adding serial number support. Change-Id: I3c9fb411b79d54a4d2de067039255436ba6708c7 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/2328 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com>
2014-10-06 Spencer Oliver <spen@spen-soft.co.uk>
* : cfg: remove incorrect execute permissions Change-Id: I0ba9dfdf876bc99df4e2d1f1f3bc0c9ccc6c98c2 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/2333
2014-09-24 Rmi PRUD'HOMME <prudhomme.remi@gmail.com>
* : stm32: Add config file for a new board STM32L052 dsicovery this board use STLink-V2-1, the STM32L1xx use the STLink-V2. Change-Id: Ie58f45affcb1e9a6fed711b48c3c03b5035ab2b2 Signed-off-by:
Rémi PRUD'HOMME <prudhomme.remi@gmail.com> Reviewed-on:
http://openocd.zylin.com/2317 Tested-by: jenkins Reviewed-by: Andrey
Yurovsky <yurovsky@gmail.com> Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2014-08-21 Paul Fertser <fercerpav@gmail.com>
* : flash/nor/stellaris: implement protection statuses and
procedures This should make protection work as expected on all stellaris
families, including the latest Tiva C Snowflake. Run-time tested on TM4C123x (Blizzard). Change-Id: Ia017edb119bec32382b08fc037b5bbc02dd9000c Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2267 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2014-08-19 Paul Fertser <fercerpav@gmail.com>
* : flash/nor/stellaris: actually enable protection and unprotection
with ICDI This is still limited to pre-Snowflake parts and the first 64K of
flash. Change-Id: I9ca872ada3d1a87dba6261464b2a72a15eda5ecf Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2264 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2014-09-10 Paul Fertser <fercerpav@gmail.com>
* : interface/ftdi/olimex-arm-usb-ocd-h: fix nTRST control
definition According to my inspection of an Olimex ARM-USB-OCD-H adapter ACBUS0
is connected directly to an SN74LVC2T45 buffer input B2, and the
corresponding output A2 is connected directly to the JTAG connector.
It seems the information in the Olimex flyer is incorrect for the -H
version and TRST can't be tri-stated, ACBUS2 is unused. The older ARM-USB-OCD device has SN74AC244 for an output buffer and
ACBUS2 controls its !2OE, ACBUS0 connected to 2A1 (2Y1 is nTRST), in
accordance with the information flyer. Change-Id: I22828b7b959b6f62c3f51367feb8fab9705641e5 Reported-by:
Tim Sander <tim@krieglstein.org> Signed-off-by: Paul Fertser
<fercerpav@gmail.com> Reviewed-on: http://openocd.zylin.com/2286
Tested-by: jenkins Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk> Reviewed-by: Tim Sander <tim@krieglstein.org>
2014-10-01 Anders <anders@openpuma.org>
* : jtag/drivers/libusb1_common: avoid device reset when reselecting
configuration According to [1], we shouldn't reselect an already active
configuration to avoid needless device reset. This is known to cause
issues with e.g. LPC Link2 with JLink firmware. [1] http://libusb.sourceforge.net/api-1.0/caveats.html#configsel Change-Id: I3568ada77780a521548c450090db7173f8d0b2dd Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Signed-off-by: Anders Oleson
<anders@openpuma.org> Reviewed-on: http://openocd.zylin.com/2288
Tested-by: jenkins Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2014-09-11 Spencer Oliver <spen@spen-soft.co.uk>
* : target: constify structures Change-Id: I875cfab8dec4ade72ed9c9cd7d52baaca182a1ef Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/2295 Tested-by: jenkins
2014-09-11 Spencer Oliver <spen@spen-soft.co.uk>
* : flash: constify driver data structures Change-Id: Ia5c3de48119f036e1d7a41be62a672a6fb37e59b Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/2293 Tested-by: jenkins
2014-09-11 Spencer Oliver <spen@spen-soft.co.uk>
* : nuc1x: fix typos Change-Id: Ia67b55ccb2bea71a99daa176def82960f487ca9f Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/2291 Tested-by: jenkins
2014-08-06 Andrey Yurovsky <yurovsky@gmail.com>
* : at91samd: add erase/secure commands, minor fix Reference code for the SAMD2x disables caching in the NVM controller
when issuing NVM commands. Let's do this as well to be consistent
and safer. Add a "chip-erase" for the Atmel SAMD targets that issues a complete
Chip Erase via the Device Service Unit (DSU). This can be used to
"unlock" or otherwise unbrick a chip that can't be halted or
inspected, allowing the user to reflash with new firmware. Add a "set-security" command which issues an SSB. Once that's done
and the device is power-cycled, the flash cannot be written to until
a "chip-erase" is issued. The chip-erase cannot be issued by
openocd at this time because the device will not respond to a
request for the DAP IDCODE. Change-Id: I80122f0bbf7e3aedffe052c1e77d69dc2dba25ed Signed-off-by:
Andrey Yurovsky <yurovsky@gmail.com> Reviewed-on:
http://openocd.zylin.com/2239 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2014-09-29 Paul Fertser <fercerpav@gmail.com>
* : doc/openocd.texi: add SWD to the transports supported by jlink Since 67332532194b16b99f0535a41b4179ca5df349b0 jlink adapter driver
supports SWD in addition to JTAG. Change-Id: I9376aa02d9281f3e2734d8f127cd42162633d95b Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2324 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2014-09-21 Jon Burgess <jburgess777@gmail.com>
* : cortex_m.c: Use two byte breakpoint for 32bit Thumb-2 request When GDB requests a breakpoint on a 32bit Thumb-2 instruction it
sends a length of 3 which the current code rejects. Using the
existing two byte breakpoint for this case appears to work fine. The use of length==3 for this case is mentioned in a few places:
https://sourceware.org/gdb/onlinedocs/gdb/ARM-Breakpoint-Kinds.html
http://sourceforge.net/p/openocd/mailman/message/30012280/ Change-Id: I59cd69ba4d1bc9a37b86569738c6bb2a67c3eb7a Signed-off-by:
Jon Burgess <jburgess777@gmail.com> Reviewed-on:
http://openocd.zylin.com/2312 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2014-03-24 Karl Palsson <karlp@tweak.net.au>
* : tcl/board: add TI Tiva C ek-tm4c1294xl config Change-Id: Iab070fe4c0f03ecc0db035b16dfb64105b0841be Signed-off-by:
Karl Palsson <karlp@tweak.net.au> Signed-off-by: Paul Fertser
<fercerpav@gmail.com> Reviewed-on: http://openocd.zylin.com/2063
Tested-by: jenkins
2014-09-08 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : target: Remove "-variant" argument Remove this underutilized feature. Despite the fact that a lot of
configs specifies a arbitrary "variant", only the xscale target
actually defines any. In the case of xscale, the use of -variant is dubious since 1) it's used as a redundant irlen specifier, 2) it carries a comment that it doesn't really need it and 3) only two xscale configs even specify it. If there's a future target that needs a variant set, a target
specific option could be added when needed. Change-Id: I1ba25a946f0d80872cbd96ddcc48f92695c4ae20 Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/2283 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2014-04-04 Andrey Smirnov <andrew.smirnov@gmail.com>
* : flash/nor/tcl.c: Do not double probe banks Previous to this version the code of handle_flash_probe_command
would probe a bank twice: first time by auto-probe through a call to
flash_command_get_bank and second time by calling the probe function
directly. This change adds a flash_command_get_bank_maybe_probe wich
is a more generic version of the flash_command_get_bank, that would
allow commands to decide whether auto-probing should be performed or
not. Change-Id: If150ca9c169ffe05e8c7eba36338d333360811e3 Signed-off-by:
Andrey Smirnov <andrew.smirnov@gmail.com> Reviewed-on:
http://openocd.zylin.com/2093 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2014-09-04 Mahavir Jain <mjain@marvell.com>
* : flash/nor: add mrvlqspi flash controller driver This patch adds support for QSPI flash controller driver for
Marvell's Wireless Microcontroller platform. For more information
please refer,
https://origin-www.marvell.com/microcontrollers/wi-fi-microcontroller-platform/Following things have been tested on 88MC200 (Winbond W25Q80BV flash
chip): 1. Flash sector level erase 2. Flash chip erase 3. Flash write in normal SPI mode 4. Flash fill (write and verify) in normal SPI mode Change-Id: If4414ae3f77ff170b84e426a35b66c44590c5e06 Signed-off-by:
Mahavir Jain <mjain@marvell.com> Reviewed-on:
http://openocd.zylin.com/2280 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2014-09-18 Austin Phillips <austin_phillips@hotmail.com>
* : Support hla_serial command for ST-LINK adapters. The hla_serial command allows for a programming device serial number
to be specified in addition to USB VID/PID. This allows for
multiple ST-LINK/V2 programmers to be attached to a single machine
and operated using openocd. Change-Id: I350654bf676eb26ba3a90450acfa55d2a5d2d791 Signed-off-by:
Austin Phillips <austin_phillips@hotmail.com> Reviewed-on:
http://openocd.zylin.com/2198 Tested-by: jenkins Reviewed-by: Martin
Glunz <mg@wunderkis.de> Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2014-09-07 Anders <anders@openpuma.org>
* : flash: added new Spansion S25FL116K, S25FL132K, and S25FL164K
devices The new FL1-K family is replacing the FL-K family. The data from all
three was based on the datasheet. In addition the 8MB S25FL164K was
tested successfully with OpenOCD on a custom board. Change-Id: Idafeed86da12a481c0db92cc0de7ba28f50c2252 Signed-off-by:
Anders <anders@openpuma.org> Reviewed-on:
http://openocd.zylin.com/2281 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com>
2014-09-02 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : cortex_m: Check return value from cortex_m_dcc_read. Caught by clang. Change-Id: I26d2b845aca431612862ef432b217ca397d9b893 Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/2279 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2014-08-20 Paul Fertser <fercerpav@gmail.com>
* : tcl/board/sheevaplug: add adapter_khz setting This combination is known to work properly with 2MHz JTAG clock. Change-Id: Ie5ec3d3b415efbb13faee7d34e0c7f862b78350c Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2266 Tested-by: jenkins
2014-02-20 Vanya Sergeev <vsergeev@gmail.com>
* : cfg: refactor lpc1xxx targets onto one base config Since now auto-detection for flash size works nicely, there's no
reason to keep numerous configs around. Change-Id: If0cbc37985abf17ef7c1f7d0688e76500fac228f Signed-off-by:
Vanya Sergeev <vsergeev@gmail.com> Reviewed-on:
http://openocd.zylin.com/1960 Tested-by: jenkins Reviewed-by:
Freddie Chopin <freddie.chopin@gmail.com> Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2014-08-18 Nemui Trinomius <nemuisan_kawausogasuki@live.jp>
* : stm32f2x: added STM32F411xx series support. Added STM32F411xx series to flash driver. Tested on NUCLEO-F411RE board(STM32F411RET6). Change-Id: Id7d1f2858c09815a013e0590e65ad193fb039157 Signed-off-by:
Nemui Trinomius <nemuisan_kawausogasuki@live.jp> Reviewed-on:
http://openocd.zylin.com/2258 Tested-by: jenkins Reviewed-by: Paul
Fertser <fercerpav@gmail.com> Reviewed-by: Andreas Fritiofson
<andreas.fritiofson@gmail.com>
2014-08-19 Paul Fertser <fercerpav@gmail.com>
* : flash/nor/stellaris: add all Tiva C parts IDs Luckily, TI's website has predictable URLs for the datasheets, so it
was trivial to download all the pdfs corresponding to the currently
available 71 TivaC devices. Then they were processed with pdftotext
and parsed by this script: BEGIN { capture = -1 } /^Device Identification 0 \(DID0\)$/ { state
= "waitingclass0" } /^Device Identification 1 \(DID1\)$/ { state =
"waitingpartno0" } /^CLASS$/ { if (state == "waitingclass0") state =
"waitingclass" else if (state == "waitingclass") capture = 4 }
/^PARTNO$/ { if (state == "waitingpartno0") state = "waitingpartno" else if (state == "waitingpartno") capture = 4 } (FNR == 3) {
family = $2 } { if (capture >= 0) { if (capture == 0) { if (state == "waitingclass") class = $0 else if (state == "waitingpartno") partno = $0 } capture-- } } END { print "{" class ", " partno ", \"" family "\"}," } Change-Id: I6820c409fe535f08394c203276b5af4406fe8b92 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2262 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com>
2014-08-24 Paul Fertser <fercerpav@gmail.com>
* : tcl/interface/ftdi: add kt-link config (with SWD) for DP
BusBlaster Change-Id: Icbeca8c0c3845c0b777fb2e4c81b17e7b7cc5ff8 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2269 Tested-by: jenkins Reviewed-by: Ben
Gamari <bgamari@gmail.com> Reviewed-by: Andreas Fritiofson
<andreas.fritiofson@gmail.com>
2014-08-15 Paul Fertser <fercerpav@gmail.com>
* : tcl/target/imx6: add yet another SJC tapid This is for mx6q TO1.1. Change-Id: Id6af2ed232fc19be9bf49eb6d2df0004c6668698 Reported-by:
Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Paul
Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2253 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com>
2014-08-19 Paul Fertser <fercerpav@gmail.com>
* : jtag: always configure enabled tap parameter appropriately Commit f701c0cb seems to have introduced a regression for non-JTAG
transports as the newly created "tap" (DAP actually) ended up being
disabled, thus resulting in total lack of functionality. This was exposed by a debug log demonstrating ftdi SWD transport
connection to mdr32f9q2i, the target wasn't examined on init and
couldn't be reset. Change-Id: If53cbe800d4adc177aa3ac3219860e7fa15b3e49 Reported-by:
Хайруллин Эльдар <eldar.khayrullin@mail.ru>
Signed-off-by: Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2261 Tested-by: jenkins Reviewed-by: Angus
Gratton <gus@projectgus.com> Reviewed-by: Nemui Trinomius
<nemuisan_kawausogasuki@live.jp> Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2014-07-10 Andrey Yurovsky <yurovsky@gmail.com>
* : stm32lx: refactor and add support for STM32L0xx This adds initial support for the STM32L0 family, specifically the
ID code 417 variant. The 'L0 has 128B rather than 256B pages as
well as a different number of pages per sector. It also has several
key registers and register sets in different locations from the
STM32L1xx parts. This change therefore takes the opportunity to reorganize part
information into a const table (it was previously determined by a
set of control statements) and abstracts away some of the low-level
details to make them generic for L1 and L0 parts. We also include the first bank's size (for dual bank parts) in the
new device information table (and correct that size for the 0x437
variant which is 256 rather than 192KB). The 'L0 parts will not use the built-in loader/helper for Flash
writing. Tested on STM32L053 (dicovery board and Nucleo board) and STM32L152
(discovery board). Change-Id: I57f7a8ab02caee266de71b31ae82a50d85728a0b Signed-off-by:
Andrey Yurovsky <yurovsky@gmail.com> Reviewed-on:
http://openocd.zylin.com/2200 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com>
2014-08-18 Andrey Yurovsky <yurovsky@gmail.com>
* : flash: samd: add missing ID for SAMD20E18A This was somehow missed in the chip ID table and of course that's
exactly the one on my board (as such, tested on hardware). Change-Id: I212d7c729d979e0357f1d4635f40935e25fe6ff3 Signed-off-by:
Andrey Yurovsky <yurovsky@gmail.com> Reviewed-on:
http://openocd.zylin.com/2260 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2014-08-08 Spencer Oliver <spen@spen-soft.co.uk>
* : jlink: add variant "J-Link Lite-ADI" Fitted to various Analog Devices ADuCM36x dev boards. Change-Id: Ib3691704c0ecd2f8cba1abba284aee695d6bc135 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/2244 Tested-by: jenkins
2014-08-14 Paul Fertser <fercerpav@gmail.com>
* : flash/nor/stm32f1x: add STM32F302x6/8 IDs, clarify STM32F302xB/C Change-Id: I22afbe30f32b0ea9b59c3de8d15ce14bdc4763cc Reported-by:
Luis Rodrigues <lfrodrigues@gmail.com> Signed-off-by: Paul Fertser
<fercerpav@gmail.com> Reviewed-on: http://openocd.zylin.com/2249
Tested-by: jenkins Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2014-08-15 Paul Fertser <fercerpav@gmail.com>
* : transport: emit a warning when a user tries to reselect a
transport Even though changing transport is impossible, reselecting it should
be harmless. Change-Id: I6c1c2786134e826f47f848b590e6d712b6fd2206 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2251 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2014-08-17 Eldar Khayrullin <eldar.khayrullin@mail.ru>
* : tcl/board/stm32ldiscovery: fix breakage Change-Id: I450ea82c27009be6bad6a7814969d81964ff44d8 Signed-off-by:
Eldar Khayrullin <eldar.khayrullin@mail.ru> Signed-off-by: Paul
Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2255 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2014-01-22 Oleksij Rempel <linux@rempel-privat.de>
* : mips_m4k.c: D or I breaks only if they supported. For example Realtek RTL8186 (Lexra LX5280 core) don't support break-
and watchpoints. Change-Id: Ie00102da4bf13a8c42a9ad05910c66884f297cfd Signed-off-by:
Oleksij Rempel <linux@rempel-privat.de> Reviewed-on:
http://openocd.zylin.com/1933 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2014-01-21 Oleksij Rempel <linux@rempel-privat.de>
* : mips32.c: fix IB and DB bits check for EJTAG v2.0 Change-Id: I4e28dddc1d5d9c2b923ae17beacdd7f73591b1d0 Signed-off-by:
Oleksij Rempel <linux@rempel-privat.de> Reviewed-on:
http://openocd.zylin.com/1931 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2014-08-14 Oleksij Rempel <linux@rempel-privat.de>
* : mips_ejtag.c|h: use version specific IMPs and make version specific debug log Change-Id: I17f7ff757cfa1264a1dadbfe20c5e21de62ef87a Signed-off-by:
Oleksij Rempel <linux@rempel-privat.de> Reviewed-on:
http://openocd.zylin.com/1929 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2014-04-16 Andrey Smirnov <andrew.smirnov@gmail.com>
* : tcl/board: Add board configuration for nRF51822-mKIT Add board configuration for Nordic's nRF51822-mKIT devkit, available
here: http://mbed.org/platforms/Nordic-nRF51822/ Change-Id: Ib9329307147b1e7be061a5060b4eec8256fe2bd4 Signed-off-by:
Andrey Smirnov <andrew.smirnov@gmail.com> [gus@projectgus.com: Minor
tweaks, model number] Signed-off-by: Angus Gratton
<gus@projectgus.com> Reviewed-on: http://openocd.zylin.com/2116
Tested-by: jenkins Reviewed-by: Andreas Fritiofson
<andreas.fritiofson@gmail.com>
2014-07-01 Angus Gratton <gus@projectgus.com>
* : nRF51822: Add workaround for PAN-16 where not all RAM blocks
reliably enabled on reset According to Nordic Semiconductor Product Anomaly Notice (document
NRF51822-PAN), item 16, some revisions of nRF51822 sometimes reset
without all RAM blocks enabled. This was noted on NRF51822-QFAA rev
CA/C0, only 8KiB of memory was accessible. This patch turns on all RAM following a debugger induced reset
(matches specified behaviour.) Change-Id: I4f8be4ec3d1271da7fe5bc9a084fdcb2968535bb Signed-off-by:
Angus Gratton <gus@projectgus.com> Reviewed-on:
http://openocd.zylin.com/2202 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com>
2013-09-28 Paul Fertser <fercerpav@gmail.com>
* : Allow transports to override the selected target (hla configs
unification) This should allow to share common configs for both regular access
and high-level adapters. Use the newly-added functionality in stlink and icdi drivers, amend
the configs accordingly. Runtime-tested with a TI tm4c123g board. Change-Id: Ibb88266a4ca25f06f6c073e916c963f017447bad Signed-off-by:
Paul Fertser <fercerpav@gmail.com> [gus@projectgus.com:
context-specific deprecation warnings] Signed-off-by: Angus Gratton
<gus@projectgus.com> [andrew.smirnov@gmail.com: additional nrf51.cfg
mods] Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Tested-by: Andrey Skvortsov <andrej.skvortzov@gmail.com>
Reviewed-on: http://openocd.zylin.com/1664 Tested-by: jenkins
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
2014-08-02 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : interface/ftdi: Mark flyswatter.cfg as tested - Flyswatter + Proxmark3 (Atmel AT91SAM7S256) - works - Flyswatter + Tiva Launchpad (EK-TM4C123GXL) - works Change-Id: I615e0ff9262be6ae1064fb2de8e6e810775e7db4 Tested-by:
Ondrej Mikle <ondrej.mikle@nic.cz> Signed-off-by: Andreas Fritiofson
<andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/2237 Tested-by: jenkins
2014-07-19 Paul Fertser <fercerpav@gmail.com>
* : drivers/jlink: fix SWD speed config, and set it before sending
anything During the initialisation a driver might need to communicate with
the target (e.g. sending jtag2swd sequence), so when doing so it
should honour the user-specified speed. Change-Id: If84fea6057fda9edcf2c0a653edfbab2500e3cdd
[andrew.smirnov@gmail.com: fix khz/hz confusion] Signed-off-by:
Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Paul
Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2224 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com>
2014-07-28 Paul Fertser <fercerpav@gmail.com>
* : tcl/board: fix all the remaining boards that were sourcing
ft2232 configs This was reported in
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=751372 . Change-Id: I258f3d40593ff2966ce3ca61c13a23699d1b162f Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2230 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com>
2014-05-11 Paul Fertser <fercerpav@gmail.com>
* : Provide od+sed replacement for the bin2char helper Using custom build-time tools is always more problematic, especially
for cross-compiling. This alternative implementation assumes "od" (IEEE Std 1003.1-2001)
and sed are available which should be the case for any reasonably
modern system. Change-Id: I0208f475648c78e7dca127ff4bab60d314b2bf53 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2139 Tested-by: jenkins Reviewed-by: Fatih
Aşıcı <fatih.asici@gmail.com> Reviewed-by: Andreas Fritiofson
<andreas.fritiofson@gmail.com>
2014-06-23 Paul Fertser <fercerpav@gmail.com>
* : tcl/target/stm32l: restore slow clock on reset Change-Id: I63eafaa38b188fe50c13ab966be44a3eaa2006b0 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2188 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2014-06-24 Masaki Muranaka <monaka@monami-ya.com>
* : drivers/cmsis_dap_usb: Return with ERROR_FAIL if no CMSIS-DAP
device is found. Even if it does not return, the initialization will be failed. But
it is better to show why the error is caused. Change-Id: I399c7c94a7156be22723a9715e594061bb414a7e Signed-off-by:
Masaki Muranaka <monaka@monami-ya.com> Reviewed-on:
http://openocd.zylin.com/2189 Tested-by: jenkins Reviewed-by: Andrey
Yurovsky <yurovsky@gmail.com> Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2014-07-03 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : cfg: Rename leftover cortex_a8 -> cortex_a Change-Id: Id11d89ae2fb78854da4284afb7f14d8a892a2e49 Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/2197 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-08-29 Kamal Dasu <kdasu.kdev@gmail.com>
* : cortex_a: target implementation renames cortex_a8 to cortex_a A previous commit changes the target name used by tcl scripts.
commit d9ba56c295f057e716519a798bf9cdb4898c24f4 target: rename
cortex_a8 to cortex_a The current change renames target functions and definitions in the
implementation from cortex_a8 to cortex_a. This prepares the
implementation to support Cortex-A8, A9, A15-MPCore in one place. Change-Id: I73b5a38a92c12ba5bd3b806fbbb664817575a6d7 Signed-off-by:
Kamal Dasu <kdasu.kdev@gmail.com> Reviewed-on:
http://openocd.zylin.com/1599 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com>
2014-02-16 Fatih Aşıcı <fatih.asici@gmail.com>
* : vsllink: Add SWD support Tested with stm32f1x, stm32f4x and kl25 targets using SWD transport. Change-Id: I118d07371b53f402ea9ac73f874460a309c05100 Signed-off-by:
Fatih Aşıcı <fatih.asici@gmail.com> Signed-off-by: Andreas
Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/1947 Tested-by: jenkins
2014-06-25 Paul Fertser <fercerpav@gmail.com>
* : drivers/cmsis_dap_usb: restructure init sequence a bit This fixes the issue of improper initialisation sequence and in
particular makes "cmsis_dap_vid_pid" config specification
functional. Not really elegant but it's in line with the ftdi driver and so can
be reworked in a uniform way later when the internal API is changed. Change-Id: Ief9fc64ad0ac24e1c66727153f383e4f30a830c7 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2192 Reviewed-by: Andrey Yurovsky
<yurovsky@gmail.com> Tested-by: jenkins Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2014-02-20 Kamal Dasu <kdasu@broadcom.com>
* : Openocd: svf: Add ability to ignore svf_check_tdo errors Added Openocd commandline argument to ignore_error when the read
back TDO does not match to expected value specified with TDO after
masking with what is specified in MASK. This allows to continue to
play entire SVF file ignoring errors. Error logs clearly show the
failure reason and prints read back TDO value. Change-Id: I324f476fc16a003b35e6f2c5b63976431f49d54a Signed-off-by:
Kamal Dasu <kdasu.kdev@gmail.com> Reviewed-on:
http://openocd.zylin.com/2129 Tested-by: jenkins Reviewed-by: Franck
Jullien <franck.jullien@gmail.com> Reviewed-by: Andreas Fritiofson
<andreas.fritiofson@gmail.com>
2014-06-22 Paul Fertser <fercerpav@gmail.com>
* : jtag/drivers/ftdi: do not touch unavailable reset signals If the current reset_config doesn't specify availability of nTRST or
nSRST, just leave them alone, do not try to deassert them ever
(asserting would be prevented by the upper layer). Change-Id: I90123c666e05a1c26f1e164625e82d766a3e3744 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2186 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com>
2014-06-20 Paul Fertser <fercerpav@gmail.com>
* : tcl/interface/ftdi: add SWD configs for kt-link, olimex, rowley
and resistor hack Resistor hack is runtime-tested, other configs are based on
schematics. Change-Id: I8daffa0434cd41d142fbec7c230a302284f7aa31 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2184 Reviewed-by: Andreas Fritiofson
<andreas.fritiofson@gmail.com> Tested-by: jenkins Reviewed-by:
Freddie Chopin <freddie.chopin@gmail.com>
2014-06-20 Paul Fertser <fercerpav@gmail.com>
* : jtag/drivers/ftdi: declare standard JTAG signals on SWD init Unfortunately, this means they're available for config files only
after selecting swd transport. Change-Id: Ia2afc1f3bfdba8d81efbb8ab964b174c0f7e2811 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2182 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com>
2014-06-19 Paul Fertser <fercerpav@gmail.com>
* : Auto-select JTAG transport when appropriate I looked through all the target configs after stripping comments and
such from them with sed to see what jtag-specific commands can
appear first, and it looks like all the meaningful combinations
should be covered. Change-Id: I8d543407b7f4ac8aca7354ecd50e841c8a04d5f3 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2179 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com>
2014-05-09 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : cfg: Add SWD support to JTAG-lock-pick Tiny 2 Change-Id: I61eac507fa6861b7daf603ebca58e8bf3cc699c1 Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/2136 Tested-by: jenkins Reviewed-by: Jens
Bauer <jens@gpio.dk> Reviewed-by: Paul Fertser <fercerpav@gmail.com>
2014-05-10 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : transport: Constify the transports vector Change-Id: I0c874b5d4c97cf781d83bd381d701f770e069f72 Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/2135 Tested-by: jenkins Reviewed-by: Paul
Fertser <fercerpav@gmail.com>
2014-03-02 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : adi_v5: Make sure all bit masks are unsigned and wide enough. Also align them with spaces instead of tabs. Change-Id: I1c01412a3ea77b29e8e133f5c92d05ed79d7c0f3 Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/2133 Tested-by: jenkins Reviewed-by: Paul
Fertser <fercerpav@gmail.com>
2014-05-09 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : swd: Fix park bit polarity according to ADIv5.1 Supplement Change-Id: I27293defd3f3c3bf37c9662f88689e85ba593d86 Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/2131 Tested-by: jenkins Reviewed-by: Paul
Fertser <fercerpav@gmail.com>
2014-06-18 Andrey Smirnov <andrew.smirnov@gmail.com>
* : adi_v5_cmsis_dap.c: Simplify debugging output Name of the function is already a part of the LOG_DEBUG macro, so
there's no need to include it in the string itself. Change-Id: I18c3d5b746e9106d55104e490ccf5bc5e85cc380 Signed-off-by:
Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Andreas
Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/2138 Tested-by: jenkins
2014-06-18 Andrey Smirnov <andrew.smirnov@gmail.com>
* : adi_v5_cmisis_dap: Separate ABORT from clearing sticky errors We don't need to do full blown AP ABORT in case of CMSIS-DAP errors,
and the code that was in place was not doing that(issuing AP ABORT)
anyway. Change-Id: Ide83b1f8875d725da6cb0d53aae8229f8c6316b3 Signed-off-by:
Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Andreas
Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/2112 Tested-by: jenkins Reviewed-by: Andrey
Yurovsky <yurovsky@gmail.com>
2014-03-01 Paul Fertser <fercerpav@gmail.com>
* : tcl: introduce using_(jtag|swd|hla) helpers and use them in
reset handler Barely tested with plain SWD transport. Change-Id: I48b59136bf4294ffed737dba01f1b30ef83aa86b Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2003 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com>
2014-05-10 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : adi_v5_swd: Separate sticky error clearing from AP abort Swd_queue_ap_abort should set DAPABORT, not only clear sticky
errors. However, DAPABORT should not be set as soon as there is a
single FAULT/WAIT response. It's an "emergency only" operations for
use only when the AP have stalled the transfer for a long time. So
these need to be separate functions. Change-Id: I37618447884faad54d846c2b07fa668ad505919d Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/1956 Tested-by: jenkins Reviewed-by: Paul
Fertser <fercerpav@gmail.com>
2014-02-16 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : adi_v5_swd: Read RDBUFF once after a sequence of AP reads Increases performance by a factor of two for long reads. Change-Id: I81a7a83835058560c6a53a43c3cc991100f01766 Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/1954 Tested-by: jenkins Reviewed-by: Paul
Fertser <fercerpav@gmail.com>
2014-02-14 Fatih Aşıcı <fatih.asici@gmail.com>
* : adi_v5_swd: Improve SWD support Fix bug in parity calculation macro. Cache and update the selected DP bank when necessary. Add aborts when the Ack code signals a failure (we should really
only clear the sticky bits, but this will do for now). Change-Id: I38a4da136ba1d9e989b33c1875a80c0b1b2be874 Signed-off-by:
Fatih Aşıcı <fatih.asici@gmail.com> Signed-off-by: Andreas
Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/1950 Tested-by: jenkins
2014-06-12 Paul Fertser <fercerpav@gmail.com>
* : jtag/drivers/jlink: better diagnostics for RCLK problems The JLink protocol description doesn't really specify it for
JTAG-level commands but the real life evidence is that 0x01 error
code means "Adaptive clocking timeout" as it does for e.g.
WRITE_MEM_ARM79. Change-Id: I4e3b568742814271919f92d202713968c8fcccfb Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2169 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2014-06-04 Paul Fertser <fercerpav@gmail.com>
* : tcl/target/fm3.cfg: use a CHIPNAME known by the flash driver fm3 flash driver needs to know which chip variant is used. This fixes "unknown fm3 variant: mb9bf500.cpu" error if the config
is used as is. Change-Id: I500fcfb413f23ee246678cec5bd19d14139a28e2 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2160 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2014-05-30 Franck Jullien <franck.jullien@gmail.com>
* : openrisc: add support for JTAG Serial Port Change-Id: I623a8c74bcca2edb5f996b69c02d73a6f67b7d34 Signed-off-by:
Franck Jullien <franck.jullien@gmail.com> Reviewed-on:
http://openocd.zylin.com/2162 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2014-06-04 Paul Fertser <fercerpav@gmail.com>
* : flash/nor/tcl.c: fix formatting in "rejected" error message The error message (with the usage field unpopulated) looks like
this, obviously missing at least a space before Usage: Error: 'fm3' driver rejected flash bank at 0x00000000Usage (null) Change-Id: I2a625676e784d02942823f972a201f7f4f810c68 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2161 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2014-03-21 Tom Rini <trini@ti.com>
* : tcl/target/am335x.cfg: Drop gdb-attach stanza This isn't needed nor a recommended practice now, was a simple
copy/paste from amdm37x.cfg anyhow. Change-Id: I064226dc859d7563cfad945b577279fc37448645 Signed-off-by:
Tom Rini <trini@ti.com> Reviewed-on: http://openocd.zylin.com/2068
Tested-by: jenkins Reviewed-by: Paul Fertser <fercerpav@gmail.com>
2014-05-06 Seth LaForge <sethml@google.com>
* : cortex_a: fix lockup when writing to high address On a processor with caches, when you write data to memory OpenOCD
invalidates the cache lines affected. If you write to an address
within 64 bytes of UINT32_MAX, then the for loop control variable
wrapped around resulting in an infinite loop. Change control
variable to be an offset from the address involved. We should never
be asked to write 2^32 bytes, so wraparound should not be a problem. Change-Id: Ibfe654113eff71684862ff651e7a1cd05ccc6760 Signed-off-by:
Seth LaForge <sethml@google.com> Reviewed-on:
http://openocd.zylin.com/2126 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2014-06-16 Nemui Trinomius <nemuisan_kawausogasuki@live.jp>
* : stm32f1x: add STM32F33x support. Added STM32F33x series to flash driver. Tested on NUCLEO-F334R8
board(STM32F334R8T6). Change-Id: I2fe70d40eb7613a7a3cfa63d25fa83f7bc055fb4 Signed-off-by:
Nemui Trinomius <nemuisan_kawausogasuki@live.jp> Reviewed-on:
http://openocd.zylin.com/2174 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2014-05-29 Marco Cruz <marco.caratuva@gmail.com>
* : tcl/board: add Atmel SAM4E-EK Change-Id: I07d7e0528ed4e88b070ba4e7598a193ec8e9e37d Signed-off-by:
Marco Cruz <marco.caratuva@gmail.com> Reviewed-on:
http://openocd.zylin.com/2158 Tested-by: jenkins Reviewed-by: Paul
Fertser <fercerpav@gmail.com> Reviewed-by: Alexandre Pereira da
Silva <aletes.xgr@gmail.com> Reviewed-by: Andreas Fritiofson
<andreas.fritiofson@gmail.com>
2014-05-17 Paul Fertser <fercerpav@gmail.com>
* : README.OSX: mention Gentoo Prefix and clarify other options Change-Id: I431bfb9acf7dd6ad61b9e8f5c20568be22e9f39d Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2146 Tested-by: jenkins Reviewed-by:
Xiaofan <xiaofanc@gmail.com> Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2014-04-23 Paul Fertser <fercerpav@gmail.com>
* : tcl/target/kl25.cfg: add maximum speed specification Maximum frequency wasn't tested on hardware but the docs seem to be
quite explicit and do not mention any restrictions for that. Change-Id: Idcf58df5358d06525e683f07c76eedad8f0b292d Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2120 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com>
2014-05-29 Paul Fertser <fercerpav@gmail.com>
* : jtag/drivers/osbdm: downgrade init message severity, fix wording Change-Id: Iacf874b0fe9fbf840e82e6b63f1c97031f4720de Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2156 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com>
2014-03-29 Cosmin Gorgovan <cosmin@linux-geek.org>
* : Flash/LPC2000: Add support for LPC11(x)xx, LPC13xx LPC11(x)xx and LPC13xx devices are mostly compatible with the
lpc1700 variant of the LPC2000 driver, but use a fixed flash sector
size of 4KB. Change-Id: I033515f4ff6bc61d3b9babd27096f78c99cea927 Signed-off-by:
Cosmin Gorgovan <cosmin@linux-geek.org> Reviewed-on:
http://openocd.zylin.com/2071 Tested-by: jenkins Reviewed-by: Paul
Fertser <fercerpav@gmail.com>
2014-04-06 Alex Ray <a@machinaut.com>
* : Disable multiprocessor-id read on ARMv7-R cores ARMv7-R cores are largely uniprocessor-configured, and when they are
multiprocessor-configured the format of the MPIDR register isn't
compatible with ARMv7-A cores. Change-Id: I024ec514496fbab5075c6fb34b6acd870e68e1fc Signed-off-by:
Alex Ray <a@machinaut.com> Reviewed-on:
http://openocd.zylin.com/2096 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com>
2014-05-23 Paul Fertser <fercerpav@gmail.com>
* : jtag/drivers/stlink: allow to reconnect seamlessly after polling
failure If the communication with the target was failing (either because of
an intermittent connection or the target was rebooted), this is
needed to reestablish operational state. Reported-by: Tim Sander <tim@krieglstein.org> Tested-by: Tim Sander
<tim@krieglstein.org> Change-Id:
I91ea2e2b2b5ef8eb27dfe9bae95ef2a919f67e4e Signed-off-by: Paul
Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2152 Tested-by: jenkins Reviewed-by: Tim
Sander <tim@krieglstein.org> Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2014-04-03 Andrey Smirnov <andrew.smirnov@gmail.com>
* : adi_v5_cmsis_dap: Fix logging order of appearance Move logging for cmsis_dap_queue_ap_read/write to happen after a
call to cmsis_dap_ap_q_bankselect so that that SWD operation would
appear in the log in the same sequence they happen on the bus. Change-Id: Ic046bc753e661da7924b019c9100d6932fb686bf Signed-off-by:
Andrey Smirnov <andrew.smirnov@gmail.com> Reviewed-on:
http://openocd.zylin.com/2087 Reviewed-by: Andreas Fritiofson
<andreas.fritiofson@gmail.com> Tested-by: jenkins
2014-04-03 Andrey Smirnov <andrew.smirnov@gmail.com>
* : arm_adi_v5: Add convenience "atomic"" function for DP reads Add convenience "atomic"" function dap_dp_read_atomic_u32() Change-Id: Ic9ebb58959d2f14bbf03be42a26b0fe58ecfeddb Signed-off-by:
Andrey Smirnov <andrew.smirnov@gmail.com> Reviewed-on:
http://openocd.zylin.com/2085 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com>
2014-05-23 Paul Fertser <fercerpav@gmail.com>
* : flash/nor/stm32f1x: add support for F04x parts Ref. RM0091 Rev.6. Change-Id: I13bcdb1741edc59712e4fa1849fff38d17709fa7 Reported-by:
efuentes@irc.freenode.net Signed-off-by: Paul Fertser
<fercerpav@gmail.com> Reviewed-on: http://openocd.zylin.com/2150
Tested-by: jenkins Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2014-05-12 Paul Fertser <fercerpav@gmail.com>
* : target/mips32_pracc: fix C99 format specifiers Warnings exposed by arm-none-eabi build. Change-Id: Icdaf168d7aaa1a62bdfd41a64e43ef94816d3721 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2140 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-12-19 Aurelien Jacobs <aurel@gnuage.org>
* : lpcspifi: setup a valid stack pointer before calling ROM code
using stack The spifi_init_code blob is calling the spifi_init() function from
the ROM. This ROM function is making use of the stack. So if the
stack pointer is invalid, trying to execute this code leads to a
double fault and the target_run_algorithm() call return with an
error. This patch simply ensure that the stack pointer is properly
setup before calling the spifi_init() ROM function. Change-Id: I42a2163cfc2c6dfe5ada97ae8eb2bb6d2e283ff7 Signed-off-by:
Aurelien Jacobs <aurel@gnuage.org> Reviewed-on:
http://openocd.zylin.com/1836 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com>
2014-03-08 Andrey Smirnov <andrew.smirnov@gmail.com>
* : kinetis: Revise CPU un-securing code Old version of the code had several problems, among them are: * Located in a generic ADI source file instead of some Kinetis specific location * Incorrect MCU detection code that would read generic ARM ID registers * Presence of SRST line was mandatory * There didn't seem to be any place where after SRST line assertion it would be de-asserted. * Reset was asserted after waiting for "Flash Controller Ready" bit to be set, which contradicts official programming guide AN4835 * Mass erase algorithm implemented by that code was very strange: ** After mass erase was initiated instead of just polling for the state of "Mass Erase Acknowledged" bit the code would
repeatedly initiate mass erase AND poll the state of the "Mass
Erase Acknowledged" ** Instead of just polling for the state of "Flash Mass Erase in Progress"(bit 0 in Control register) to wait for the end of
the mass erase operation the code would: write 0 to Control register, read out Status register ignoring the result and
then read Control register again and see if it is zero. * dap_syssec_kinetis_mdmap assumed that previously selected(before it was called) AP was 0. This commit moves all of the code to kinetis flash driver and
introduces three new commands: o "kinetis mdm check_security" -- the intent of that function is to
be used as 'examine-end' hook for any Kinetis target that has that
kind of JTAG/SWD security mechanism. o "kinetis mdm mass_erase"" -- This function removes secure status
from MCU be performing special version of flash mass erase. o "kinetis mdm test_securing" -- Function that allows to test
securing fucntionality. All it does is erase the page with flash
security settings thus making MCU 'secured'. New version of the code implements the algorithms specified in
AN4835 "Production Flash Programming Best Practices for Kinetis K-
and L-series MCUs", specifically sections 4.1.1 and 4.2.1. It also
adds KL26 MCU to the list of devices for which this security check
is performed. Implementing that algorithm also allowed to simplify
mass command in kinetis driver, since we no longer need to write
security bytes. The result that the old version of mass erase code
can now be acheived using 'kinetis mdm mass_erase' Tested on accidentally locked FRDM-KL26Z with KL26 Kinetis MCU. Change-Id: Ic085195edfd963dda9d3d4d8acd1e40cc366b16b Signed-off-by:
Andrey Smrinov <andrew.smirnov@gmail.com> Reviewed-on:
http://openocd.zylin.com/2034 Tested-by: jenkins Reviewed-by: Paul
Fertser <fercerpav@gmail.com> Reviewed-by: Andreas Fritiofson
<andreas.fritiofson@gmail.com>
2013-12-01 Salvador Arroyo <sarroyofdez@yahoo.es>
* : mips32: cleanups in legacy pracc code This is the first patch
intended to make a more precise pracc check when running in legacy
mode (code executed by mips32_pracc_exec()). It only makes some
cleanups, mostly due to unnecessary code. With the last cache
optimizations for processor access (pa for short) all the pracc
functions generate the code following some rules that make pa more
easily to check: There are no load instructions from dmseg. All the
read pas are instruction fetches. PARAM_IN related stuff is not
needed. Registers are restored either from COP0 DeSave or from
ejtag info fields. PRACC_STACK related stuff is not needed any more. The code starts execution at PRACC_TEXT and there are no branch or
jump instruction in the code, apart from the last jump to
PRACC_TEXT. The fetch address is ever known. For every store instruction to dmseg the function code sets the address of the write/store pa. The address of every store pa is known. Current code ends
execution when reading a second pass through PRACC_TEXT. This
approach has same inconveniences: If the code starts in the delay
slot of a jump it makes a jump to PRACC_TEXT after executing the
first instruction. A second pass through PRACC_TEXt is read and the
function exits without any warning. This seems to occur sometimes
when a 24kc core is halted in the delay slot of a branch. If a debug mode exception is triggered during the execution of a function the core restarts execution at PRACC_TEXT. Again the
function exits without any warning. If for whatever reason the core starts fetching at an unexpected address the code now sends a jump instruction to PRACC_TEXT, but
due to the delay slot the core continues fetching at whatever
address + 4 and a second jump instruction will be send for
execution. The result of a jump instruction in the delay slot of
another jump is UNPREDICTABLE. It may work as expected (ar7241), or
let the core in the delay slot of a jump to PRACC_TEXT for example.
This means the function called next may also fail (pic32mx). Change-Id: I9516a5146ee9c8c694d741331edc7daec9bde4e3 Signed-off-by:
Salvador Arroyo <sarroyofdez@yahoo.es> Reviewed-on:
http://openocd.zylin.com/1825 Tested-by: jenkins Reviewed-by:
Freddie Chopin <freddie.chopin@gmail.com>
2013-08-24 Salvador Arroyo <sarroyofdez@yahoo.es>
* : mips: load fast data transfer handler code with
mips32_pracc_write_mem() Currently the code is loaded calling
mips32_pracc_write_mem_generic(). Cache synchronization is not
performed. If configured as write back cache there is no chance to
execute the handler. If configured as write through cache and the
cache lines written to are not cache resident (I-side cache miss)
may work. The patch makes possible to execute the handler in a
cached active memory segment (mainly from KSEG0), but nothing else.
The data is still loaded without performing cache synchronization,
code loaded may not be executable. Performance may not be faster.
At start, for example, the code resides in main memory, not in
cache, and the core must transfer code from memory. We can really
modify the code to force a wait for the first transfer like we do
with start and end addresses, making sure the code is cache resident
for the rest of the queued transfers. This can also may happen if
we execute code (greater than the I cache size) and the handler code
is evicted from the cache. Code tested on ar7241. Change-Id: Iffdb4dae108b872fef0e7bacc5ea99649cdc1630 Signed-off-by:
Salvador Arroyo <sarroyofdez@yahoo.es> Reviewed-on:
http://openocd.zylin.com/1564 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-by:
Freddie Chopin <freddie.chopin@gmail.com>
2014-01-18 Salvador Arroyo <sarroyofdez@yahoo.es>
* : mips32: optimized cache code for pracc access Follows the the same rules of optimization used by all pracc
functions. Solves some bugs in previous code and adds support for
write through caches. Change-Id: If88c6738ca8c8197f327f22b766120a24f71b567 Signed-off-by:
Salvador Arroyo <sarroyofdez@yahoo.es> Reviewed-on:
http://openocd.zylin.com/1557 Tested-by: jenkins Reviewed-by:
Freddie Chopin <freddie.chopin@gmail.com>
2014-05-08 Paul Fertser <fercerpav@gmail.com>
* : README.OSX: recommend XCode 5 as that's the current version Using current "Command Line Tools" with XCode 4 is known to provoke
issues (the build "hangs"), see e.g.
http://stackoverflow.com/questions/18667916/xcrun-lipo-freezes-with-os-x-mavericks-and-xcode-4-xThis fixes https://sourceforge.net/p/openocd/tickets/70/ . Change-Id: I511b347b9388e0e3f1d136b566915021c4b5fbde Reported-by:
n321203 <n321203@users.sf.net> Signed-off-by: Paul Fertser
<fercerpav@gmail.com> Reviewed-on: http://openocd.zylin.com/2128
Reviewed-by: Xiaofan <xiaofanc@gmail.com> Tested-by: jenkins
Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
2013-12-03 Kamal Dasu <kdasu.kdev@gmail.com>
* : svf: Fix debug and error messages that print hex buffer Added SVF_BUF_LOG macro to properly print the hex buffer of parsed
string for SIR, SDR, TDI, TDO and MASK. The original debug and error
logs with respect to printing real values were misleading and also
had endianess issues. All the bits are printed now instead of just
u32 values. Change-Id: Ie89902403bdb61ff458418446c2ca1253ea2a63f Signed-off-by:
Kamal Dasu <kdasu.kdev@gmail.com> Reviewed-on:
http://openocd.zylin.com/1964 Reviewed-by: Andreas Fritiofson
<andreas.fritiofson@gmail.com> Tested-by: jenkins
2014-03-20 Andrey Smirnov <andrew.smirnov@gmail.com>
* : generalplus: Add configuration file for General Plus GP326XXXA
series Add configuration file for General Plus GP326XXXA series. Tested on
GP326833A on GPC-1737B board. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Change-Id:
I1ad0e22598b01317bbc823870a7a262e9192c595 Reviewed-on:
http://openocd.zylin.com/2058 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2014-04-28 Paul Fertser <fercerpav@gmail.com>
* : Fix some C99 format specifiers As exposed by arm-none-eabi build, fix the wrong modifiers. Change-Id: Ia6ce7c5c1d40e95059525c3e5d81b752df2fea7c Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2122 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2014-04-27 Paul Fertser <fercerpav@gmail.com>
* : Restore normal development cycle Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2014-04-22 Spencer Oliver <spen@spen-soft.co.uk>
* : nrf51: remove dereference of null pointer found by clang 3.4. Change-Id: Id499b546f65acd7a719498bc97e33b21d1ba565a Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/2119 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-by:
Andrey Smirnov <andrew.smirnov@gmail.com>
2014-04-15 Paul Fertser <fercerpav@gmail.com>
* : Restore -dev suffix Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2014-04-14 Paul Fertser <fercerpav@gmail.com>
* : NEWS: minor fixes for rc2 Change-Id: Iba04baae4f3278db8b36283574a82c077d28bb4a Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2113 Tested-by: jenkins
2014-04-01 Seth LaForge <sethml@google.com>
* : cortex_a: fix endiannes issues on TI TMS570 The TI TMS470 and TMS570 series of processors are BE-32 processors,
despite BE-32 not being supported by ARM in the Cortex-R4 core. TI
hacked in BE-32 support, which requires odd swizzling in OpenOCD to
make memory reads and writes function correctly. In particular,
without this change, OpenOCD word reads and writes had the bytes
reversed, and halfword and byte packed reads were reading garbage.
In my testing, this change fixes these problems. Change-Id: I21dd30f4b9003f20fcc85f674ab833407bb61f74 Signed-off-by:
Seth LaForge <sethml@google.com> Reviewed-on:
http://openocd.zylin.com/2064 Tested-by: jenkins Reviewed-by: Paul
Fertser <fercerpav@gmail.com> Reviewed-by: Andreas Fritiofson
<andreas.fritiofson@gmail.com>
2014-04-12 Paul Fertser <fercerpav@gmail.com>
* : mips32, dsp563xx: fix segfault on Gdb attach Since c6216201b249e6a97fcc085e413e3d34e0de6fb7 gdb target
description generation support is enabled by default and it counts
on checking "feature" pointer in reg_list. Both mips32 and dsp563xx
neither used calloc nor explicitly set feature (as it was a newly
introduced struct field). This patch changes all targets to use calloc for consistency. Change-Id: I9eceadef8b04aacb108e24ae23cb51ca3009586f Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2102 Tested-by: jenkins Reviewed-by:
Salvador Arroyo <sarroyofdez@yahoo.es> Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2014-04-06 Paul Fertser <fercerpav@gmail.com>
* : jtag/drivers/remote_bitbang: use sizeof to determine maximum
unix socket path length Different *nix systems use different constants, so sizeof should be
used instead. This fixes the build on OS X (as sun_path length is
hardcoded to 104 on Darwin). Change-Id: I1df611383dedcfc6d153ec59b453a895c7d84e94 Reported-by:
Xiaofan Chen <xiaofanc@gmail.com> Signed-off-by: Paul Fertser
<fercerpav@gmail.com> Reviewed-on: http://openocd.zylin.com/2095
Tested-by: jenkins Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk> Reviewed-by: Xiaofan <xiaofanc@gmail.com>
2014-04-06 Lee Bowyer <lee@sodnpoo.com>
* : tcl: bcm6348 target config, BT HomeHub v1 board config Also add the board to the firmware recovery script. Change-Id: I4f9c895dae171df7249e3b1c0563b288518b9fe0 Signed-off-by:
Lee Bowyer <lee@sodnpoo.com> Signed-off-by: Paul Fertser
<fercerpav@gmail.com> Reviewed-on: http://openocd.zylin.com/2097
Tested-by: jenkins Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2014-04-01 Paul Fertser <fercerpav@gmail.com>
* : openocd.rules: match CMSIS DAP devices by product string Since the standard requires to have "CMSIS-DAP" somewhere in product
string, use that to automatically match all the compliant adapters. Change-Id: I1e2ac088333a7d69a136af825248914339debdd8 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2082 Tested-by: jenkins Reviewed-by: Jörg
Wunsch <openocd@uriah.heep.sax.de> Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2014-04-07 Paul Fertser <fercerpav@gmail.com>
* : target/cortex_a: check gdb_service before dereferencing in
update_halt_gdb If gdb was disconnected by the moment the target entered halted
state, update_halt_gdb would segfault. Change-Id: I67477e9199c1df097be83a49e38602f975c083f5 Reported-by:
Younes REGAIEG <younes.regaieg@imag.fr> Signed-off-by: Paul Fertser
<fercerpav@gmail.com> Reviewed-on: http://openocd.zylin.com/2098
Tested-by: jenkins Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2014-03-30 Paul Fertser <fercerpav@gmail.com>
* : Makefile.am: fix build for libftdi1, pass CFLAGS where
appropriate Change-Id: I9d8afa6ae32fc01e69ec434b5bc9d71524d386a2 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2079 Tested-by: jenkins Reviewed-by:
Freddie Chopin <freddie.chopin@gmail.com> Reviewed-by: Xiaofan
<xiaofanc@gmail.com>
2014-03-30 Paul Fertser <fercerpav@gmail.com>
* : flash/nor/at91sam3: remove sam3_page_write_opcodes Apparently this helper was never actually used, and current clang
produces an unused const variable warning, so it's breaking the
build. Change-Id: Ib088bef5e9c0a48942c1d417d46f738469ee7e28 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2076 Tested-by: jenkins Reviewed-by:
Xiaofan <xiaofanc@gmail.com>
2014-03-29 Paul Fertser <fercerpav@gmail.com>
* : The openocd-0.8.0-rc1 release candidate Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2014-03-29 Paul Fertser <fercerpav@gmail.com>
* : Makefile.am: fix adding contrib directory for dist With extra / the directory was getting added as a subdirectory of
itself. Change-Id: I5a3d5635f3c949f39d88b34a2ddab8244643f560 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2070 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2014-02-10 Andrey Smirnov <andrew.smirnov@gmail.com>
* : at91smad: Fixes to 'samd_protect' Some fixes to 'samd_protect' including: - Fix a bug in which the value of 'set' parameter passed into
the function was ignored so it was impossible to remove flash protection once it was set. - Check the protection status of the sector via 'is_protected' field of the corresponding 'flash_sector' structure to see if any actual HW manipulations needs to be done. - Change the way the errors during protection activation are handled. Now even in the case of error in the middle of protecting a number of sectors the subroutine would still
update the state of the sector protection in sectors array so
as to avoid cases where openocd thinks that the sector is not
protected while it actually is. Change-Id: I4cc6445a98ec13bdd94c89f0711c17840738a215 Signed-off-by:
Andrey Smirnov <andrew.smirnov@gmail.com> Reviewed-on:
http://openocd.zylin.com/2027 Tested-by: jenkins Reviewed-by: Andrey
Yurovsky <yurovsky@gmail.com> Reviewed-by: Paul Fertser
<fercerpav@gmail.com>
2014-02-08 Andrey Smirnov <andrew.smirnov@gmail.com>
* : at91samd: Bail early if trying to write to protected sector Bail early if trying to write to protected sector also mark the
sector we are writing to as dirty. Change-Id: I892f83461792e1cc2dcccade7aa65717831a6805 Signed-off-by:
Andrey Smirnov <andrew.smirnov@gmail.com> Reviewed-on:
http://openocd.zylin.com/2025 Tested-by: jenkins Reviewed-by: Paul
Fertser <fercerpav@gmail.com>
2014-03-22 Paul Fertser <fercerpav@gmail.com>
* : tcl: introduce init_target_events and use it for gdb flashing
events This introduces a new global Tcl procedure that is run just after
init_targets and before init_boards. Its default behaviour is to assign gdb-flash-erase-start and
gdb-flash-write-end to reasonable defaults. The rationale for doing "reset init" before gdb erases and flashes
memory is that all flash drivers are written in assumption that they
can safely be used only after chip reset (plus chip-specific
configuration in the init handler if any). The need to use "reset
halt" after flashing is because a user expects running firmware
after loading to be the same as running it from power-on-reset. Change-Id: I9ddc4047611904ca4ca779b73376d2739611948a Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2062 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2014-03-28 Spencer Oliver <spen@spen-soft.co.uk>
* : target: remove memory leaks Found by clang. Change-Id: Ifb25dca52f8d9e8e46a35f0947a7239f26eb3757 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/2067 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-by: Jörg
Wunsch <openocd@uriah.heep.sax.de>
2014-03-28 Spencer Oliver <spen@spen-soft.co.uk>
* : target: remove handle_profile_command memory leak COMMAND_PARSE_NUMBER may return, thus any memory allocated may not
be freed, simple reorder fixes the issue. Change-Id: I0ce444a5b032f5c49b6d33a03a8c0b71cad49c8c Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/2065 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com>
2014-01-27 Paul Fertser <fercerpav@gmail.com>
* : Add all of contrib/ to dist, not just loaders Change-Id: I467e21de6805ea9f23ae483317d602e9d81e1148 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/1909 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2014-01-27 Paul Fertser <fercerpav@gmail.com>
* : Add rlink speed table sources and everything related to dist GPL requires providing sources for any derived work. I do not see
any reason to not include the rlink stuff into release tarballs. Change-Id: I686ab88994030312aca5bdfe731a72f10803b5c3 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/1907 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2014-01-27 Paul Fertser <fercerpav@gmail.com>
* : Add previous NEWS* files to dist Change-Id: I2f814e01c7b5aa9cd76e8e63c9c4a1ebbf3dd2ea Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/1905 Tested-by: jenkins Reviewed-by: Luca
Bruno <lucab@debian.org> Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2014-01-27 Paul Fertser <fercerpav@gmail.com>
* : doc: add "manual/" directory in its entirety to dist Change-Id: I750c2938ab207012a6488bf34f55d784e5e26b6e Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/1903 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2014-03-17 Spencer Oliver <spen@spen-soft.co.uk>
* : rtos: fix xml register support regression Seems that when xml register support was added the rtos code was not
updated to match. This then caused gdb to return the following error
when rtos support was enabled - "Remote 'g' packet reply is too
long". Change-Id: I7429c4b1efed120e2e690678d55f3d6e87ee1ff1 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/2054 Tested-by: jenkins Reviewed-by: Paul
Fertser <fercerpav@gmail.com>
2014-03-17 Andrey Smirnov <andrew.smirnov@gmail.com>
* : nrf51: Remove unnecessary explicit type casting Change-Id: I523e81645434760649ea2c00e6f80c2b08d08d94 Signed-off-by:
Andrey Smirnov <andrew.smirnov@gmail.com> Reviewed-on:
http://openocd.zylin.com/2055 Tested-by: jenkins Reviewed-by: Paul
Fertser <fercerpav@gmail.com>
2014-02-28 Andrey Smirnov <andrew.smirnov@gmail.com>
* : nrf51: Add a known devices table and simple chip type detection
code Unfortunately due to my oversight, the original version of the
nrf51_probe function contained useless code that read the contents
of DEVICEID[0] an DEVICEID[1] registers and did nothing about
it(those registers had nothing to do with the device type
information anyway). This commit fixes that code by changing its behavior to read the
HWID field of CONFIGID register and looking up the corresponding
device information in the know devices table. This information is
useful when choosing the versions of SDK and SoftDevice for the chip
using "nRF51822 compatibility matrix". Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Change-Id:
Ibd80b35460df4278e86e0c2500b7dcc876eec10c Reviewed-on:
http://openocd.zylin.com/2012 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com>
2014-03-19 Andrey Smirnov <andrew.smirnov@gmail.com>
* : armv7m: Do not ignore 'value' parameter in armv7m_write_core_reg Ignoring the value parameter in that function makes its code rather
misleading. Also the only caller of it, armv7m_restore_context
already does the whole "buf_get_u32" conversion business, so using
'value' also removes the waste of doing the conversion twice. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Change-Id:
I515979c314d9b59ee1065c55b5bb5747c7e93f01 Reviewed-on:
http://openocd.zylin.com/2057 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2014-02-12 Angus Gratton <gus@projectgus.com>
* : AT91SAM4L: Fix bug when writing to flash at a non-zero offset,
add debug output for flash page writes The offset wasn't being considered in the "full page" write
codepath, so any writes at an offset were actually written out
starting from page 0. Change-Id: I5e70a1f35f144b3edd1ce6d9df9af9b5da6cf194 Signed-off-by:
Angus Gratton <gus@projectgus.com> Reviewed-on:
http://openocd.zylin.com/1965 Tested-by: jenkins Reviewed-by: Andrey
Yurovsky <yurovsky@gmail.com> Reviewed-by: Paul Fertser
<fercerpav@gmail.com>
2014-03-13 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : Support for sam3n0a sam3n0b sam3n00a sam3n00b Change-Id: I70a04f5f9b0b20d42a677ea8781130e44be758d3 Signed-off-by:
Stefan Arnold <sarnold@sh-sw.de> Signed-off-by: Andreas Fritiofson
<andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/2042 Tested-by: jenkins Reviewed-by: Stian
Skjelstad <stian@nixia.no> Reviewed-by: Paul Fertser
<fercerpav@gmail.com>
2014-02-28 Felipe Balbi <balbi@ti.com>
* : cfg: add TI am43xx devices This adds support for the am43xx SoC and the AM437x GP EVM and
AM438x ePOS EVM. Change-Id: I09cbb09072f38e0e08fdd520dedb6e67d45056be Signed-off-by:
Felipe Balbi <balbi@ti.com> Signed-off-by: Tom Rini <trini@ti.com>
Reviewed-on: http://openocd.zylin.com/2047 Tested-by: jenkins
Reviewed-by: Paul Fertser <fercerpav@gmail.com>
2014-01-27 Oleksij Rempel <linux@rempel-privat.de>
* : mips_ejtag.c: disable DMA for all platforms DMA seems to be broken in many ways. Don't trust it! Change-Id: I7e28608f299abdf78d02a967c62849b6b2ce5985 Signed-off-by:
Oleksij Rempel <linux@rempel-privat.de> Reviewed-on:
http://openocd.zylin.com/1936 Tested-by: jenkins Reviewed-by: Antony
Pavlov <antonynpavlov@gmail.com> Reviewed-by: Paul Fertser
<fercerpav@gmail.com>
2014-03-05 Jens Hoffmann <jehoffma@gmail.com>
* : cfg: Added st nucleo board configs. This patch adds board configs for Nucleo FXXX boards. Change-Id: I25bfd7d63f734bad710917efa67bc6096aa60ef8 Signed-off-by:
Jens Hoffmann <jehoffma@gmail.com> Reviewed-on:
http://openocd.zylin.com/2022 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2014-03-06 Paul Fertser <fercerpav@gmail.com>
* : tcl/interface/ftdi: add Digilent JTAG-SMT2 config Tested on ZedBoard by Tim Sander. Change-Id: I4316d9b4d36f01bbe91a46c78ea8bca22efb1a5a Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2029 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2014-03-14 Jrg Wunsch <openocd@uriah.heep.sax.de>
* : CMSIS-DAP: print a debug message when the USB product string
cannot be read As suggested by Stian Skjelstad in a comment in: http://openocd.zylin.com/#/c/2044/ if the USB product string cannot be read, provide a debug message so
users might get aware of a potential permission problem when looking
at the debug output. Fix style bug found by Jenkins. Change-Id: I6acb1c6261fec6f2bee80e4be513a5c5e29eff79 Signed-off-by:
Jörg Wunsch <openocd@uriah.heep.sax.de> Reviewed-on:
http://openocd.zylin.com/2048 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2014-03-14 Jrg Wunsch <openocd@uriah.heep.sax.de>
* : All Atmel-provided CMSIS-DAP devices use 512 byte packet size The existing CMSIS-DAP driver matches the USB VID/PID against 0x3eb
(Atmel VID) and 0x2111 (Atmel EDBG embedded CMSIS-DAP debugger), and
then bumps the packet size from its default of 64 to 512. However,
it turned out that *all* Atmel-provided CMSIS-DAP devices (EDBG with
PID 0x2111; JTAGICE3 with firmware version 3.x, PID 0x2140; new
Atmel-ICE [successor of JTAGICE3], PID 0x2141) require a 512-byte
packet size. Obviously, all run the same USB implementation inside
their custom microcontroller. Thus, it seems best to simply assume
that *all* Atmel CMSIS-DAP devices use this packet size, and don't
check the PID at all. This has also been filed as Trac bug #68: https://sourceforge.net/apps/trac/openocd/ticket/68 Change-Id: I942af93060fdf265fca3961841638caa6182f877 Signed-off-by:
Jörg Wunsch <openocd@uriah.heep.sax.de> Reviewed-on:
http://openocd.zylin.com/2045 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-by: Andrey Yurovsky
<yurovsky@gmail.com>
2014-03-09 Jens Hoffmann <jehoffma@gmail.com>
* : stm32f2x.c: Add STM32F401xE device id. Nucleo F401 board uses STM32F401RE chip with new device id and got
more flash than existing devices (512K). This patch adds new the
identifier to probe functions so flashing will now work. Change-Id: Ibe9c047c79244db0cfbb06610da9d84987b9f85a Signed-off-by:
Jens Hoffmann <jehoffma@gmail.com> Reviewed-on:
http://openocd.zylin.com/2037 Tested-by: jenkins Reviewed-by: Andrey
Yurovsky <yurovsky@gmail.com> Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2014-03-10 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : flash/kinetis: Fix bug in odd byte count padding Change-Id: Ic5cfd880f2b49e3a96c408cf868db622bfe698a1 Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/2039 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2014-03-11 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : target: Don't poll until the target is examined. The timer callback is started on target init, but it makes no sense
to poll until the target is fully setup. Change-Id: I118201e125e39be3d0a920e3ef9a3f68a2035f39 Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/2041 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2014-03-09 Paul Fertser <fercerpav@gmail.com>
* : tcl/board: add config for DP Bus Blaster reconfiguration Reported and tested by Gracana on IRC. Change-Id: If0524d2d627d566e8b5e1d00784dd7556f44b125 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/2036 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com>
2014-03-04 Bartosz Bielawski <bartosz.bielawski@gmail.com>
* : stlink_usb.c: add support for STLink V2-1 The new version of STLink (V2-1) has a different USB endpoint
layout. As the PID of the device also changed it's possible to
change EPs used by OpenOCD in runtime. The patch adds three new
fields to stlink_usb_handle_s and assigns right EP numbers in
stlink_usb_open(). Parts of the code inspired by and used with
consent of Jens Hoffmann. Change-Id: I93b69fb889f15317e9bf864905f435905db39745 Signed-off-by:
Bartosz Bielawski <bartosz.bielawski@gmail.com> Reviewed-on:
http://openocd.zylin.com/2019 Tested-by: jenkins Reviewed-by: Nemui
Trinomius <nemuisan_kawausogasuki@live.jp> Reviewed-by: Paul Fertser
<fercerpav@gmail.com> Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2014-03-03 Tom Rini <trini@ti.com>
* : interface/ftdi/xds100v2.cfg: Add another VID/PID, drop desc The XDS100v2 is often embedded in a number of platforms using the
VID/PID of 0x0403/0x6010 and a generic FTDI device description. Add
this VID/PID combination and remove the description line. Change-Id: I370e6199ac24f802426e9541e19ee38f18f1209a Signed-off-by:
Tom Rini <trini@ti.com> Reviewed-on: http://openocd.zylin.com/2016
Tested-by: jenkins Reviewed-by: Paul Fertser <fercerpav@gmail.com>
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
2014-02-28 Andrey Smirnov <andrew.smirnov@gmail.com>
* : nrf51: Fix format string bugs in nrf51_info Additional information string appended to the 'flash info' output
used incorrect offsets and was missing a couple of fields. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Change-Id:
If131be021295cab6adfca7da03c2f0fb8dca7d42 Reviewed-on:
http://openocd.zylin.com/2011 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-10-24 Kamal Dasu <kdasu.kdev@gmail.com>
* : cortex_a: Fix endianess issues in cortex_a8_*_apb_ab_memory Make the APB-AB memory read routines handle endianess order when
running on big endian host. cortex_a8_read_apb_ab_memory is also
called by cortex_a8_write_apb_ab_memory and was breaking both APB-AB
read and write functions. Also fixed bug in write function in
calculating the offset of end of buffer data. The change aslo fixes
the read issues with all combinations of aligned unaligned memory
access found by 'test_mem_access' cmd. Tested with target "test_mem_access 4000", also size 1-9, 'mdb/h/w'
'mwb/h/w' cmds and equivalent gdb 'x' 'set' cmds. Change-Id: Ia927c60c4837617f5342a9beb6fdab1f061855fe Signed-off-by:
Kamal Dasu <kdasu.kdev@gmail.com> Reviewed-on:
http://openocd.zylin.com/1781 Reviewed-by: Andreas Fritiofson
<andreas.fritiofson@gmail.com> Tested-by: jenkins
2013-07-22 Brad Riensche <brad.riensche@gmail.com>
* : target: "dap info" command cosmetic output changes This makes the listing easier to read, imho. The tab indentation
technique causes the base address to precess as the parser proceeds
through the subtables, and can easily wrap. Change-Id: Iea5e678255e6314a9d532e4b222a2572b5394390 Signed-off-by:
Brad Riensche <brad.riensche@gmail.com> Reviewed-on:
http://openocd.zylin.com/1518 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com>
2014-02-24 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : Rename and sort udev rules file Also add missing entries for JTAG-lock-pick Tiny 2, Xverve
Signalyzer LITE and default FTDI VID:PIDs. Change-Id: I41b4f15409642298d1cf134d1f8014dc8f003005 Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/1969 Tested-by: jenkins
2014-03-04 Spencer Oliver <spen@spen-soft.co.uk>
* : gdbserver: fix duplicate declaration commit da0d1e37 did not merge correctly, causing the build to fail. Change-Id: I3f525054bb38b7ee29bf27309bb2e6a5bb8329c7 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/2020 Tested-by: jenkins
2014-02-25 Jens Bauer <jens@gpio.dk>
* : CMSIS-DAP: Fix build errors on Mac OS X Rename the argument variable 'wait' to 'delay', as 'wait' conflicts
with an API function declared in system header
/usr/include/sys/wait.h on Mac OS X. Change-Id: I5742da6e5def6e5ec197e774c3844e4bf0424569 Signed-off-by:
Jens Bauer <jens@gpio.dk> Reviewed-on: http://openocd.zylin.com/1973
Tested-by: jenkins Reviewed-by: Andrey Yurovsky <yurovsky@gmail.com>
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
2014-02-14 Christian Eggers <ceggers@gmx.de>
* : Constify received GDB packet v2: - Split work into separate patches The received packet will not be altered in any of the processing
functions. Some it can be made "const". Change-Id: I7bb410224cf6daa74a6c494624176ccb9ae638ac Signed-off-by:
Christian Eggers <ceggers@gmx.de> Reviewed-on:
http://openocd.zylin.com/1919 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2014-02-03 Christian Eggers <ceggers@gmx.de>
* : Remove unneeded zero termination of received packet v2: removed curly braces around single statement if-block packet[] has already been zero terminated in gdb_input_inner() This
change is necessary in order to make packet[] "const". Change-Id: I978bbe52d151a63574db77fb747f596da256d377 Signed-off-by:
Christian Eggers <ceggers@gmx.de> Reviewed-on:
http://openocd.zylin.com/1922 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2014-02-01 Christian Eggers <ceggers@gmx.de>
* : RTOS: Unify wipe-out of thread list Each RTOS implementation uses it's own (similar) code to free the
thread list. There are some additional issues: <---> if (pointer != NULL) free(pointer); <---> This is not necessary, free(NULL) is perfectly
ok. <---> free(rtos->thread_details); rtos->thread_details = NULL;
rtos->thread_count = 0; <---> The 3rd line has been missing for all
RTOS but ChibiOs. There are paths in the code where
rtos->thread_count is never set to NULL, which can lead to null
pointer dereference of rtos->thread_details. Change-Id: I6f7045c3d4518b925cb80dd5c907a566536b34ad Signed-off-by:
Christian Eggers <ceggers@gmx.de> --- Changelog: v7: - rtos_wipe_threadlist() --> rtos_free_threadlist() - removed non related changes in gdb_server.c from this patch v3: - Removed world "topic" from first line of commit message v2: - typo: "whipe" --> "wipe" Reviewed-on:
http://openocd.zylin.com/1916 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2014-02-11 Nemui Trinomius <nemuisan_kawausogasuki@live.jp>
* : fm3: fix erase flash fail on using High Level Adapters. This fix can "erase flash" on using High Level Adapters by running
algorithm. Because fm3 flash commands must need true 16-bit memory
access, but High Level Adapters(ST-Link/TI-ICDI) can 8/32bit access
only. Tested on MB9BF618T and MB9AF112K with STLink/V2. Change-Id: I849a8a8e8ae2b3e77717de04f7522cf718c915d7 Signed-off-by:
Nemui Trinomius <nemuisan_kawausogasuki@live.jp> Reviewed-on:
http://openocd.zylin.com/1944 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2014-02-07 Andrey Smirnov <andrew.smirnov@gmail.com>
* : nrf51: Implement the support for Nordic's nRF51 devices Add support for Nordic's nRF51 chip series. Tested with nRF51822. Change-Id: Id70f6fd76888cc595a353aefb84d25c4cd325d7d Signed-off-by:
Andrey Smirnov <andrew.smirnov@gmail.com> Reviewed-on:
http://openocd.zylin.com/1945 Tested-by: jenkins Reviewed-by: Andrey
Yurovsky <yurovsky@gmail.com> Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2014-02-04 Paul Fertser <fercerpav@gmail.com>
* : tcl/drscan: handle invalid syntax with a conditional, not assert When "drscan" command is used improperly, such as in: drscan
stm32f1x.cpu -endstate drpause there're no fields to scan, and so
the assert leads to a segfault. This should be treated like any
other syntax error instead. Change-Id: Id1743f5d641038e1e3754c6f3097aabc5d1916b9 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/1927 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2014-02-15 Paul Fertser <fercerpav@gmail.com>
* : drivers/ftdi: warn the user if he tries to use undefined reset
signals It is really an error to try to use a reset_config that doesn't
match adapter's capabilities, however OpenOCD has no way to specify
them. Using wrong reset_config might lead to very confusing behaviour, so
I think LOG_ERROR is justified here. Change-Id: I1c6dcfa7c0d78829229a850189cad646b565dd66 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/1948 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2014-02-16 Fatih Aşıcı <fatih.asici@gmail.com>
* : cfg: Make stm32f4x usable with SWD transport Change-Id: Ib8f3b414ec3c31cf8a112e75efe003e2237c59bb Signed-off-by:
Fatih Aşıcı <fatih.asici@gmail.com> Signed-off-by: Andreas
Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/1951 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-by: Nemui Trinomius
<nemuisan_kawausogasuki@live.jp>
2014-01-30 Paul Fertser <fercerpav@gmail.com>
* : arm926ejs: fix write memory operations with caches enabled Perform proper ICache flush operations on memory writes. This should
fix inability to use software breakpoints for debugging with caches
enabled. This patch is only compile-time tested. Commit 1137eaedaf6498f3448cdedf6f93076d9b3fd58a fixed the same issue
for arm920t. Among all the arm7_9_common targets only arm926ejs
seems to be broken in the same way. Change-Id: I575306ac4319a69fc637b42f7c958f4595c5e81f Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/1912 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com>
2014-02-06 Pete Batard <pete@akeo.ie>
* : doc: update README.Windows with new Zadig download URL As the old SF repository indicates, newer downloads have been moved
to an alternate server, and 3 new releases of Zadig have already
occurred there. Change-Id: I8ff967fd834e9c8dd2cce9dcbbe07e03d2b33e4a Signed-off-by:
Pete Batard <pete@akeo.ie> Reviewed-on:
http://openocd.zylin.com/1940 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-by:
Xiaofan <xiaofanc@gmail.com>
2014-02-03 Kuldeep Singh Dhaka <kuldeepdhaka9@gmail.com>
* : nor/flash/stm32f1x: add stm32f07x support Added configuration to work with stm32f07x. Tested on
stm32f072discovery with libopencm3 stm32f0 blink example. Change-Id: I63cdc9bf1f28f5951d6b4faac871cfde331c9c78 Signed-off-by:
Kuldeep Singh Dhaka <kuldeepdhaka9@gmail.com> Reviewed-on:
http://openocd.zylin.com/1921 Tested-by: jenkins Reviewed-by: Paul
Fertser <fercerpav@gmail.com> Reviewed-by: Andreas Fritiofson
<andreas.fritiofson@gmail.com>
2014-01-22 Anton Kolesov <anton.kolesov@synopsys.com>
* : gdb_server: Fix confusing warning when entering noack mode Comment in gdb_server code mistakenly attributed constant warnings
about unexpected acknowledgement to the ACK packet sent by GDB when
establishing connection. However that is not the case, OpenOCD
gdb_server is handling this packet correctly without an warnings.
This warning instead was caused by the ACK packet which GDB sends
right after going into noack mode. Because OpenOCD gdb_server is
already in noack mode at this state, it emits warning about it. This
is a documented GDB behaviour
(https://sourceware.org/gdb/onlinedocs/gdb/Packet-Acknowledgment.html)so there is no reason to scare users with warnings in this case. This patch basically introduces two-level noack mode: after
receiving QStartNoAckMode gdb_server will set noack_mode to 1, then
it will receive this last ACK packet, but instead of printing a
warning, noack_mode will be increased to 2. Should there be any
other ACK packets after that, they will be properly reported by
warning. All other code that relies on noack_mode checks it for "!=
0", so there will be no difference if it is 1 or 2. Change-Id: I0e9c57fd93293bfe010390db2f3f161528b11d86 Signed-off-by:
Anton Kolesov <anton.kolesov@synopsys.com> Reviewed-on:
http://openocd.zylin.com/1895 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2014-01-17 Paul Fertser <fercerpav@gmail.com>
* : flash/nor/mdr.c: fix uninitialised variable warning Caught (actually, it's breaking the build) by clang 3.3. Change-Id: Ife6fabf8a57e6c90ab45aaaf75557c984ac6772c Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/1875 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2014-01-17 Paul Fertser <fercerpav@gmail.com>
* : target/nds32_disassembler: fix format specifiers warnings According to the standard every operation returns at least an
integer, so PRIu8 format specifier is not suitable for these values
as is. This breaks build on OS X (x86_64-apple-darwin13.0.0) with "Apple
LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)". Fix by adding appropriate casts. In fact there's plenty of room (and
I'd say necessity) for factoring out common code in there, but it's
too invasive for a non-maintainer. Change-Id: I7d2182eb1d2f86fa22c882fbbaa6cfadf1c3e8fc Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/1878 Tested-by: jenkins Reviewed-by:
Xiaofan <xiaofanc@gmail.com> Reviewed-by: Hsiangkai Wang
<hsiangkai@gmail.com> Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2014-01-17 Paul Fertser <fercerpav@gmail.com>
* : rtos: fix uninitialised variable warning Breaks build with clang 3.3. This "addr" variable is actually always
ignored by next_symbol() when cur_symbol is an empty string but
clang can't (and probably shouldn't) prove that automatically. Change-Id: Id030f1aa34b9d40b5fa20a422031511520e52669 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/1876 Tested-by: jenkins Reviewed-by:
Xiaofan <xiaofanc@gmail.com> Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2014-02-02 Paul Fertser <fercerpav@gmail.com>
* : interface/ftdi: add TUMPA Lite config TUMPA Lite is a cheap FT232H-based breakout board, without any
buffering. It also lacks series resistors so for some targets
(especially when not using ridiculously short wires) one needs to
add about 47 Ohms in series on every high-speed line. The SRST line is connected directly to the FT232H too. Real-life tested (including SRST and TRST). Change-Id: I5ed4f88d8d20384e9c52efe2ff0c290e2650d43e Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/1918 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2014-01-27 Spencer Oliver <spen@spen-soft.co.uk>
* : doc: update CMSIS-DAP info to match default driver behaviour By default the driver will now auto detect attached adapters, it
does not use an internal list any more. Update docs to match this. Change-Id: I62a9d243cd236a8cf54cbd9d088c4837a8df31bf Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/1902 Tested-by: jenkins Reviewed-by: Paul
Fertser <fercerpav@gmail.com>
2014-01-25 Antony Pavlov <antonynpavlov@gmail.com>
* : top .gitignore: ignore .dirstamp files Just after succesfull build you can see some untracked files in the
'git status' output: src/jtag/drivers/versaloon/.dirstamp src/jtag/drivers/versaloon/usbtoxxx/.dirstamp This commit fixes the problem. Change-Id: I1674eb4423e97c5f0a47f216981eaffdc351f784 Signed-off-by:
Antony Pavlov <antonynpavlov@gmail.com> Reviewed-on:
http://openocd.zylin.com/1898 Tested-by: jenkins Reviewed-by: Paul
Fertser <fercerpav@gmail.com>
2013-08-22 Luca BRUNO <lucab@debian.org>
* : Add GDB remote target description support for ARM4 This commit adds support for passing the ARM4 target description to
GDB when enabling gdb_target_description, in order to expose all
banked registers. Change-Id: Id618bc6226f00fe83397ea28888a84b64b09cafd Signed-off-by:
Luca BRUNO <lucab@debian.org> Reviewed-on:
http://openocd.zylin.com/1810 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2014-01-15 Andrey Yurovsky <yurovsky@gmail.com>
* : flash: samd: declare const data Make the chip information lookup tables const (thanks to Spencer
Oliver for pointing this out). Also fix spacing on one macro. No
functional changes. Change-Id: I053c4951c2626b8aa4541a79673b500394ef08e8 Signed-off-by:
Andrey Yurovsky <yurovsky@gmail.com> Reviewed-on:
http://openocd.zylin.com/1874 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2014-01-17 Paul Fertser <fercerpav@gmail.com>
* : Add CMSIS-DAP information to the READMEs. Change-Id: I8c87d559adf07b0f0702fe9d388f26bf046bcb8b Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/1880 Tested-by: jenkins Reviewed-by:
Xiaofan <xiaofanc@gmail.com> Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2013-11-07 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : Retire jtag_add_dr_out The out only version of jtag_add_dr_scan smells like a bogus
optimization that complicates the minidriver API for questionable
gain. The function was only used by four old ARM targets. Rewrite the
callers to use the generic function and remove all implementations. Change-Id: I13b643687ee8ed6bc9b6336e7096c34f40ea96af Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/1801 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2014-01-11 Spencer Oliver <spen@spen-soft.co.uk>
* : cfg: add Freescale FRDM-KL46Z Board Change-Id: Ib585728f13a380eeeb2ada095f3e1a1c2aaf44cb Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/1866 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com>
2014-01-13 Spencer Oliver <spen@spen-soft.co.uk>
* : cortexm: use Cortex-M rather than cortex-m3 for dwt registers Change-Id: I28e3a8c65ccc4a4e3ec94e41c846e6a263c165e8 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/1865 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com>
2014-01-13 Robert P. J. Day <rpjday@crashcourse.ca>
* : Grammatical cleanup to Tcl Scripting chapter of User's Guide Changes solely to the Tcl Scripting API chapter of the UG: * Some grammatical cleanup * Fix formatting issues (@example and @verbatim formatting) * Add references to missing OSes OpenBSD, NetBSD and eCos. Change-Id: I3ec1a192a0b1e0a207dceb76fd39008d01e287a5 Signed-off-by:
Robert P. J. Day <rpjday@crashcourse.ca> Reviewed-on:
http://openocd.zylin.com/1872 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-12-29 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : cortex_m: Avoid unnecessary saving and restoring of DCRDR This is used for the emulated DCC channel which is only maintained
as long as target->dbg_msg_enabled is set. Skip the saving and
restoring if not enabled to save one dap_run() per core register
access. Note that we could've probably queued all core register accesses in
the same transaction if the armv7 register framework hadn't required
synchronous register accesses. Change-Id: I4fe6d713261ee5db42422203eb63035fdcc48891 Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/1848 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-12-29 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : cortex_m: Fix possible endianness problem in emulated DCC
channel Change-Id: If7104464a8c65085f3ceac445e9c9be8446f2da9 Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/1846 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-12-27 Nemui Trinomius <nemuisan_kawausogasuki@live.jp>
* : lpc2000: fix LPC810 programming support IAP commands fail on programming LPC810 because it has only 1kByte
of SRAM. This patch is fixing cmd51_max_buffer suitable size for
LPC810,LPC811 and other LPC1000 series. Tested on a
LPC810,LPC812,LPC11u14,and LPC1114(DIP28). Change-Id: Iecec9fd963cb63bdff4a7bd3bbf4f8b1a7c60fbd Signed-off-by:
Nemui Trinomius <nemuisan_kawausogasuki@live.jp> Reviewed-on:
http://openocd.zylin.com/1843 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2014-01-11 Robert P. J. Day <rpjday@crashcourse.ca>
* : Remove obsolete tip referring to 2010 removal of TAP numbers. Remove a tip describing the discouraged use of TAP numbers, and how
these numbers would be removed by mid-2010. Change-Id: Iebe7e2e4a0f8e1f18a91d7935588dd9ced2b398d Signed-off-by:
Robert P. J. Day <rpjday@crashcourse.ca> Reviewed-on:
http://openocd.zylin.com/1862 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2014-01-09 Robert P. J. Day <rpjday@crashcourse.ca>
* : Some minor URL fixes and typo fixes, no functional changes. Change-Id: Ib262d9e6330c35d26868942b821de7b53e00b854 Signed-off-by:
Robert P. J. Day <rpjday@crashcourse.ca> Reviewed-on:
http://openocd.zylin.com/1859 Tested-by: jenkins Reviewed-by: Bill
Traynor <btraynor@gmail.com> Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2013-09-19 Andrey Yurovsky <yurovsky@gmail.com>
* : add support for Atmel SAM4L NOR Flash This adds a new NOR Flash driver, "at91sam4l", which supports the
built-in Flash on Atmel's low-power SAM4L family of Cortex M4 MCUs.
Parts and their geometry are detected automatically using the Chip
ID and lookup schemes described in document 42023E–SAM–07/2013. Tested on AT91SAM4LC4CA via the SAM4L XPlained Pro development kit. Change-Id: If73499dee92cc8ce231845244ea25c6984f6cecd Signed-off-by:
Andrey Yurovsky <yurovsky@gmail.com> Reviewed-on:
http://openocd.zylin.com/1639 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-08-06 Spencer Oliver <spen@spen-soft.co.uk>
* : cfg: add stm32 cmsis-dap compliant config Change-Id: I3cfb21fdcef830e22b03bf4b5d58993728cc7475 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/1543 Tested-by: jenkins
2014-01-08 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : command: Fix formatting for empty usage string Introduced by requirement in 54d6330b. Change-Id: If3dba057127b54b15ca7f364f37c6286d34f77e0 Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reported-by:
Robert P. J. Day <rpjday@crashcourse.ca> Reviewed-on:
http://openocd.zylin.com/1858 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-12-30 Paul Fertser <fercerpav@gmail.com>
* : tools: add firmware recovery helpers This adds a set of helper functions with the aim to make it possible
to flash mass-market devices without RTFMing altogether (i.e. to
obsolete GPL-violating proprietary tjtag and other similar
software). Real-life tested on an RT-N16 and WRT54GL. Change-Id: I197a9b28a5f386803f081057c4b4ebf2f9c447b1 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/1850 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-12-30 Paul Fertser <fercerpav@gmail.com>
* : tcl: add bcm47xx config and Asus RT-N16 board using it This adds the bcm47xx config with the special undocumented trick to
put it into standard EJTAG mode from the mystic "LV mode". The RAM setup is not done as it would require considerable efforts
without much practical gain. The only issue I noticed so far is that "reset" doesn't actually
reset the chip. Unfortunately, it's unclear how to make it work properly with SRST
as OpenOCD asserts it in MIPS-specific code so the device will enter
LV mode again but the LV tap is already disabled by that time, so
it's not possible to send the magic command again. Anyway, this config is more than enough to "recover" any RT-N16
provided the hardware is not damaged. Change-Id: I0894e339763e6d20d1c93341c597382b479d039b Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/1849 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2014-01-08 Robert P. J. Day <rpjday@crashcourse.ca>
* : Update URLs and names in amdm37x.cfg, no functional changes. * openocd.berlios.de -> openocd.sourceforge.net * Update link to AM/DM37x Technical Reference Manual (ver R) *
"ICEpick" is properly spelled "ICEPick" according to TI Change-Id: Ie04458e82c97ef766ec03bd9b9f27edadf5d1cb2 Signed-off-by:
Robert P. J. Day <rpjday@crashcourse.ca> Reviewed-on:
http://openocd.zylin.com/1856 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-12-29 Franck Jullien <franck.jullien@gmail.com>
* : jtag_vpi: make the server address configurable Change-Id: I58e89c789b79ffb0b54ef94d208be876c271ddf7 Signed-off-by:
Franck Jullien <franck.jullien@gmail.com> Reviewed-on:
http://openocd.zylin.com/1840 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-12-28 Steve Moorby <steve.moorby60@gmail.com>
* : topic: Added Spansion S25FL128S and S25FL256S spifi devices. S25FL256S device tested on mbest LPC4357 EVM, S25S128S untested but
from the same data sheet. Change-Id: Idf58416aab08671fe29d22c3c34c2118b25a9d45 Signed-off-by:
Steve Moorby <steve.moorby60@gmail.com> Reviewed-on:
http://openocd.zylin.com/1844 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com>
2013-11-10 Mathias K <kesmtp@freenet.de>
* : stlink: remove stlink_api command Remove stlink_api command. Change-Id: I8f7885d3756fec462f9ebbee2ed285a98a51366c Signed-off-by:
Mathias K <kesmtp@freenet.de> Reviewed-on:
http://openocd.zylin.com/1760 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-07-30 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : Add %APPDATA%\OpenOCD to script search path on win Change-Id: I01e9715fe064f3ff41e41a59a4764d6474f82183 Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/1797 Tested-by: jenkins Reviewed-by: Jens
Bauer <jens@gpio.dk> Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2013-11-20 Alex Murray <alex.murray@cohdawireless.com>
* : target/imx6: Fix typo in setting _SJC_TAPID from SJC_TAPID
variable The set command was missing the $ prefix on the SJC_TAPID variable
and so would fail if SJC_TAPID was set Change-Id: Ib9af58f5188bd8a2bc3f888309f203d624476c27 Signed-off-by:
Alex Murray <alex.murray@cohdawireless.com> Reviewed-on:
http://openocd.zylin.com/1811 Tested-by: jenkins Reviewed-by: Jens
Bauer <jens@gpio.dk> Reviewed-by: Vladimir Zapolskiy <vz@mleia.com>
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
2013-10-30 Mathias K <kesmtp@freenet.de>
* : build: remove hard coded ftdi and usb libraries This patch remove the hardcoded libraries. Also a check for libftdi1
installations was added. This check fix an issue with gentoo and
maybe other systems. Change-Id: Ieff9ec4d66ee0f3e6b22261a10e4cab9f26b6b51 Signed-off-by:
Mathias K <kesmtp@freenet.de> Reviewed-on:
http://openocd.zylin.com/1759 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-11-07 Paul Fertser <fercerpav@gmail.com>
* : target: add kl25z HLA (stlink) config Based on Nemuisan Tokusei's. Untested, but original config was
reported to work ok. Change-Id: Ic991dce55bfca266880081fe2bbd9e6e263b0fc0 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/1803 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-11-17 Nemui Trinomius <nemuisan_kawausogasuki@live.jp>
* : cfg: Add new BSTAPID for STM32F42xxx and STM32F43xxx series STM32F42xxx & STM32F43xxx series boudary scan TAP-ID are differ from
STM32F405xx/07xx & STM32F415xx/17xx. And Section number was also
fixed for RM0090 rev5. Tested on a STM32F427IIT6 and STM32F429ZIT6. Change-Id: Ie9c54c55b97b9c396ace752d94ea2ad916cc8479 Signed-off-by:
Nemui Trinomius <nemuisan_kawausogasuki@live.jp> Reviewed-on:
http://openocd.zylin.com/1808 Tested-by: jenkins Reviewed-by: Jens
Bauer <jens@gpio.dk> Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2013-11-25 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : versaloon: Finish support for serial number matching Add a command to specify the serial string and pass it to the find
helper. Actual matching was already supported for both serial and
product but was using hard coded string indices. Instead use the
indices from the device descriptor. Change-Id: I17c7538e5ad301ef41eace1ee70a202adab23bb4 Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/1816 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-11-25 Paul Fertser <fercerpav@gmail.com>
* : ftdi/neodb.cfg: mark as tested Working against openmoko gta02 target, including TRST and SRST (the
stupid samsung chip fully resets under trst, so it's actually of
little use here). Change-Id: I831124659fc12efbccef536f07d15509c2112f92 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/1814 Tested-by: jenkins Reviewed-by:
Vladimir Zapolskiy <vz@mleia.com> Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2013-12-10 Andrey Yurovsky <yurovsky@gmail.com>
* : stm32lx_dual_bank.cfg: fix typo in file path s/stm32l1x/stm32lx ...this makes tm32lx_dual_bank.cfg work again. Change-Id: I04dc617523caa6b46c675fe9b700d1bbe88170e6 Signed-off-by:
Andrey Yurovsky <yurovsky@gmail.com> Reviewed-on:
http://openocd.zylin.com/1832 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-08-22 Luca BRUNO <lucab@debian.org>
* : NULL check before dereferencing Check reg_list[i]->feature for NULL pointers before checking
feature->name in order to avoid NULL access. Change-Id: If20401a6c5aa5e1e29f0fcf9bb95585b49658832 Signed-off-by:
Luca BRUNO <lucab@debian.org> Reviewed-on:
http://openocd.zylin.com/1809 Tested-by: jenkins Reviewed-by: Peter
Stuge <peter@stuge.se> Reviewed-by: Jens Bauer <jens@gpio.dk>
2013-11-21 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : Add byte-swap helpers Change-Id: I970616bb0e2bbc693165a0d311840febbd9134f1 Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/1798 Tested-by: jenkins Reviewed-by: Peter
Stuge <peter@stuge.se> Reviewed-by: Franck Jullien
<franck.jullien@gmail.com>
2013-10-24 Per Ekman <pekenator@gmail.com>
* : kinetis : Add flash read support to the kinetis nor flash
driver. The default_flash_read() function seems to work ok. Change-Id: Ia34c4642405f669ff63310fa8c641098b771a401 Signed-off-by:
Per Ekman <pekenator@gmail.com> Reviewed-on:
http://openocd.zylin.com/1763 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-10-24 Mathias K <kesmtp@freenet.de>
* : hla: Make consistent parameter naming Rename fd to handle. Change-Id: I98615aed1546976d00b0f20856d4e8e75f83c575 Signed-off-by:
Mathias K <kesmtp@freenet.de> Reviewed-on:
http://openocd.zylin.com/1761 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-11-04 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : ulink: Fix libusb include changed since pkg-config merge Change-Id: I1556aaf117f99de046e3c16d5386faaaefdfefd8 Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/1795 Reviewed-by: Peter Stuge
<peter@stuge.se> Tested-by: jenkins
2013-11-01 Andrey Yurovsky <yurovsky@gmail.com>
* : stm32l flash: add another device ID Add device ID 0x437, a dual-bank part with 512KB total. This one
used the Medium+/HD flash size register to read the flash size in Kb
rather than the 0/1 code in the Medium+ parts. Signed-off-by: Andrey Yurovsky <yurovsky@gmail.com> Change-Id:
I870fe3bb1b473939b7211c3b2edb44b4b3643648 Reviewed-on:
http://openocd.zylin.com/1790 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-11-04 Nemui Trinomius <nemuisan_kawausogasuki@live.jp>
* : fm3: fix Fujitsu MB9Ax family support Some MB9Ax (especially few internal SRAM model) fails programming
because of wrong SRAM basic-address on running algorithm. Default
SRAM basic-address must be 0x20000000. This patch is fixing default
SRAM basic-address and ramcode offset. Tested on a MB9BF618T and
MB9AF112K. Change-Id: Ibda9aceb4c317bcae0dcce9f6d0fd1c4b5d81952 Signed-off-by:
Nemui Trinomius <nemuisan_kawausogasuki@live.jp> Reviewed-on:
http://openocd.zylin.com/1793 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-10-31 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : lpcspifi: Fix byte order bug Found by grepping for pointer casts. Change-Id: I42ef3ebcce9fc6391154888b48601ede8377c34e Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/1771 Tested-by: jenkins Reviewed-by: Jens
Bauer <jens@gpio.dk> Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2013-09-30 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : smp: Fix byte order bug Found by grepping for pointer casts. Also rewrite to reduce scope and allocate the few bytes needed on
stack instead of on heap. Change-Id: Ia2a369fb612e807b981ee60ebcfd9c09c2fbdf4c Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/1779 Tested-by: jenkins Reviewed-by:
Mathias Küster <kesmtp@freenet.de> Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2013-09-28 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : ioutil: Remove unnecessary casts and fix const-discarding Using the right parameter type, there's no need to resort to
casting. Change-Id: I8aec852431ead26e24793fd6fac8781353963bf2 Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/1777 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-by: Jens Bauer
<jens@gpio.dk>
2013-09-28 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : str9x: Fix byte order bug Found by grepping for pointer casts. Change-Id: Ie2d698310b077c3849266e81df8e6a808cbc6896 Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/1775 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-09-28 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : stm32f1x: Fix byte order bug and remove unnecessary cast Found by grepping for pointer casts. Change-Id: Ibd8f22a9e9ca71459ba0bedc8447a3623d0e4184 Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/1773 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-09-28 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : lpc2900: Fix byte order bugs and remove unnecessary casts Found by grepping for pointer casts. Change-Id: Ib94957a0c53ec7abcbd5787d8c70e20c9eedc4b7 Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/1770 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-09-28 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : ftdi: Remove unnecessary cast Also make sure future growth of the tap_get_tms_path() return value
will get noticed. Change-Id: Id859b463e5fdc819a4bc3b4845bf4363fbe713af Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/1768 Tested-by: jenkins Reviewed-by:
Mathias Küster <kesmtp@freenet.de> Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2013-09-28 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : nand/mx*: Remove unused host endianness flag Probably shouldn't depend on that anyway. Change-Id: Ic27ead4cb82cff1ab187696439da4b93941e09d8 Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/1766 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-09-30 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : Clean up const usage to avoid excessive casting Don't use const on pointers that hold heap allocated data, because
that means functions that free them must cast away the const. Do use const on pointer parameters or fields that needn't be
modified. Remove pointer casts that are no longer needed after fixing the
constness. Change-Id: I5d206f5019982fd1950bc6d6d07b6062dc24e886 Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/1668 Tested-by: jenkins Reviewed-by:
Mathias Küster <kesmtp@freenet.de> Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2013-09-30 Paul Fertser <fercerpav@gmail.com>
* : Clean up many C99 integer types format specifiers This eliminates most of the warnings reported when building for
arm-none-eabi (newlib). Hsiangkai, there're many similar warnings left in your nds32 files,
I didn't have the nerve to clean them all, probably you could pick
it up. Change-Id: Id3bbe2ed2e3f1396290e55bea4c45068165a4810 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/1674 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-10-26 Paul Fertser <fercerpav@gmail.com>
* : checkpatch: treat jenkins as valid email This is needed to avoid checkpatch barking on already committed
patches. Change-Id: Ic2b4cfa04c8230d45c68bbf6b370841f682b32d6 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/1785 Tested-by: jenkins Reviewed-by: Jens
Bauer <jens@gpio.dk> Reviewed-by: Mathias Küster
<kesmtp@freenet.de> Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2013-09-26 James G. Smith <jsmith@ecoscentric.com>
* : hla/stlink: Re-order trace parameters to allow trace output file
to be optional Re-order the "trace" parameters to allow the raw capture (log) file
to be an optional feature. The clock frequency for calculating the
"Async Clock Prescalar" is always required when enabling trace
processing and is now the first "required" parameter. The ST-Link driver is updated to use the (required parameter)
"trace_source_hz" non-zero value as the indicator of trace being
required, rather than the now optional output file descriptor being
non-NULL. Background: This patch is groundwork for extending the OpenOCD SWO
capture to implement other (OpenOCD built-in) ITM/DWT processing
where the core trace support is required, but there is no
requirement to store raw trace data to a configured host file. By
itself this patch is almost a functional NOP, since without the
other processing in place there is no reason NOT to specify a
capture file. Change-Id: Ibc385dd0a7adaf9bd652bceded27262fef35fd59 Signed-off-by:
James G. Smith <jsmith@ecoscentric.com> Reviewed-on:
http://openocd.zylin.com/1660 Tested-by: jenkins Reviewed-by:
Mathias Küster <kesmtp@freenet.de> Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2013-06-22 Paul Fertser <fercerpav@gmail.com>
* : tcl: add memory testing functions for board diagnostics This is a tcl implementation of public domain tests by Michael Barr,
http://www.barrgroup.com/Embedded-Systems/How-To/Memory-Test-Suite-C The initial porting is done by Shane Volpe and posted to the mailing
list:
http://www.mail-archive.com/openocd-development@lists.berlios.de/msg16676.htmlThis patch includes some cosmetic amendments plus hardcodes 32bit
word size (as the code depends on memread32/memwrite32 anyway) which
fixes original code's issue of testing only the first quarter of the
specified nBytes. Change-Id: I5f3a66f1f16fc4082c7a5a6aba338430646ed21c Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/1455 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-by: Mathias Küster
<kesmtp@freenet.de>
2013-10-18 Sergey A. Borshch <sb-sf@users.sourceforge.net>
* : hla_interface: init trst, srst variables. There is an remark in jtag_srst and jtag_trst variables
declaration: /* * JTAG adapters must initialize with TRST and SRST de-asserted * (they're negative logic, so that means *high*). But some * hardware doesn't necessarily work that way ... so set things * up so that jtag_init() always forces that state. */ but in hla_target such forsing is missed and both variables
remains uninitialized until "reset" command issued, It prevents
target polling when connecting to running target. Change-Id: Ia620d8794cca8ba1403f5c5f24767e730033748a Signed-off-by:
Sergey A. Borshch <sb-sf@users.sourceforge.net> Reviewed-on:
http://openocd.zylin.com/1698 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-by: Mathias Küster
<kesmtp@freenet.de>
2013-10-09 Greg Ungerer <gerg@uclinux.org>
* : armada370: initial support for Marvell Armada 370 family Initial support for using the jtag interface to the Marvell Armada
370 family of SoCs. Change-Id: Id823a567e8805ac622c3c330bc111297c1dae37e Signed-off-by:
Greg Ungerer <gerg@uclinux.org> Reviewed-on:
http://openocd.zylin.com/1690 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-10-12 Gatan Carlier <gcembed@gmail.com>
* : flash: mxc nfc(v1) : fix incorrect address in spare area for
biswap command For NFC v1 (i.MX27), swapping must be done between offset 464 of
Main buffer and offset 4 of Spare buffer. Change-Id: I09c2036e88770032da87d5846cd2094847f47b46 Signed-off-by:
Gaetan Carlier <gcembed@gmail.com> Reviewed-on:
http://openocd.zylin.com/1692 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-10-05 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : lpc288x: Can now use target_write_buffer() Use the preferred code path according to the comment.
Target_write_buffer() now simply uses suitably aligned
target_write_memory calls, so from this pov, they should be
equivalent. Change-Id: I77f51ec3ac9faa822cf428708a1aecb67c77830c Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/1687 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-10-07 Sergey A. Borshch <sb-sf@users.sourceforge.net>
* : hla_target: Update target state when polling Polling target does not change stste information except if new state is TARGET_HALTED. Connecting to the runing target result in target->state not updated with retrieved value and remains "UNKNOWN" until 'halt' command issued. Change-Id: I803d6c0207f7f8699e648779d1df342c9ee7315a Signed-off-by:
Sergey A. Borshch <sb-sf@users.sourceforge.net> Reviewed-on:
http://openocd.zylin.com/1680 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-10-13 Franck Jullien <franck.jullien@gmail.com>
* : openrisc/tap_vjtag: fix IR setting Change-Id: I2b1f057dc9777ff263d6cefa4ff5958e85607a22 Signed-off-by:
Franck Jullien <franck.jullien@gmail.com> Reviewed-on:
http://openocd.zylin.com/1694 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-10-14 Paul Fertser <fercerpav@gmail.com>
* : checkpatch: add logging functions It's commonly considered that user-visible strings should not be
split to different lines in the sources to ease grepping for them.
Hence, checkpatch traditionally makes an exception for logging
functions, lines having them can be of arbitrary length. OpenOCD uses different (from Linux, the kernel) names, so they need
to be added to avoid false positives. Change-Id: I1198c1ffc62b5403d97efa41e665c81a5b6bb3a3 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/1696 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-10-03 Franck Jullien <franck.jullien@gmail.com>
* : jtag_vpi: fix path move function Change-Id: I82bf6f733e0d9cb5c86553d0827c558fa98aa247 Signed-off-by:
Franck Jullien <franck.jullien@gmail.com> Reviewed-on:
http://openocd.zylin.com/1672 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com>
2013-09-18 Paul Fertser <fercerpav@gmail.com>
* : bcm2835gpio: use maximum drive strength According to the docs, the default drive strength for the GPIO pads
is 8mA but they're capable of 16mA. Configure GPIO 0-27 to use the
maximum (as they might be used on high enough frequency with JTAG). Change-Id: I621737a1b0a855bb97b56ce2cc46c0e385b74f5d Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/1633 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-10-07 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : str7x: Improve info text There's no way to print two lines, so let it wrap. Change-Id: I1f6211358a58877c0b729d9fdefd5d3dea8cba00 Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/1643 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-09-19 Spencer Oliver <spen@spen-soft.co.uk>
* : stm32l: set default padded value The stm32l family has an erased value of 0x00, so overide the
defaults used by OpenOCD. Change-Id: I314bdef1f8482fbcbd43e0f413247d3a35af869d Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/1636 Tested-by: jenkins
2013-10-02 John David Anglin <dave.anglin@bell.net>
* : flash: fix mini51 cygwin build issues Under certain versions of cygwin it appears PAGE_SIZE is already
defined. So change name to stop any possible build issues. Change-Id: I6f0e0c352c06bb6118ac3a5b884ae8e93194b570 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/1675 Tested-by: jenkins
2013-10-05 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : stm32f2x: Detect STM32F42x rev Y Change-Id: Iaf94f6dda0686cce56be77431bbb961bfd5e8d14 Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/1688 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-09-28 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : jtag/tcl: Remove no-op free And use calloc instead of malloc+memset. Change-Id: Icc1ed6e34904972bb5d3728307dcae5c55b32fc3 Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/1666 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-09-22 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : gdb_server: Further cleanup of target desc functions Fix use of uninitialized pointer passed to xml_printf, caught by
valgrind. Make sure a failed gdb_generate_target_description frees all
allocated memory and avoids touching its out argument. Plug memory leak and check allocation in
handle_gdb_save_tdesc_command. Change-Id: I30e20f6760a6215b1b4496304acdf47347eed829 Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/1645 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-by: Franck Jullien
<franck.jullien@gmail.com>
2013-09-22 Paul Fertser <fercerpav@gmail.com>
* : board: add TM4C123G LaunchPad config Almost the same as the LM4F120 LaunchPad but the chip is using the
new naming scheme (Tiva C series), supports USB OTG and has some new
PWM hardware blocks. Change-Id: I6a7b2df76768766471f366cddaf64df3cc63f5f2 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/1647 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-09-25 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : cortex_m: Call mem_ap_read/write directly Change-Id: I52e1d8babf7bf9fcde4094046d29b817c15c0562 Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/1659 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-09-25 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : cortex_m: mem_ap access functions take number of bytes, not
words Accessing one byte of memory using a 16-bit access is not well
defined. The current implementation is forgiving and rounds up, but
it should not be relied upon. Also, I suspect this code might fail if the byte order differs
between target and host, but I have no way of verifying it so I left
it as it is. Change-Id: I8d6a511151a194ed419f141703201f0632d84fc8 Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/1657 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-09-22 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : arm_adi_v5: Fix packed and unaligned memory writes For packed and/or unaligned accesses, the write functions reordered
the source buffer in place. Causing in the best case a segfault, in
the worst case silent data corruption. Rewrite the data fetching to directly match the byte lane mapping
according to IHI0031C, without destroying the buffer. Also slightly clean up variable usage and harmonize all the write
functions. Change-Id: I9a01cfc5578653f9ec02043ff6b61a7a20f90d67 Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/1646 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-09-23 Paul Fertser <fercerpav@gmail.com>
* : Require Autoconf >= 2.64 m4_argn macro was introduced in v2.63b-34-g46e87de on the 22nd of
Apr 2009. Change-Id: Id01cc9f0ffdb46cf6dfd26c3bf3b5efa0ddd2984 Reported-by:
Franck Jullien <franck.jullien@gmail.com> Signed-off-by: Paul
Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/1656 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-09-20 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : target: Fix strange ordering in target_read_u8 It's been like this since the check was added, in 5aa93a5e. Change-Id: Iaa0586e0cd1ce57ad92735dcc3e51108a133fe96 Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/1640 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-09-19 Spencer Oliver <spen@spen-soft.co.uk>
* : doc: correctly terminate @xref @xref should be terminated by either a ',' or '.'. Change-Id: I141335cd4e149992fc971c6f2c04f1dbe390c8f4 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/1637 Tested-by: jenkins Reviewed-by:
Xiaofan <xiaofanc@gmail.com>
2013-09-14 Petri Laakso <petri.laakso@asd.fi>
* : build: fix NetBSD build warning Seems NetBSD does like the name reboot, so rename to keep happy. Change-Id: I60ada9d217c4a8386a8d1ff1c88db7335451794e Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/1623 Tested-by: jenkins Reviewed-by:
Xiaofan <xiaofanc@gmail.com>
2013-09-18 Spencer Oliver <spen@spen-soft.co.uk>
* : stlink: remove usb timeout magic numbers Change-Id: I4ec4cb0bc344c4c1de9113fa12ed84e5e2e87b31 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/1631 Tested-by: jenkins Reviewed-by:
Xiaofan <xiaofanc@gmail.com> Reviewed-by: Andreas Fritiofson
<andreas.fritiofson@gmail.com>
2013-09-19 Paul Fertser <fercerpav@gmail.com>
* : README.Windows: MinGW-w64 is known to work for building, regular
MinGW is quirky The regular MinGW doesn't work properly because it doesn't try to
provide C99 compatibility currently. Change-Id: I27c1b9e1496a8c32032fab08a29cbe1124316edd Reported-by:
Tomáš Voda <Voda.Tomas@seznam.cz> Signed-off-by: Paul Fertser
<fercerpav@gmail.com> Reviewed-on: http://openocd.zylin.com/1638
Tested-by: jenkins Reviewed-by: Xiaofan <xiaofanc@gmail.com>
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
2013-09-12 Spencer Oliver <spen@spen-soft.co.uk>
* : gdb: cleanup gdb target description support Make sure we free any memory used for gdb_save_tdesc. Change-Id: Ia226f6134318c8c6b0ac4fa20fe70a570a08d80d Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/1619 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com>
2013-09-11 Spencer Oliver <spen@spen-soft.co.uk>
* : armv7m: remove gdb register hacks Now that we support the target description format we do not need
these hacks anymore, we can now tell gdb what registers we support. Change-Id: Ie774231d296420b35efcf708bc4435475c87ff5e Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/1617 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com>
2013-09-17 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : Restore mwh/mwb functionality. Half-word and byte writes using mwh/mwb has been completely broken
since bf71e34cbf, because it dispatched all writes, regardless of
access size, to target_write_buffer(), which uses as large accesses
as possible. Partially revert the commit by changing back to the correct write
method. Change-Id: I60731fc576bf4a076a7da02bee7879e121c21d17 Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/1628 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-09-18 Paul Fertser <fercerpav@gmail.com>
* : README.Windows: pkgconfig-lite should go into MinGW, not MSYS As autoconf is part of MinGW, it uses its root to find m4 files,
pkg-config should be installed accordingly. Change-Id: I551797e61a3d044f751768bd7d57d8e26e7202cc Reported-by:
Tomáš Voda <Voda.Tomas@seznam.cz> Signed-off-by: Paul Fertser
<fercerpav@gmail.com> Reviewed-on: http://openocd.zylin.com/1630
Tested-by: jenkins Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2013-09-06 Stephan Linz <linz@li-pro.net>
* : configure: expand library search for libftd2xx Error was: checking for library containing FT_GetLibraryVersion...
no configure: error: You appear to be missing the FTD2xx driver
library. Reason were two cases: Case one: The FTD2xx library uses clock_gettime() and in normal
cases the linker will find the function in the libc library. Most (older) systems require the program be linked with the librt library
to use these (see man clock_gettime: Link with -lrt). Case two: You can rebuild the FTD2xx library (relink from the object
files) against the primary (system wide installed) libusb-1.0. So
you avoid mixed code (GPL with proprietary code) in the FTD2xx
library. In this case, the FTD2xx library provides no private
(linked in) libusb-1.0 functionality and require the program be
linked with the libftd2xx __AND__ the libusb-1.0 to resolve all the
libusb-1.0 symbols. Change-Id: Iaf9a35ab4257e37b98dccd47667378ad2a64b7ed Signed-off-by:
Stephan Linz <linz@li-pro.net> Reviewed-on:
http://openocd.zylin.com/1614 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-by:
Xiaofan <xiaofanc@gmail.com>
2013-08-01 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : configure: Add libusb-1.0 header bug workaround Force the libusb-1.0 include dir to be treated as a system include
path which suppresses the cast-align warnings otherwise failing the
build on some platforms. Change-Id: I738cfd793052b8772731d2feeef968ee893bd4bd Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/1534 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-09-11 Paul Fertser <fercerpav@gmail.com>
* : libusb: require pkg-config support An alternative approach to show how much cleaner the pure pkg-config
way is. This changes the discovery procedures for libusb-1.0 and libusb-0.1,
making them depend on pkg-config being properly installed and
configured, including the necessary build host configuration for the
cross-builds (see
http://www.flameeyes.eu/autotools-mythbuster/pkgconfig/cross-compiling.html)It should make it possible to compile OpenOCD without changes and
extra effort on GNU/Linux, FreeBSD users would need to supply a .pc
file for their libusb implementation or add LIBUSB1_LIBS and
LIBUSB1_CFLAGS to the configure environment. Change-Id: I826e378dd1e0d101a549a573b2c63212a7e00b64 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Signed-off-by: Andreas Fritiofson
<andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/1467 Reviewed-by: Xiaofan
<xiaofanc@gmail.com> Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk> Tested-by: Spencer Oliver
<spen@spen-soft.co.uk>
2013-07-16 Nemui Trinomius <nemuisan_kawausogasuki@live.jp>
* : flash: add Nuvoton NUC910 series support Not tested, adapted from
http://tech.groups.yahoo.com/group/versaloon/message/391 Change-Id: Ic3273e64fd99bffab16764b06227e09a05d07c8f Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/1510 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-by: Nemui
Trinomius <nemuisan_kawausogasuki@live.jp>
2013-07-11 Hsiangkai Wang <hsiangkai@gmail.com>
* : aice: add target name to nds command messages Change-Id: Ie6c786c6880fb554af54ed27f1c159326f60a701 Signed-off-by:
Hsiangkai Wang <hsiangkai@gmail.com> Reviewed-on:
http://openocd.zylin.com/1583 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-07-11 Hsiangkai Wang <hsiangkai@gmail.com>
* : nds32: Use DMA to access memory as no DCache As GDB uses file-I/O protocol to access memory, use DMA to access if
no DCache. This commit improves the performance of Andes Virtual
Hosting. Change-Id: I36bb2154b9f497fc4237625836cf8c7115330a60 Signed-off-by:
Hsiangkai Wang <hsiangkai@gmail.com> Reviewed-on:
http://openocd.zylin.com/1580 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-06-10 Hsiangkai Wang <hsiangkai@gmail.com>
* : nds32: support FreeRTOS Change-Id: I117b5541fb19388c0f5c2344ee42d9151c9a222e Signed-off-by:
Hsiangkai Wang <hsiangkai@gmail.com> Reviewed-on:
http://openocd.zylin.com/1577 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-06-10 Hsiangkai Wang <hsiangkai@gmail.com>
* : nds32: change default value Change-Id: I0505bdc0e75543a3b205981339c5b9fa78a080ca Signed-off-by:
Hsiangkai Wang <hsiangkai@gmail.com> Reviewed-on:
http://openocd.zylin.com/1575 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-08-27 Hsiangkai Wang <hsiangkai@gmail.com>
* : nds32: support Andes profiling function Change-Id: Ibc45ec5777d6841956c02de6b4ae8e74c2a6de37 Signed-off-by:
Hsiangkai Wang <hsiangkai@gmail.com> Reviewed-on:
http://openocd.zylin.com/1585 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-06-26 Hsiangkai Wang <hsiangkai@gmail.com>
* : target: add profiling interface Profiling could be target-specific. Add .profiling interface to
target_type. Change-Id: Ic0eea9db742971db1350a474fbbb5ed24565922b Signed-off-by:
Hsiangkai Wang <hsiangkai@gmail.com> Reviewed-on:
http://openocd.zylin.com/1571 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-08-30 Hsiangkai Wang <hsiangkai@gmail.com>
* : target: Correct profiling calculation 1. high_pc should be (maximum sample + 1) (Refer to gprof source
code) 2. bucket index should be sample offset --------------- x (number of bucket) sample range For example, if minimum sample is 0 and maximum sample is 5 and the
number of bucket is 3. a = sampled_address - 0 b = 3 c = 6 (a, b, c refer to source code variables) sampled_address = 0, => a = 0, => bucket_index = 0 sampled_address =
1, => a = 1, => bucket_index = 0 sampled_address = 2, => a = 2, =>
bucket_index = 1 sampled_address = 3, => a = 3, => bucket_index = 1
sampled_address = 4, => a = 4, => bucket_index = 2 sampled_address =
5, => a = 5, => bucket_index = 2 Change-Id: Ia9fa0e4d9c7183e3e9d7ceaf73e63729f07aa2ce Signed-off-by:
Hsiangkai Wang <hsiangkai@gmail.com> Reviewed-on:
http://openocd.zylin.com/1607 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-07-17 Hsiangkai Wang <hsiangkai@gmail.com>
* : nds32: refine nds32_v2 implement Change-Id: I6e26ffbdcd426a15b34bff022964946f613f318c Signed-off-by:
Hsiangkai Wang <hsiangkai@gmail.com> Reviewed-on:
http://openocd.zylin.com/1569 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-06-13 Hsiangkai Wang <hsiangkai@gmail.com>
* : aice: Always setup SDP basic mode Change-Id: I1c0c11c2b9097b25324da0591edf036af207dbe9 Signed-off-by:
Hsiangkai Wang <hsiangkai@gmail.com> Reviewed-on:
http://openocd.zylin.com/1567 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-08-27 Anton Kolesov <akolesov@synopsys.com>
* : gdb_server: Do not set gdb_con->sync to true for new connections In GDB connected to OpenOCD there is a command "monitor gdb_sync"
which makes next stepi command to be ignored while GDB still will
get an updated target state. This command sets gdb_connection->sync
field to true to notify that stepi should be ignored. This field is
set to true for all new connection and is set to false after first
"continue" command. However if first resume command is stepi/nexti
then it will be ignored and result will confuse GDB client, it will
report that target received signal SIGINT. This patch sets this
field to false for new connections, thus stepi/nexti will work
properly when it is a first resume command. Change-Id: I7c9ebd69c3dc35f3e316041aa99f4e9d3425c0b6 Signed-off-by:
Anton Kolesov <akolesov@synopsys.com> Reviewed-on:
http://openocd.zylin.com/1587 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com>
2013-03-13 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : target: Rewrite read/write buffer default implementations Rewrite the target_*_buffer_default to generate as large accesses as
possible while maintaining natural alignment. These versions are easy to extend to generate 8-byte accesses to
support 64-bit targets, although it requires some conformity from
all target implementations (i.e. they need to refuse unsupported
access sizes with some defined error code, so we can try again with
a smaller one). Change-Id: I00ddcbb1d2fd33f9f8b99cb448cc93505a2421fc Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/1221 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-09-10 Paul Fertser <fercerpav@gmail.com>
* : sysfsgpio: fix a typo in the informational output Change-Id: I0c9bc281e4e913f9eacba3b8b60585217a1caf2e Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/1616 Tested-by: jenkins Reviewed-by: Peter
Stuge <peter@stuge.se>
2013-09-05 Spencer Oliver <spen@spen-soft.co.uk>
* : build: remove clang warning about global var 'match' remove clang warning - "Argument to free() is the address of a
global variable, which is not memory allocated by malloc()". Change-Id: I015273eafc9644207684b363434c6ae8149bfcde Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/1613 Tested-by: jenkins
2013-07-16 Nemui Trinomius <nemuisan_kawausogasuki@live.jp>
* : flash: add NXP LPC800 support Not tested, adapted from
http://tech.groups.yahoo.com/group/versaloon/message/391 Change-Id: I142fa6f29e66fd334baca14217aca97e1fc6c7d9 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/1509 Tested-by: jenkins
2013-08-02 Spencer Oliver <spen@spen-soft.co.uk>
* : target: remove unimplemented target_request_data implementations Change-Id: Ia9afa83752d17f0f56bdf3bd81f5c69d108aa5e9 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/1537 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com>
2013-08-02 Spencer Oliver <spen@spen-soft.co.uk>
* : target: remove unimplemented soft_reset_halt implementations Let the default handler issue an unsupported warning rather than
using empty handler routines that may/may not issue a unsupported
warning. Change-Id: Iafe3e45146981a4cfae39771c3ab7370ac86da48 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/1535 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-by:
Hsiangkai Wang <hsiangkai@gmail.com>
2013-08-09 Cosmin Gorgovan <cosmin@linux-geek.org>
* : mini51: support for Nuvoton NuMicro Mini51 series flash memory Adds a flash driver for Nuvoton MINI51, MINI52 and MINI54
microcontrollers. At the moment, it only supports the erase and write operations. These microcontrollers have a 4 / 8 / 16 KB APROM for application
code and a 2 KB LDROM for bootloaders. When the MCU has booted off
the APROM, the LDROM isn't mapped in memory but can be programmed,
and the other way around. This means that the ARM core is typically
rebooted for programming. After a successful write or erase
operation, it is rebooted again, using the initial boot source. This driver only supports programming the APROM. This driver is a pure JTAG implementation, it doesn't use any SRAM. I've tested it on a MINI54ZAN microcontroller using an ST-LINK/V2.
With the microcontroller running at the default clock frequency of
22.1184 MHz, speed seems to be around 1.1 KB/s. Change-Id: I180889c55af9fb5614cd99a953b755baba14288a Signed-off-by:
Cosmin Gorgovan <cosmin@linux-geek.org> Reviewed-on:
http://openocd.zylin.com/1546 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-09-06 Franck Jullien <franck.jullien@gmail.com>
* : jtag: drivers: Add JTAP VPI client driver This patch adds a driver for the jtag_vpi server [1]. This server is
now part of the ORPSoC version 3 (OpenRISC Reference Platform SoC).
The jtag_vpi server provides an interface between OpenOCD and a
simulated core. [1] http://github.com/fjullien/jtag_vpi Change-Id: I717b72cace4845f66c878581345074f99002e21a Signed-off-by:
Franck Jullien <franck.jullien@gmail.com> Reviewed-on:
http://openocd.zylin.com/1609 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-08-05 Spencer Oliver <spen@spen-soft.co.uk>
* : docs: add RTOS Support info Currently we have very little info about the RTOS support. This
should improve that. We also add info about what symbols are required for each supported
RTOS. This can be a trap, certainly when trying to use FreeRTOS
support. Change-Id: Ie57858571daca97515292ff5738a5a5ef55655b7 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/1538 Tested-by: jenkins
2013-08-06 Spencer Oliver <spen@spen-soft.co.uk>
* : flash: fix stm32f1x dual bank detection Not all devices with devce id 0x419 have dual flash banks, only
those with > 1024kB. Change-Id: I197d2b87df7599cd0837e25648af48439f2f1e50 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/1544 Tested-by: jenkins
2013-08-28 Hsiangkai Wang <hsiangkai@gmail.com>
* : target: Remove error messages as no .get_gdb_fileio_info If target does not support semi-hosting function, it has no need to
provide .get_gdb_fileio_info callback. OpenOCD will use default
function target_get_gdb_fileio_info_default. The default function
just return ERROR_FAIL and gdb_server will treat every halted
condition as normal halted and return "Txx" to gdb. Change-Id: I9ddb2be3a1145eae2ef5b712bdea89eb2e0fbc20 Signed-off-by:
Hsiangkai Wang <hsiangkai@gmail.com> Reviewed-on:
http://openocd.zylin.com/1586 Tested-by: jenkins Reviewed-by: Nemui
Trinomius <nemuisan_kawausogasuki@live.jp> Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2013-08-20 Andrey Yurovsky <yurovsky@gmail.com>
* : stlink_usb: remove gcc-specific constant Replace 0b10 with 0x02, 0b is a GCC extension and isn't supported by
clang, for instance, so compiling on OS X will fail. No functional
changes. Change-Id: Ie882be1563df03e7ad3da0bc9aee65a907a29549 Signed-off-by:
Andrey Yurovsky <yurovsky@gmail.com> Reviewed-on:
http://openocd.zylin.com/1560 Tested-by: jenkins Reviewed-by:
Xiaofan <xiaofanc@gmail.com> Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2013-08-15 Franck Jullien <franck.jullien@gmail.com>
* : doc: Add gdb target description commands Change-Id: Ie74917082e894cfa8ee2258f7a8cdf7d58ee4a59 Signed-off-by:
Franck Jullien <franck.jullien@gmail.com> Reviewed-on:
http://openocd.zylin.com/1552 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-08-13 Paul Fertser <fercerpav@gmail.com>
* : interface/ftdi/tumpa: remove ftdi_device_desc as it's incorrect The end users on IRC report that actual USB device has different
information in its descriptor so it doesn't match. Remove it
altogether. Change-Id: Id7841667390a514581e630e67b9283675803135b Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/1548 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-07-22 Andrey Yurovsky <yurovsky@gmail.com>
* : stm32lx flash: fix flash size for Medium+ devices Unfortunately the Medium+ density and 0x436 devices have their
F_SIZE register at a different location: 0x1FF800CC instead of
0x1FF8004C. Fix this for the 0x427 Medium+ devices and also the
0x436 devices. Furthermore, for 0x436 devices the flash size is
reported as a 0 or 1 code rather than the size in Kb. Please see
RM0038 r8 or newer for an explanation, as noted in the comments. Change-Id: Ie03b1e119a61f2a854bc2ccc5f90ce3e8852e272 Signed-off-by:
Andrey Yurovsky <yurovsky@gmail.com> Reviewed-on:
http://openocd.zylin.com/1522 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com>
2013-08-06 Spencer Oliver <spen@spen-soft.co.uk>
* : docs: remove mixed case typo Change-Id: Iae40c59ed21e72931d440814d112b3cd752aad9c Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/1540 Tested-by: jenkins
2013-07-29 Paul Fertser <fercerpav@gmail.com>
* : mdr32fx: support for Milandr's MDR32Fx internal flash memory This adds example config and flash driver for russian Cortex-M3
microcontroller model. Run-time tested on MDR32F9Q2I evaluation board; the flash driver
should be compatible with MDR32F2x (Cortex-M0) too but I lack
hardware to test. There're no status bits at all, the datasheets specifies some delays
for flash operations instead. All being in <100us range, they're
hard to violate with JTAG, I hope. There're also no flash
identification registers so the flash size and type has to be
hardcoded into the config. The flashing is considerably complicated because the flash is split
into pages, and each page consists of 4 interleaved non-consecutive
"sectors" (on MDR32F9 only, MDR32F2 is single-sectored), so the
fastest way is to latch the page and sector address and then write
only the part that should go into the current page and current
sector. Performance testing results with adapter_khz 1000 and the chip
running on its default HSI 8MHz oscillator: When working area is specified, a target helper algorithm is used:
wrote 131072 bytes from file testfile.bin in 3.698427s (34.609
KiB/s) This can theoretically be sped up by ~1.4 times if the helper
algorithm is fed some kind of "loader instructions stream" to allow
sector-by-sector writing. Pure JTAG implementation (when target memory area is not available)
flashes all the 128k memory in 49.5s. Flashing "info" memory region is also implemented, but due to the
overlapping memory addresses (resulting in incorrect memory map
calculations for GDB) it can't be used at the same time, so OpenOCD
needs to be started this way: -c "set IMEMORY true" -f
target/mdr32f9q2i.cfg It also can't be read/verified because it's not memory-mapped
anywhere ever, and OpenOCD NOR framework doesn't really allow to
provide a custom handler that would be used when verifying. Change-Id: I80c0632da686d49856fdbf9e05d908846dd44316 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/1532 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-07-11 Hsiangkai Wang <hsiangkai@gmail.com>
* : gdb_server: check target before executing event callback As debugging multi-targets, every target has its own gdb connection.
If there are two connections, gdb_target_callback_event_handler will
be registered twice. Everytime event occurs, the registered
callback will be executed twice. If both targets are running, as
user issues ctrl-c in one gdb client, both connections will send
"stop reply" to GDB clients even TARGET_EVENT_GDB_HALT is caused by
one of them. The commit fix above problem as debugging multi-targets. Change-Id: I1e12d4846927d7dcf1e3bb9aeb1affabc80df813 Signed-off-by:
Hsiangkai Wang <hsiangkai@gmail.com> Reviewed-on:
http://openocd.zylin.com/1501 Tested-by: jenkins Reviewed-by: Sergey
Borshch <sb-sf@users.sourceforge.net> Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2013-01-02 Hsiangkai Wang <hsiangkai@gmail.com>
* : gdb_server: support File-I/O Remote Protocol Extension The File I/O remote protocol extension allows the target to use the
host's file system and console I/O to perform various system calls. To use the function, targets need to prepare two callback functions: * get_gdb_finish_info: to get file I/O parameters from target * gdb_fileio_end: pass file I/O response to target As target is halted, gdb_server will try to get file-I/O information
from target through target_get_gdb_fileio_info(). If the callback
function returns ERROR_OK, gdb_server will initiate a file-I/O
request to gdb. After gdb finishes system call, gdb will pass
response of the system call to target through
target_gdb_fileio_end() and continue to run(continue or step). To implement the function, I add a new data structure in struct
target, called struct gdb_fileio_info, to record file I/O name and
parameters. Details refer to GDB manual "File-I/O Remote Protocol Extension" Change-Id: I7f4d45e7c9e967b6d898dc79ba01d86bc46315d3 Signed-off-by:
Hsiangkai Wang <hsiangkai@gmail.com> Reviewed-on:
http://openocd.zylin.com/1102 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-05-07 Hsiangkai Wang <hsiangkai@gmail.com>
* : gdb_server: support gdb target description * Add a parameter in .get_gdb_reg_list() to return different register lists as generating target description. * Modify STRUCT REG to let gdb generate target description according to register information. The modified structure of register is struct reg { const char *name; uint32_t number; /* for regnum="num" */ struct reg_feature *feature; /* for register group feature
name */ bool caller_save; /* for save-restore="yes|no" */ void *value; bool dirty; bool valid; bool exist; uint32_t size; struct reg_data_type *reg_data_type; /* for type="type" */ const char *group; /* for group="general|float|vector" */ void *arch_info; const struct reg_arch_type *type; }; Change-Id: I2096b67adf94518ba0b8b23d8c6a9f64ad7932b8 Signed-off-by:
Hsiangkai Wang <hsiangkai@gmail.com> Reviewed-on:
http://openocd.zylin.com/1382 Tested-by: jenkins Reviewed-by: Franck
Jullien <franck.jullien@gmail.com> Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk> Reviewed-by: Andreas Fritiofson
<andreas.fritiofson@gmail.com>
2013-07-16 Nemui Trinomius <nemuisan_kawausogasuki@live.jp>
* : flash: add Winbond w25q80bv spi support Not tested, adapted from
http://tech.groups.yahoo.com/group/versaloon/message/391 Change-Id: Ibe87c617b3cdf70ee042112609ab46bea98a3e6d Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/1511 Tested-by: jenkins Reviewed-by: Nemui
Trinomius <nemuisan_kawausogasuki@live.jp> Reviewed-by: Andreas
Fritiofson <andreas.fritiofson@gmail.com>
2013-07-10 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : mpsse: Add missing read buffer checks These two unused functions added reads without checking for
available space. Change-Id: I17dbbe9988b057e5a3a1768f405fc9d1027d1c01 Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/1500 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-07-25 Spencer Oliver <spen@spen-soft.co.uk>
* : docs: add missing embKernel rtos arg to docs Change-Id: Ib304a2bf272d281f6cd124ffca95b32531d57899 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/1529 Tested-by: jenkins Reviewed-by:
Xiaofan <xiaofanc@gmail.com>
2013-07-25 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : Fix out-of-tree build The current AX_CONFIG_SUBDIR_OPTION macro assumes that $srcdir is a
relative path. If it is not, jimtcl/configure.gnu is generated such
that an out-of-tree build will fail at the configure step unless the
build dir is a sibling to the source dir. Change the generated jimtcl/configure.gnu wrapper to use the same
`dirname $0` trick as jimtcl/configure (which itself is a wrapper
around autosetup). Change-Id: I0fb19ae114ba37169b422b28313262f9bd83eb6f Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/1528 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-by: Xiaofan
<xiaofanc@gmail.com>
2013-07-23 Paul Fertser <fercerpav@gmail.com>
* : lpcspifi: assume flash is unprotected after probing Since the driver doesn't support any hardware flash protection, it
doesn't make sense to report "protected" status after probing, as it
requires extra commands to unprotect before flashing and might be
confusing for the end-users. Change-Id: I04d96790cc42412df5334951f39fb6723c972ced Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/1525 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-07-17 Spencer Oliver <spen@spen-soft.co.uk>
* : rtos: issue warning on auto detect failure Currently if we fail to auto detect an rtos then no warning is
given. This can also be triggered if we only find some of the rtos
symbols. Change-Id: I215991bbce0909bc6af93560b0f55db13defd123 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/1514 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com>
2013-07-16 Paul Fertser <fercerpav@gmail.com>
* : target: fix halt and wait_halt timeout units Documentation says they should be given values in milliseconds,
DEFAULT_HALT_TIMEOUT matches that too. Change-Id: Ic1a30fa90f75b412c43fe50ba187d01c3d0a5fba Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/1504 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-04-15 Oleksij Rempel <bug-track@fisher-privat.net>
* : mips: add breakpoint support for EJTAG 2.0 EJTAG 1.5, 2.0 and 2.5 have different breakpoint register addresses.
This patch add support of EJTAG 2.0, which is part some broadcom
SoCs. This work was testet on Broadcom BCM7401. Change-Id: I4b0ee23871fa9205f9001b7c9165e7b6ebe9ccbf Signed-off-by:
Oleksij Rempel <linux@rempel-privat.de> Reviewed-on:
http://openocd.zylin.com/1464 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-04-20 Oleksij Rempel <bug-track@fisher-privat.net>
* : mips32_pracc: jump to 0xff20.0200 if cpu reads wrong addr On some CPUs, like bcm7401 with EJTAG v2.0 we can have situation
where CPU do not stops execution. For example, all CP0 commands will
have this issue. In this case we should some hove recover our
session. Currently jump to 0xff20.0200 seems to be good option. If
it brake some thing on newer EJTAG, then check for EJTAG v2.0 should
be added. Change-Id: Icd8841f38a1a85e0f7682b6dc358af8dfaae0744 Signed-off-by:
Oleksij Rempel <bug-track@fisher-privat.net> Reviewed-on:
http://openocd.zylin.com/1353 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-04-18 Oleksij Rempel <bug-track@fisher-privat.net>
* : do not wait forever on ejtag_dma_dstrt_poll Change-Id: I26adab09839795ecf363b7db912392bd5314cec5 Signed-off-by:
Oleksij Rempel <bug-track@fisher-privat.net> Reviewed-on:
http://openocd.zylin.com/1344 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-04-15 Oleksij Rempel <bug-track@fisher-privat.net>
* : mips_ejtag: remove memory protection bit before DM Change-Id: Id1564ae063cea4f056b350436d52df5381ca9608 Signed-off-by:
Oleksij Rempel <bug-track@fisher-privat.net> Reviewed-on:
http://openocd.zylin.com/1341 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-07-07 Martin Schmlzer <martin.schmoelzer@student.tuwien.ac.at>
* : OpenULINK firmware: update firmware hex image This image has been re-compiled with SDCC 3.3.0 and achieves
slightly better performance (50-100 Byte/s for STM32F103 flash
write) due to new/improved compiler optimizations. Successfully tested with ULINK probe and STM32F103 (debug, erase and
write flash). Change-Id: I4329aa42f50461fa3719fd63d0054d8e86982727 Signed-off-by:
Martin Schmölzer <martin.schmoelzer@student.tuwien.ac.at>
Reviewed-on: http://openocd.zylin.com/1486 Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
2013-07-04 Martin Schmlzer <martin.schmoelzer@student.tuwien.ac.at>
* : OpenULINK firmware: Use C99 designated struct initializers Recent versions of SDCC added support for C99 designated struct
initializers. This provides better code readability (no functional
changes). Successfully tested with ULINK probe and STM32F103 (debug, erase and
write flash). Change-Id: Idfa35147d2c3043baaa21a811b926b3845c85f9b Signed-off-by:
Martin Schmölzer <martin.schmoelzer@student.tuwien.ac.at>
Reviewed-on: http://openocd.zylin.com/1484 Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
2013-07-04 Martin Schmlzer <martin.schmoelzer@student.tuwien.ac.at>
* : OpenULINK firmware: fix name of USB Jump Table symbol Fix a case mistake in the name of the USB Jump Table
("USB_jump_table" vs. "USB_Jump_Table") which led to an assembler
error when attempting to build the firmware with recent SDCC
versions, because the assembler now treats symbol names as
case-sensitive. Successfully tested with ULINK probe and STM32F103 (debug, erase and
write flash). Change-Id: I979667b9130efcdccc3ac73269c38f06e0590048 Signed-off-by:
Martin Schmölzer <martin.schmoelzer@student.tuwien.ac.at>
Reviewed-on: http://openocd.zylin.com/1482 Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
2013-06-28 Spencer Oliver <spen@spen-soft.co.uk>
* : target: use consistent halt timeout On slow targets we sometimes get false messages about timeouts due
to poll using 1sec rather than the default 5sec timeout. Change-Id: Icc81c78e0ca86cebf9eeb2f5307cf7a82f1f4ee8 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/1466 Tested-by: jenkins
2013-06-24 Robert Jarzmik <robert.jarzmik@free.fr>
* : jtag/drivers: trivial variable renaming Rename ublast_sleep() time variable from ms to us as the unit is in
micro-seconds. Change-Id: I07ff9c36d302d5d59edb8a5faa73d78cdd6145a4 Signed-off-by:
Robert Jarzmik <robert.jarzmik@free.fr> Reviewed-on:
http://openocd.zylin.com/1457 Tested-by: jenkins Reviewed-by:
Xiaofan <xiaofanc@gmail.com> Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2013-07-07 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : automake: Don't install libopenocd Regular users (and probably no-one else either) have no use for this
library that is installed by default. Change-Id: Ie94e1550cec33f26ef9b68e7ce4f46494f18e644 Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/1479 Tested-by: jenkins Reviewed-by:
Xiaofan <xiaofanc@gmail.com> Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2013-06-28 Marek Vasut <marek.vasut@gmail.com>
* : ftdi/board: Add support for DENX M53EVK Add support for DENX M53EVK board and it's integrated on-board JTAG
adapter using FT2232H. Change-Id: I022dcafa7799bb84a7873ba67ed82f1e49094320 Signed-off-by:
Marek Vasut <marek.vasut@gmail.com> Reviewed-on:
http://openocd.zylin.com/1461 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com>
2013-07-10 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : ftdi: Fix error in calloc retval check Found by clang. Change-Id: Iaa952b063779f4d392d8bdc62a3e7ce9daef2740 Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/1498 Tested-by: jenkins Reviewed-by: Laszlo
Papp <lpapp@kde.org> Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2013-07-09 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : flash/stm32*: Rewrite info functions Factor out common bit masking and printing code and use intermediate
strings to avoid buffer size handling. Change-Id: I7d8c12df11ade6cdca8c917b5524372daa498bf4 Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/1496 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-07-08 Spencer Oliver <spen@spen-soft.co.uk>
* : flash: add missing stm32l medium+ device id The device was correctly used in stm32lx_probe but missing from
stm32lx_get_info. Change-Id: If288b8df3210a945e727e4e27cfbdb948db32fc7 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/1491 Reviewed-by: Andreas Fritiofson
<andreas.fritiofson@gmail.com> Tested-by: jenkins
2013-07-08 Paul Fertser <fercerpav@gmail.com>
* : target: remove double const specificator Double const is bogus and breaks the build on Clang 3.3. Change-Id: I9f9394d17f66289ac74ae6dd48f3165483b72e9e Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/1489 Reviewed-by: Laszlo Papp
<lpapp@kde.org> Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
Tested-by: jenkins
2013-07-06 Paul Fertser <fercerpav@gmail.com>
* : aice: fix FTBFS on ARM This fixes a bunch of errors like this: aice_usb.c: In function
'aice_pack_htdc': aice_usb.c:63:4: error: cast increases required
alignment of target type [-Werror=cast-align] Compile-tested only. I think this can be seen as another justification for an ARM Jenkins
build target. Also, the aice code I've seen so far seems to be assuming it runs on
a little-endian machine so probably there're some endianness issues
hiding. Hsiangkai, please get an old PowerPC Mac (or at least some
fast usb-equipped MIPS SOHO WiFi AP/router for which you can
cross-compile OpenOCD with OpenWrt) and do some real-life testing
for your code on Big-Endian. I propose it to be a requirement for
any non-trivial code submitted by a commercial entity of reasonable
size. Change-Id: I45e05257687d0020d7172b26a8666ebc1950e00c Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/1477 Tested-by: jenkins Reviewed-by:
Hsiangkai Wang <hsiangkai@gmail.com> Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2013-07-09 Laszlo Papp <lpapp@kde.org>
* : ftdi/xds100v2.cfg: Remove the warning as it has been tested Change-Id: I3a8711867e247bc49caa79274ae882f07719d4ce Signed-off-by:
Laszlo Papp <lpapp@kde.org> Reviewed-on:
http://openocd.zylin.com/1492 Reviewed-by: Peter Stuge
<peter@stuge.se> Tested-by: jenkins Reviewed-by: Paul Fertser
<fercerpav@gmail.com>
2013-07-07 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : usb_blaster: maintainer-clean Makefile.in Change-Id: I120fc13a353c63e12d89698869b30c8e751db074 Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/1480 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-06-21 Spencer Oliver <spen@spen-soft.co.uk>
* : doxygen: use inline jtag state maching image The currently used image is 404 so use an inline image instead. Change-Id: I56a0d187fd06dc2c5c370e6532d89815ccec63d6 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/1451 Tested-by: jenkins
2013-06-23 Robert Jarzmik <robert.jarzmik@free.fr>
* : target: xscale more human vector catching Replace hexadecimal masks for vector catching with words
representing the caught exception, such as dabt for data abort, etc
... This way, the new xscale command is : - xscale vector_catch Reads back to the user the current vector catching status - xscale vector_catch reset dabt pabt Sets the caught vectors to data abort and prefetch abort for example. This is mostly taken from Cortex-M3 openocd code. Change-Id: I66591d5796f0e07f0f31edc8d28722e1e48aa8c5 Signed-off-by:
Robert Jarzmik <robert.jarzmik@free.fr> Reviewed-on:
http://openocd.zylin.com/1456 Tested-by: jenkins Reviewed-by: Marek
Vasut <marek.vasut@gmail.com> Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2013-05-27 Ulf Wetzker <ulf.wetzker@eas.iis.fraunhofer.de>
* : at91sam3: Added support for at91sam3sd8a and b This update is untested due to missing hardware. Change-Id: Ibe286b741ebbb1c8ae0bd3dea4b8f3e12320ab34 Signed-off-by:
Ulf Wetzker <ulf.wetzker@eas.iis.fraunhofer.de> Reviewed-on:
http://openocd.zylin.com/1423 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-06-19 IS2T <devel@is2t.com>
* : Support for SST 39VF3201C NOR flash * Add Thumb-2 code to write flash memories that don't support DQ5
polling * Make sure default values for unlock commands are set even if there
is no PRI information given by the flash * Add a fixup to disable DQ5 polling for the SST 39VF3201C Change-Id: Ib08cf20547d0f500d5f78241521e6b49050c3d40 Signed-off-by:
IS2T development team <dev.is2t@gmail.com> Reviewed-on:
http://openocd.zylin.com/1449 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-06-02 Zied Guermazi <guermazi.zied@gmail.com>
* : keep gdb aware of threads if RTOS is set but no threads are
created if gdb server (openocd) answers qfThreadInfo with an empty string
during boot, gdb will not request thread info anymore. to keep
thread awareness in gdb, we have to answer with a non empty string,
'l' indicates an end of list, and is a valid answer here. Change-Id: I7870a5db1090c786f306db16a25871e69b8a9760 Signed-off-by:
Zied Guermazi <guermazi.zied@gmail.com> Reviewed-on:
http://openocd.zylin.com/1432 Reviewed-by: Andreas Fritiofson
<andreas.fritiofson@gmail.com> Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-06-05 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : Allow autoscan up to 64 bit IR lengths Change-Id: Ib15ff67b57606fe6c7997f3f9bd90e096acd5f3d Signed-off-by:
Evan Hunter <ehunter@broadcom.com> Signed-off-by: Andreas Fritiofson
<andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/832 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2013-06-16 Robert Jarzmik <robert.jarzmik@free.fr>
* : drivers/jtag: usb_blaster add pin controls Add pin controls (pin6 and pin8). These pins can be controled either
: - with a fixed value (0 or 1) - by TRST or SRST reset signal (driven low when signal activated). Change-Id: Ie6a3e57fc6ba6a38fdb9a009c976e3febab8f578 Signed-off-by:
Robert Jarzmik <robert.jarzmik@free.fr> Reviewed-on:
http://openocd.zylin.com/1448 Reviewed-by: Andreas Fritiofson
<andreas.fritiofson@gmail.com> Tested-by: jenkins
2013-06-21 Antonio Borneo <borneo.antonio@gmail.com>
* : flash/nor/spi: add flash Micron n25q064 Change-Id: Ic39bb6d020767cece2eaa4e194071be8b002ece4 Signed-off-by:
Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on:
http://openocd.zylin.com/1452 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-06-19 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : stm32f2x: Correct calculation of number of 128k sectors. Fixes regression introduced in 9785f51f that caused write outside
allocated memory during probe of devices with <1024K flash. Reported-by: Alexander Pakhomov <ker0sin@yandex.ru> Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Change-Id:
Ifba8833e436064624efbf678162538fd351a5702 Reviewed-on:
http://openocd.zylin.com/1450 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-06-14 Spencer Oliver <spen@spen-soft.co.uk>
* : build: fix incorrect configure quotes Change-Id: I427035df1ab2bfb2ec6ac8fafc9683f7d3e3bf06 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/1444 Tested-by: jenkins
2013-03-09 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : [RFC] mips: Enable bulk write optimization for all writes mips_m4k_bulk_write_memory was only called from target_write_buffer
as an optimization when the word count was large enough. Remove mips_m4k_bulk_write_memory from the target type, causing the
default implementation to call the regular mips_m4k_write_memory
instead. Perform the dispatch to bulk write in mips_m4k_write_memory,
enabling the optimization for target_write_memory() writes with size
4, in addition to target_write_buffer() writes. It also enables making the choice of bulk write vs regular write
specifically for the architecture and not relying on the generic
target code to make a sensible decision. Change-Id: I295f21a67ceaa195802403f2518ea2e0a025c1c7 Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/1215 Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk> Tested-by: jenkins
2013-06-09 Giuseppe Barba <giuseppe.barba@gmail.com>
* : stm32w: add STM32w108xx generic configuration Add generic TCL configuration for STM STM108Wxx chips. Change-Id: I981cdccb78833f442c3be4188c8c023064067e4e Signed-off-by:
Giuseppe Barba <giuseppe.barba@gmail.com> Reviewed-on:
http://openocd.zylin.com/1439 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-06-05 Spencer Oliver <spen@spen-soft.co.uk>
* : cortex_a: remove memory leak on failure If mem_ap_sel_write_atomic_u32 fails then tmp_buff may not be
released. Detected by clang. Change-Id: I3d5416bd47d0eea61f61ec02ac5e43c82f114108 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/1433 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com>
2013-06-11 Jim Norris <u17263@att.net>
* : Change variable scope. Change scope of the variable gdb_reg_list_idx from global to module. Change-Id: Ib8273c0769c11c1d5a338e4711efbddb8e8a0243 Signed-off-by:
Jim Norris <u17263@att.net> Reviewed-on:
http://openocd.zylin.com/1441 Tested-by: jenkins Reviewed-by:
Øyvind Harboe <oyvindharboe@gmail.com>
2013-05-31 Paul Fertser <fercerpav@gmail.com>
* : libusb1_common, ftdi: clarify libusb_open error message Print a user-friendly message when libusb_open() fails, e.g. Error:
libusb_open() failed with LIBUSB_ERROR_ACCESS when there's a
permissions problem. Also output a configure warning if libusb older than 1.0.9 is
detected. Change-Id: I800f71f06672fe06c0a98a4e469f853b5021bcfe Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/1430 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-06-10 Spencer Oliver <spen@spen-soft.co.uk>
* : build: fix incorrect GPL address from last commit 962b3eb40cc5b69d9b3d6fcc4c5d56c4d204a307 included the old GPL
address. Change-Id: I7affbdc3fc1c9251ea90796ab9eeef4d56ba4308 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/1440 Tested-by: jenkins Reviewed-by: Paul
Fertser <fercerpav@gmail.com>
2013-06-02 Spencer Oliver <spen@spen-soft.co.uk>
* : update files to correct FSF address Change-Id: I429f7fd51f77b0e7c86d7a7f110ca31afd76c173 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/1426 Tested-by: jenkins Reviewed-by: Paul
Fertser <fercerpav@gmail.com>
2013-02-05 Hsiangkai Wang <hsiangkai@gmail.com>
* : nds32: add new target type nds32_v2, nds32_v3, nds32_v3m Add target code for Andes targets. Change-Id: Ibf0e1b61b06127ca7d9ed502d98d7e2aeebbbe82 Signed-off-by:
Hsiangkai Wang <hsiangkai@gmail.com> Reviewed-on:
http://openocd.zylin.com/1259 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-04-14 Robert Jarzmik <robert.jarzmik@free.fr>
* : drivers/jtag: rewrite usb_blaster driver Rewrite the Altera USB Blaster dongle driver : - make extensive use of byte-shift mode, to improve JTAG speed. This is the main reason of the rewrite. It improves the memory dumps with a factor 3 at least, and upload 100 times, from 1 kBytes/sec to 100 kBytes/sec with a USB-Blaster connected to an Altera Virtual JTAG TAP + OpenRISC CPU. - split the low level API part (between FTDI and FTD2xx) from core driver, so that in the future, if both libftdi and ftd2xx can coexist, the driver will be able to switch dynamically from one access to the other. Change-Id: I2ee9cedf4a5eb27501f337993ee0cdee52517e7c Signed-off-by:
Robert Jarzmik <robert.jarzmik@free.fr> Signed-off-by: Marek Czerski
<ma.czerski@gmail.com> Tested-by: Franck Jullien
<franck.jullien@gmail.com> Reviewed-on: http://openocd.zylin.com/467
Tested-by: jenkins Reviewed-by: Andreas Fritiofson
<andreas.fritiofson@gmail.com> Reviewed-by: Alexandre Becoulet
<alexandre.becoulet@free.fr> Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2013-05-05 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : cortex_a: fix FTBS on ARM due to alignment issues Native compilation on RaspberryPi with gcc (Debian 4.6.3-1) 4.6.3
Target: arm-linux-gnueabi ends with error: cortex_a.c: In function 'cortex_a8_read_apb_ab_memory':
cortex_a.c:2063:40: error: cast increases required alignment of
target type [-Werror=cast-align] cc1: all warnings being treated as
errors Also check for malloc failure. This patch is compile-tested only. Change-Id: I580c505424d03ac3a565de54182db22277c52ac1 Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/1369 Tested-by: jenkins Reviewed-by:
Freddie Chopin <freddie.chopin@gmail.com> Reviewed-by: Paul Fertser
<fercerpav@gmail.com> Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2013-04-22 William M.A. Traynor <wmat@alphatroop.com>
* : user guide: Update the ZY1000 description. As per request from Peter at Ultimate Solutions, updated the
description of the ZY100 Stand-alone JTAG probe. Signed-off-by: Bill Traynor <wmat@alphatroop.com> Change-Id: Ia5c0b9a7261becd524a02aba1b22a98a2e09a4c9 Signed-off-by:
William M.A. Traynor <wmat@alphatroop.com> Reviewed-on:
http://openocd.zylin.com/1357 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-05-11 Paul Fertser <fercerpav@gmail.com>
* : cortex_m, hla_target: do not try asserting SRST if it's not
present This should cover all the cases when RESET_SRST_NO_GATING is set
without RESET_HAS_SRST. This might happen when RESET_SRST_NO_GATING
is automatically set by a target code (and not from tcl). However, there're some other places (mips_m4k, arm7_9_common) where
adding RESET_SRST_PULLS_TRST would lead to trying to use SRST even
if it's not present. Currently it's impossible for the user to
enable that flag without enabling SRST. Change-Id: Ib1c6f68feed0b8057d55afd5f260bb22ab332ced Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/1405 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-05-23 Paul Fertser <fercerpav@gmail.com>
* : targets: fix target_type name for Cortex-A targets Commit d9ba56c295f057e716519a798bf9cdb4898c24f4 did a bunch of
renaming of cortex_a8 to cortex_a, including the names in config
files. However that introduced a regression as the name in
target_type struct remained unchanged. This adds the last missing bit: actual renaming of the target name
as understood by OpenOCD. Also change the (hopefully) last instance of using it in the
supplied config files, namely from imx6.cfg. Change-Id: Ib9289fc6d946630133ec6e36c20015ccb50acf61 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/1420 Tested-by: jenkins Reviewed-by: Chris
Johns <chrisj@rtems.org> Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2013-05-05 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : remote_bitbang: Convert to use getaddrinfo() Since gethostbyname() is deprecated and inconvenient, rewrite to use
getaddrinfo() using an implementation more or less copied from its
man page. This automatically enables support for IPv6. This also fixes a FTBFS on ARM due to alignment issues. Change-Id: I990a49506cac4b26faf77587937e506138371f7c Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/1379 Reviewed-by: Paul Fertser
<fercerpav@gmail.com> Tested-by: jenkins Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2013-04-17 Ravaz <embkernel@gmail.com>
* : Added: RTOS awareness for embKernel Change-Id: I98b60f50a5fc486bda83b83ad7ec73826ee11607 Signed-off-by:
Ravaz <embkernel@gmail.com> Reviewed-on:
http://openocd.zylin.com/1334 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-05-03 Paul Fertser <fercerpav@gmail.com>
* : telnet_server: support C-p, C-n for moving through history This modifies telnet server to allow using common readline
combinations to move up/down history, without the need to touch
cursor keys. Change-Id: Ib659075883e91794b44f391f7c29bbdfdd679d10 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/1376 Tested-by: jenkins Reviewed-by:
Freddie Chopin <freddie.chopin@gmail.com>
2013-05-03 Paul Fertser <fercerpav@gmail.com>
* : sysfsgpio: do not try to initialise absent signals When e.g. SRST is not specified, the current code results in
assigning 0 to srst_fd and subsequently a stray '1' is output on
screen on reset. Avoid this by not doing bogus initialisation. Change-Id: Iadb847a384a927ae746124cf6e4e3c6cc8b11406 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/1375 Tested-by: jenkins Reviewed-by:
Freddie Chopin <freddie.chopin@gmail.com>
2013-05-01 Hsiangkai Wang <hsiangkai@gmail.com>
* : gdb_server: remove target_handle_event from gdb event callback In target_call_event_callbacks(), it will execute 1. target_handle_event (use Jim_EvalObj() to evaluate event statements in config files) 2. call user registered callbacks Before calling user registered callbacks, target_handle_event has
been executed. So, there is no need to call target_handle_event()
in gdb event callback. It will execute event statements in config
files twice. Change-Id: I84629e324fa3eb909907badf2319b4138ba89f07 Signed-off-by:
Hsiangkai Wang <hsiangkai@gmail.com> Reviewed-on:
http://openocd.zylin.com/1372 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-by: Freddie Chopin
<freddie.chopin@gmail.com>
2013-05-05 Freddie Chopin <freddie.chopin@gmail.com>
* : The openocd-0.7.0 release. Change-Id: I08157f47ac056e6d2089119dd2d6cbab11b521e8 Signed-off-by:
Freddie Chopin <freddie.chopin@gmail.com>
2013-04-28 Freddie Chopin <freddie.chopin@gmail.com>
* : doc: Update list of interfaces, targets and boards Change-Id: If9481e061f09a37f9ee3c461a1a0ce4d382a9a0d Signed-off-by:
Freddie Chopin <freddie.chopin@gmail.com> Reviewed-on:
http://openocd.zylin.com/1366 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-05-02 Spencer Oliver <spen@spen-soft.co.uk>
* : cfg: remove whitespace Change-Id: I20edbb50efc03711195102f4c6dc8bcfaf043d44 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/1374 Tested-by: jenkins Reviewed-by: Peter
Stuge <peter@stuge.se>
2013-04-28 Freddie Chopin <freddie.chopin@gmail.com>
* : Restore -dev suffix Change-Id: I26f49e02d228b59533237607fa8307ecc627409e Signed-off-by:
Freddie Chopin <freddie.chopin@gmail.com>
2013-02-01 Spencer Oliver <spen@spen-soft.co.uk>
* : target: rename cortex_a8 to cortex_a Rename cortex_a8 target to use a more correct cortex_a name. This
also adds a deprecated_name var so that older scripts issue a
warning to update the target name. cfg files have also been updated to the new target name. Change-Id: I0eb1429c9281321efeb444b27a662a941a2ab67f Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/1130 Tested-by: jenkins Reviewed-by:
Freddie Chopin <freddie.chopin@gmail.com>
2013-04-20 Freddie Chopin <freddie.chopin@gmail.com>
* : Mention "lpc4300" (with "lpc1800" alias) flash drivers in manual Change-Id: I0bb28910b2c07b1ca5bd644e0d88b931d585d3e7 Signed-off-by:
Freddie Chopin <freddie.chopin@gmail.com> Reviewed-on:
http://openocd.zylin.com/1352 Tested-by: jenkins
2013-04-22 Christopher Kilgour <techie@whiterocker.com>
* : kinetis: fix "SF1" parts to limit FlexRAM usage Ensure FlexRAM usage is limited to half the FlexRAM size when
programming. Assume the FlexNVM sector size is equal to half the
FlexRAM. Fix sector erase checking which had an error introduced
when the kinetis_ftfx_command( ) signature was changed. Change-Id: I88edd9c7d4a4ba474cad7b00052feaeedfa8ced8 Signed-off-by:
Christopher Kilgour <techie@whiterocker.com> Reviewed-on:
http://openocd.zylin.com/1358 Tested-by: jenkins Reviewed-by:
Freddie Chopin <freddie.chopin@gmail.com>
2013-04-23 Spencer Oliver <spen@spen-soft.co.uk>
* : arm: fix arm reg regression Seems commit fc2abe63fd3cea7497da7be2955d333bd3f800b9 caused a
regression in that the arm reg cmd no longer worked. The issue was
caused because we changed the value of ARM_MODE_THREAD which was
being checked in arm_init_arch_info. Change-Id: Id571d4ab336d1b0e2b93363147af245d24b65ca5 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/1362 Tested-by: jenkins Reviewed-by: Luca
Bruno <lucab@debian.org> Reviewed-by: Freddie Chopin
<freddie.chopin@gmail.com>
2013-04-23 Hsiangkai Wang <hsiangkai@gmail.com>
* : gdb server: Fix bug. Parse 'M' packet error. The format of 'M' packet is 'M addr,length:XX...'. The data follows
':' immediately. No need to '+2' to SEPARATOR in unhexify(), because
SEPARATOR points to data correctly. Change-Id: I15b5758b540816cc727752e7bf68cd45e623f603 Signed-off-by:
Hsiangkai Wang <hsiangkai@gmail.com> Reviewed-on:
http://openocd.zylin.com/1360 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-by: Freddie Chopin
<freddie.chopin@gmail.com>
2013-04-21 Freddie Chopin <freddie.chopin@gmail.com>
* : Restore -dev suffix Change-Id: I3662c5993766a76d6dd62b919c56cc059c4e50d4 Signed-off-by:
Freddie Chopin <freddie.chopin@gmail.com>
2013-04-20 Freddie Chopin <freddie.chopin@gmail.com>
* : Add "lpc1800" alias for "lpc4300" flash driver Change-Id: I6d2bb9105cc778bd1d21580022529d684c3b21b0 Signed-off-by:
Freddie Chopin <freddie.chopin@gmail.com> Reviewed-on:
http://openocd.zylin.com/1351 Tested-by: jenkins
2013-04-20 Freddie Chopin <freddie.chopin@gmail.com>
* : Improve HACKING Reword info about creating SSH key - it's not required to add it to
Github account. Mention adding created SSH key to Gerrit account -
without this step it's not possible to access Gerrit in further
steps. Change-Id: Ibd81521fbe47d4b4beae0b77cdc9d939fd3ee20c Signed-off-by:
Freddie Chopin <freddie.chopin@gmail.com> Reviewed-on:
http://openocd.zylin.com/1350 Tested-by: jenkins Reviewed-by: Paul
Fertser <fercerpav@gmail.com>
2013-04-19 R. Steve McKown <rsmckown@gmail.com>
* : Support newer OSBDM firmware OSBDM: add new VID:PID implemented in OSJTAG/OSBDM firmware
somewhere between versions 30.13 and 31.21. PFLASH programming
works with this patch, tested on a Freescale Kinetis TWR-K20D72M
using its onboard OSBDM JTAG adapter. Note: flash program testing required hacking kinetis_write() to
force longword programming, as the FTFL program section commands
formulated by kinetis_write() currently fail on this board's
PK20DX256VLL7 processor. Change-Id: Ib7b92ff2fe9ebf6158fb1489f554a19e96cd9651 Signed-off-by:
R. Steve McKown <rsmckown@gmail.com> Reviewed-on:
http://openocd.zylin.com/1348 Tested-by: jenkins Reviewed-by:
Freddie Chopin <freddie.chopin@gmail.com>
2013-04-03 Salvador Arroyo <sarroyofdez@yahoo.es>
* : mips: m4k alternate pracc code. Patch 4 Now all the functions with only fetch accesses are modified. The
same delay between scans has been added to
mips32_pracc_fastdata_xfer(), it should work at the same scan rates
as the other pracc functions, but it needs higher scan_delays to
work. Change-Id: Ifb31d8ea6de9d22674385782913d221a2494dbbf Signed-off-by:
Salvador Arroyo <sarroyofdez@yahoo.es> Reviewed-on:
http://openocd.zylin.com/1196 Tested-by: jenkins Reviewed-by:
Freddie Chopin <freddie.chopin@gmail.com>
2013-03-03 Salvador Arroyo <sarroyofdez@yahoo.es>
* : mips: m4k alternate pracc code. Patch 2 Each pracc function defines a variable ctx of type struct
pracc_queue_info. To simplify the code tree auxiliary functions are
defined: pracc_queue_init(), pracc_add() and pracc_queue_free().
The second parameter in pracc_add() is the store address if the
instruction is a store at dmseg, otherwise it should be 0. The code
is executed by mips32_pracc_queue_exec(). If ejtag_info->mode is 0
mips32_pracc_exec() is called and it should work like with current
code. To generate the delay between scans the number of clock ticks
are calculated with the help of jtag_get_speed_khz(). Due to delays
in the execution of each single ftdi instruction the number of ticks
are higher as it should be, specially at higher scan rates.
mips32_pracc_read_u32() should now work with the new code. Change-Id: I471590a4fc89b56af10bd46c48767b4c64de154f Signed-off-by:
Salvador Arroyo <sarroyofdez@yahoo.es> Reviewed-on:
http://openocd.zylin.com/1194 Tested-by: jenkins Reviewed-by:
Freddie Chopin <freddie.chopin@gmail.com>
2013-04-20 Freddie Chopin <freddie.chopin@gmail.com>
* : Improve clone command in README Without the explicit dir at the end the repository will be cloned to
"code". Change-Id: Icd8b55b4ba74f23b214c3844e2fb785377768119 Signed-off-by:
Freddie Chopin <freddie.chopin@gmail.com> Reviewed-on:
http://openocd.zylin.com/1349 Reviewed-by: Øyvind Harboe
<oyvindharboe@gmail.com> Tested-by: jenkins
2013-04-17 Ben Nahill <bnahill@gmail.com>
* : topic: STM32W support added to em357 driver The em357 driver only supported one page configuration (192k in 96
2048k) pages. This is fine for em357 chips since that's the size
they have, but ST's STM32W chips (pretty much the same) have
different flash configurations available (64, 128, 192, 256k). I
can't find anywhere that would indicate the size of the chip
anywhere in memory so the selection must be manual, using the 'size'
parameter. For backwards compatibility, any size not known to be in
use defaults to the 192k configuration. I don't have any em357
devices to test, but I also found that I had to re-assert the FPEC
clock enable before performing an erase. This is a single line and
shouldn't break any configurations. My testing so far has only been with a 64k device with 8k of RAM. Change-Id: Ic0ac400a9696efaa09d1407dd4a4d456bc2c318b Signed-off-by:
Ben Nahill <bnahill@gmail.com> Reviewed-on:
http://openocd.zylin.com/1336 Tested-by: jenkins Reviewed-by: Peter
Stuge <peter@stuge.se>
2013-04-11 Spencer Oliver <spen@spen-soft.co.uk>
* : stlink: fix connect under reset issues We need to make sure that srst is asserted before we attempt to
switch into jtag or swd mode otherwise we receive a error (-9) -
invalid device id. Change-Id: I625166c751cfba8e8a5290f40122bb9afc9dbb39 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/1315 Tested-by: jenkins
2013-03-19 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : ft2232: remove ft2232_large_scan memory leak This is a very long outstanding issue see:
http://lists.berlios.de/pipermail/openocd-development/2011-June/019404.htmlAs this driver is deprecated the fix is added to purely to reduce
the warnings reported by clang. Change-Id: I3a16a704e0e8db27efda50fdcfdd35abf5ebed0f Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/1278 Tested-by: jenkins
2013-03-28 Spencer Oliver <spen@spen-soft.co.uk>
* : jimtcl: update embedded jimtcl Update to latest jimtcl commit
2c1eba991e21a6f0b531fb0f83e21f9e6ee7c515. This fixes issues when
building on certain versions of Mac OSX. Change-Id: I551477752d7913c84e6deb60b889d0c14bd200a0 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/1311 Tested-by: jenkins Reviewed-by:
Xiaofan <xiaofanc@gmail.com>
2013-04-15 Peter Dietzsch <peter.dietzsch@ib-dt.de>
* : flash: Added support for at91sam4sd32c Change-Id: I7223980602d7595a3dd7a3ceaac3f58d4f73f88d Signed-off-by:
Peter Dietzsch <peter.dietzsch@ib-dt.de> Reviewed-on:
http://openocd.zylin.com/1332 Tested-by: jenkins Reviewed-by: Peter
Stuge <peter@stuge.se>
2013-03-18 Michel JAOUEN <michel.jaouen@stericsson.com>
* : arm_adi_v5: fix for csw nonsecure access. Add command to fix CSW_SPROT in register AP_CSW. This solves dap
apmem access in non secure access. Change-Id: I7cfcb6434d75f5cfd4a2630a059901cdeea010ce Signed-off-by:
Michel JAOUEN <michel.jaouen@stericsson.com> Reviewed-on:
http://openocd.zylin.com/1276 Tested-by: jenkins Reviewed-by: mike
brown Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
2013-02-24 Salvador Arroyo <sarroyofdez@yahoo.es>
* : mips: change in restoring debug working register In current devel code there are 3 functions (related to m4k code)
that need to restore register 8 from pracc stack:
mips32_pracc_read_u32() mips32_cp0_read()
mips32_pracc_write_mem_generic() And mips32_pracc_read_mem() needs to restore regs 8 and 9 from pracc
stack. Values in this registers should be the same as read by
mips32_pracc_read_regs() when entering debug mode and can be
modified by mips32_pracc_write_regs() when leaving debug mode.
There is no need to read their values from the processor registers
every time. The fields reg8 and reg9 are added to struct mips_ejtag to store
these register values and the call to mips32_save_context() is
shifted in mips_m4k_debug_entry() in order to store them before any
other function needs to restore these registers. For the same
reason in function mips_m4k_step() the call to
mips_m4k_set_breakpoint(), if needed, should be made after calling
mips_m4k_debug_entry(). For single word write the number of pracc
accesses are now 9 or 8, from 13 or 12 in current code, single word
read takes now 10 instead of 12. This patch is really the first in a set of patches for an alternate
m4k pracc code much faster that current code. At least for me with
pic32mx works fine. Change-Id: Ibd9df5e8b9f78ce05a180949ba6a561c761b61d6 Signed-off-by:
Salvador Arroyo <sarroyofdez@yahoo.es> Reviewed-on:
http://openocd.zylin.com/1146 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-02-23 Salvador Arroyo <sarroyofdez@yahoo.es>
* : pic32mx: 0 wait state option By default pic32mx starts after any reset with 1 wait state for RAM
access/exec. It can be changed to 0 wait states by clearing the
BMXWSDRM bit (bit 6) in BMXCON register. With 0 wait states near
doubles the execution speed. CRC check sum can be done much faster
increasing verify_image speed. Fast data transfer also works with a
bit higher scan rate, up to 1500 Khz. This option can be set at any
time with mww 0xbf882004 0x40 or cleared with mww 0xbf882008 0x40.
Some numbers for FTDI/HS with current devel code and a elf file: Core clock / wait states verify_image speed
------------------------------------|------------------------------ 4 Mhz / 1 21 KiB/s 4 Mhz / 0 36 KiB/s 8 Mhz / 1 37 KiB/s 8 Mhz / 0 57 KiB/s Change-Id: I4092ad0f3753f72f77108718d0ed3a3ab84e3b23 Signed-off-by:
Salvador Arroyo <sarroyofdez@yahoo.es> Reviewed-on:
http://openocd.zylin.com/1141 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-by: Xiaofan
<xiaofanc@gmail.com>
2013-02-27 Henrik Nilsson <henrik.nilsson@bytequest.se>
* : Added support for ARMv7-M in arm io. Added support for ARMv7-M targets in arm_nandwrite and arm_nandread. Change-Id: Iab1d78d401f735e191c6a8519f3619035a300fae Signed-off-by:
Henrik Nilsson <henrik.nilsson@bytequest.se> Reviewed-on:
http://openocd.zylin.com/1188 Tested-by: jenkins Reviewed-by:
Freddie Chopin <freddie.chopin@gmail.com>
2013-03-18 mike brown <theshed@mikebrown.org.uk>
* : arm_adi_v5: fix mem_ap_read_buf_u32() JTAG nastiness.. Moved JTAG code out of transport-neutral file (arm_adi_v5.c) into
transport specific file (adi_v5_jtag.c). Added ap_block_read to
dap_ops interface (arm_adi_v5.h) to support the move. Change-Id: I796d3984f138aad052b97c77ac9c12ffd1158f74 Signed-off-by:
mike brown <mike@theshedworks.org.uk> Reviewed-on:
http://openocd.zylin.com/1277 Tested-by: jenkins Reviewed-by: Michel
JAOUEN <michel.jaouen@stericsson.com> Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2013-03-19 Spencer Oliver <spen@spen-soft.co.uk>
* : ti_icdi: add icdi_usb_query result check Change-Id: I0b40586677a77ee6ae46fe120a677616bde22d1e Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/1279 Tested-by: jenkins Reviewed-by:
Xiaofan <xiaofanc@gmail.com> Reviewed-by: Andreas Fritiofson
<andreas.fritiofson@gmail.com>
2013-03-14 Spencer Oliver <spen@spen-soft.co.uk>
* : docs: remove unnecessary whitespace Change-Id: I11bad3de145d941b61e9bd4920bc3281ece91ab3 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/1245 Tested-by: jenkins Reviewed-by:
Freddie Chopin <freddie.chopin@gmail.com>
2013-03-23 Thomas Schmid <thomas.schmid@gmail.com>
* : at91sam3: Wrong PLLA frequency calculations The command 'at91sam3 info' ignores PLLA DIV values >1. This patch
fixes it. Tested on a SAM3S4C chip. Change-Id: I051f41bb3dcefe1ac785fbcb48477a807daa16a2 Signed-off-by:
Thomas Schmid <thomas.schmid@gmail.com> Reviewed-on:
http://openocd.zylin.com/1307 Tested-by: jenkins Reviewed-by: Peter
Stuge <peter@stuge.se>
2013-03-15 Spencer Oliver <spen@spen-soft.co.uk>
* : target: fix broken Cortex-R4 support This regression was caused due to the recent addition of R4 support
and the removal of the bulk_write_memory handler. Change-Id: Ide692737f235c0e9906becb6f3502ba52c5907aa Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/1246 Tested-by: jenkins
2013-03-08 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : target: Add default implementation of bulk_write_memory Remove dummy implementations from all targets except arm7_9 and
mips, which are the only ones with real implementations. Replace
with a single default implementation simply calling
target_write_memory(). Change-Id: I9228104240bc0b50661be20bc7909713ccda2164 Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/1213 Tested-by: jenkins Reviewed-by:
Øyvind Harboe <oyvindharboe@gmail.com> Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2012-10-12 Evan Hunter <ehunter@broadcom.com>
* : adi_v5: search for Debug and Memory AP support Adds dap_find_ap() function. Change-Id: I6643025624009b12d4936de67a605da52c07be49 Signed-off-by:
Evan Hunter <ehunter@broadcom.com> Reviewed-on:
http://openocd.zylin.com/909 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2012-06-05 Stefan Mahr <stefan.mahr@sphairon.com>
* : jtag: add support for some probes that are mostly compatible
with opendous This patch adds support for usbprog-jtag and usbvlab that are mostly
compatible to opendous except for IN and OUT endpoints and usb
transfer mode. Change-Id: I44557c2449fe7473295038efa6ae4fc8d80ec7bf Signed-off-by:
Stefan Mahr <stefan.mahr@sphairon.com> Reviewed-on:
http://openocd.zylin.com/687 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2013-03-12 Stefan Mahr <stefan.mahr@sphairon.com>
* : jtag: parport: avoid freeing read-only memory section If command parport_cable is not executed, parport_cable points to
const char array in read-only memory as default. On exit free() will
try to free this read-only memory. This patch uses strdup to
allocate memory when defining default setting. Change-Id: I290e707ac6a37e9dc1b45c85ca51d8bd6aac6761 Signed-off-by:
Stefan Mahr <stefan.mahr@sphairon.com> Reviewed-on:
http://openocd.zylin.com/1223 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-03-10 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : target: Remove read_memory_imp Change-Id: Idc6ef3b075ccbb5945df8fea746011cb17175d8f Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/1219 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-03-10 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : target: Remove soft_reset_halt_imp Change-Id: I12c907584ef73de570eba2dcfeb8477cabc6098f Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/1217 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2012-12-27 Rodrigo Melo <rmelo@inti.gob.ar>
* : interface: opendous_ftdi config file added This config file add support to the opendous cable based on the chip
ft2232H, using the ft2232 interface driver. Change-Id: I8171a0c475af8d61e081844ee86466a392138fb0 Signed-off-by:
Rodrigo Melo <rmelo@inti.gob.ar> Reviewed-on:
http://openocd.zylin.com/1096 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2012-10-08 Drasko DRASKOVIC <drasko.draskovic@gmail.com>
* : doc: Added MIPS target document This document explains MIPS EJTAG operations implementations within
OpenOCD. Change-Id: Ieaf01f8bc5a97d7b0f2c847bac5fbb2ccf8ba088 Signed-off-by:
Drasko DRASKOVIC <drasko.draskovic@gmail.com> Reviewed-on:
http://openocd.zylin.com/904 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2013-03-02 Alex Austin <alex.austin@spectrumdsi.com>
* : Kinetis: Symbolic names for Addresses and Commands Change-Id: I2165b66c37bd1608139b5dd00f48124161e13ef0 Signed-off-by:
Alex Austin <alex.austin@spectrumdsi.com> Reviewed-on:
http://openocd.zylin.com/1191 Tested-by: jenkins Reviewed-by:
Christopher Kilgour <techie@whiterocker.com> Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2013-03-06 Spencer Oliver <spen@spen-soft.co.uk>
* : tcl: add flash programming helper This adds a program proc that simplifies using OpenOCD as a
standalone programmer. Change-Id: I6ece492cd878c170b734e8bb2e09fe8c4557d5a6 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/1199 Tested-by: jenkins Reviewed-by: Jörg
Fischer <turboj@gmx.de> Reviewed-by: Andreas Fritiofson
<andreas.fritiofson@gmail.com> Reviewed-by: Øyvind Harboe
<oyvindharboe@gmail.com>
2013-03-07 Spencer Oliver <spen@spen-soft.co.uk>
* : gdb: use stdio functions to convert parameters This reduces the number of gdb conversion routines we have to
maintain. Change-Id: Ia43d6cac86cbe4f76fe0875b9d9c16ac340296db Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/1128 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-by:
Freddie Chopin <freddie.chopin@gmail.com>
2013-03-07 Spencer Oliver <spen@spen-soft.co.uk>
* : docs: use doxygen keywords for formatting Rather than use bold fonts etc, use the correct keywords so doxygen
formats better. Change-Id: Id9d63f0fc3465665376d7a536c4d6da71998f40e Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/1210 Tested-by: jenkins Reviewed-by:
Øyvind Harboe <oyvindharboe@gmail.com>
2013-02-27 Spencer Oliver <spen@spen-soft.co.uk>
* : flash: fix stm32 failed probe using incorrect flash size This fixes an issue if the device is manually probed after the
initial probe fails due to being unable to read flash size register.
In this situation the driver assumes the user has overridden the
flash size when infact this may not be the case. It also seems on the older stm32f1 devices the flash register is not
readable when locked, this does not seem to apply to the newer parts
- f0, f3, f4. Change-Id: I125f872fcb2d962ca6705f97b62d957e2b31303b Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/1187 Tested-by: jenkins Reviewed-by: Johan
Almquist <johan.almquist@assaabloy.com> Reviewed-by: Freddie Chopin
<freddie.chopin@gmail.com>
2013-02-25 Spencer Oliver <spen@spen-soft.co.uk>
* : ti-icdi: catch failed icdi_send_cmd warnings detected by clang. Change-Id: I1532bcc12a8ab7446646dfb2a7afa8894ff03679 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/1180 Tested-by: jenkins Reviewed-by:
Xiaofan <xiaofanc@gmail.com> Reviewed-by: Freddie Chopin
<freddie.chopin@gmail.com>
2013-02-25 Spencer Oliver <spen@spen-soft.co.uk>
* : target: use common target_name to access target::cmd_name member Change-Id: I203b89ef25a072c3b00b504483d5f2a83477fad6 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/1182 Tested-by: jenkins Reviewed-by:
Mathias Küster <kesmtp@freenet.de> Reviewed-by: Andreas Fritiofson
<andreas.fritiofson@gmail.com>
2013-02-27 Mathias K <kesmtp@freenet.de>
* : Change reset configuration. This patch change the default reset config from SYSRESETREQ to the
working VECTRESET. Change-Id: I21a9a74b9c0c68cfa3a6e6dac9b123acc98a93cb Signed-off-by:
Mathias K <kesmtp@freenet.de> Reviewed-on:
http://openocd.zylin.com/1186 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-02-25 Mathias K <kesmtp@freenet.de>
* : Add the target name to debug output for better understanding and
error identification. Change-Id: I1054debea6cd3a6548aadeae2d84000a0039814e Signed-off-by:
Mathias K <kesmtp@freenet.de> Reviewed-on:
http://openocd.zylin.com/1178 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-01-31 Spencer Oliver <spen@spen-soft.co.uk>
* : gdbserver: use common hexify/unhexify routines Change-Id: I9989b625666e9c60ec9867cf6f4d94f41c998c3f Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/1105 Tested-by: jenkins Reviewed-by:
Mathias Küster <kesmtp@freenet.de> Reviewed-by: Øyvind Harboe
<oyvindharboe@gmail.com>
2013-02-07 Spencer Oliver <spen@spen-soft.co.uk>
* : target: hla correctly use target events Because we were always running using target state TARGET_RUNNING
target algorithm's were a bit verbose compared to other targets. This brings the hla target inline with the other targets. Change-Id: I3a257fdc878b87660fac8b5eca22b421eee5b349 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/1134 Tested-by: jenkins
2013-02-19 Johan Almquist <johan.almquist@assaabloy.com>
* : stm32: add support for stm32l1x 256k high density single bank
devices Added support for new ST devices in the stm32lx portfolio, with
device id 0x427. These have 256k flash, but in a single bank
compared to device id 0x436 which is a dual bank flash. Change-Id: Iafdfe990f24bd04b0d6e00385ee70690f3bf8d5f Signed-off-by:
Johan Almquist <johan.almquist@assaabloy.com> Reviewed-on:
http://openocd.zylin.com/1140 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2013-02-05 Spencer Oliver <spen@spen-soft.co.uk>
* : stm32: enable flash bank size override It has been seen on some stm32 targets that the flash size register
that is probed by the driver may contain an invalid size. This change enables the user to override the probed value. Change-Id: I09359e59a96f9133d3d939670957d32a830a944e Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/1132 Tested-by: jenkins Reviewed-by: Johan
Almquist <johan.almquist@assaabloy.com>
2013-02-01 Spencer Oliver <spen@spen-soft.co.uk>
* : armv7m: use ARM_MODE_THREAD core mode for algoorithm's This makes sure we are using privileged mode when executing any
loaders. Change-Id: I18bf32ec92e1c76a66ab25e3712652bc3650b332 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/1108 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com>
2013-01-09 Spencer Oliver <spen@spen-soft.co.uk>
* : armv7m: use generic arm read/write_core_reg Change-Id: I0c15acc1278d2972269d294078495e6b069c830b Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/969 Tested-by: jenkins Reviewed-by: Andreas
Fritiofson <andreas.fritiofson@gmail.com>
2012-11-08 Spencer Oliver <spen@spen-soft.co.uk>
* : armv7m: remove unused armv7m_regtype This simplifies the armv7m_core_reg structure ready for the move to
using the generic struct arm_reg. Change-Id: I8edb9d77cc54965d49cd2e754568ebcea4cf6964 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/967 Tested-by: jenkins Reviewed-by: Andreas
Fritiofson <andreas.fritiofson@gmail.com>
2013-01-28 Spencer Oliver <spen@spen-soft.co.uk>
* : helper: hexify correctly handle signed chars The current implementation of hexify was not correctly handling
signed chars. This function is currently used by the ti-icdi driver and as such
was causing random write issues. As a note perhaps a better long term fix would be to change to using
uint8_t buffers rather than char. This will require changes to the
ti-icdi driver aswell. Change-Id: I572e69ff2b99227a7d412de056458c0393794b03 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/1124 Tested-by: jenkins Reviewed-by:
Øyvind Harboe <oyvindharboe@gmail.com>
2013-01-03 Spencer Oliver <spen@spen-soft.co.uk>
* : rtos: do not use LOG_OUTPUT LOG_OUTPUT is not intended for general output so use the correct
LOG_* functions instead. Change-Id: I48d0fe765637024dbafc68f2ea08219d3ff42754 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/1104 Tested-by: jenkins Reviewed-by:
Freddie Chopin <freddie.chopin@gmail.com>
2013-01-16 Spencer Oliver <spen@spen-soft.co.uk>
* : jtag: only change state if necessary All the other drivers will only change the state if required. This
brings all the other drivers inline with this behaviour. The original issue relates to problems on xscale commit
7989000e0969c1ccf69acbc3ce649a020bc1ee66 Change-Id: Ifc90ec2eef68a70a14f37c00931a07982bfa200c Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/1114 Tested-by: jenkins Reviewed-by:
Freddie Chopin <freddie.chopin@gmail.com>
2013-01-25 Spencer Oliver <spen@spen-soft.co.uk>
* : hla: enable DWT component and fix watchpoints The makes sure the DWT component is always enabled so that
watchpoints work as expected. This does need merging into the existing cortex_m logic, however at
the moment this is non trivial. Change-Id: Ic6cccd1badb51f70a2ca8ea9ab6923788a94c1bf Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/1122 Tested-by: jenkins Reviewed-by:
Freddie Chopin <freddie.chopin@gmail.com>
2012-12-07 Spencer Oliver <spen@spen-soft.co.uk>
* : flash: reduce stm32lx loader timeout Waiting 20secs is a bit much excessive, we could probably reduce to
5. Change-Id: Iffb97adb99c2541a075fe78dbc88a53ddf340214 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/1009 Tested-by: jenkins
2012-12-30 Spencer Oliver <spen@spen-soft.co.uk>
* : docs: update stm32f1x/stm32f2x driver info As we use the two ST flash drivers for multiple stm32 variants
update the docs as to which targets use which driver. Change-Id: I84943ff45482a22b3d3dd8491bb4242d79415939 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/990 Tested-by: jenkins Reviewed-by: Andreas
Fritiofson <andreas.fritiofson@gmail.com>
2013-01-04 Spencer Oliver <spen@spen-soft.co.uk>
* : flash: add stm32f2x flash lock/unlock cmds Change-Id: I35344cc47fa4f0a49c034455c5abf479faa0344a Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/988 Tested-by: jenkins Reviewed-by: Andreas
Fritiofson <andreas.fritiofson@gmail.com>
2013-01-18 Roman D <me@iamroman.org>
* : flash: EFM32 GG/LG page size detection fix Fixed flash page size detection according to EFM32 GG/LG errata.
MEM_INFO_PAGE_SIZE register containts invalid value in devices with
revision number lower than 18 and should not be used. Change-Id: Idb2832246efcbbec2fd98a5c458f72a36df386fb Signed-off-by:
Roman D <me@iamroman.org> Reviewed-on: http://openocd.zylin.com/1116
Tested-by: jenkins Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2013-01-10 Roman D <me@iamroman.org>
* : flash: EFM32 flash implementation Limited (no page unprotect, no block writes) implementation of EFM32
flash support. Verified with EFM32 development kit and STLink V2
adapter using SWD. Change-Id: I3db2054d9aa628a1fe4814430425db3c9959c71c Signed-off-by:
Roman D <me@iamroman.org> Reviewed-on: http://openocd.zylin.com/1106
Tested-by: jenkins Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2013-01-02 Spencer Oliver <spen@spen-soft.co.uk>
* : hla: support setting DCB_DEMCR on resume This is only minimal support to enable use to catch a Hard Fault in
the stm32l flash bootloader. Change-Id: I21d6a11893e2f1d173ebff1a651d6f52bf6eec32 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/1103 Reviewed-by: Peter Stuge
<peter@stuge.se> Tested-by: jenkins
2012-11-20 Spencer Oliver <spen@spen-soft.co.uk>
* : flash: use correct stm32f1x option read mask Make sure we do not mask out the BFB2 boot bank bit, as this is used
on the larger XL devices. Change-Id: Iacfdf874140e409e0c4ca9b9aee8f5c2f90dc9be Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/991 Tested-by: jenkins Reviewed-by: Andreas
Fritiofson <andreas.fritiofson@gmail.com>
2012-11-20 Spencer Oliver <spen@spen-soft.co.uk>
* : stm32f1x: preserve user option byte data The user is able to use 2bytes of the options byte data for whatever
purpose they wish. Make sure we preserve this during an option
erase/write. Change-Id: Ibf951b11c59a148e671b1eb47fdc9b4f49ccae15 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/983 Tested-by: jenkins Reviewed-by: Andreas
Fritiofson <andreas.fritiofson@gmail.com>
2012-12-29 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : doc: Clarify the topic field in the commit comment template Change-Id: Iea1f3b665b011ca3748800048039d3f6b33d7756 Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/1101 Reviewed-by: Øyvind Harboe
<oyvindharboe@gmail.com> Reviewed-by: Tomasz CEDRO <cederom@tlen.pl>
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk> Tested-by:
Spencer Oliver <spen@spen-soft.co.uk>
2012-12-06 Spencer Oliver <spen@spen-soft.co.uk>
* : cfg: increase stm32l-discovery working area This part has 16k ram so make it all available. Change-Id: Ifeb7bc850bfe4f68d0affb8f6a0931b4327e7257 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/1006 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com>
2012-12-04 Spencer Oliver <spen@spen-soft.co.uk>
* : cfg: enable stlink stm32l HSI Switch to using the internal HSI when a reset init is called, this
also matches the std stm32l cfg. Read (verify) speed is increased from 17 to 120 KiB/s. Change-Id: Ic94ba85949ffdefa17b7be45eef14e30f941d107 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/1004 Tested-by: jenkins Reviewed-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com>
2012-11-20 Spencer Oliver <spen@spen-soft.co.uk>
* : flash: format stm32f2x driver defines Change-Id: Ie903996368a8d4313df87839d5ba3f2a102796a3 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/987 Tested-by: jenkins Reviewed-by: Andreas
Fritiofson <andreas.fritiofson@gmail.com>
2012-11-15 Spencer Oliver <spen@spen-soft.co.uk>
* : stlink: add generic open error routine Change-Id: I1cd18896ab2a37255471a2d160befed8dd8fb544 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/979 Tested-by: jenkins
2012-11-22 Spencer Oliver <spen@spen-soft.co.uk>
* : gdb: fix correct shutdown when using pipes 50d5441e2a615fb2c44b41a777e4373901f7a2e6 commit added a regression
when using pipes with GDB, OpenOCD would appear to hang when exiting
GDB. This fixes that behaviour so we shutdown correctly. Change-Id: I9b337c2bdd41b1966de1c7631118257afcbfa6bd Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/993 Tested-by: jenkins
2012-11-08 Spencer Oliver <spen@spen-soft.co.uk>
* : doc: replace luminary with TI urls's Change-Id: Ic8a768f5a498e78b96421c6137238593c159fd72 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/970 Tested-by: jenkins
2012-11-12 Spencer Oliver <spen@spen-soft.co.uk>
* : icdi: add TI icdi interface This is the new proprietary interface replacing the older FTDI based
adapters. It is currently fitted to the ek-lm4f232 and Stellaris
LaunchPad. Change-Id: I794ad79e31ff61ec8e9f49530aca9308025c0b60 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/922 Tested-by: jenkins
2012-10-25 Spencer Oliver <spen@spen-soft.co.uk>
* : hla: fix watchpoints not being set Watchpoints were not being enabled when the hl adapter target was
resumed. This effects both stlink and icdi interfaces. Change-Id: Ia9f8a9415be97a467cd099b63b6bc9f7f37d0c0d Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/931 Tested-by: jenkins
2012-10-24 Spencer Oliver <spen@spen-soft.co.uk>
* : stlink: rename stlink cmd names As part of the switch to using the hla for the stlink interface we
rename the cmds to a more generic name. Update scripts to match new names. Also add handlers for deprecated names. Change-Id: I6f00743da746e3aa13ce06acfdc93c8049545e07 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/921 Tested-by: jenkins
2012-10-24 Spencer Oliver <spen@spen-soft.co.uk>
* : stlink: print version info Print stlink info always rather than just when debug log enabled. Change-Id: I2a29ef046925200e1c94624280c0b252fab5219a Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/925 Tested-by: jenkins
2012-11-15 Muranaka Masaki <monaka@users.sf.net>
* : flash: fm3 mb9bfxx7 mb9bfxx8 support Patch submitted by Trac #55 Change-Id: I08b0d79d24fe9108ca0bbfbc9b45c60359b6d180 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/981 Tested-by: jenkins
2012-12-10 Kamal Dasu <kdasu.kdev@gmail.com>
* : mips_m4k: Fixed mips_m4k_resume code for smp targets Fix for bug introduced in in mips smp support code in the resume
logic that is checking for wrong return value. Change-Id: Ice3e0069f936b556fecc338ccc12ddba38deeaf6 Signed-off-by:
Kamal Dasu <kdasu.kdev@gmail.com> Reviewed-on:
http://openocd.zylin.com/1048 Tested-by: jenkins Reviewed-by:
Spencer Oliver <spen@spen-soft.co.uk>
2012-11-26 Spencer Oliver <spen@spen-soft.co.uk>
* : jtag: fix reset_config copy/paste error As the other arg checks do not OR, it is assumed this is a
copy/paste error from the original code author. Change-Id: I7dfc7396254a6f558887def951c57dfd4a0e6c2c Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/997 Tested-by: jenkins Reviewed-by: Paul
Fertser <fercerpav@gmail.com> Reviewed-by: Freddie Chopin
<freddie.chopin@gmail.com>
2012-11-13 Spencer Oliver <spen@spen-soft.co.uk>
* : jtag: enable connect under reset Currently if the target supports srst_nogate we wait until target
assert_reset until we get a chance to assert the srst. However
sometimes we will not get this far if the target has already failed
the jtag_examine_chain. This has been tested on targets that support this behaviour (STM32
and STR9). Change-Id: Ibcf7584b137b472f31ba6ddd5cd99d848c5508d1 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/971 Tested-by: jenkins Reviewed-by: Paul
Fertser <fercerpav@gmail.com> Reviewed-by: Freddie Chopin
<freddie.chopin@gmail.com>
2012-11-02 Evan Hunter <ehunter@broadcom.com>
* : cortex_a: Fix target entry state route. If target is disabled at init, then is examined using 'arp_examine',
it can get to cortex_a8_poll with the target state being unknown. Change-Id: Ifffb345bf971d275d2eb1912648b29f0a75f6ccc Signed-off-by:
Evan Hunter <ehunter@broadcom.com> Reviewed-on:
http://openocd.zylin.com/954 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2012-10-17 Kamal Dasu <kdasu.kdev@gmail.com>
* : mips_ejtag: Adding EJTAG 4.x and 5.x as valid versions This is a minor change to log EJTAG version 4.x and 5.x as valid
versions when debug log is enabled. Change-Id: Ie20458d033c6d22842cb4a31b56765d4ba2ff123 Signed-off-by:
Kamal Dasu <kdasu.kdev@gmail.com> Reviewed-on:
http://openocd.zylin.com/936 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2012-11-30 Aymeric Vincent <vincent.aymeric@gmail.com>
* : Make NetBSD a recognized system Change-Id: I7fcb540553da7833a8b6a82335a7296539a8f491 Signed-off-by:
Aymeric Vincent <vincent.aymeric@gmail.com> Reviewed-on:
http://openocd.zylin.com/998 Reviewed-by: Peter Stuge
<peter@stuge.se> Tested-by: jenkins
2012-11-15 Spencer Oliver <spen@spen-soft.co.uk>
* : stlink: format src defines Change-Id: I7c3fd6e84681e007f1983ad9b8c85369cf9f3ba1 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/978 Tested-by: jenkins Reviewed-by: Andreas
Fritiofson <andreas.fritiofson@gmail.com>
2012-11-11 Salvador Arroyo <sarroyofdez@yahoo.es>
* : mips: patch mips32_pracc_exec_write() No function writes to MIPS32_PRACC_PARAM_IN addresses and probably
has no much sense. Any attempt to write to those addresses should
be an error. Change-Id: Iebea5fa9954e2cd56ad34976dd7d25009c6e6388 Signed-off-by:
Salvador Arroyo <sarroyofdez@yahoo.es> Reviewed-on:
http://openocd.zylin.com/975 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2012-11-03 Salvador Arroyo <sarroyofdez@yahoo.es>
* : mips: optimize mips32_pracc_write_regs() code. All the the loads are done with lui and ori instructions, there is
no need to save any register, they will be overwritten. Like in the
previous patch, for speed optimization in write code, same
instructions can be saved if the lower half word or the upper half
word is 0. If the lower half word is 0, it can be loaded with only
a lui instruction. If the higher half word is 0 it can be done with
an ori instruction with register 0. This code saves 10 pracc
accesses at a minimum, and 40 at a maximum, obviously if register 2
to 31 are 0 or a half word is 0 Current code needs 91 pracc
accesses. Change-Id: I892c5b440191d0c7a474c96845d41c373b7fc637 Signed-off-by:
Salvador Arroyo <sarroyofdez@yahoo.es> Reviewed-on:
http://openocd.zylin.com/957 Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk> Tested-by: jenkins
2012-11-02 Salvador Arroyo <sarroyofdez@yahoo.es>
* : mips: optimize read code for speed Really nothing new that not explained in previous patches. The code
is expanded as needed, there are no loops in pracc code. For the
first value pracc accesses are reduced from 39 to 16 and for
aditional values from 10 to 3. dump_image should work around 3x
faster. Change-Id: I37c9b13395c09eb52a91f10cdb6cbaedef8ab98b Signed-off-by:
Salvador Arroyo <sarroyofdez@yahoo.es> Reviewed-on:
http://openocd.zylin.com/955 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2012-11-01 Salvador Arroyo <sarroyofdez@yahoo.es>
* : mips: optimize CP0 read/write code MIPS32_PRACC_BASE_ADDR is defined as 0xFF200000. Now is possible to
load the base address with a lui instruction and only one pracc
access. Offsets to the pracc code addresses are defined to simplify
the code and probably make it a bit more readable or self-explained. Change-Id: I853dd2d7fad52745931cc6e6be68c0ae156d897e Signed-off-by:
Salvador Arroyo <sarroyofdez@yahoo.es> Reviewed-on:
http://openocd.zylin.com/951 Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk> Tested-by: jenkins
2012-10-30 Salvador Arroyo <sarroyofdez@yahoo.es>
* : mips: optimize mips_ejtag_step_disable() code The code is a bit large compared to mips_ejtag_step_enable(). With
the mips32 xori instruction the code can be reused. The number of
pracc accesses are reduced from 18 to 7. Change-Id: If3974ebd64da4461c22b089796646990e68e1b72 Signed-off-by:
Salvador Arroyo <sarroyofdez@yahoo.es> Reviewed-on:
http://openocd.zylin.com/944 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2012-11-15 Spencer Oliver <spen@spen-soft.co.uk>
* : doc: update to new sourceforge git url The new sourceforge platform also supports http access, so use that
rather then repo.or.cz. Change-Id: Ica89d9475847a2095c179b240053145795549802 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/982 Tested-by: jenkins
2012-11-10 Matthias Blaicher <matthias@blaicher.com>
* : rtos: Fix error in reading the current thread in ChibiOS/RT Commit c4ab127b4069e20e introduces a copy&paste error which affects
the detection of the current thread. As a result, the stack of the current thread won't be detected
correctly in most cases. Change-Id: Ib46b8f64be8053d7e9103f427c66796963214419 Signed-off-by:
Matthias Blaicher <matthias@blaicher.com> Reviewed-on:
http://openocd.zylin.com/974 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2012-10-22 Karl Kurbjun <kkurbjun@gmail.com>
* : ARM v4/v5 target files: mrc and mcr help information is
incorrect. The order of the mrc/mcr command matches the ARM Architecture
Reference Manual. This patch corrects the help information for
mrc/mcr. Change-Id: I1f0e6a628a3644124591a6aa291b8a58cfd93b44 Signed-off-by:
Karl Kurbjun <kkurbjun@gmail.com> Reviewed-on:
http://openocd.zylin.com/914 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2012-10-08 Peter Horn <peter.horn@bluewin.ch>
* : cortex_m: Fix single stepping will not return to debug mode
sometimes This occurs when stepping past a breakpoint on a even address with
maskisr option set to auto With -d3 the following log message appears in this case: "Debug : Interrupt handlers didn't complete within time, leaving target running" Cause : Given a breakpoint is set on the lower half word and the PC
is on the upper half word. When another breakpoint is now set on the
current PC then resuming the core will not result in a break on the
newly set breakpoint. This has been observed on a STM32F1x, STM32F2x
(CM3) but not on a STM32F0x (CM0). It's not clear if this is a
STM32F1/F2 only or a general CM3 problem. Change-Id: I384813f3bfdf935373b5e23cdb2d7f243c70cc00 Signed-off-by:
Peter Horn <peter.horn@bluewin.ch> Reviewed-on:
http://openocd.zylin.com/864 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2012-10-25 Gianluca Renzi <gianlucarenzi@eurekelettronica.it>
* : Generic LPC1850 board w/ SPIFI flash. This config file is intended as an example of how to use the
lpcspifi flash driver, but it should be functional for most LPC1850
boards utilizing SPIFI flash. Change-Id: I855854282336701fd210134497ce014017f3aaec Signed-off-by:
Gianluca Renzi <gianlucarenzi@eurekelettronica.it> Reviewed-on:
http://openocd.zylin.com/929 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2012-11-05 Spencer Oliver <spen@spen-soft.co.uk>
* : cortex_m: fix define formatting Change-Id: Ibdec882b2afc7e16f2361f86715463e030a54964 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/963 Tested-by: jenkins
2012-11-05 Matthias Blaicher <matthias@blaicher.com>
* : rtos: Add FPU detection to ChibiOS/RT The stacking of ChibiOS/RT depends on the usage of an FPU. If the
FPU is enabled the FPU registers are also saved on context switch. This patch adds automatic detection of FPU for armv7m targets. Note: With this patch, openocd will only output an error message warning that the FPU is enabled. For further FPU support, the correct stacking information also needs to be added. Change-Id: I0984cbd9180f247ba2fa610e74a6413cc54239ea Signed-off-by:
Matthias Blaicher <matthias@blaicher.com> Reviewed-on:
http://openocd.zylin.com/961 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2012-09-19 Sergey Borshch <sb-sf@users.sourceforge.net>
* : fix memory leaks if add_connection() fails, memory allocated in
copy_command_context() is lost. Signed-off-by: Sergey Borshch <sb-sf@users.sourceforge.net>
Change-Id: I91a2757f29612038031eb8953100faa3b850d3a6 Reviewed-on:
http://openocd.zylin.com/836 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2012-10-28 Peter Stuge <peter@stuge.se>
* : mpsse: Always perform a general reset of the MPSSE in
mpsse_open() Per AN_135 FTDI MPSSE Basics Version 1.1, section 4.2 step 7.
http://www.ftdichip.com/Support/Documents/AppNotes/AN_135_MPSSE_Basics.pdfThis allows to stop and restart OpenOCD reliably, without needing to
power cycle the interface. Change-Id: Ibeafe5ecfe7b2f6f82712cbc85116904407ddb36 Signed-off-by:
Peter Stuge <peter@stuge.se> Reviewed-on:
http://openocd.zylin.com/939 Tested-by: jenkins
2012-10-28 Peter Stuge <peter@stuge.se>
* : ftdi/flyswatter2.cfg: Fix the signal layout Change-Id: If6612af25fa3562f49e9c8ccff01b6ef0af5ceb0 Signed-off-by:
Peter Stuge <peter@stuge.se> Reviewed-on:
http://openocd.zylin.com/938 Tested-by: jenkins
2012-10-26 Spencer Oliver <spen@spen-soft.co.uk>
* : gdb: fix broken qCRC packet handling The rtos layer was incorrectly handling a qCRC packet as a qC
packet. Make sure we check for the qCRC packet and return unhandled
so the gdb server gets a chance to handle it. This packet is used in the gdb compare-sections cmd. Change-Id: I21f8e5fa7225fccd13d65cf9e40186895065a7e3 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/933 Tested-by: jenkins Reviewed-by:
Matthias Blaicher <matthias@blaicher.com> Reviewed-by: Peter Stuge
<peter@stuge.se>
2012-10-18 Edgar Grimberg <edgar.grimberg@gmail.com>
* : ioutil: make the file compile on MacOS The meminfo command cannot exist if the malloc.h header is not
present. Cannot get the mac address without sys/ioctl.h and
SIOCGIFHWADDR defined Change-Id: Ifc0fb98c3a60c53ad2e19473e08b34c460529d0b Signed-off-by:
Edgar Grimberg <edgar.grimberg@gmail.com> Reviewed-on:
http://openocd.zylin.com/912 Tested-by: jenkins Reviewed-by: Øyvind
Harboe <oyvindharboe@gmail.com> Reviewed-by: Peter Stuge
<peter@stuge.se>
2012-10-23 Matthias Blaicher <matthias@blaicher.com>
* : rtos: fix gdb qC command answer rtos->current_thread is of type int64_t. All other commands already
respect this. Change-Id: I9951946ff2a09c53cd78c6ab882c80cdd2ab7ac6 Signed-off-by:
Matthias Blaicher <matthias@blaicher.com> Reviewed-on:
http://openocd.zylin.com/917 Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk> Tested-by: jenkins Reviewed-by: Peter Stuge
<peter@stuge.se>
2012-10-27 Matthias Blaicher <matthias@blaicher.com>
* : rtos: Fix wrong allocation in linux_get_symbol_list_to_lookup linux_get_symbol_list_to_lookup allocates to few memory. On 64 bit
systems the error did not show due to char* being twice its size,
leaving accidentally enough space. This patch makes linux_get_symbol_list_to_lookup behave identical to
all other RTOS. Change-Id: I290ea241fb20b65585c8be14609a92fdbd2a307d Signed-off-by:
Matthias Blaicher <matthias@blaicher.com> Reviewed-on:
http://openocd.zylin.com/934 Tested-by: jenkins Reviewed-by: Peter
Stuge <peter@stuge.se>
2012-10-18 Spencer Oliver <spen@spen-soft.co.uk>
* : docs: mention extended-remote support Change-Id: Idd7cc0364856082cbbfee5015e49cd7d237d68ef Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/913 Tested-by: jenkins Reviewed-by: Peter
Stuge <peter@stuge.se>
2012-10-11 Spencer Oliver <spen@spen-soft.co.uk>
* : gdb: fix extended-remote restart Seems versions of gdb > 6.8 require an W stop reply after receiving
a kill packet. Without this we receive the following error from gdb:
gdb/thread.c:72: internal-error: inferior_thread: Assertion `tp'
failed. Change-Id: I86765a321f0429c9b517fe13ded0ee2dbd4b2f87 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/911 Tested-by: jenkins Reviewed-by: Joel
Bodenmann <joel@unormal.org> Reviewed-by: Freddie Chopin
<freddie.chopin@gmail.com>
2012-10-06 Freddie Chopin <freddie.chopin@gmail.com>
* : Fix serious bug in LPC2xxx/LPC17xx flash algorithm. Flash algorithm for LPC17xx/LPC2xxx was trying to "reuse" previously
allocated working area on next flashing which is not possible -
working areas are freed automatically on reset. This caused all but
first flashing attempts to fail. As there is no point in storing
pointer to working area, it was converted to local variable. Change-Id: I939946325ff9eecc4861c0f51ab0f73871a3d7b9 Signed-off-by:
Freddie Chopin <freddie.chopin@gmail.com> Reviewed-on:
http://openocd.zylin.com/860 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2012-10-05 Matthias Blaicher <matthias@blaicher.com>
* : rtos: Add ChibiOS/RT support This patch adds ChibiOS/RT support. This patch requires at least
ChibiOS/RT development version starting from SVN revision 4734. Note, that the Thread structures depend not only on the target but
also on the ChibiOS configuration at build time. To correct this
ChibiOS includes a new "memory signature" which specifies the
offsets. Special thanks go to Peter Stuge and Spencer Oliver for their
continous input and feedback to this patch. Change-Id: I842bf7ba6c2309a4efe93d29ea6cd0784a8b22a3 Signed-off-by:
Matthias Blaicher <matthias@blaicher.com> Reviewed-on:
http://openocd.zylin.com/901 Tested-by: jenkins Reviewed-by: Peter
Stuge <peter@stuge.se>
2012-09-27 Spencer Oliver <spen@spen-soft.co.uk>
* : flash: update stellaris flash data to latest dev package 9453 Change-Id: I16107a093d4ed7342583f5c32ad16aa98f81d122 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/856 Tested-by: jenkins Reviewed-by: Freddie
Chopin <freddie.chopin@gmail.com>
2012-05-17 Paul Fertser <fercerpav@gmail.com>
* : rtos: support FreeRTOS over stlink Since stlink is a special case it presents the same CPU core under a
different name, so copy the configuration to account for that. Change-Id: I9febf79b388301bde6211d185b5b8161cdadb9ff Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/652 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2012-09-30 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : dsp5680xx_flash: Remove unused flash bank structure Change-Id: I947b6730b3741a71303e440daefa4fcf583cb9cf Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/867 Reviewed-by: Freddie Chopin
<freddie.chopin@gmail.com> Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2012-09-30 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : flash/nor/stellaris: Remove unnecessary write_algorithm check The pointer must be non-null here since we returned if allocation
failed. Change-Id: I9b75099ed3b3870c815d1df5760ed1f3fe1d20d6 Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/866 Reviewed-by: Freddie Chopin
<freddie.chopin@gmail.com> Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2012-10-04 Spencer Oliver <spen@spen-soft.co.uk>
* : readme: update missing configure args Change-Id: I495a4557f161290f8f99788de27958f7dc08d6f6 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/900 Tested-by: jenkins Reviewed-by: Freddie
Chopin <freddie.chopin@gmail.com>
2012-10-04 Peter Stuge <peter@stuge.se>
* : rtos: Rewrite rtos_qsymbol() and fix auto-detect false positive Matthias Blaicher submitted a patch at
http://openocd.zylin.com/#/c/891/ to fix the false positive; when no
RTOS was detected OpenOCD used the last RTOS in the list. While reviewing the code affected by Matthias' patch a rewrite
seemed appropriate, to make the code readable. Matthias has abandoned his change and this change also fixes the
false positive. Change-Id: Ic3327ccd036da52ba0a7e21ef93018205e74149c Signed-off-by:
Peter Stuge <peter@stuge.se> Reviewed-on:
http://openocd.zylin.com/895 Reviewed-by: Matthias Blaicher
<matthias@blaicher.com> Tested-by: jenkins
2012-10-04 Peter Stuge <peter@stuge.se>
* : rtos: Rewrite rtos_create() for readability The new code is almost functionally equivalent to the old; besides
error handling the only difference is that the code is now readable. Many thanks to Matthias Blaicher for pointing out an iteration error
in the rtos_try_next() change, which also affected this change. Change-Id: If38b87439e9de2303b220b3a7e3200ceaa8391da Signed-off-by:
Peter Stuge <peter@stuge.se> Reviewed-on:
http://openocd.zylin.com/893 Tested-by: jenkins Reviewed-by:
Matthias Blaicher <matthias@blaicher.com>
2012-10-04 Spencer Oliver <spen@spen-soft.co.uk>
* : build: fix broken ftd2xx bus blaster If configure is executed without --enable-ft2232_ftd2xx then the bus
blaster or presto will fail to build with unresolved external
ftd2xx_status_string. Make sure we run the ftd2xx build test if
--enable-usb_blaster_ftd2xx is enabled. Change-Id: I09d270d6fcd083d77f6785b8969d9acb3dfef11d Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/892 Tested-by: jenkins Reviewed-by: Peter
Stuge <peter@stuge.se>
2012-09-26 Spencer Oliver <spen@spen-soft.co.uk>
* : cfg: cortino tested and working Change-Id: I13534742c76ebbb05b47bf98768c997068da747a Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/851 Tested-by: jenkins Reviewed-by: Freddie
Chopin <freddie.chopin@gmail.com>
2012-09-26 Spencer Oliver <spen@spen-soft.co.uk>
* : cfg: ftdi icdi enable srst open drain config Change-Id: I21a115121f167dc88cd9bf2d1ca1ac9f3e1110d7 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/848 Tested-by: jenkins Reviewed-by: Freddie
Chopin <freddie.chopin@gmail.com>
2012-09-25 Spencer Oliver <spen@spen-soft.co.uk>
* : cfg: lm3s811ek config tested and working Change-Id: I5402b5521d6e1ef0a569f5cad02c003681f5444b Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/847 Tested-by: jenkins Reviewed-by: Freddie
Chopin <freddie.chopin@gmail.com>
2012-09-25 Spencer Oliver <spen@spen-soft.co.uk>
* : cfg: stm32-performance stick config tested and working Change-Id: I9852d11e369e501af240a2b8e9f74306aee4e4a0 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/845 Tested-by: jenkins Reviewed-by: Freddie
Chopin <freddie.chopin@gmail.com>
2012-09-28 Spencer Oliver <spen@spen-soft.co.uk>
* : docs: enable local structs in doxygen output Change-Id: I9c811d49690524f1ce5372326de67ec4ac7b09f4 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/858 Tested-by: jenkins Reviewed-by: Freddie
Chopin <freddie.chopin@gmail.com>
2012-09-26 Spencer Oliver <spen@spen-soft.co.uk>
* : cfg: add ti ek-lm3s9d92 config Change-Id: Ib09ca3e57de363a24d704b184ba8546bad08f56f Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/853 Tested-by: jenkins Reviewed-by: Freddie
Chopin <freddie.chopin@gmail.com>
2012-09-27 Spencer Oliver <spen@spen-soft.co.uk>
* : sysfsgpio: remove ignoring return value build warning fixes following gcc warning: error: ignoring return value of write,
declared with attribute warn_unused_result Change-Id: I96ea6649078449208a77690caea2cb237c388e6e Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/854 Tested-by: jenkins Reviewed-by: Marc
Reilly <marc@cpdesign.com.au> Reviewed-by: Freddie Chopin
<freddie.chopin@gmail.com>
2012-09-26 Spencer Oliver <spen@spen-soft.co.uk>
* : cfg: add STM32F3-DISCOVERY board support Change-Id: I4a02e0504fc04ffc1238d9bb77ec05c1f781e7e8 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/810 Reviewed-by: Freddie Chopin
<freddie.chopin@gmail.com> Tested-by: jenkins
2012-09-26 Spencer Oliver <spen@spen-soft.co.uk>
* : cfg: fix incorrect str9-comstick reset config The str9-comstick uses a direct srst connection rather than via any
buffer. As a result this fixes issues with the newer ftdi driver. Change-Id: I0968e8459997a6a2b7bf0c46e89662cd57b4f496 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/842 Tested-by: jenkins Reviewed-by: Andreas
Fritiofson <andreas.fritiofson@gmail.com> Reviewed-by: Freddie
Chopin <freddie.chopin@gmail.com>
2012-09-24 Spencer Oliver <spen@spen-soft.co.uk>
* : ftdi: correct ftdi_initialize error text Change-Id: If230c0b5b3a18fd273106b743404079d0cbc9ddc Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/840 Tested-by: jenkins Reviewed-by: Andreas
Fritiofson <andreas.fritiofson@gmail.com> Reviewed-by: Freddie
Chopin <freddie.chopin@gmail.com>
2012-09-27 Spencer Oliver <spen@spen-soft.co.uk>
* : cfg: fix incorrect stm32f3 TAPID Change-Id: Id66d4e03a77c47a49086ee753bed01b3944064e1 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/855 Tested-by: jenkins Reviewed-by: Freddie
Chopin <freddie.chopin@gmail.com>
2012-08-22 Spencer Oliver <spen@spen-soft.co.uk>
* : jtag: remove libftdi enum-compare warning See Trac #52 for details. Change-Id: Idb509ead2b51bfcceeb00d0224a4d1c395b28a04 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/801 Tested-by: jenkins Reviewed-by: Olivier
Schonken <olivier.schonken@gmail.com> Reviewed-by: Freddie Chopin
<freddie.chopin@gmail.com>
2012-08-16 George Harris <george@luminairecoffee.com>
* : Added SPIFI flash driver, algorithms, and docs Added a flash driver designed to allow program/erase of
memory-mapped SPI flash chips for LPC43xx/LPC18xx family micros.
This driver includes three algorithms - erase, write, and SPIFI
peripheral initialization (to allow memory-mapped access after a
reset). The driver has been added to the flash driver table
(drivers.c), and the OpenOCD documentation has been updated to
include the flash driver configuration command. Change-Id: I79f4ff8f1f07de4e5f2fe4f8c23aeb903f868514 Signed-off-by:
George Harris <george@luminairecoffee.com> Reviewed-on:
http://openocd.zylin.com/783 Tested-by: jenkins Reviewed-by:
Aurelien Jacobs <aurel@gnuage.org> Reviewed-by: Freddie Chopin
<freddie.chopin@gmail.com>
2012-08-20 Marc Reilly <marc@cpdesign.com.au>
* : drivers: new jtag bitbang driver using sysfs gpio This driver implements a bitbang jtag interface using gpio lines
exported via sysfs. The aim of this driver implementation is to use system GPIOs but to
avoid the need for an additional kernel driver. A config suitable for RaspberryPi is included. Change-Id: Ib2acf720247a219768d1cbfeebd88057ed2d7b8b Signed-off-by:
Marc Reilly <marc@cpdesign.com.au> Reviewed-on:
http://openocd.zylin.com/762 Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk> Tested-by: jenkins Reviewed-by: Freddie
Chopin <freddie.chopin@gmail.com>
2012-09-07 Freddie Chopin <freddie.chopin@gmail.com>
* : The openocd-0.6.0 release. Change-Id: I72eeabfc704d2a979ac0b4492771690631d2300f Signed-off-by:
Freddie Chopin <freddie.chopin@gmail.com>
2012-09-02 Chuen Chou <zhouquan27@gmail.com>
* : flash: fix sam3 page read/write address computation error In at91sam3.c for Atmel SAM3 flash support, there are arithmetic
errors in the functions sam3_page_read() and sam3_page_write().
Address locations are computed incorrectly due to an extra addition
operation. This leads to memory locations being skipped during flash
writes and reads. Smaller programs are written successfully into flash, with memory
gaps, while larger programs of legitimate size fail because the
skipped memory is not utilized and therefore unavailable. The changes address this condition, and have been tested with an
Atmel SAM3X-EK evaluation board. Change-Id: I9ea3b9ed0130b71cbc32b2294e31a6a2bc71b47a Signed-off-by:
Chuen Chou <zhouquan27@gmail.com> Reviewed-on:
http://openocd.zylin.com/806 Tested-by: jenkins Reviewed-by: Freddie
Chopin <freddie.chopin@gmail.com>
2012-09-05 Spencer Oliver <spen@spen-soft.co.uk>
* : docs: add user mailing list and irc info Change-Id: I7000b5ab2967f8dc4cea8983978fce824ea1f98e Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/807 Tested-by: jenkins Reviewed-by: Freddie
Chopin <freddie.chopin@gmail.com>
2012-08-29 Freddie Chopin <freddie.chopin@gmail.com>
* : Restore -dev tag. Signed-off-by: Freddie Chopin <freddie.chopin@gmail.com>
2012-08-25 Salvador Arroyo <sarroyofdez@yahoo.es>
* : Pic32mx: make row programming work with any offset In function pic32mx_write_block() if the parameter offset is not a
multiple of row size the row offset (offset % row_size) will be
ignored by the flash controller, shifting the code to the beginning
of the row. Word programming gets it right. Change-Id: I134913e3d533688f791bbcb0c6e8983524197f3c Signed-off-by:
Salvador Arroyo <sarroyofdez@yahoo.es> Reviewed-on:
http://openocd.zylin.com/796 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk> Reviewed-by: Freddie Chopin
<freddie.chopin@gmail.com>
2012-08-28 Spencer Oliver <spen@spen-soft.co.uk>
* : stlink: fix typo Change-Id: I5fe7b695b00faef966e7621614bbd60b6e694a4f Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/800 Tested-by: jenkins Reviewed-by: Mathias
Küster <kesmtp@freenet.de> Reviewed-by: Freddie Chopin
<freddie.chopin@gmail.com>
2012-08-23 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : ftdi: fix overflow if last field of a scan is empty The last bit of a scan is clocked during TAP movement so it's
necessary for the last field to have at least one bit. Strip
trailing empty fields and make sure the TAP is not affected if
there's nothing to scan. Clients probably shouldn't add empty fields
so add a debug message to be able to track and fix them. Change-Id: I27552568bc11146570b9b99ed8a1ae81b5fb2c50 Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/794 Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk> Tested-by: jenkins Reviewed-by: Freddie
Chopin <freddie.chopin@gmail.com>
2012-08-28 Spencer Oliver <spen@spen-soft.co.uk>
* : adapter: remove superfluous line breaks Change-Id: I8e68b9d6f571ef7715a2f4cad0aa78fe4e3b48e8 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/798 Tested-by: jenkins Reviewed-by: Freddie
Chopin <freddie.chopin@gmail.com>
2012-08-17 Freddie Chopin <freddie.chopin@gmail.com>
* : Update NEWS Added some missing items to NEWS file prior to final 0.6.0 release. Change-Id: I69255c85fa8f4b6f06eae7c56f78072e3ec2d6f8 Signed-off-by:
Freddie Chopin <freddie.chopin@gmail.com> Reviewed-on:
http://openocd.zylin.com/784 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2012-08-17 Freddie Chopin <freddie.chopin@gmail.com>
* : Add another scripts search path for Windows builds Add single "scripts" folder to search path for Windows OpenOCD
builds that don't use cygwin bin/openocd.exe
scripts/interface/dummy.cfg scripts/target/at91eb40a.cfg Do some refactoring of current code (thx to Andreas). Change-Id: Idbb08d1368b06f25da44f4f9ab1511db992b1724 Signed-off-by:
Freddie Chopin <freddie.chopin@gmail.com> Signed-off-by: Andreas
Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/785 Tested-by: jenkins
2012-07-07 Christopher Kilgour <techie@whiterocker.com>
* : kinetis: ensure flash writes are not truncated The number if longwords or "sections" (Freescale term) written for a
Kinetis flash write (4, 8, or 16 bytes depending on the part
density/granularity) are now rounded up to ensure there are no
truncations when the desired write is not a multiple of the minimum
write size. Change-Id: I8db40a8769d8ac5393a46cbf4e5ff0df82faf916 Signed-off-by:
Christopher Kilgour <techie@whiterocker.com> Reviewed-on:
http://openocd.zylin.com/738 Tested-by: jenkins Reviewed-by: Freddie
Chopin <freddie.chopin@gmail.com>
2012-08-22 Salvador Arroyo <sarroyofdez@yahoo.es>
* : Patch: Make pic32mx unlock work at higher scan frequencies For example in a pic32mx220, pic32mx unlock don't work if
adapter_khz is set to 5000 or more. A short delay after asserting reset fix the problem. Change-Id: I62e493edfcea585c36c8de77a969cebac7227b96 Signed-off-by:
Salvador Arroyo <sarroyofdez@yahoo.es> Reviewed-on:
http://openocd.zylin.com/790 Tested-by: jenkins Reviewed-by: Freddie
Chopin <freddie.chopin@gmail.com>
2012-08-23 Spencer Oliver <spen@spen-soft.co.uk>
* : stlink: stlink_interface_init_target use hex prefix Change-Id: I782da74687bcf111c1f04c53b2c1120d6a034441 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/791 Tested-by: jenkins Reviewed-by: Freddie
Chopin <freddie.chopin@gmail.com>
2012-08-05 Salvador Arroyo <sarroyofdez@yahoo.es>
* : Severe bug in Pracc code The function wait_for_pracc_rw() fails if Pracc bit is 0. The
variable ejtag_ctrl is loaded with the content of the control
register in the first scan. In the second scan Pracc bit is scanned
out as 0, letting the proccesor go. The result is unpredictable. All the strange data corruption when scanning at certain
frequencies, or the strange delays needed when entering or leaving
fasdata area are retated to this bug. Now the code works at any scan frequency, tested up to 15000Khz and
indepently of processor speed, tested at 31.25Khz and 4/8Mhz. Change-Id: Iedfd81d06d6af4bc738a521f720e42323025b268 Signed-off-by:
Salvador Arroyo <sarroyofdez@yahoo.es> Reviewed-on:
http://openocd.zylin.com/769 Tested-by: jenkins Reviewed-by: Freddie
Chopin <freddie.chopin@gmail.com>
2012-08-14 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : cfi: fix type-punning warnings in cfi_spansion_write_block Retest the condition when needed, instead of abusing the
common_magic field as a flag. There are only two options here.
Either it's an armv7m or it's another arm. is_arm(...) will return
true even for armv7m, so it's imperative to check in the right
order. Change-Id: Ic227f19f7babf1b0b0fe075f9a3abc4eabc7d5f1 Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/779 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk> Reviewed-by: Freddie Chopin
<freddie.chopin@gmail.com>
2012-08-13 Spencer Oliver <spen@spen-soft.co.uk>
* : target: catch dap_lookup read error Issue found by clang-3.1 Change-Id: I2e922ec83117e75db5bec1e82edaa75a9e6e7464 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/778 Tested-by: jenkins Reviewed-by: Freddie
Chopin <freddie.chopin@gmail.com>
2012-08-13 Spencer Oliver <spen@spen-soft.co.uk>
* : tcl: fix potential memory leaks Reorder to allocate all memory after COMMAND_PARSE_NUMBER call.
This removes a clang warning about un-released memory Change-Id: I8dbeb664a6467077157015bd879bc0aefc5e8614 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/776 Tested-by: jenkins Reviewed-by: Freddie
Chopin <freddie.chopin@gmail.com>
2012-08-10 Spencer Oliver <spen@spen-soft.co.uk>
* : flash: fix FC_FLEX_RAM class code path If the flash class was defined as FC_FLEX_RAM then this would always
drop through to the default handler. This bug was found by clang, so untested. Change-Id: I2d9fe6415dd216728a145519400f7b9ef1bd3c3a Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/773 Tested-by: jenkins Reviewed-by: Freddie
Chopin <freddie.chopin@gmail.com> Reviewed-by: Mathias Küster
<kesmtp@freenet.de>
2012-08-07 Aurelien Jacobs <aurel@gnuage.org>
* : ftdi: Olimex ARM-USB-TINY validated Flashing a CFI flash and debugging with gdb work fine. Change-Id: Ib2578ee6f41c1003968198439033d00d805122f7 Signed-off-by:
Aurelien Jacobs <aurel@gnuage.org> Reviewed-on:
http://openocd.zylin.com/770 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk> Reviewed-by: Freddie Chopin
<freddie.chopin@gmail.com>
2012-08-14 Spencer Oliver <spen@spen-soft.co.uk>
* : cfg: remove duplicate Olimex ARM-USB-OCD config This file is already included as olimex-arm-usb-ocd.cfg. Change-Id: I0e66977c58e74ac93a0dc3a0c88a5e5af4992f8b Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/780 Tested-by: jenkins Reviewed-by: Peter
Stuge <peter@stuge.se>
2012-08-02 Freddie Chopin <freddie.chopin@gmail.com>
* : Restore "-dev" tag. Change-Id: Ibb7669ea73872d75a5c2f32f2264e57b1d0f20c7 Signed-off-by:
Freddie Chopin <freddie.chopin@gmail.com>
2012-08-02 Spencer Oliver <spen@spen-soft.co.uk>
* : target: add valid smp target check Check that the target is valid before calling any target functions. Change-Id: I538fccc79d5ec89976e14beab02cb20490b299bb Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/766 Tested-by: jenkins Reviewed-by: Freddie
Chopin <freddie.chopin@gmail.com>
2012-08-02 Freddie Chopin <freddie.chopin@gmail.com>
* : Add missing files (header and .txt) for release. make distcheck is used to make packages with OpenOCD release, this
command uses information from Makefile.am files to know which files
should be included in the package and which can be left only in
repository. This patch makes a few headers from recent JTAG drivers
and one txt file with info about target tcl config files included in
released packages. Change-Id: I91202290633a30f53624a8c7d9a0ebf72c40772b Signed-off-by:
Freddie Chopin <freddie.chopin@gmail.com> Reviewed-on:
http://openocd.zylin.com/767 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2012-06-08 Alexander Osipenko <sipych@gmail.com>
* : arm946e: cp15 command returns value to the script Not just print it. This enables scripts to analyze valuable config options of arm946e-s
cores, do internal BIST memory tests and more. Be careful to flush caches before disabling it. Do not forget that
BIST test overwrites memory. - cp15 rewritten from COMMAND_HANDLER to jim_handler. Change-Id: I734da0be6db0a3127c2daa94ed75efef94da8ceb Signed-off-by:
Alexander Osipenko <sipych@gmail.com> Reviewed-on:
http://openocd.zylin.com/694 Tested-by: jenkins Reviewed-by: Freddie
Chopin <freddie.chopin@gmail.com>
2012-07-31 Alexander Osipenko <sipych@gmail.com>
* : arm946e: don't use global variables for context Global variables 'dc' 'ic' had been used in the code to keep
target's state of D-cache and I-cache on debug entry. This may lead to incorrect operation in configurations with multiple
cores and unequal cache states. Fix: move cache state to the appropriate bits of the
'cp15_control_reg' field (already present but unused). Vaule of
cp15 control register stored here on arm946e_post_debug_entry(), and
analyzed later in arm946e_write_memory(). Change-Id: I71ef82be00c21d6fffb3726cec4974d1ece70dfe Signed-off-by:
Alexander Osipenko <sipych@gmail.com> Reviewed-on:
http://openocd.zylin.com/692 Tested-by: jenkins Reviewed-by: Freddie
Chopin <freddie.chopin@gmail.com>
2012-07-25 Joerg Fischer <turboj@gmx.de>
* : cfg: Add Hitex LPC1768-Stick using ftdi driver Add cfg files for Hitex LPC1768 Stick Website:
http://www.hitex.com/?id=1602 This board has a FTDI2232D as JTAG interface, using the same layout
as the Hitex STM32-PerformanceStick but with different USB PID. Main MCU is a LPC1768 from NXP. The interface config uses the ftdi driver instead of ft2232. The
corresponding ft2232 layout would be "stm32stick". Change-Id: I1fd15588c5af35f7d51777d1ad958cc1dc72c6f7 Signed-off-by:
Joerg Fischer <turboj@gmx.de> Reviewed-on:
http://openocd.zylin.com/763 Tested-by: jenkins Reviewed-by: Freddie
Chopin <freddie.chopin@gmail.com>
2012-07-19 Freddie Chopin <freddie.chopin@gmail.com>
* : cfg: Add config file variants using the ftdi driver instead of
ft2232 part 4 - files that are currently untested Change-Id: Ic4a08fdefc99e7a9d50885c888c3fca60ffa39bd Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Signed-off-by:
Freddie Chopin <freddie.chopin@gmail.com> Reviewed-on:
http://openocd.zylin.com/750 Tested-by: jenkins
2012-07-20 Freddie Chopin <freddie.chopin@gmail.com>
* : cfg: Add config file variants using the ftdi driver instead of
ft2232 part 2 - files that are currently untested but assumed to work, as
other configs using the same layout work fine Change-Id: Ifaa1904227ebdc394362ccaf3ad3c5384a716657 Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Signed-off-by:
Freddie Chopin <freddie.chopin@gmail.com> Reviewed-on:
http://openocd.zylin.com/754 Tested-by: jenkins
2012-07-19 Spencer Oliver <spen@spen-soft.co.uk>
* : telnet: cleanup comments seems comments were mangled during the last cleanup. Change-Id: If759f62032705c7baffd3973e9717eb7e8a5d17c Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/752 Tested-by: jenkins Reviewed-by: Freddie
Chopin <freddie.chopin@gmail.com>
2012-06-07 Salvador Arroyo <sarroyofdez@yahoo.es>
* : Bugfixes in mips32_pracc.c When testing a pic32mx220f032b with different values for adapter_khz
and cpu clocks i was getting a lot of corrupted data from the chip.
From time to time openocd fails with segmentation faults or is
aborted due to memory corruption. Change-Id: I134743f75c477b3d55dc74ae4474598e153b4a4a Signed-off-by:
Salvador Arroyo <sarroyofdez@yahoo.es> Reviewed-on:
http://openocd.zylin.com/690 Tested-by: jenkins Reviewed-by: Andreas
Fritiofson <andreas.fritiofson@gmail.com> Reviewed-by: Freddie
Chopin <freddie.chopin@gmail.com>
2012-07-17 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : flash: reduce code duplication in stm32 flash probe Remove a lot of the repetitive code in stm32f1x flash probe by
converting the large if-selector to a switch, moving the common
checks outside it and concentrating the failure handling to a single
point. Do the same with stm32f2x and stm32lx for consistency. Change-Id: Ic0ecfb1533c49f5d2108cda5fd20c8372d7c71ef Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/746 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk> Reviewed-by: Freddie Chopin
<freddie.chopin@gmail.com>
2012-07-12 Spencer Oliver <spen@spen-soft.co.uk>
* : flash: handle zero when reading stm32 flash size reg Some variants read 0 for the flash size register, rather than
failing lets assume we have max flash fitted. Change-Id: Ie1fb4e73606f49268a6fd5921c3aef75bc4790d3 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/744 Tested-by: jenkins Reviewed-by: Andreas
Fritiofson <andreas.fritiofson@gmail.com> Reviewed-by: Freddie
Chopin <freddie.chopin@gmail.com>
2012-07-12 Spencer Oliver <spen@spen-soft.co.uk>
* : flash: add stm32l Revision X support Revision X is not mentioned in the latest RM0038 rev5, however it
has been confirmed correct by ST using ST-LINK Utilty. Change-Id: I65210e512ea25818a1d0d3b223502ebd7535b29d Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/742 Tested-by: jenkins Reviewed-by: Andreas
Fritiofson <andreas.fritiofson@gmail.com> Reviewed-by: Freddie
Chopin <freddie.chopin@gmail.com>
2012-07-11 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : cfg: remove deprecated stm32 target configs These were deprecated in commit 69ac20a. Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Change-Id: I047872f8cd61b42aaca6588ab75566219e4a3f5d Reviewed-on:
http://openocd.zylin.com/741 Tested-by: jenkins Reviewed-by: Freddie
Chopin <freddie.chopin@gmail.com> Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2012-07-11 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : flash: don't write to FLASH_CR in stm32x_write_block It's unnecessary and prevents reusing this function to fix option
byte writes. Also try to disable flash writing after an error. Change-Id: Ib5a7b768a1523e6b8da1555126fef4c1e60ab083 Signed-off-by:
Szymon Modzelewski <szmodzelewski@gmail.com> Signed-off-by: Andreas
Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/479 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2012-07-20 Alex Austin <alex.austin@spectrumdsi.com>
* : Revert "When calling openocd from a shell like this:" This reverts commit e8641695c634109ebf5f1149923971770da1d28a Original premise was wrong. Proper command is "shutdown", not
"exit". Change-Id: I07f5fe0dda9c24abe53628da986bfda0e406bb4a Signed-off-by:
Alex Austin <alex.austin@spectrumdsi.com> Reviewed-on:
http://openocd.zylin.com/757 Tested-by: jenkins Reviewed-by: Peter
Stuge <peter@stuge.se>
2012-07-17 Freddie Chopin <freddie.chopin@gmail.com>
* : Add config file for Lattice LC4032ZE CPLD (ispMACH 4000ZE
family) Change-Id: Iefec12b30ff737317c454b472200fd7e7edde619 Signed-off-by:
Freddie Chopin <freddie.chopin@gmail.com> Reviewed-on:
http://openocd.zylin.com/748 Tested-by: jenkins Reviewed-by: Peter
Stuge <peter@stuge.se>
2012-01-30 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : Add FTDI JTAG driver using MPSSE layer Based on ft2232.c but uses the MPSSE layer for low-level access,
greatly simplifying the JTAG logic. Remove all libftdi/FTD2XX code
and all layout specific code. Layout specifications are instead
handled in Tcl. Use a signal abstraction to enable Tcl configuration files to define
outputs for one or several FTDI GPIO. These outputs can then be
controlled using the ftdi_set_signal command. Special signal names
are reserved for nTRST, nSRST and LED (for blink) so that they, if
defined, will be used for their customary purpose. Depending on the type of buffer attached to the FTDI GPIO, the
outputs have to be controlled differently. In order to support
tristateable signals such as nSRST, both a data GPIO and an
output-enable GPIO can be specified for each signal. The following
output buffer configurations are supported: * Push-pull with one FTDI output as (non-)inverted data line * Open drain with one FTDI output as (non-)inverted output-enable * Tristate with one FTDI output as (non-)inverted data line and
another FTDI output as (non-)inverted output-enable * Unbuffered, using the FTDI GPIO as a tristate output directly by switching data and direction as necessary The data and output-enables are specified as 16-bit bitmasks,
corresponding to the concatenation of the high and low FTDI GPIO
registers. To specify an unbuffered output, use the same bitmask for
both data and output-enable. The adapter configuration file must also specify default values for
the FTDI data and direction GPIO registers, and the channel being
used (if different from 0). Change-Id: I287a41d4c696cf5fc74eb10d5e63578b0dc7f826 Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/452 Tested-by: jenkins Reviewed-by: Peter
Stuge <peter@stuge.se>
2012-06-27 Spencer Oliver <spen@spen-soft.co.uk>
* : target: Cortex-M use consistent arm dap access Purely cosmetic but use the same style as Cortex-A target, this
makes searching refs easier. Change-Id: I732ad9701f561e2312c5d191f5aaffd3a2f2393d Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/731 Reviewed-by: Freddie Chopin
<freddie.chopin@gmail.com> Tested-by: jenkins Reviewed-by: Andreas
Fritiofson <andreas.fritiofson@gmail.com>
2012-07-04 Spencer Oliver <spen@spen-soft.co.uk>
* : flash: add stm32f3x support add support for the new stm32f3x family from stmicro:
http://www.st.com/stm32f3 Change-Id: Icd1db95bb2767d9c0ecef24deefa92b4fdaa4f14 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/735 Tested-by: jenkins Reviewed-by: Freddie
Chopin <freddie.chopin@gmail.com> Reviewed-by: Andreas Fritiofson
<andreas.fritiofson@gmail.com>
2012-06-27 Spencer Oliver <spen@spen-soft.co.uk>
* : target: detect correct Cortex-M tar auto increment size The ADIv5 spec guarentees that tar_autoincr_block will be 10bits.
Make this the default for Cortex-M family until we detect a
Cortex-M3/M4, we then change autoincrement to 12bits. Change-Id: Ie8c89134aa036879bdd8a3c312cee9715dbc6913 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/730 Tested-by: jenkins Reviewed-by: simon
qian <simonqian.openocd@gmail.com> Reviewed-by: Freddie Chopin
<freddie.chopin@gmail.com>
2012-02-18 Stian Skjelsad <stian@nixia.no>
* : When calling openocd from a shell like this: openocd -f board/sheevaplug.cfg -c init -c exit the calling shell will believe that openocd exited with an error due
to exitval will be non-zero This is not tested against incomming telnet Change-Id: I63d15715a7b46f39a7de261a45039f8c3cad7a98 Signed-off-by:
Stian Skjelstad <stian@nixia.no> Reviewed-on:
http://openocd.zylin.com/470 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk> Reviewed-by: Bill Traynor
<wmat@alphatroop.com> Reviewed-by: Mathias Küster
<kesmtp@freenet.de> Reviewed-by: Freddie Chopin
<freddie.chopin@gmail.com>
2012-05-24 Vandra Akos <axos88@gmail.com>
* : target/target.c, jim_target_md refractored - Added a few lines of comment before the function explaining the
usage and the output generated by the command - Added a few lines of comment in the body explaining what is
happening to improve code readability - Renamed a few variables to improve readability: * a -> addr * b -> dwidth * c -> count - Added a new variable, named byte to contain the number of bytes
to read, instead of overwriting the count parameter, to avoid
confusion between the two values. Change-Id: I5828ec0f5aadaa39becec7b84f198756bb2c3d41 Signed-off-by:
Vandra Akos <axos88@gmail.com> Reviewed-on:
http://openocd.zylin.com/665 Tested-by: jenkins Reviewed-by: Freddie
Chopin <freddie.chopin@gmail.com>
2012-05-29 Mike Crowe <mpcrowe@gmail.com>
* : topic: flash: description/id added for ATSAM3SD8C New flash description for ATSAM3SD8C used on SAM3S-EK2 development
boards. Name used is "at91sam3sd8c" and chipid is 0x29ab0a60.
Mirrors description of other similar parts. Change-Id: I7fc4b82e7969451645ab067223663f08b76d866b Signed-off-by:
Mike Crowe <mpcrowe@gmail.com> Reviewed-on:
http://openocd.zylin.com/684 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2012-06-04 Olivier Schonken <olivier.schonken@gmail.com>
* : Changed SAM4S Erase for effective Sector erase In the previous iteration, the page counter for erases would not be
updated with the erase size. This patch keeps the page counter
synced with the sector counter. Signed-off-by: Olivier Schonken <olivier.schonken@gmail.com>
Change-Id: I95e56a3257b2ad8301c9f28167b842fa6466334f Reviewed-on:
http://openocd.zylin.com/686 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2012-05-23 Christopher Kilgour <techie@whiterocker.com>
* : kinetis: update support for all program flash granularities Updates the Kinetis NOR flash support to handle all known block and
sector sizes. Previously only 2kiB sectors were hard-coded, now all
four known combinations non-volatile sector sizes are supported. The premise of separating Kinetis Program Flash (PFLASH) from
FlexNVM is also introduced. This means each "block" of flash (in
Freescale terms) is treated as a bank in OpenOCD. Correspondingly,
the existing board configuration for the TWR-K60M512 eval system is
updated to recognize two banks instead of one. A board config for the TWR-K60F120M is also added. Bank and sector erase and programming has been checked with both of
the mentioned eval boards. Change-Id: Iae2d10ebf8f548d0a3698df5430bbbe1ccadc58a Signed-off-by:
Christopher Kilgour <techie@whiterocker.com> Reviewed-on:
http://openocd.zylin.com/663 Tested-by: jenkins Reviewed-by: Mathias
Küster <kesmtp@freenet.de> Reviewed-by: Jan Dakinevich
<jan.dakinevich@gmail.com> Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2012-05-28 Alexander Osipenko <sipych@gmail.com>
* : JLink: added jlink_usb_io() function jlink_usb_io() function added for basic communication, since
jlink_usb_message() is more specific to JTAG transactions. To verify the patch issue "jlink config" command. Change-Id: Id7d10bd5e8985d4c77f2e0ca47fb6033db2877bf Signed-off-by:
Alexander Osipenko <sipych@gmail.com> Reviewed-on:
http://openocd.zylin.com/679 Tested-by: jenkins Reviewed-by: Xiaofan
<xiaofanc@gmail.com> Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2012-05-29 Liviu Ionescu <ilg@livius.net>
* : docs: J-Link commands added to the manual The J-Link related commands and configuration commands were added to
the "8.2 Interface Drivers" section of the manual. (previously they
were enumerated as comments). The 'jlink pid' was marked as Config
all other as Command. A draft of a compatibility note was added,
but probably a table would be more appropriate. Change-Id: Ifbe230706815196aaad4e3729ed5089d5088b769 Signed-off-by:
Liviu Ionescu <ilg@livius.net> Reviewed-on:
http://openocd.zylin.com/680 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2012-06-22 Mirela Tauciuc <mirela.tauciuc@gmail.com>
* : AT91SAM7 Flash: fixed redundant assignation warning Change-Id: Iffacdce9ce90c4ea7e0c8647860a0056b952f387 Signed-off-by:
Mirela Tauciuc <mirela.tauciuc@gmail.com> Reviewed-on:
http://openocd.zylin.com/691 Tested-by: jenkins Reviewed-by: Øyvind
Harboe <oyvindharboe@gmail.com>
2012-05-29 Spencer Oliver <spen@spen-soft.co.uk>
* : docs: update interface support in README Change-Id: Id4b982ee426dedc85b643a71c1cdba67d0dd0ffd Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/682 Tested-by: jenkins Reviewed-by: Peter
Stuge <peter@stuge.se>
2012-05-25 Spencer Oliver <spen@spen-soft.co.uk>
* : build: remove src file execute permission Change-Id: I42a250cdfcd03424a63cd1a255f9cf4a3c6e3ccd Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/671 Reviewed-by: Xiaofan
<xiaofanc@gmail.com>
2012-05-23 Spencer Oliver <spen@spen-soft.co.uk>
* : target: fix segfault in arm7_9 8/16bit read Seems I5347352e7595686634bd0de13fcf6de6e55027b0 introduced an issue
when reading 8/16 bit data - the in buffer was always set to 32bits. Change-Id: Ife2bb6a20fcb3ec0e486655512164f25ae9196b4 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/660 Tested-by: jenkins Reviewed-by: Mathias
Küster <kesmtp@freenet.de>
2012-05-09 Mathias K <kesmtp@freenet.de>
* : board: Add Sony Ericsson J100I Phone This patch add the Sony Ericsson J100I Phone to the board
configurations. Change-Id: I083ddf067c8ecdfdda0404fe9e9df980dbb86fe8 Signed-off-by:
Mathias K <kesmtp@freenet.de> Reviewed-on:
http://openocd.zylin.com/631 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2012-05-22 Bill Traynor <wmat@alphatroop.com>
* : jtag: fix osbdm.c typo Fixing up tiny spelling error of "receive" vs. "recieve". Change-Id: Ib143d7fdb24ac1f2b7bd4ae90cadaf2e12760ff7 Signed-off-by:
Bill Traynor <wmat@alphatroop.com> Reviewed-on:
http://openocd.zylin.com/659 Tested-by: jenkins Reviewed-by: Xiaofan
<xiaofanc@gmail.com> Reviewed-by: Peter Stuge <peter@stuge.se>
2012-05-22 Spencer Oliver <spen@spen-soft.co.uk>
* : jtag: remove opendous clang warnings Change-Id: I0285c99507931e7d13aad36f4fc559c29a52faca Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/655 Tested-by: jenkins Reviewed-by: Peter
Stuge <peter@stuge.se>
2012-05-21 Spencer Oliver <spen@spen-soft.co.uk>
* : target: target.h typo and comment cleanup Change-Id: Ib751803754672bf556f4f65bd3f5621f6bbb7f0c Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/654 Tested-by: jenkins Reviewed-by: Bill
Traynor <wmat@alphatroop.com>
2012-05-14 Spencer Oliver <spen@spen-soft.co.uk>
* : target: enable TARGET_EVENT_RESUME_* events Change-Id: I7d8378f9f34c6674db8c8b29d1a961389578e921 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/640 Reviewed-by: Freddie Chopin
<freddie.chopin@gmail.com> Tested-by: jenkins Reviewed-by: Bill
Traynor <wmat@alphatroop.com>
2012-05-10 Spencer Oliver <spen@spen-soft.co.uk>
* : target: remove duplicate target events Change-Id: Iba9ae441f3e6d48a7dfafe59ed093fef56a34723 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/633 Reviewed-by: Freddie Chopin
<freddie.chopin@gmail.com> Tested-by: jenkins Reviewed-by: Bill
Traynor <wmat@alphatroop.com>
2012-05-15 Bill Traynor <wmat@alphatroop.com>
* : UserGuide: Updated list of supported interfaces, boards, and
targets. User Guide: Chapter 6 'Config File Guidelines'. The directory
listings of interfaces, boards, and targets has been brought up to
date. Change-Id: I53f218a94cb81c5e90298b367259e833192af5f3 Signed-off-by:
Bill Traynor <wmat@alphatroop.com> Reviewed-on:
http://openocd.zylin.com/646 Tested-by: jenkins Reviewed-by: Xiaofan
<xiaofanc@gmail.com> Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2012-05-14 Spencer Oliver <spen@spen-soft.co.uk>
* : NEWS: add headline items Change-Id: Ie78b0a171af76cf647deef501245caf54209d9f8 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/639 Tested-by: jenkins Reviewed-by: Freddie
Chopin <freddie.chopin@gmail.com> Reviewed-by: Xiaofan
<xiaofanc@gmail.com>
2012-05-17 Spencer Oliver <spen@spen-soft.co.uk>
* : stlink: add myself to copyright header Change-Id: I39e23b38ee630b80bccb5ff6b5819efa0fcb120a Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/651 Tested-by: jenkins Reviewed-by: Xiaofan
<xiaofanc@gmail.com>
2012-05-15 Spencer Oliver <spen@spen-soft.co.uk>
* : contrib: enable cortex-m0 and cortex-m4 libdcc support Change-Id: Ib8ff645d1e5b8baca02de8ea95b629d88b203969 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/644 Tested-by: jenkins
2012-05-17 Alexander Osipenko <sipych@gmail.com>
* : remote_bitbang: missed closing brace in macro
REMOTE_BITBANG_RAISE_ERROR Change-Id: I591308bd98810ef6361106c207c55b83c3a83890 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/647 Tested-by: jenkins Reviewed-by: Xiaofan
<xiaofanc@gmail.com>
2012-05-14 Spencer Oliver <spen@spen-soft.co.uk>
* : docs: add initial target rtos support info Change-Id: Idd39ce17922602aedd4626496ed8f5422bb76e07 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/641 Tested-by: jenkins Reviewed-by: Peter
Stuge <peter@stuge.se>
2012-05-11 Spencer Oliver <spen@spen-soft.co.uk>
* : stlink: add armv7m stlink handling This enables us to better handle some of the low level functions
that the stlink does not support. It also enables us to share a few
more of the standard cortex_m3 functions if necessary. Change-Id: I7a2c57450122012ec189245d8879d8967913e00e Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/637 Tested-by: jenkins
2012-05-03 Spencer Oliver <spen@spen-soft.co.uk>
* : flash: fix protect check for pic32mx1x/2x family Change-Id: Ib2692d8b79e52cd40f429008047494aa7f552984 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/612 Tested-by: jenkins Reviewed-by: Xiaofan
<xiaofanc@gmail.com>
2012-05-08 Spencer Oliver <spen@spen-soft.co.uk>
* : stlink: fix stlink api2 single step This makes the newer v2 api behave as per the v1 api, eg. single
stepping masks all interrupts. A better long term solution is to use same behaviour as a cortex-m3
target, see CORTEX_M3_ISRMASK_AUTO. Change-Id: Iaf9f9adf225cf274faaac938050bb996582aa98f Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/621 Tested-by: jenkins
2012-05-04 Spencer Oliver <spen@spen-soft.co.uk>
* : stlink: stlink/v1 use v2 api if supported The api v2 is supported on the stlink/v1 if it has a least v11
firmware. Change-Id: Idfdb5a7f5a5881326017451ae9b6004eeaa46a96 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/616 Tested-by: jenkins Reviewed-by: Freddie
Chopin <freddie.chopin@gmail.com> Reviewed-by: Xiaofan
<xiaofanc@gmail.com>
2012-05-01 Freddie Chopin <freddie.chopin@gmail.com>
* : Use hardware reset and connect under reset on boards with
ST-LINK/V2, as now it is supported. Change-Id: Id3b2ca9a2270974a5f453323f9057ecece400c94 Signed-off-by:
Freddie Chopin <freddie.chopin@gmail.com> Reviewed-on:
http://openocd.zylin.com/609 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2012-05-01 Spencer Oliver <spen@spen-soft.co.uk>
* : stlink: support connecting under reset Some targets support connecting while the target's srst is asserted.
Tested on stm32 family. Change-Id: I1197dd721a1e1cbf95ee77dfd8e1082b165b22a9 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/607 Tested-by: jenkins
2012-05-08 Aurelien Jacobs <aurel@gnuage.org>
* : cfi: fix write_bank segfault with spansion flash on armv7m cfi_spansion_write_block() passes an arm_algorithm struct to
target_run_algorithm() which in turn calls armv7m_start_algorithm()
which expect an armv7m_algorithm struct. As armv7m_algorithm is
bigger than arm_algorithm, when armv7m_start_algorithm() writes in
the struct, it overrun the buffer, writting junk on the stack, which
latter on generates a segfault. This patch ensure we use a properly sized armv7m_algorithm struct
when the target is an armv7m. Change-Id: I4ab67c15ae4bb72454414a81b92a4231dcdb2239 Signed-off-by:
Aurelien Jacobs <aurel@gnuage.org> Reviewed-on:
http://openocd.zylin.com/623 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2012-05-03 Spencer Oliver <spen@spen-soft.co.uk>
* : cfi: check supported arch check that the cfi driver supports the current target arch. Change-Id: I8a95908684de67bf1657d1956f2573662a641cc1 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/614 Tested-by: jenkins Reviewed-by:
Aurelien Jacobs <aurel@gnuage.org>
2012-05-01 Spencer Oliver <spen@spen-soft.co.uk>
* : build: add missing erase_check loader src Change-Id: I1534c1ea1606fda9eb6ffa6a11a708f8c8a3d46a Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/605 Tested-by: jenkins Reviewed-by: Freddie
Chopin <freddie.chopin@gmail.com>
2012-05-11 Spencer Oliver <spen@spen-soft.co.uk>
* : contrib: fix Neo1973 udev permission typo Change-Id: I6d5ad0cc28e0cb52104ead9e974b8b1ed92d9cdc Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/636 Tested-by: jenkins Reviewed-by: Peter
Stuge <peter@stuge.se>
2012-04-30 Spencer Oliver <spen@spen-soft.co.uk>
* : cfg: increase stm32f0discovery board working area Change-Id: Iea166ee27fc60bbfdeb851fdcf71509f3984f72f Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/602 Tested-by: jenkins Reviewed-by: Freddie
Chopin <freddie.chopin@gmail.com>
2012-05-08 Bill Traynor <wmat@alphatroop.com>
* : cfg: Deleted duplicate busblaster.cfg and renamed original. The busblaster.cfg was contributed on April 23, 2012 and is a
duplicate of dp_busblaster.cfg that was contributed on Oct. 23,
2011. Therefore, deleting the second version. Also, renaming the
original dp_busblaster.cfg to simply busblaster.cfg, as this name is
more concise. Change-Id: Iccb1f10f53dbbb248b1ff4c6295eaf67c32247c1 Signed-off-by:
Bill Traynor <wmat@alphatroop.com> Reviewed-on:
http://openocd.zylin.com/622 Tested-by: jenkins Reviewed-by: Peter
Stuge <peter@stuge.se>
2012-05-07 Bill Traynor <wmat@alphatroop.com>
* : cfg: add default pid/vid pair to beaglebone board cfg. The newer versions of BeagleBone boards use the default vid/pid pair
for FT2232 debugging. Please see the following README:
http://beagleboard.org/static/beaglebone/latest/README.htm On
revision A3/A4 boards, the VID/PID were chosen to match the TI
XDS100v2 (0x0403/0xA6D0). On A5 and newer revisions when we've given
the authors of CCS the chance to update their software, the generic
FTDI VID/PID (0x0403/0x6010) will be used to simplify installation
of drivers for systems already having those drivers. Change-Id: I44228eb2029162f23d084eb05bcfef39e615668d Signed-off-by:
Bill Traynor <wmat@alphatroop.com> Reviewed-on:
http://openocd.zylin.com/619 Tested-by: jenkins Reviewed-by: Peter
Stuge <peter@stuge.se>
2012-04-27 Spencer Oliver <spen@spen-soft.co.uk>
* : build: remove clang unused variable increments warnings Change-Id: Ib755474aa46f7233495fae1947bc27cd0b2d6b4f Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/599 Tested-by: jenkins Reviewed-by: Freddie
Chopin <freddie.chopin@gmail.com>
2012-04-27 Spencer Oliver <spen@spen-soft.co.uk>
* : cfg: allow stm32discovery parameter override This enable the user or board config to override the parameters
passed to stm32_stlink.cfg. Required to fix a incorrect working area bug with the
stm32vldiscovery. Change-Id: I40a4f7913ff37d577d44b1f23befccf0317080a1 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/597 Tested-by: jenkins Reviewed-by: Freddie
Chopin <freddie.chopin@gmail.com>
2012-04-19 Spencer Oliver <spen@spen-soft.co.uk>
* : stlink: support srst reset This adds the ability to support srst reset for the stlink/v2.
stlink/v1 will fallback to using SYSRESETREQ which is a full reset -
including peripherals. To enable the use of the srst add the following to your cfg:
reset_config srst_only Change-Id: I570de607c5f370fd6a4abf47360686c9be07bcdd Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/581 Tested-by: jenkins Reviewed-by: Mathias
Küster <kesmtp@freenet.de> Reviewed-by: Freddie Chopin
<freddie.chopin@gmail.com>
2012-04-19 Spencer Oliver <spen@spen-soft.co.uk>
* : stlink: add hardware srst functions to stlink/v2 Change-Id: Ib82b6a1116b9f396f1933cc5526733334254fd62 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/579 Tested-by: jenkins Reviewed-by: Freddie
Chopin <freddie.chopin@gmail.com> Reviewed-by: Mathias Küster
<kesmtp@freenet.de>
2012-04-19 Spencer Oliver <spen@spen-soft.co.uk>
* : stlink: default to latest api available Change-Id: Ic04128f4020055587bb87250f41e5c804d9c2b01 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/577 Tested-by: jenkins Reviewed-by: Mathias
Küster <kesmtp@freenet.de> Reviewed-by: Freddie Chopin
<freddie.chopin@gmail.com>
2012-04-05 Spencer Oliver <spen@spen-soft.co.uk>
* : stlink: support stlink api result The stlink api does support results for some functions - add
support. Change-Id: I39cb495408c46af8bc343b198a1e0bd4c7aee6d8 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/560 Tested-by: jenkins Reviewed-by: Mathias
Küster <kesmtp@freenet.de> Reviewed-by: Freddie Chopin
<freddie.chopin@gmail.com>
2012-03-18 Olivier Schonken <olivier.schonken@gmail.com>
* : topic: Added support for the SAM4S variants Atmel introduced 6 new Cortex-M4 processors on 2011-10-26 SAM4S16C -
1024KB flash LQFP100/BGA100 SAM4S16B - 1024KB flash LQFP64/QFN64
SAM4S16A - 1024KB flash LQFP48/QFN48 SAM4S8C - 512KB flash
LQFP100/BGA100 SAM4S8B - 512KB flash LQFP64/QFN64 SAM4S8A - 512KB
flash LQFP48/QFN48 The SAM4S processors still suffer from the "6 waitstates needed to
program device" errata. Other relevant changes are: 1. Address of flash memory starts at 0x400000. 2. EWP (Erase page and write page) only works for the first two 8KB
"sectors" 3. Because of the EWP not working for all the sectors, normal page
writes have to be used. The default_flash_blank_check is used to
check if lockregions should be erased. 4. The EA (Erase All) command takes 7.3s to complete. (Previous
timeout was 500 ms) 5. There are 128 lockable regions of 8KB each. Implemented default blank checking, and page erase for load_image
scenarios. This is to compensate for the EWP flash commands only
working on the first 2 8KB sectors. Change-Id: I7c5a52b177f7849a107611fd0f635fc416cfb724 Signed-off-by:
Olivier Schonken <olivier.schonken@gmail.com> Reviewed-on:
http://openocd.zylin.com/528 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2012-04-24 Linus Tolke <linus@tigris.org>
* : topic: Ignored TAGS files. Allow use of TAGS. Change-Id: I5e71e8986671642b49cc9a62d37cc8c0dfa37181 Signed-off-by:
Linus Tolke <linus@tigris.org> Reviewed-on:
http://openocd.zylin.com/595 Reviewed-by: Peter Stuge
<peter@stuge.se> Tested-by: jenkins
2012-04-22 Bill Traynor <wmat@alphatroop.com>
* : UserGuide: Fixing link to USBprog tool. In section '2.8 USB Other' updated the link to the USBprog tool:
http://shop.embedded-projects.net/ Change-Id: I7fa453934ac6a7889e01b22b7e0cb07f42ee168d Signed-off-by:
Bill Traynor <wmat@alphatroop.com> Reviewed-on:
http://openocd.zylin.com/591 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2012-04-22 Bill Traynor <wmat@alphatroop.com>
* : UserGuide: Fixed link to Wiggler2 project. In section '2.9 IBM PC Parallel Printer Port based' fixed link to
the Wiggler2 project and removed the alternate URL text to retain
style consistency with the other URLs in the document:
http://www.ccac.rwth-aachen.de/~michaels/index.php/hardware/armjtag Change-Id: I879db1c6eaf683ca6475a0f466f987087c9d60d0 Signed-off-by:
Bill Traynor <wmat@alphatroop.com> Reviewed-on:
http://openocd.zylin.com/593 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2012-04-22 Bill Traynor <wmat@alphatroop.com>
* : UserGuide: Fixing two typos. In Section 2.7 USB ST-LINK based made these two changes: "they only
works with" to "they only work with" "following method's" to
"following methods" Change-Id: Idfe6c11c3fa6f2157d01697cd7f480a9d495c8e2 Signed-off-by:
Bill Traynor <wmat@alphatroop.com> Reviewed-on:
http://openocd.zylin.com/590 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2012-04-15 Uwe Hermann <uwe@hermann-uwe.de>
* : Split olimex_stm32_h107.cfg. Use one board file per eval board, so that the filename matches the
exact board the user has / wants to use. Merging different boards
into one file is confusing. Change-Id: I7c50233924a87a913723d7215c4851039c2971bc Signed-off-by:
Uwe Hermann <uwe@hermann-uwe.de> Reviewed-on:
http://openocd.zylin.com/566 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2012-04-19 Bill Traynor <wmat@alphatroop.com>
* : UserGuide: Update Section 2.3 USB FT2232 Based Updated the link for the usbjtag project to the correct URL:
http://elk.informatik.fh-augsburg.de/hhweb/doc/openocd/usbjtag/usbjtag.htmlAdded a NOTE to indicate the axm0432_jtag as no longer being
available from the axman.com page. Change-Id: I70727303dad58d9dc0c5f9b7cce219288b762042 Signed-off-by:
Bill Traynor <wmat@alphatroop.com> Reviewed-on:
http://openocd.zylin.com/583 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2012-04-19 Bill Traynor <wmat@alphatroop.com>
* : UserGuide: Fixed link to USB-JTAG project. Updated the URL to Kolja Waschk's USB-Blaster compatible adapter:
http://ixo-jtag.sourceforge.net/ Change-Id: If9d2875b5ba5d3bfaaf524cd253a5fab53e05371 Signed-off-by:
Bill Traynor <wmat@alphatroop.com> Reviewed-on:
http://openocd.zylin.com/585 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2012-04-18 Bill Traynor <wmat@alphatroop.com>
* : HACKING: Fix instruction for git pull --rebase When following the Patch Guidelines step by step, an error occurs at
step 6. "git pull --rebase origin/master" results in the error: fatal: 'origin/master' does not appear to be a git repository Removing the / seems to fix this. Change-Id: I4e2fa23c60654abeaebd3b25a8c8375aa07b0abd Signed-off-by:
Bill Traynor <wmat@alphatroop.com> Signed-off-by: Peter Stuge
<peter@stuge.se> Reviewed-on: http://openocd.zylin.com/574
Reviewed-by: David Anders <danders.dev@gmail.com> Tested-by: jenkins
2012-04-18 David Anders <danders.dev@gmail.com>
* : pandaboard: add initial TCL support for pandaboard-es add initial TCL support for the pandaboard-es which is based on the
omap4460 from Texas Instruments. Change-Id: Ic63588721487feb95e7cb3d41cfaab0d2f181766 Signed-off-by:
David Anders <danders.dev@gmail.com> Reviewed-on:
http://openocd.zylin.com/573 Tested-by: jenkins Reviewed-by: Peter
Stuge <peter@stuge.se>
2012-04-18 Spencer Oliver <spen@spen-soft.co.uk>
* : cfg: add stm32f0discovery board config Change-Id: I4fccdbd4e0a3bc70cd425c910ad1007519098e20 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/570 Reviewed-by: Peter Stuge
<peter@stuge.se> Tested-by: jenkins
2012-04-05 Spencer Oliver <spen@spen-soft.co.uk>
* : stlink: correctly format printed hex addresses Change-Id: I4a139989927249bb5e9dcc4804965c85c37cc09b Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/559 Tested-by: jenkins Reviewed-by: Andreas
Fritiofson <andreas.fritiofson@gmail.com>
2012-04-04 Stephane Bonnet <bonnetst@hds.utc.fr>
* : ft2232: Support for Digilent HS1 USB adapter * Added support to the FT2232 driver for the FT2232H-based Digilent HS1 adapter. Change-Id: Iab6cc15f299badaf115615b5d4d785ecb2273c27 Signed-off-by:
Stephane Bonnet <bonnetst@hds.utc.fr> Reviewed-on:
http://openocd.zylin.com/558 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2012-03-27 Wjatscheslaw Stoljarski (Slawa) <wjatscheslaw.stoljarski@kiwigrid.com>
* : cfg: add imx53loco board config Add board config for iMX53QSB (loco) Change-Id: I8659dcd71a56d5fe855eaf62be0a415198b558c5 Signed-off-by:
Wjatscheslaw Stoljarski (Slawa)
<wjatscheslaw.stoljarski@kiwigrid.com> Reviewed-on:
http://openocd.zylin.com/542 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2012-04-04 Simon Widmer <simonxwidmer@gmail.com>
* : Support for KaRo TX25 CPU Module on a StarterkitV base board This patch adds support for the KaRo TX25 module on a StarterkitV
base board. For board details, check
http://www.karo-electronics.com/tx25.html Change-Id: I2c80c5467bc476955b55196728aa3c37c8185e6c Author: Simon
Widmer <simonxwidmer@gmail.com> Signed-off-by: Mark Vels
<mark.vels@team-embedded.nl> Reviewed-on:
http://openocd.zylin.com/557 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2012-04-04 Spencer Oliver <spen@spen-soft.co.uk>
* : doxygen: remove warnings Change-Id: I020845a8df7b67f3b6c1a233b3ee07a5d14fa685 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/556 Tested-by: jenkins
2012-04-02 Salvador <sarroyofdez@yahoo.es>
* : Minor bug fixes in Mips32 code Now the the "Fast" version for memory blank check in pic32mx.c can
be called: default_flash_blank_check() instead of the "fallback"
default_flash_mem_blank_check(). The command "verify_image", without working area, now don't show: checksum mismatch - attempting binary compare when there are no
real errors in flash. Change-Id: I256e8ae949289634e1de5c1c2861e4c4c4b7fdce Signed-off-by:
Salvador <sarroyofdez@yahoo.es> Reviewed-on:
http://openocd.zylin.com/549 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2012-03-30 Spencer Oliver <spen@spen-soft.co.uk>
* : docs: remove unused primer ref we already have a link to the patch primer in the main index. Change-Id: Ib90ade76a17f5d99da8fe481d8f87c68eca38f1c Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/546 Tested-by: jenkins
2012-04-02 Uwe Hermann <uwe@hermann-uwe.de>
* : Initial config for the Voltcraft DSO-3062C. This is a digital oscilloscope which uses a Samsung S3C2440
internally. http://randomprojects.org/wiki/Voltcraft_DSO-3062C Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Change-Id:
I5e28c3a8f30665a162e34c831294e4e658a16ebb Reviewed-on:
http://openocd.zylin.com/548 Tested-by: jenkins Reviewed-by: Peter
Stuge <peter@stuge.se>
2012-03-20 Spencer Oliver <spen@spen-soft.co.uk>
* : jimtcl: update to version 0.73 Change-Id: I9c943abb3ec5148b9cb24d0823f7787066948201 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/536 Tested-by: jenkins Reviewed-by: Øyvind
Harboe <oyvindharboe@gmail.com>
2012-03-15 Mathias K <kesmtp@freenet.de>
* : stm32: Update register read/write to the register definition. This patch fix the register index on read/write register. Change-Id: I7b52a927a48259d6f497ac0f474aff7ff1529e9a Signed-off-by:
Mathias K <kesmtp@freenet.de> Reviewed-on:
http://openocd.zylin.com/525 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2012-03-30 Spencer Oliver <spen@spen-soft.co.uk>
* : build: correctly quote m4 parameters Change-Id: I8fbef892caa78dba5324a8bc28d2a4a4854b1f48 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/544 Tested-by: jenkins
2012-03-26 Spencer Oliver <spen@spen-soft.co.uk>
* : cfg: add STM32F4x and STM3241G-EVAL config files This adds support for the STM32F4 target and the STM3241G Eval
Board, in both standalone and using the onboard STLINK. Change-Id: I62f8908b5880568b2b36c78a78f94c40861ff335 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/540 Tested-by: jenkins
2012-03-06 Olivier Schonken <olivier.schonken@gmail.com>
* : Added tcl config scripts for SAM3A/X targets and devboard The SAM3A/X processors that were released thus far is either a
SAM3A/X(4) - 256K, or a SAM3A/X(8) - 512K device. Thus the config
files are per variant, and not per device. Signed-off-by: Olivier Schonken <olivier.schonken@gmail.com> Change-Id: I84d26d044e810eb428b1d6287907ea3bf8364c73 Signed-off-by:
Olivier Schonken <olivier.schonken@gmail.com> Reviewed-on:
http://openocd.zylin.com/522 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2012-03-20 Spencer Oliver <spen@spen-soft.co.uk>
* : tools: update release scripts to use configure.ac we have already updated autoconf to use configure.ac instead of
configure.in, so update release.sh to use the new name. Change-Id: I2dc2beaf2f85058c4627183bc093052677ccba1b Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/537 Tested-by: jenkins
2012-03-08 Chris Morgan <chmorgan@gmail.com>
* : Create a init_board procedure for the ea dev board. Signed-off-by: Chris Morgan <chmorgan@gmail.com> Change-Id:
I082b0d3092c7f3b2ee6b68af64d48c78b31f1dbf Reviewed-on:
http://openocd.zylin.com/510 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2012-03-17 Salvador <sarroyofdez@yahoo.es>
* : Bug in src/target/mips32_pracc.c The bug shows up with the command "mdw addres count" and only if
count>1024 (count>0x400). The first 1024 values shows as expected,
but the rest of the values are wrong. Name of variable bytesread"
is changed to "wordsread" to reflect what really does. Change-Id: Iad79393e72da2637551c5ae6e829e3873605c520 Signed-off-by:
Salvador <sarroyofdez@yahoo.es> Reviewed-on:
http://openocd.zylin.com/527 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2012-03-15 Mathias K <kesmtp@freenet.de>
* : gdb_server: Simple close the connection and not exit openocd. This patch let openocd running and only close the gdb connection on
error. Change-Id: Ifb88e16834b51207cc4c82210eab904ed8d30b71 Signed-off-by:
Mathias K <kesmtp@freenet.de> Reviewed-on:
http://openocd.zylin.com/523 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2012-03-14 Paul Fertser <fercerpav@gmail.com>
* : rtos: add sanity checking for FreeRTOS's quantity of priorities On operating systems with opportunistic malloc() (e.g. default
setting in GNU/Linux) malloc can sometimes allocate a huge memory
region but later the process will get killed on the first attempt to
use this memory, so checking for malloc's return value is not enough
to prevent a crash. This patch is compile-tested only. Change-Id: I5e21663115c8e9a0ca9f3d71f7ba4bd09e5c3bb1 Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on:
http://openocd.zylin.com/521 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2012-02-24 Alexandre Pereira da Silva <aletes.xgr@gmail.com>
* : stlink: fix alignment build warning The {read,write}_mem32 interface functions was asking a 32 bits
buffer but they don't need 32 bits alignment. This will change the
interface to a 8 bits buffer to remove the alignment mismatch
warning. This was causing build errors on platforms with strict
aliasing rules. Change-Id: I338be8df5686f07a64ddb4f17c1bb494af583999 Signed-off-by:
Alexandre Pereira da Silva <aletes.xgr@gmail.com> Reviewed-on:
http://openocd.zylin.com/483 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2012-03-13 Mathias K <kesmtp@freenet.de>
* : armv7m: Add a dummy register at the end of the register list. Signed-off-by: Mathias K <kesmtp@freenet.de> Change-Id:
I0bfad091bd8adabd949fc0a74ef3a08a514eb307 Reviewed-on:
http://openocd.zylin.com/519 Reviewed-by: Peter Stuge
<peter@stuge.se> Tested-by: jenkins
2012-03-12 Mathias K <kesmtp@freenet.de>
* : stm32: determine all cpu types and use common examine This patch determine all cpu types and not only the cortex M3 and
the stm32 target use the common target examine function from the
cortex_m sources. Change-Id: If689dd994b3855284b927fc4b206f420cf32b6c7 Signed-off-by:
Mathias K <kesmtp@freenet.de> Reviewed-on:
http://openocd.zylin.com/511 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2012-03-08 Mathias K <kesmtp@freenet.de>
* : Automatically prepend v1 mass storage protocol. This patch prepend the v1 mass storage protocol to the command
buffer and simplify the usb read/write handling. Change-Id: I709602600e93cd1eb5848fa9f4d15659ba85eb35 Signed-off-by:
Mathias K <kesmtp@freenet.de> Reviewed-on:
http://openocd.zylin.com/506 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2012-03-12 Spencer Oliver <spen@spen-soft.co.uk>
* : cfg: correct pic32mx config typo's Change-Id: Ibe5b6b0efefc7cfc75d789eb7e9c7ee239526ae2 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/508 Tested-by: jenkins
2012-02-28 Jan Dakinevich <jan.dakinevich@gmail.com>
* : jtag: basic support for P&E Micro OSBDM (aka OSJTAG) adapter This driver provides support for the P&E Micro OSBDM adapter
(sometimes named as OSJTAG), mounted on the Freescale TWRK60N512
bord. Thus, it provides a quick start when working with this board.
The driver doesn't use BDM commands, but work with OSBDM adapter
using only JTAG commands. Change-Id: Ibc3779538e666e07651d3136431e5d44344f3b07 Signed-off-by:
Jan Dakinevich <jan.dakinevich@gmail.com> Reviewed-on:
http://openocd.zylin.com/492 Tested-by: jenkins Reviewed-by: Tomas
Frydrych <tf+openocd@r-finger.com> Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2012-03-08 Spencer Oliver <spen@spen-soft.co.uk>
* : docs: add stm32 dual bank example Change-Id: I1dfe134e2c7694fc978d14b4b21bdf9c82ca4b16 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/507 Tested-by: jenkins
2012-03-05 yvind Harboe <oyvind.harboe@zylin.com>
* : flash: retire unused eCos flash driver even the AT91EB40a's flash is covered by CFI and nobody ever
submitted any other drivers based on eCos code. It's just possible
that this idea was missing documentation and "marketing", but it's
in git if somebody wants to resurrect it. Change-Id: I66449aa6e0997301f9d67f28098789bfc891d6e9 Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com> Reviewed-on:
http://openocd.zylin.com/502 Tested-by: jenkins Reviewed-by: Øyvind
Harboe <oyvindharboe@gmail.com>
2012-02-25 Szymon Modzelewski <szmodzelewski@gmail.com>
* : flash: stm32f1x: add a couple missing stm32x_get_flash_reg Change-Id: I163de2c1bd962e7ea9ca6c741c1c62224c210677 Signed-off-by:
Szymon Modzelewski <szmodzelewski@gmail.com> Reviewed-on:
http://openocd.zylin.com/486 Tested-by: jenkins Reviewed-by: Andreas
Fritiofson <andreas.fritiofson@gmail.com> Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2012-02-29 Spencer Oliver <spen@spen-soft.co.uk>
* : stlink: fix incorrect pc console output target_call_event_callbacks needs to be called after debug entry
otherwise we will get a console pc mismatch. Change-Id: I278137736d5e85ca9662c306f6ac81336d8eb6cf Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/499 Tested-by: jenkins Reviewed-by: Øyvind
Harboe <oyvindharboe@gmail.com>
2012-02-28 Attila Kinali <attila@kinali.ch>
* : SAM3: Remove unused reference to SUPC registers The SUPC (Supply Controller) registers are on different base
addresses on different SAM3 chips: SAM3U: 0x400e1210 SAM3N:
0x400e1410 SAM3S: 0x400e1410 This creates a problem with the sam3_reg_list array which is const,
but would need to be changed at runtime to account for this
variability. As this register is not used anywhere, it's simplest to
just remove it. Change-Id: I987eb371648d826aa6d5e9de18d38c7bb66d6fca Signed-off-by:
Attila Kinali <attila@kinali.ch> Reviewed-on:
http://openocd.zylin.com/495 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2012-02-28 Attila Kinali <attila@kinali.ch>
* : SAM3S: correct flash sector sizes. Lock region count and sector sizes did not match datasheet. (see
6500C-ATARM-8FE11 "SAM3S Series Datasheet", Table 7-1) Change-Id: Ic511802f96ed03856467a24a6736349205a0576a Signed-off-by:
Attila Kinali <attila@kinali.ch> Reviewed-on:
http://openocd.zylin.com/493 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2012-02-21 Szymon Modzelewski <szmodzelewski@gmail.com>
* : stlink-v1: fix memory writes implement stlink_usb_send and use it to fix stlink_usb_write_mem using two calls to stlink_usb_recv is inappropriate since each call
issues a SG command on stlink-v1, resulting in errors Change-Id: I24ef9f2dda284e041dc4a532b59968a77eebe702 Signed-off-by:
Szymon Modzelewski <szmodzelewski@gmail.com> Reviewed-on:
http://openocd.zylin.com/498 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2012-02-21 Szymon Modzelewski <szmodzelewski@gmail.com>
* : stlink-v1: code cleanup This patch moves the bulk of the stlink read/write code into the
stlink_usb_xfer set of functions and implements stlink_usb_recv in
terms of the generic stlink_usb_xfer stlink_usb_xfer will be needed to implement stlink_usb_send without
code duplication stlink_usb_xfer: -sends the stlink command -performs a read or write
(as requested) -checks the status (v1 only) Change-Id: I0137d52620bd4883d46c9977a9e73f67622000a1 Signed-off-by:
Szymon Modzelewski <szmodzelewski@gmail.com> Reviewed-on:
http://openocd.zylin.com/477 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2012-02-17 Spencer Oliver <spen@spen-soft.co.uk>
* : flash: add stm32lx High Density Devices Change-Id: Ieed9de4b078e1ebf659054a758b4f69acdf5b83e Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/466 Tested-by: jenkins
2012-02-21 Szymon Modzelewski <szmodzelewski@gmail.com>
* : stlink-v1: fix memory writes implement stlink_usb_send and use it to fix stlink_usb_write_mem using two calls to stlink_usb_recv is inappropriate since each call
issues a SG command on stlink-v1, resulting in errors Change-Id: I52ff9ee8f5d9ae0d47356477468eb98952205c99 Signed-off-by:
Szymon Modzelewski <szmodzelewski@gmail.com> Reviewed-on:
http://openocd.zylin.com/478 Tested-by: jenkins Reviewed-by: Mathias
Küster <kesmtp@freenet.de> Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2012-02-24 Neil Jensen <neil30al@gmail.com>
* : cfg: Beaglebone/AM335x refactor Split out functions specific to the AM335x SOC into the target
directory and simplified the board config file. This should allow
one to quickly create new configs for boards based on the TI
processor family. Change-Id: I0c3db97950dfa832f1f1918fc10c180f068bba74 Signed-off-by:
Neil Jensen <neil30al@gmail.com> Reviewed-on:
http://openocd.zylin.com/489 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2012-02-21 Spencer Oliver <spen@spen-soft.co.uk>
* : jtag: use correct tap -ignore-version mask when -ignore-version is used we should mask of the upper 4bits not
8bits. Change-Id: I9ffe24c2aeeb414677357a647609fdf018890194 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/473 Tested-by: jenkins
2012-02-16 Spencer Oliver <spen@spen-soft.co.uk>
* : flash: add stm32f2x async flash loader This enable the stm32f2x flash driver to use the asynchronous
algorithm support. Speed increase is as follows: before - wrote 1048576 bytes from file
stm32f4x.bin in 30.453804s (33.625 KiB/s) after - wrote 1048576
bytes from file stm32f4x.bin in 23.679497s (43.244 KiB/s) This also fixes a bug that was in the old flash loader. The old
loader waited while bit16 of the status reg was 0, the new loader
waits until this bit is 0 as stated in the flash spec. Bizarrely
this bug did not effect programming on any tested parts. Change-Id: I3efc94d42cbe81283673a8f4203700638080af6e Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/460 Tested-by: jenkins
2012-02-10 Spencer Oliver <spen@spen-soft.co.uk>
* : target: add target async algorithm support Currently the stm32f1x flash driver uses an asynchronous algorithm
as part of the block flash programming. This greatly speeds up flash
programming as the target is always running. Moving the async code to the target enable other targets to use this
added functionality. Change-Id: I8e53f094c2ef7848a7f86ddb9a35b6edbfc8454a Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/402 Tested-by: jenkins Reviewed-by: Andreas
Fritiofson <andreas.fritiofson@gmail.com>
2012-02-18 Neil Jensen <neil30al@gmail.com>
* : cfg: Beaglebone Support Added support for the Beaglebone board based on the am335x processor
family. After much trial and error, I was able to configure the
Icepick-D and connect to the processor, halt execution, and run a
sample program. This is a unified config file (it doesn't use any
include statements) and further work needs to be done to split out
the icepick-d configuration to be more generic. Change-Id: Ia1b8e9f01f56bd4f8c575ba3d0160c248583a15e Signed-off-by:
Neil Jensen <neil30al@gmail.com> Reviewed-on:
http://openocd.zylin.com/471 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2012-02-13 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : target: rewrite working area allocator The existing allocator couldn't reuse a freed allocation if the
sizes didn't match exactly. That led to problems when for example a
flash write routine had allocated all of the working area to speed
up operation. A subsequent verify pass couldn't allocate space for
the checksum algorithm even though all previous allocations had been
freed. This allocator is marginally more complex, but solves the above
problem by splitting larger free areas to fulfill smaller requests
and by merging released areas into adjacent free areas. An initial free area, covering the entire specified address range,
is set up on first allocation, and all allocations are split off
from (and ultimately merged into) that one. It can also easily be
adapted to support several disjoint working areas for the same
target, by setting up several initial free areas and slightly
modifying the merge code. Change-Id: I6faaf9801312bb19a4fa4474694a0cd1c6e0ab54 Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/445 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2012-02-21 Spencer Oliver <spen@spen-soft.co.uk>
* : stlink: support expected-id 0 This brings the stlink driver inline with the rest of OpenOCD. If the user configures the tap as -expected-id 0 then the IDCODE
will be treated as a wildcard and ignored. Change-Id: I99160c69b2b40f5b1f608bb59ab6630894502fd8 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/476 Tested-by: jenkins Reviewed-by: Mathias
Küster <kesmtp@freenet.de>
2012-02-18 Stian Skjelsad <stian@nixia.no>
* : Sometime in the past, nand_fileio_finish started to return
ERROR_OK (with the value of zero) on success. Change-Id: Ifb743c1617e2a6071a87c901fae8165969efcdbf Signed-off-by:
Stian Skjelstad <stian@nixia.no> Reviewed-on:
http://openocd.zylin.com/468 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2012-02-17 Jonathan Dumaresq <jdumaresq@cimeq.qc.ca>
* : Fix Typo in cfg file Change-Id: Id91ef70988212185f9ec653cbf5dc4e1defb1b9e Signed-off-by:
Jonathan Dumaresq <jdumaresq@cimeq.qc.ca> Reviewed-on:
http://openocd.zylin.com/464 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2012-02-14 Spencer Oliver <spen@spen-soft.co.uk>
* : stlink: add arm semi-hosting support Change-Id: Ib275d451a9201580f08ced090e50cf45eb3ab3e2 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/459 Tested-by: jenkins
2012-02-14 Spencer Oliver <spen@spen-soft.co.uk>
* : docs: fix texinfo warnings A period or comma must follow the closing brace of an @xref. Change-Id: I272f1e7fac8f1fee4844f485b0b8e2e4e9cf352d Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/456 Tested-by: jenkins Reviewed-by: Øyvind
Harboe <oyvindharboe@gmail.com>
2012-02-07 Jonathan Dumaresq <jdumaresq@cimeq.qc.ca>
* : Add stm32f0x target Change-Id: I4abfef4459b7e2780d17bdd7623fd1ef797cc8ea Signed-off-by:
Jonathan Dumaresq <jdumaresq@cimeq.qc.ca> Reviewed-on:
http://openocd.zylin.com/437 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2012-02-16 Mathias K <kesmtp@freenet.de>
* : Add bootloader mode. This patch add the bootloader define. Change-Id: I280a8a35c3514910dd381de3ab8ad59c9bd74ca1 Signed-off-by:
Mathias K <kesmtp@freenet.de> Reviewed-on:
http://openocd.zylin.com/455 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2012-02-13 Spencer Oliver <spen@spen-soft.co.uk>
* : docs: correct small typo Change-Id: I5e8bea591274b4032d3e04c4be7e9110138d5bc2 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/447 Tested-by: jenkins Reviewed-by: Peter
Stuge <peter@stuge.se>
2012-02-04 James Robinson <jmr13031@gmail.com>
* : topic: Add support for i.MX28EVK Added the file imx28.cfg to the target directory Added the file
imx28evk.cfg to the board directory Change-Id: I02a74a03f3773892f830d13660ffdded34f3261d Signed-off-by:
James Robinson <jmr13031@gmail.com> Reviewed-on:
http://openocd.zylin.com/428 Tested-by: jenkins Reviewed-by: Øyvind
Harboe <oyvindharboe@gmail.com> Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2012-02-10 Spencer Oliver <spen@spen-soft.co.uk>
* : cfg: add revb ek-lm3s811 board config Add board config for older (revb) ek-lm3s811 Change-Id: I75aca1714de3e88b60d00fa0f99f2c4b076b569c Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/444 Tested-by: jenkins Reviewed-by: Peter
Stuge <peter@stuge.se>
2012-02-10 Spencer Oliver <spen@spen-soft.co.uk>
* : cfg: add stm32ldiscovery board config Change-Id: I392fdc4c588783fda1c7d4d6413b86ae9aa3f6b9 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/442 Tested-by: jenkins Reviewed-by: Peter
Stuge <peter@stuge.se>
2012-02-03 Freddie Chopin <freddie.chopin@gmail.com>
* : Add init_board procedure executed after init_targets This adds init_board procedure that behaves exactly the same as
init_targets - it can be overriden by "next level" scripts. This
procedure is executed after init_targets, allowing common stuff
(jtag chain, memory, flash, ...) to be configured in target script
(via init_target) and leaving rest (like additional memory, reset
configuration, reset-init handlers, ...) to be done in init_board. This makes init_targets scheme more complete and easier to use -
current board scripts will not need new init_targets, because
everything can be "packed" in init_boards. Moreover it solves the
problem of variables being set in init_targets (executed after
init), which were not accessible by "linear" scripts (parsed before
init). All that has to be done is to enclose all code in board
config file in init_board procedure. Change-Id: I0736b1ff9873a687966407d62b58ccf29a8e597b Signed-off-by:
Freddie Chopin <freddie.chopin@gmail.com> Reviewed-on:
http://openocd.zylin.com/427 Reviewed-by: Chris Morgan
<chmorgan@gmail.com> Tested-by: jenkins Reviewed-by: Peter Stuge
<peter@stuge.se>
2012-02-06 Spencer Oliver <spen@spen-soft.co.uk>
* : cfg: add stm32vldiscovery board config Change-Id: I6343d1e61153ba71c71f8a473171972abb8e400d Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/432 Tested-by: jenkins Reviewed-by: Mathias
Küster <kesmtp@freenet.de> Reviewed-by: Andreas Fritiofson
<andreas.fritiofson@gmail.com>
2012-02-01 Freddie Chopin <freddie.chopin@gmail.com>
* : Export _TARGETNAME from generic LPC2xxx script Make _TARGETNAME variable global so it could be used by scripts
sourcing it. Change-Id: Iaf1c3b53875734658b1b8f136c9bb958988b56bf Signed-off-by:
Freddie Chopin <freddie.chopin@gmail.com> Reviewed-on:
http://openocd.zylin.com/421 Tested-by: jenkins Reviewed-by: Chris
Morgan <chmorgan@gmail.com> Reviewed-by: Øyvind Harboe
<oyvindharboe@gmail.com>
2012-02-05 Spencer Oliver <spen@spen-soft.co.uk>
* : build: cleanup src/target directory Change-Id: Ia055b6d2b5f6449a38afd0539a8c66e7d7e0c059 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/430 Tested-by: jenkins
2012-02-02 Spencer Oliver <spen@spen-soft.co.uk>
* : checkpatch: remove __packed and __aligned checks These checks are specific to linux kernel. Change-Id: Ia9b837b5609922a897822f1d55f96f04c0f1f838 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/424 Tested-by: jenkins
2012-02-02 Spencer Oliver <spen@spen-soft.co.uk>
* : checkpatch: increase line length to 120 Change-Id: I963385d0a4880f2b1e55208c8dfe65c1870ac6e1 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/422 Tested-by: jenkins
2012-01-31 Spencer Oliver <spen@spen-soft.co.uk>
* : build: cleanup src/flash/nand directory Change-Id: I21bb466a35168cf04743f5baafac9fef50d01707 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/419 Tested-by: jenkins
2012-01-30 Spencer Oliver <spen@spen-soft.co.uk>
* : build: cleanup src/rtos directory Change-Id: I24bc62d12409dbfc20a0a986acf6b3f2c913e36d Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/416 Tested-by: jenkins
2012-01-30 Spencer Oliver <spen@spen-soft.co.uk>
* : checkpatch: remove volatile check We may enable this again - but at the moment is causing extra issues
with reformatting the codebase. Change-Id: I5a2aaaa32ad784e011dff3079ff45501452c1819 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/414
2012-01-30 Spencer Oliver <spen@spen-soft.co.uk>
* : build: cleanup src/server directory Change-Id: I6410df28c5999f5cbee2d3bcaa02469a29ea4c15 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/412 Tested-by: jenkins
2012-01-27 Spencer Oliver <spen@spen-soft.co.uk>
* : build: cleanup src/xsvf directory Change-Id: I5325980b240fba841d8cce81985f4da369ad9052 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/410 Tested-by: jenkins
2012-01-27 Spencer Oliver <spen@spen-soft.co.uk>
* : build: cleanup src/pld directory Change-Id: I9edb027c76e5d7fe21d557a11e6a9691fa581e86 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/408 Tested-by: jenkins
2012-02-05 Spencer Oliver <spen@spen-soft.co.uk>
* : build: update uncrustify config This config has been updated for 0.59 Change-Id: If0dc87dd5de052c1228743a196a3198dbd4bc279 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/406 Tested-by: jenkins
2012-01-25 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : stm32f1x: fix bug in flash loader and restrict instruction set
to armv6-m Correct the offset to the read pointer when clearing it on error. Also restrict the instruction set to armv6-m so the flash driver can
be used on Cortex-M0 parts with the same flash controller. Change-Id: I380f9dabcc41fb6e4d43a7e02f355e2381913f39 Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/399 Tested-by: jenkins Reviewed-by: Freddie
Chopin <freddie.chopin@gmail.com> Reviewed-by: Jonathan Dumaresq
<jdumaresq@cimeq.qc.ca> Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2012-01-23 Mathias K <kesmtp@freenet.de>
* : STLINK: add stlink v1 configuration Change-Id: I6b9de16879ff928d60e3c4a64731449275291cc2 Signed-off-by:
Mathias K <kesmtp@freenet.de> Reviewed-on:
http://openocd.zylin.com/397 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2012-01-25 Mathias K <kesmtp@freenet.de>
* : STLINK: swd transport renamed and jtag+swim transport added This patch add jtag support to the stlink driver add two new
transport types, JTAG and SWIM. Change-Id: I7089d74250330be5c6a01c24066307641df7d11e Signed-off-by:
Mathias K <kesmtp@freenet.de> Reviewed-on:
http://openocd.zylin.com/393 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2012-01-25 Spencer Oliver <spen@spen-soft.co.uk>
* : flash: fix stellaris class regression for some reason the following commit was incorrect
769064de4bd8fc59804c37a418b83fcdba6fd36f Only the Sandstorm and Fury class should write this register. Change-Id: Ie18f1da6e9b59fb99cca47aa93c7f2fee447ccea Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/400 Tested-by: jenkins
2011-12-02 Fujitsu FM3 Application Team <openocd.fseu@de.fujitsu.com>
* : flash: cleanup/reformat fm3 flash driver Signed-off-by: Fujitsu FM3 Application Team
<openocd.fseu@de.fujitsu.com> Change-Id:
Iaf0bacfa5438a0213a65a3d60e7d461965a5a1ac Reviewed-on:
http://openocd.zylin.com/249 Reviewed-by: Øyvind Harboe
<oyvindharboe@gmail.com> Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2012-01-17 Timo Ketola <timo@exertus.fi>
* : i.MX25: Set OOB size (MXC NFC) SPAS register (OOB size) is left wrong after reset with respect to
2KiB page NAND chip. That will lead to ECC errors after 'reset
halt'. Change-Id: If5a4685cb8d6be35879453951611ef1059da219c Signed-off-by:
Timo Ketola <timo@exertus.fi> Reviewed-on:
http://openocd.zylin.com/384 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2012-01-20 Spencer Oliver <spen@spen-soft.co.uk>
* : cfg: add missing Stellaris Blizzard info Change-Id: I1d6fb9a2ec8d87267a266f68c01ce032450e45d5 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/392 Tested-by: jenkins
2012-01-17 Spencer Oliver <spen@spen-soft.co.uk>
* : flash: cleanup stellaris device class detection read the target class during probe and save for later use. Change-Id: Ib3ad20edc7d206b7f434bdcc6b947e6a5f06dd1f Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/388 Tested-by: jenkins
2012-01-13 Spencer Oliver <spen@spen-soft.co.uk>
* : stlink: enable cortex special reg writes Change-Id: I5aa02e8de6dd5ac5a6ca628ba4068decb200c689 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/378 Tested-by: jenkins
2012-01-19 Spencer Oliver <spen@spen-soft.co.uk>
* : flash: print bank usage on failure This makes use of the newly introduced usage field in the flash bank
structure. Also remove the assertion if usage field is null and lets print a
DEBUG_LOG message instead. Change-Id: I384bf0e2c444fcc99deef73aec9ef01149a91c76 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/391 Tested-by: jenkins
2012-01-17 Timo Ketola <timo@exertus.fi>
* : doc: Update patch procedure Change-Id: I3e50357b4ddaf483712bbac68b6427b31529f666 Signed-off-by:
Timo Ketola <timo@exertus.fi> Reviewed-on:
http://openocd.zylin.com/387 Tested-by: jenkins Reviewed-by: Øyvind
Harboe <oyvindharboe@gmail.com> Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2012-01-16 Spencer Oliver <spen@spen-soft.co.uk>
* : cmd: add missing usage vars we should have caught them all - hopefully. Change-Id: I35435317fccaf5ad0216244d69f76db6857bb582 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/381 Tested-by: jenkins Reviewed-by: Øyvind
Harboe <oyvindharboe@gmail.com>
2012-01-06 Michel JAOUEN <michel.jaouen@stericsson.com>
* : u8500: linux rtos config Change-Id: I21a9dcc5fb260095aed2217e467b74ebecb39afb Signed-off-by:
Michel JAOUEN <michel.jaouen@stericsson.com> Reviewed-on:
http://openocd.zylin.com/349 Tested-by: jenkins Reviewed-by: Øyvind
Harboe <oyvindharboe@gmail.com>
2012-01-03 Michel JAOUEN <michel.jaouen@stericsson.com>
* : rtos : create qsymbol interface and add str_to_hex interface Change-Id: I1b26f7efd3ad4a060f772dd12408e77a03d93cea Signed-off-by:
Michel JAOUEN <michel.jaouen@stericsson.com> Reviewed-on:
http://openocd.zylin.com/347 Tested-by: jenkins Reviewed-by: Evan
Hunter <evan@ozhiker.com> Reviewed-by: Øyvind Harboe
<oyvindharboe@gmail.com>
2012-01-03 Michel JAOUEN <michel.jaouen@stericsson.com>
* : rtos : ps command Change-Id: I1b00b6d72f425826c33b0df7dd63114ce642ce93 Signed-off-by:
Michel JAOUEN <michel.jaouen@stericsson.com> Reviewed-on:
http://openocd.zylin.com/345 Tested-by: jenkins Reviewed-by: Evan
Hunter <evan@ozhiker.com> Reviewed-by: Øyvind Harboe
<oyvindharboe@gmail.com>
2012-01-03 Michel JAOUEN <michel.jaouen@stericsson.com>
* : rtos : current_threadid move to rtos context Change-Id: I49d9d6d64c418be601d8723cb3eea9c3716ecb6b Signed-off-by:
Michel JAOUEN <michel.jaouen@stericsson.com> Reviewed-on:
http://openocd.zylin.com/343 Tested-by: jenkins Reviewed-by: Evan
Hunter <evan@ozhiker.com> Reviewed-by: Øyvind Harboe
<oyvindharboe@gmail.com>
2012-01-03 Michel JAOUEN <michel.jaouen@stericsson.com>
* : rtos : remove unused parameter Change-Id: I98c9f28a0085bd4713b694181ab544777091eac6 Signed-off-by:
Michel JAOUEN <michel.jaouen@stericsson.com> Reviewed-on:
http://openocd.zylin.com/341 Tested-by: jenkins Reviewed-by: Øyvind
Harboe <oyvindharboe@gmail.com>
2012-01-12 Mathias K <kesmtp@freenet.de>
* : stlink: handle wrong initialization file if no layout was
specified This patch remove the hardcoded default layout and return an error
if no layout was specified in the configuration file. Change-Id: I0e7833faa2dc194e727122840bcbdacd321cc4fd Signed-off-by:
Mathias K <kesmtp@freenet.de> Reviewed-on:
http://openocd.zylin.com/369 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2012-01-12 Mathias K <kesmtp@freenet.de>
* : stlink: add read/write 8bit memory This patch add layout api funtions and implementation to read/write
8bit memory. Change-Id: I8d145eb07e5afa9ce1830578e57d80a80d21e7dc Signed-off-by:
Mathias K <kesmtp@freenet.de> Reviewed-on:
http://openocd.zylin.com/366 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2012-01-12 Spencer Oliver <spen@spen-soft.co.uk>
* : stlink: correctly signal stlink_interface_open failure give the user a error msg on open failure. Change-Id: If4a57bac7f3e1746c2a05c7a96747a38da188041 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/368 Tested-by: jenkins Reviewed-by: Mathias
Küster <kesmtp@freenet.de>
2012-01-09 Spencer Oliver <spen@spen-soft.co.uk>
* : flash: detect stm32f4x device id errata This allows us to detect a device arrata where the device id
returned is incorrect. This issue only effects stm32f4x Rev A silicon. Change-Id: Ic9f4985f9abf562f97322dcf484199f0a4eb01bb Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/354 Tested-by: jenkins
2012-01-09 Spencer Oliver <spen@spen-soft.co.uk>
* : stlink: add dummy speed handlers Change-Id: I0445be7867637728145941b06225dc0acc5380e8 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/355 Tested-by: jenkins
2012-01-10 Mathias K <kesmtp@freenet.de>
* : optimize: replace while loop by memcpy There is no need to use a while loop here. This patch simple copy
the last bytes with the system function. Change-Id: Ibda72dca449746efeba5a1af2e45c5990f9cf347 Signed-off-by:
Mathias K <kesmtp@freenet.de> Reviewed-on:
http://openocd.zylin.com/364 Tested-by: jenkins Reviewed-by: Øyvind
Harboe <oyvindharboe@gmail.com> Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2012-01-10 Bruno FLEURETTE <bruno.fleurette@gmail.com>
* : flash: pre-check flash unlock for stm32f2x add checking of the current flash lock status before performing the
unlock sequence (which would fail in an unlocked state) Change-Id: I693294c9cd2f59e69cb5bf3338120052fd680b1e Signed-off-by:
Bruno FLEURETTE <bruno.fleurette@gmail.com> Signed-off-by: Øyvind
Harboe <oyvind.harboe@zylin.com> Reviewed-on:
http://openocd.zylin.com/363 Reviewed-by: Øyvind Harboe
<oyvindharboe@gmail.com> Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk> Tested-by: jenkins Reviewed-by: Mathias
Küster <kesmtp@freenet.de>
2012-01-09 Spencer Oliver <spen@spen-soft.co.uk>
* : target: fix missing semihosting return path bug nicely caught by clang. Change-Id: I7abf0fdd76666fb3eb1c83e3edfd01e0da485ffe Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/359 Tested-by: jenkins Reviewed-by: Øyvind
Harboe <oyvindharboe@gmail.com>
2012-01-04 Spencer Oliver <spen@spen-soft.co.uk>
* : flash: use stm32f2x flash size register Use the flash size register to calculate flash info. Change-Id: Ia230db8a08d440710c030a9e5001f20561c9f420 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/337 Tested-by: jenkins Reviewed-by: Mathias
Küster <kesmtp@freenet.de>
2012-01-04 Spencer Oliver <spen@spen-soft.co.uk>
* : contrib: add stlink udev rules Change-Id: I3f11de8abfaf8821311a7aa0fd237006de3c2792 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/333 Tested-by: jenkins Reviewed-by: Mathias
Küster <kesmtp@freenet.de>
2012-01-03 Spencer Oliver <spen@spen-soft.co.uk>
* : cfg: use consistent chipname Change-Id: I41e0788f830d5ece13e6231a99d5b4013c9c678f Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/331 Tested-by: jenkins Reviewed-by: Mathias
Küster <kesmtp@freenet.de> Reviewed-by: Freddie Chopin
<freddie.chopin@gmail.com>
2012-01-07 yvind Harboe <oyvind.harboe@zylin.com>
* : rtos: fix bug in error handling checking for != ERROR_FAIL is broken. Change-Id: Id7085afac653bb9c38d08928227a9ea402d8e6e9 Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com> Reviewed-on:
http://openocd.zylin.com/351 Tested-by: jenkins Reviewed-by: Michel
JAOUEN <michel.jaouen@stericsson.com> Reviewed-by: Øyvind Harboe
<oyvindharboe@gmail.com>
2011-12-16 Mathias K <kesmtp@freenet.de>
* : Change return value on error. On wrong parameters a error is signalized to the calling function. Change-Id: I484443fdb39938e20382edc9246d5ec546a5c960 Signed-off-by:
Mathias K <kesmtp@freenet.de> Signed-off-by: Øyvind Harboe
<oyvind.harboe@zylin.com> Reviewed-on: http://openocd.zylin.com/282
Tested-by: jenkins Reviewed-by: Øyvind Harboe
<oyvindharboe@gmail.com>
2011-12-28 yvind Harboe <oyvind.harboe@zylin.com>
* : flash: introduce .usage field for nand and nor flash driver
structure Change-Id: I47e7ec8fa8c70d2addc3aa52d7c97e9e1e7bb662 Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com> Reviewed-on:
http://openocd.zylin.com/301 Tested-by: jenkins Reviewed-by: Øyvind
Harboe <oyvindharboe@gmail.com> Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2011-12-24 Mathias K <kesmtp@freenet.de>
* : command: print BUG warning when usage is missing These error messages will prompt patches to be submitted for missing
.usage or empty fields. All of the below must be resolved before
next release. The Jim defined commands are excluded from this checklist because
the help text can be set later than during command registration. strlen(.usage) == 0 means that the command expects no arguments. Updates to this patch in Gerrit to fix problems below are most
welcome. Anyone can push updated versions of a patch to Gerrit. If
there are no further updates to this patch within a week, it will be
pushed to the master branch to prompt more fixes. These were caught by launching OpenOCD. Error: BUG: command 'command' does not have the '.usage' field
filled out Error: BUG: command 'script' does not have the '.usage'
field filled out Error: BUG: command 'power_restore' does not have
the '.usage' field filled out Error: BUG: command 'srst_deasserted'
does not have the '.usage' field filled out Error: BUG: command
'measure_clk' does not have the '.usage' field filled out Error:
BUG: command 'exit' does not have the '.usage' field filled out
Error: BUG: command 'shutdown' does not have the '.usage' field
filled out Error: BUG: command 'gdb_sync' does not have the '.usage'
field filled out Error: BUG: command 'interface_list' does not have
the '.usage' field filled out Error: BUG: command 'target' does not
have the '.usage' field filled out Error: BUG: command 'target init'
does not have the '.usage' field filled out Error: BUG: command
'flash' does not have the '.usage' field filled out Error: BUG:
command 'flash init' does not have the '.usage' field filled out
Error: BUG: command 'flash banks' does not have the '.usage' field
filled out Error: BUG: command 'nand' does not have the '.usage'
field filled out Error: BUG: command 'nand drivers' does not have
the '.usage' field filled out Error: BUG: command 'nand init' does
not have the '.usage' field filled out Error: BUG: command 'pld'
does not have the '.usage' field filled out Error: BUG: command 'pld
init' does not have the '.usage' field filled out Error: BUG:
command 'mflash' does not have the '.usage' field filled out Error:
BUG: command 'mflash init' does not have the '.usage' field filled
out Error: BUG: command 'dummy' does not have the '.usage' field
filled out Error: BUG: command 'dummy foo' does not have the
'.usage' field filled out Error: BUG: command 'scan_chain' does not
have the '.usage' field filled out Error: BUG: command 'jtag' does
not have the '.usage' field filled out Error: BUG: command 'jtag
init' does not have the '.usage' field filled out Error: BUG:
command 'arm' does not have the '.usage' field filled out Error:
BUG: command 'arm reg' does not have the '.usage' field filled out
Error: BUG: command 'etm' does not have the '.usage' field filled
out Error: BUG: command 'arm7_9' does not have the '.usage' field
filled out Error: BUG: command 'at91eb40a.cpu' does not have the
'.usage' field filled out Error: BUG: command 'at91eb40a.cpu arm'
does not have the '.usage' field filled out Error: BUG: command 'arm
reg' does not have the '.usage' field filled out Error: BUG: command
'at91eb40a.cpu etm' does not have the '.usage' field filled out
Error: BUG: command 'at91eb40a.cpu arm7_9' does not have the
'.usage' field filled out Error: BUG: command 'target_request' does
not have the '.usage' field filled out ^C oyvind@fierce:~/openocd$
openocd -c "interface dummy" -f board/at91eb40a.cfg 2>&1 | grep -w
BUG Error: BUG: command 'command' does not have the '.usage' field
filled out Error: BUG: command 'script' does not have the '.usage'
field filled out Error: BUG: command 'power_restore' does not have
the '.usage' field filled out Error: BUG: command 'srst_deasserted'
does not have the '.usage' field filled out Error: BUG: command
'measure_clk' does not have the '.usage' field filled out Error:
BUG: command 'exit' does not have the '.usage' field filled out
Error: BUG: command 'shutdown' does not have the '.usage' field
filled out Error: BUG: command 'gdb_sync' does not have the '.usage'
field filled out Error: BUG: command 'interface_list' does not have
the '.usage' field filled out Error: BUG: command 'target' does not
have the '.usage' field filled out Error: BUG: command 'target init'
does not have the '.usage' field filled out Error: BUG: command
'flash' does not have the '.usage' field filled out Error: BUG:
command 'flash init' does not have the '.usage' field filled out
Error: BUG: command 'flash banks' does not have the '.usage' field
filled out Error: BUG: command 'nand' does not have the '.usage'
field filled out Error: BUG: command 'nand drivers' does not have
the '.usage' field filled out Error: BUG: command 'nand init' does
not have the '.usage' field filled out Error: BUG: command 'pld'
does not have the '.usage' field filled out Error: BUG: command 'pld
init' does not have the '.usage' field filled out Error: BUG:
command 'mflash' does not have the '.usage' field filled out Error:
BUG: command 'mflash init' does not have the '.usage' field filled
out Error: BUG: command 'dummy' does not have the '.usage' field
filled out Error: BUG: command 'dummy foo' does not have the
'.usage' field filled out Error: BUG: command 'scan_chain' does not
have the '.usage' field filled out Error: BUG: command 'jtag' does
not have the '.usage' field filled out Error: BUG: command 'jtag
init' does not have the '.usage' field filled out Error: BUG:
command 'arm' does not have the '.usage' field filled out Error:
BUG: command 'arm reg' does not have the '.usage' field filled out
Error: BUG: command 'etm' does not have the '.usage' field filled
out Error: BUG: command 'arm7_9' does not have the '.usage' field
filled out Error: BUG: command 'at91eb40a.cpu' does not have the
'.usage' field filled out Error: BUG: command 'at91eb40a.cpu arm'
does not have the '.usage' field filled out Error: BUG: command 'arm
reg' does not have the '.usage' field filled out Error: BUG: command
'at91eb40a.cpu etm' does not have the '.usage' field filled out
Error: BUG: command 'at91eb40a.cpu arm7_9' does not have the
'.usage' field filled out Error: BUG: command 'target_request' does
not have the '.usage' field filled out Change-Id: I2c3e529530a15d2295a1950ffc59e8f2fc661012 Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com> Signed-off-by: Mathias K
<kesmtp@freenet.de> Reviewed-on: http://openocd.zylin.com/299
Tested-by: jenkins Reviewed-by: Øyvind Harboe
<oyvindharboe@gmail.com> Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2011-12-17 Mathias K <kesmtp@freenet.de>
* : Add STM32F2X/STLINK target config file. Change-Id: I02161fa05da993b5b966c31a706667d1bd91935d Signed-off-by:
Mathias K <kesmtp@freenet.de> Reviewed-on:
http://openocd.zylin.com/287 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2011-12-17 Mathias K <kesmtp@freenet.de>
* : STM32 ST-LINK target initial release STM32 ST-LINK target added. Change-Id: Ibe2b7a3c0d5a8cf73d8680d6019adbdb62d68fa2 Signed-off-by:
Mathias K <kesmtp@freenet.de> Reviewed-on:
http://openocd.zylin.com/279 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2011-12-15 Mathias K <kesmtp@freenet.de>
* : Make jim functions public accessible. Change this 2 functions to make it accessible for other tcl
interfaces. Change-Id: Idee07fcc779941b037a05a40c021e3fb0b1a4a7a Signed-off-by:
Mathias K <kesmtp@freenet.de> Reviewed-on:
http://openocd.zylin.com/277 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2011-12-01 Mathias K <kesmtp@freenet.de>
* : add private data pointer to the tap interface This will give us the ability to add special data structures and new
interfaces without rewriting the complete jtag engine. Change-Id: I21a6e1daa96c5f4d111bbb734c7c1fbc2eaee227 Signed-off-by:
Mathias K <kesmtp@freenet.de> Reviewed-on:
http://openocd.zylin.com/244 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2011-12-23 Spencer Oliver <spen@spen-soft.co.uk>
* : build: fix mingw build issues 8901fca0270fec41b12c30c7dbd806d460548c5b broke the build under
mingw, this fixes that. Change-Id: I22b91e220dac3b68cc576b65a9f1b8711e64263a Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/298 Tested-by: jenkins Reviewed-by: Freddie
Chopin <freddie.chopin@gmail.com> Reviewed-by: Øyvind Harboe
<oyvindharboe@gmail.com>
2011-12-14 Erik Ahln <erik.ahlen@avalonenterprise.com>
* : Documentation for mxc NAND flash controller Change-Id: I9e552491e8b4737c01e4f8ae2b9a582b6ff2bc5d Signed-off-by:
Erik Ahlén <erik.ahlen@avalonenterprise.com> Reviewed-on:
http://openocd.zylin.com/273 Tested-by: jenkins Reviewed-by: Mathias
Küster <kesmtp@freenet.de> Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2011-12-13 Erik Ahln <erik.ahlen@avalonenterprise.com>
* : Added command to enable/disable/query BI-swap for MXC NAND Change-Id: Ifa3eb739afe0760a974b57c5a17cc3bf7704ba79 Signed-off-by:
Erik Ahlén <erik.ahlen@avalonenterprise.com> Reviewed-on:
http://openocd.zylin.com/270 Tested-by: jenkins Reviewed-by: Mathias
Küster <kesmtp@freenet.de> Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2011-12-13 Erik Ahln <erik.ahlen@avalonenterprise.com>
* : Added board type as a parameter to mx2 NFC as they have
different base addresses. Change-Id: I7bc326e9a8d9f6817f046a7faeebede567c53dd2 Signed-off-by:
Erik Ahlén <erik.ahlen@avalonenterprise.com> Reviewed-on:
http://openocd.zylin.com/268 Tested-by: jenkins Reviewed-by: Mathias
Küster <kesmtp@freenet.de> Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2011-12-20 Ulf Samuelsson <ulf@emagii.com>
* : Olimex-ARM-USB-OCD-H: Add udev rule Change-Id: Ifc9a1f7fa9445e05560c335b5bba3a33caeccc51 Signed-off-by:
Ulf Samuelsson <ulf@emagii.com> Reviewed-on:
http://openocd.zylin.com/288 Tested-by: jenkins Reviewed-by: Mathias
Küster <kesmtp@freenet.de> Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2011-12-21 Ulf Samuelsson <ulf@emagii.com>
* : git should ignore patches from format-patch Change-Id: Iafce872fa7559180834532ba80941dec3db7d079 Signed-off-by:
Ulf Samuelsson <ulf@emagii.com> Reviewed-on:
http://openocd.zylin.com/295 Tested-by: jenkins Reviewed-by: Mathias
Küster <kesmtp@freenet.de> Reviewed-by: Øyvind Harboe
<oyvindharboe@gmail.com>
2011-12-13 yvind Harboe <oyvind.harboe@zylin.com>
* : jtag: make caller always allocate buffer simplifies the API and there is only one remaining user at this
point. Is the implementation busted where the check does not actually
happen now? Change-Id: I776a43766f5576a08df320f6fe41a2750d101bde Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com> Reviewed-on:
http://openocd.zylin.com/264 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2011-12-13 yvind Harboe <oyvind.harboe@zylin.com>
* : jtag: retire jtag_alloc_in_value32 API not needed, reduce area of interface and sharp edges to API. Change-Id: I5347352e7595686634bd0de13fcf6de6e55027b0 Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com> Reviewed-on:
http://openocd.zylin.com/262 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2011-12-12 Spencer Oliver <spen@spen-soft.co.uk>
* : build: libusb use AC_CHECK_HEADER use AC_CHECK_HEADER rather than AC_CHECK_HEADERS so that we do not
generate a unrequired HAVE_LIBUSB_1_0_LIBUSB_H define. Change-Id: I23a93d3813716dce797ca1514fdcb84533454c31 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/259 Tested-by: jenkins Reviewed-by: Mathias
Küster <kesmtp@freenet.de>
2011-12-12 Spencer Oliver <spen@spen-soft.co.uk>
* : build: correctly quote m4 parameters Change-Id: If7ccb52c107cb4ad7629ffcf237f9003f60e63d0 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/257 Tested-by: jenkins
2011-12-13 Erik Ahln <erik.ahlen@avalonenterprise.com>
* : Indentation and white space fixes. Change-Id: Iffbaefea4f3d5e9b56b3c36496b44969d7c07e82 Signed-off-by:
Erik Ahlén <erik.ahlen@avalonenterprise.com> Reviewed-on:
http://openocd.zylin.com/266 Tested-by: jenkins Reviewed-by: Øyvind
Harboe <oyvindharboe@gmail.com>
2011-12-16 Spencer Oliver <spen@spen-soft.co.uk>
* : checkpatch: fix false indent trigger we have changed the indent to 4 to match OpenOCD coding style. Change-Id: I4870a3410eb20fc2f6df6a3e5891d4d4e598131a Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/285 Tested-by: jenkins
2011-12-15 Erik Ahln <erik.ahlen@avalonenterprise.com>
* : Change checkpatch.pl tab expanding to 4 characters. The C coding style guide says that tab width is 4 characters but
checkpatch.pl expands tabs to 8 characters which produces false
negatives. Change-Id: Ibdabbb55269b7cf6bcd38042cccb8bd235e42ce2 Signed-off-by:
Erik Ahlén <erik.ahlen@avalonenterprise.com> Reviewed-on:
http://openocd.zylin.com/275 Tested-by: jenkins Reviewed-by: Øyvind
Harboe <oyvindharboe@gmail.com> Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2011-12-13 yvind Harboe <oyvind.harboe@zylin.com>
* : zy1000: fix crash in JTAG over TCP/IP disable asynchronous callbacks and reads as minidriver requires
reads and callbacks to be synchronous. Could possibly be fixed by some design work. Change-Id: I7ca79a551085b2e8ba6928e1762d1baed6e95d4b Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com> Reviewed-on:
http://openocd.zylin.com/260 Tested-by: jenkins Reviewed-by: Øyvind
Harboe <oyvindharboe@gmail.com> Tested-by: Øyvind Harboe
<oyvindharboe@gmail.com>
2011-12-07 yvind Harboe <oyvind.harboe@zylin.com>
* : HACKING: add explanation why we want cool-off times as long as a
week or two Change-Id: I281e9145f43bc7ac173e02c4e209834f0deaae2b Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com> Reviewed-on:
http://openocd.zylin.com/254 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk> Reviewed-by: Mathias Küster
<kesmtp@freenet.de> Reviewed-by: Øyvind Harboe
<oyvindharboe@gmail.com>
2011-12-02 Antonio Borneo <borneo.antonio@gmail.com>
* : TCL/SPEAr: default one DDR chip Handle default case of single DDR chip Propagate global variable for
multi DDR chip Change-Id: I315380f91ee7fcc2976437aa5836d88a7964fc9d Signed-off-by:
Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on:
http://openocd.zylin.com/251 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2011-12-03 rodrigo_l_rosa <rodrigorosa.lg@gmail.com>
* : HACKING - checkpatch before pushing makes life quicker Change-Id: I4c3cde2aae7bdea138413e373ac986be3efd54de Signed-off-by:
rodrigo_l_rosa <rodrigorosa.lg@gmail.com> Reviewed-on:
http://openocd.zylin.com/252 Tested-by: jenkins Reviewed-by: Øyvind
Harboe <oyvindharboe@gmail.com>
2011-12-01 Spencer Oliver <spen@spen-soft.co.uk>
* : gdb_server: use strndup to allocate debug messages Lets be consistent and use strndup to allocate the debug buffer. Change-Id: I535ad270ebfeae6e09d28372ab3749c822971223 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/245 Tested-by: jenkins Reviewed-by: Øyvind
Harboe <oyvindharboe@gmail.com> Reviewed-by: Andreas Fritiofson
<andreas.fritiofson@gmail.com>
2011-12-02 Peter Stuge <peter@stuge.se>
* : Fix remaining incorrect reference to target/at91sam3uXX.cfg Commit 1794e5ee5452c83b5bef6d0a5a8a3f23d647e9c6 renamed the file to
have all lowercase characters according to most references to the
file, but the commit didn't change the existing reference to the old
filename. Change-Id: I380e52e947a8091d48cf010e3919bf2caed7fdff Signed-off-by:
Peter Stuge <peter@stuge.se> Reviewed-on:
http://openocd.zylin.com/248 Tested-by: jenkins
2011-12-01 Spencer Oliver <spen@spen-soft.co.uk>
* : binarybuffer: use strndup to allocate string Change-Id: I65d8f37b18d5b5a798406b956f50ab7bb550e172 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/246 Tested-by: jenkins Reviewed-by: Andreas
Fritiofson <andreas.fritiofson@gmail.com>
2011-11-29 Mathias K <kesmtp@freenet.de>
* : target init sanity check Add a test if the pointer to the target_init function in the target
struct is set before the function pointer is used. Change-Id: Ie4ea542f64f35efce8c5bce2ced9b881bf283ec1 Signed-off-by:
Mathias K <kesmtp@freenet.de> Reviewed-on:
http://openocd.zylin.com/241 Tested-by: jenkins Reviewed-by: Øyvind
Harboe <oyvindharboe@gmail.com>
2011-11-22 Evan Hunter <ehunter@broadcom.com>
* : Fix unused variables error in amt_jtagaccel Change-Id: Ic64cf4e3b5cf8c1ea75a13577728b0cb0d70068e Signed-off-by:
Evan Hunter <ehunter@broadcom.com> Reviewed-on:
http://openocd.zylin.com/237 Tested-by: jenkins Reviewed-by: Øyvind
Harboe <oyvindharboe@gmail.com>
2011-11-19 rodrigo_l_rosa <rodrigorosa.lg@gmail.com>
* : dsp5680xx - flash module clk to freescale cfg value the flash module clock was set according to a spreadsheet from
freescale, now it's set according to the configuration file used by
the Freescale Flash Programmer. both work, but i think it's better
to use the one used by a software that's made by Freescale (should
be correct...) Change-Id: I382197a3eb43dd47ff4b9b83d5e05008d5613fc6 Signed-off-by:
Rodrigo L. Rosa <rodrigorosa.lg@gmail.com> Reviewed-on:
http://openocd.zylin.com/223 Tested-by: jenkins Reviewed-by: Øyvind
Harboe <oyvindharboe@gmail.com>
2011-10-04 rodrigo_l_rosa <rodrigorosa.lg@gmail.com>
* : dsp5680xx - fix jtag debug request failure handling if JTAG debug request fails then halting with a reset should be
attempted. the failure was ignored previously. Change-Id: Ibec08e2e97f962d164a110c21aaa80bfc17b7f1a Signed-off-by:
Rodrigo L. Rosa <rodrigorosa.lg@gmail.com> Reviewed-on:
http://openocd.zylin.com/221 Tested-by: jenkins Reviewed-by: Øyvind
Harboe <oyvindharboe@gmail.com>
2011-11-15 rodrigo_l_rosa <rodrigorosa.lg@gmail.com>
* : dsp5680xx - fix - flashing algorithm check now the flash algorithm running on the 568013 checks the
buffer_empty bit (instead of the command_finished bit) before trying
to write a new word to the flash mem. this should speed up the
flashing procedure. since it is open loop, this change may reduce
the risk of failure. flashing will fail if JTAG speed is such that
the flash module cannot keep up. also, the USTAT register is only read once, as suggested in the flow
chart provided by freescale (per. ref. manual @ 6-11) the last step of the flow chart, exiting after commands are
complete, is not implemented. the algorithm will stay waiting for
more data. it is up to the PC side to *not* send more data. Change-Id: I47fe4b50de7da85f80868f5986a89a7e2152616c Signed-off-by:
Rodrigo L. Rosa <rodrigorosa.lg@gmail.com> Reviewed-on:
http://openocd.zylin.com/219 Tested-by: jenkins Reviewed-by: Øyvind
Harboe <oyvindharboe@gmail.com>
2011-09-02 rodrigo_l_rosa <rodrigorosa.lg@gmail.com>
* : dsp5680xx - fix jtag status mask Change-Id: I17a0f22cbeb20e4f6ea4065236243f93d826ccf0 Signed-off-by:
Rodrigo L. Rosa <rodrigorosa.lg@gmail.com> Reviewed-on:
http://openocd.zylin.com/217 Tested-by: jenkins Reviewed-by: Øyvind
Harboe <oyvindharboe@gmail.com>
2011-09-02 rodrigo_l_rosa <rodrigorosa.lg@gmail.com>
* : dsp5680xx - error codes added logging of target error codes to enable automatic error
handling from tcl. the plan is to use a computer to execute a
series of tcl commands, the changes allow simple parsing of return
messages to detect errors. Change-Id: Ia98d3bd036e1b6065b475ffff6c1d30baeaf7417 Signed-off-by:
Rodrigo L. Rosa <rodrigorosa.lg@gmail.com> Reviewed-on:
http://openocd.zylin.com/215 Tested-by: jenkins Tested-by: Øyvind
Harboe <oyvindharboe@gmail.com> Reviewed-by: Øyvind Harboe
<oyvindharboe@gmail.com>
2011-11-23 Antonio Borneo <borneo.antonio@gmail.com>
* : TCL/SPEAr: fix name of included file Fix error introduced in recent commit. Correct the name of the
board file. Change-Id: I46bca8329812fb24bc4f8d316be9e7cba9b56496 Signed-off-by:
Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on:
http://openocd.zylin.com/234 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2011-11-18 Antonio Borneo <borneo.antonio@gmail.com>
* : TCL: Add board file for EVALSPEAr300 Initial support for SPEAr300 chip and for evaluation board named
EVALSPEAr300. Currently supports only those parts in common with
SPEAr310. Change-Id: I8075aa721cf3dfaac561ee51e5df4ce9a2992e3e Signed-off-by:
Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on:
http://openocd.zylin.com/230 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2011-11-21 Antonio Borneo <borneo.antonio@gmail.com>
* : TCL/SPEAr: move DDR activation in common code DDR controller activation should not be in DDR chip specific code,
but in generic DDR controller part. Change-Id: If1b178228352b48b0097d7b9b300005fb5bb4fb6 Signed-off-by:
Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on:
http://openocd.zylin.com/228 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2011-01-21 Antonio Borneo <borneo.antonio@gmail.com>
* : TCL/SPEAr: move device generic code The initialization of RAS enable and clock is required by all
SPEAr3xx devices Change-Id: Iea4cd0902e4da219475d7f35b4c25fc87ec6b902 Signed-off-by:
Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on:
http://openocd.zylin.com/226 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2010-11-27 Antonio Borneo <borneo.antonio@gmail.com>
* : TCL/SPEAr: Add reference to ST Application Note ST-AN was mentioned but there was no reference Change-Id: Ie065f8faba94d63cf391a994ec895692d499394e Signed-off-by:
Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on:
http://openocd.zylin.com/224 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2011-11-15 Spencer Oliver <spen@spen-soft.co.uk>
* : usbprog: fix shadowed declaration warning see Trac #38 Change-Id: If86fda797391f10d745384794b68e60380ef0b21 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/204 Tested-by: jenkins Reviewed-by: Andreas
Fritiofson <andreas.fritiofson@gmail.com>
2011-11-16 Mauro Gamba <maurillo71@gmail.com>
* : libusb-1.0 support The configuration script check for libusb-1.0 availability first and
only if not found check for libusb-0. So if both libraries are
installed on the system the build script will use libusb-1.0 It's
possible to force compiling with libusb-0 with the --enable-libusb0
switch. If the driver support only libusb0 the script check anly
for it. Change-Id: I7eb045d4e2bd553abefad53f3f4023ff46b0f5f6 Signed-off-by:
Mauro Gamba <maurillo71@gmail.com> Reviewed-on:
http://openocd.zylin.com/33 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2011-11-18 Spencer Oliver <spen@spen-soft.co.uk>
* : Revert "build: fix gcc 4.6.2 warnings" This reverts commit 0ef5a90d93c5a026bcf70132e60e957ae339d1e1 Causes older versions of gcc to break - need to look into a better
fix. This passed through the jenkins build as we originally did not build
this module - we do now. Change-Id: Iafeac8442b2249269ff45a52ccd3e2870920f635 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/214 Tested-by: jenkins
2011-11-14 Robert Pasz <kiurcher@users.sf.net>
* : presto: fix tms_sequence short issue fix issue when using tms_sequence short see Trac #31 Change-Id: I22a9cd2af59eae4d8a276dae60b6a99d05af53bb Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/201 Tested-by: jenkins Reviewed-by: Andreas
Fritiofson <andreas.fritiofson@gmail.com>
2011-11-14 Philip Nye <philipnye@users.sf.net>
* : gdb: fix multi core gdb issue gdb_memory_map() correctly calculates the target specific number of
flash banks, but then uses the total number (all targets) instead of
the target specific number to construct its GDB response, causing a
crash. Change-Id: I3f8639b3e90303a59753ebe140ce4fff96fd5db0 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/199 Tested-by: jenkins Reviewed-by: Andreas
Fritiofson <andreas.fritiofson@gmail.com>
2011-11-14 Spencer Oliver <spen@spen-soft.co.uk>
* : flash: match stm32f2x loader src name Change-Id: I60523f809f2d9ec9c9283e0456746ce9a63576a7 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/196 Tested-by: jenkins Reviewed-by: Andreas
Fritiofson <andreas.fritiofson@gmail.com>
2011-11-17 Felix Ruess <felix.ruess@gmail.com>
* : config: do not use deprecated stm32.cfg Change-Id: Id72d2d7f874043331ecb5586a3797d017606129e Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Signed-off-by: Felix Ruess
<felix.ruess@gmail.com> Reviewed-on: http://openocd.zylin.com/212
Tested-by: jenkins
2011-11-16 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : bitq: make private functions static Change-Id: I3fabbdbda4ba8ba6557d79b97444fe06f1710b58 Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/209 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2011-11-16 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : bitq: remove the remaining static variables in_mask and in_idx are just another encoding of the same state
information that is already kept in bitq_in_state.bit_pos so derive
them from that instead of maintaining them separately. Change-Id: I4ac6bbe923698a8c1090a785b8babcbb90f82931 Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/207 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2011-11-15 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : bitq: remove a static variable in_buff is only ever set to field->in_value and that pointer is
still available when the parsing is restarted so it could just as
well be used directly, removing the need for the static variable. Change-Id: I3dd7a8315ed5c5bdc3bfb74044f89492bca9816c Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/206 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2011-11-13 Tomas Frydrych <tomas@sleepfive.com>
* : kinetis flash: use longword write when writing into pflash Check whether the destination is in the program flash or NVM
regions, in the former case, use the normal longword mechanism, not
the fast NVM write. Change-Id: I7366b7c8919928ee690252df83b99701776aee82 Signed-off-by:
Tomas Frydrych <tomas@sleepfive.com> Reviewed-on:
http://openocd.zylin.com/194 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2011-10-17 Aurelien Jacobs <aurel@gnuage.org>
* : at91sam7: ensure probed flash bank has a name (fix a segfault) Before this commit, openocd used to segfault when probing flash of
an at91sam7x512 (which contains 2 banks of flash). This was due to
the way it systematically insert a new flash bank without setting
its name. Then, when get_flash_bank_by_name_noprobe() is called, it
is doing a strcmp() on the non-initialized bank->name. This commit prevents allocation of second probed bank if it is
already allocated (for example, if it is set in a target config
file). If a new bank really needs to be allocated, it ensures that a
default name is set. Change-Id: I38d15bef1fda2ec746efad37171975136cf7b371 Signed-off-by:
Aurelien Jacobs <aurel@gnuage.org> Reviewed-on:
http://openocd.zylin.com/171 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2011-11-10 yvind Harboe <oyvind.harboe@zylin.com>
* : image: remove assignments to local variables that is never read Change-Id: I1a5e968f165e060fd4aa7c023ad870a9e21bb5dd Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com> Reviewed-on:
http://openocd.zylin.com/191 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2011-11-07 yvind Harboe <oyvind.harboe@zylin.com>
* : svf: fix warnings Change-Id: Ib7f67612db3a865f9acc5ae349455da7ddcd3348 Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com> Reviewed-on:
http://openocd.zylin.com/177 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2011-11-09 Spencer Oliver <spen@spen-soft.co.uk>
* : docs: remove berlios related info Change-Id: I9593eb165fce51411f20fa068e324b3fd882cdb3 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/190 Tested-by: jenkins
2011-10-22 Kyle Manna <kyle.manna@fuel7.com>
* : contrib: Add udev rules for TI xds100v2 debugger This corrects permissions on the FTDI chip on the xds100v2 debugger
enabling normal users to access it. Change-Id: I0f6618692ebdee6284eee28f9e612e68782c4d78 Signed-off-by:
Kyle Manna <kyle.manna@fuel7.com> Reviewed-on:
http://openocd.zylin.com/188 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2011-11-08 yvind Harboe <oyvind.harboe@zylin.com>
* : buspirate: add missing error propagation found by clang. Change-Id: I80ea8e6afc8dcc1aa7edb6f63af0d94f6781b81c Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com> Reviewed-on:
http://openocd.zylin.com/182 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2011-11-08 yvind Harboe <oyvind.harboe@zylin.com>
* : em357: fix warning by removing unused local variables Change-Id: I9def63d36ed4fa8bf9cdeeedc18b1b25d0e487d6 Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com> Reviewed-on:
http://openocd.zylin.com/184 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2011-11-03 Spencer Oliver <spen@spen-soft.co.uk>
* : flash: update luminary device table add support for checking target against the device CLASS rather then
just the PARTNO. This change also adds the new LM4F family (Blizzard). Change-Id: Ia9d1e33f1f1c2817c0039a2232ecf932fae072f9 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/161 Reviewed-by: Øyvind Harboe
<oyvindharboe@gmail.com>
2011-10-17 Aurelien Jacobs <aurel@gnuage.org>
* : at91sam7: add a new target config file for at91sam7x512 The main difference with at91sam7x256 is the declaration of the
second bank of flash. Change-Id: I87a20dcbb639b797799139ccf46cc73934fa3b9e Signed-off-by:
Aurelien Jacobs <aurel@gnuage.org> Reviewed-on:
http://openocd.zylin.com/173 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2011-11-07 yvind Harboe <oyvind.harboe@zylin.com>
* : xsvf: add missing error propagation Change-Id: Ibc70deb980d6d18ceb376b72d9104e6180b16acf Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com> Reviewed-on:
http://openocd.zylin.com/176 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2011-10-31 yvind Harboe <oyvind.harboe@zylin.com>
* : str9x: explain compiler that a local variable will always be
initialized Change-Id: I9ddb2793b4cdbf6acea6f69973531491e4ebcc5b Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com> Reviewed-on:
http://openocd.zylin.com/145 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2011-11-07 yvind Harboe <oyvind.harboe@zylin.com>
* : str7x: fix error propagation stick to convention of "retval" being used as error value to be
propagated and use "flash_flags" local variable for flash flags read
from how. Change-Id: I63f1f2248b4f4538d6cd7634ae277f7c0aadc346 Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com> Reviewed-on:
http://openocd.zylin.com/178 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2011-11-07 yvind Harboe <oyvind.harboe@zylin.com>
* : ecos: add missing error propagation Change-Id: Ib34815c9cf654517f22486a7c8001fdb7471338c Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com> Reviewed-on:
http://openocd.zylin.com/174 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2011-10-31 yvind Harboe <oyvind.harboe@zylin.com>
* : warning fix: add self-consitency check to remove warning verify promise of code that more code can be pasted with an assert
at the end condition of the code passage that builds string. Change-Id: I76a4e5f91b9142fff932e1493cb43c29eb6a0f80 Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com> Reviewed-on:
http://openocd.zylin.com/143 Tested-by: jenkins Reviewed-by: Øyvind
Harboe <oyvindharboe@gmail.com>
2011-11-04 Spencer Oliver <spen@spen-soft.co.uk>
* : tools: fix permissions Change-Id: I9419138dd2972304daf215594ca917ac8eb7fcda Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk>
2011-11-03 yvind Harboe <oyvind.harboe@zylin.com>
* : etm: fix warning by removing assignment that is immediately
overwritten Change-Id: Ia3a83d3c1fc3a1707d69017fce6cf142a81babc4 Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com> Reviewed-on:
http://openocd.zylin.com/165 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2011-11-01 yvind Harboe <oyvind.harboe@zylin.com>
* : dsp5680xx: add missing and broken error propagation found by clang. Change-Id: Ie7e2ecad71bf0838ece93727e4778ad368b890ef Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com> Reviewed-on:
http://openocd.zylin.com/156 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2011-11-03 yvind Harboe <oyvind.harboe@zylin.com>
* : avr32_regs: add missing error propagation Change-Id: Ie8b141dd534d73eccfc045069d5f628bd1eea88e Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com> Reviewed-on:
http://openocd.zylin.com/166 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2011-11-02 yvind Harboe <oyvind.harboe@zylin.com>
* : HACKING: all you need is http access Change-Id: I191c1da5126c4c9ea1ff8826576b6b24feaf9881 Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com> Reviewed-on:
http://openocd.zylin.com/157 Tested-by: jenkins Reviewed-by: Øyvind
Harboe <oyvindharboe@gmail.com> Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2011-11-03 Spencer Oliver <spen@spen-soft.co.uk>
* : tools: add checkpatch script Change-Id: I3579028fc1c6ee8bea58c82e5f0eecba7794d7cb Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk>
2011-11-01 Spencer Oliver <spen@spen-soft.co.uk>
* : cfg: add Stellaris LM4F232 Evaluation Kit config Change-Id: Ica754897bef6573a0738ed1afdfe1dfda07292fd Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/151 Tested-by: jenkins Reviewed-by: Andreas
Fritiofson <andreas.fritiofson@gmail.com>
2011-11-01 Mark Vels <mark.vels@team-embedded.nl>
* : tx27stk5: add board init support for KaRo TX27 CPU module This patch adds support for a KaRo TX27 CPU module on a StarterkitV
base board. The register settings have been extracted from a
RedBoot distribution that is distributed along with the hardware by
KaRo. This setup has been tested with a JTAGKey. The testing has been
focussed on loading a program into memory and start execution.
Although the flash seems to be correctly detected, no effort has
been put in testing the NAND programming yet. Change-Id: Ib17763f1e3ecacd0eb9b5fdc32f8cba7a5e59be5 Signed-off-by:
Mark Vels <mark.vels@team-embedded.nl> Reviewed-on:
http://openocd.zylin.com/158 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2011-11-01 yvind Harboe <oyvind.harboe@zylin.com>
* : cortex_a: add missing error propagation found by clang. Change-Id: I50eac219d7540fd48d3285f3f213cb659492d0c0 Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com> Reviewed-on:
http://openocd.zylin.com/153 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2011-11-01 yvind Harboe <oyvind.harboe@zylin.com>
* : arm11: print next address to debug fixes clang warning. Basically the next address pointer is not used
for anything in the fn, except to be examined in debug. Change-Id: I253519b8e49e54490bbe7da8ec3d2dd31f49052a Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com> Reviewed-on:
http://openocd.zylin.com/155 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2011-11-01 yvind Harboe <oyvind.harboe@zylin.com>
* : target: fix null pointer exception check if no target is selected and return error. Change-Id: Ie8abb63c708d09572b45e88fc6766af108715077 Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com> Reviewed-on:
http://openocd.zylin.com/148 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2011-10-31 Spencer Oliver <spen@spen-soft.co.uk>
* : target: rename cortex_m3.[ch] to cortex_m.[ch] This rename is in preparation for cortex_m4 support. Change-Id: Ic08c298ec6ed2aabc2c39db67191f68b3a51f550 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/147 Tested-by: jenkins Reviewed-by: Øyvind
Harboe <oyvindharboe@gmail.com>
2011-10-31 yvind Harboe <oyvind.harboe@zylin.com>
* : warnings: null pointer check fix rewrite broken null pointer check code by reducing scope of
variable. Change-Id: I8254f6849b187e5c9cd083053cdc11973c6fe339 Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com> Reviewed-on:
http://openocd.zylin.com/142 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2011-10-27 yvind Harboe <oyvind.harboe@zylin.com>
* : bugfixes: tinker a bit with the targets command return error when target can not be found instead of ERROR_OK, split
fn. Change-Id: Iba5232d3862a490d0995c3bfece23685bd6856e3 Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com> Reviewed-on:
http://openocd.zylin.com/131 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2011-10-30 Uwe Hermann <uwe@hermann-uwe.de>
* : interface configs: Fix whitespace and other issues. Change-Id: I98825c7fb9bdee75b69b06005ed12a3f64ec4db4 Signed-off-by:
Uwe Hermann <uwe@hermann-uwe.de> Reviewed-on:
http://openocd.zylin.com/139 Tested-by: jenkins Reviewed-by: Peter
Stuge <peter@stuge.se>
2011-10-29 yvind Harboe <oyvind.harboe@zylin.com>
* : clang: fix warning by adding assert that shows that a variable
is used Change-Id: I26e0ba9f1ae9d43c9a14c42c4225746782dc4d66 Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com> Reviewed-on:
http://openocd.zylin.com/134 Tested-by: jenkins Reviewed-by: Øyvind
Harboe <oyvindharboe@gmail.com>
2011-10-27 yvind Harboe <oyvind.harboe@zylin.com>
* : bugfixes: numerous bugs in error propagation found by clang Change-Id: I784068325b422d1918e28c08544bc5a1332d712f Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com> Reviewed-on:
http://openocd.zylin.com/130 Tested-by: jenkins Reviewed-by: Øyvind
Harboe <oyvindharboe@gmail.com>
2011-10-26 Jim Norris <u17263@att.net>
* : Remove use of undefined variable. Change-Id: Id8fd345438c360b2a42857525f05360ce2794d21 Signed-off-by:
Jim Norris <u17263@att.net> Reviewed-on:
http://openocd.zylin.com/127 Reviewed-by: Peter Stuge
<peter@stuge.se> Tested-by: jenkins
2011-10-25 Jim Norris <u17263@att.net>
* : Add configuration for ATMEL SAM3N-EK board. Change-Id: I525f6c346cace4e54f47659c5a7aceb29ee4baf2 Signed-off-by:
Jim Norris <u17263@att.net> Reviewed-on:
http://openocd.zylin.com/125 Tested-by: jenkins Reviewed-by: Øyvind
Harboe <oyvindharboe@gmail.com>
2011-10-25 Marti Bolivar <mbolivar@leaflabs.com>
* : stm3220g_eval.cfg: fix CHIPNAME. The STM3220G-EVAL board has an STM32F207IGH6. ("...H6", not
"...T6"). Change-Id: Iaf3dae6830c5c0685a1dcd1588d391434bc51be7 Signed-off-by:
Marti Bolivar <mbolivar@leaflabs.com> Reviewed-on:
http://openocd.zylin.com/120 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2011-10-25 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : armv7a: make local functions static Also fix a spelling error and remove the declaration for a
non-existent function from the header. Change-Id: I13177e2d81aa167c05c1cc766f06924211e6d735 Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/118 Tested-by: jenkins Reviewed-by: Øyvind
Harboe <oyvindharboe@gmail.com>
2011-10-22 Freddie Chopin <freddie.chopin@gmail.com>
* : Fix "Evaluate 'script' in the global scope" This fixes commit Evaluate 'script' in the global scope. It caused
Windows builds behave differently than before because path was
evaluated twice and backslashes from Windows' paths got unescaped
and effectively wiped out. Configs could only be passed with "-f
../dir/config.cfg" or "-f ..\\dir\\config.cfg" instead of usual "-f
dir/config.cfg" (or using backslash) as previously. Change-Id: I13b4abac6dbe6d770cc11a4e61c9421ef340da83 Author: Steve
Bennett <steveb@workware.net.au> Signed-off-by: Freddie Chopin
<freddie.chopin@gmail.com> Reviewed-on: http://openocd.zylin.com/40
Tested-by: jenkins Reviewed-by: Xiaofan <xiaofanc@gmail.com>
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
2011-10-23 Antonio Borneo <borneo.antonio@gmail.com>
* : SERVER: fix clang warning The fix is inline with the Linux coding style that forbids
assignment in if condition Change-Id: I0b9d0b419d9c8b7a8c755e048d5faf72d1658ba2 Signed-off-by:
Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on:
http://openocd.zylin.com/87 Tested-by: jenkins Reviewed-by: Øyvind
Harboe <oyvindharboe@gmail.com>
2011-10-23 Antonio Borneo <borneo.antonio@gmail.com>
* : NOR/CORE: fix clang warning The fix is inline with the Linux coding style that forbids
assignment in if condition Change-Id: I10338a249bcfeff87d8596f7e17f209e26b41678 Signed-off-by:
Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on:
http://openocd.zylin.com/86 Tested-by: jenkins Reviewed-by: Øyvind
Harboe <oyvindharboe@gmail.com>
2011-10-23 Antonio Borneo <borneo.antonio@gmail.com>
* : FLASH/CFI: fix clang warnings Total of 5 warnings: 3x "Dead store": removed dead assignment to
variable; 1x "Dereference of null pointer": this is not an error,
but a limited visibility of clang, since pointer erase_region_info is initialized inside cfi_fixup_non_cfi(); 1x "Branch condition
evaluates to a garbage value": this is a real coding bug that could
issue SIGSEGV, since "goto cleanup" can be executed before
initialization of "source". Change-Id: Id3c323c82bb15cbd3bb8fc04b23541f11145f109 Signed-off-by:
Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on:
http://openocd.zylin.com/84 Tested-by: jenkins Reviewed-by: Øyvind
Harboe <oyvindharboe@gmail.com>
2011-10-22 yvind Harboe <oyvind.harboe@zylin.com>
* : fm3: fix warning for superfluous assignment Change-Id: I4f8e8c2e676a2728ddc6227daf9ca6a7ceb3d505 Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com> Reviewed-on:
http://openocd.zylin.com/46 Tested-by: jenkins Reviewed-by: Øyvind
Harboe <oyvindharboe@gmail.com>
2011-10-22 yvind Harboe <oyvind.harboe@zylin.com>
* : tms470: remove dead assignment warning Change-Id: I21e7ac47f80d93c9c0d7b169f8848b929c664b20 Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com> Reviewed-on:
http://openocd.zylin.com/45 Tested-by: jenkins Reviewed-by: Øyvind
Harboe <oyvindharboe@gmail.com>
2011-10-21 yvind Harboe <oyvind.harboe@zylin.com>
* : clang: fix warning w/assert so that clang knows that there will
be no division by zero Change-Id: I98ac62a22f21043bb535a667a4f1f1537ccde2a4 Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com> Reviewed-on:
http://openocd.zylin.com/42 Tested-by: jenkins Reviewed-by: Øyvind
Harboe <oyvindharboe@gmail.com>
2011-10-23 Edgar Grimberg <edgar.grimberg@gmail.com>
* : tms470: removed unnecessary operations This should silence a warning. Change-Id: Id91a9ebacae836083b1db2654a8e7bf24b2300e9 Signed-off-by:
Edgar Grimberg <edgar.grimberg@gmail.com> Reviewed-on:
http://openocd.zylin.com/52 Tested-by: jenkins Reviewed-by: Øyvind
Harboe <oyvindharboe@gmail.com>
2011-10-22 yvind Harboe <oyvind.harboe@zylin.com>
* : buspirate: ignore return value and fix warning Perhaps we could do one better and propagate the error? Change-Id: Idc45f516c26f09de4ee01fe05e8d3475f4b80db3 Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com> Reviewed-on:
http://openocd.zylin.com/43 Tested-by: jenkins Reviewed-by: Øyvind
Harboe <oyvindharboe@gmail.com>
2011-10-22 yvind Harboe <oyvind.harboe@zylin.com>
* : server: remove warning due to dead assignment Change-Id: Idb08aef0c11b3fae92286e8fcea61ab09ab09e74 Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com> Reviewed-on:
http://openocd.zylin.com/44 Reviewed-by: Peter Stuge
<peter@stuge.se> Tested-by: jenkins
2011-10-20 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : rtos: remove broken code for handling the deprecated qP packet Change-Id: Icca522c1e2a2877abb20665b171c61079b1d8f48 Signed-off-by:
Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on:
http://openocd.zylin.com/37 Tested-by: jenkins Reviewed-by: Peter
Stuge <peter@stuge.se>
2011-10-19 Freddie Chopin <freddie.chopin@gmail.com>
* : Unused variables Fix a few errors with set and unused variables detected by GCC 4.7.0 Change-Id: I59b748e18e514ee9f0cde7883b4ed5116198bd4a Signed-off-by:
Freddie Chopin <freddie.chopin@gmail.com> Reviewed-on:
http://openocd.zylin.com/36 Tested-by: jenkins Reviewed-by: Spencer
Oliver <spen@spen-soft.co.uk>
2011-10-19 Uwe Hermann <uwe@hermann-uwe.de>
* : TMPA900/910 MCUs are always little endian. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Change-Id:
I8839f2cf0faf1b5ba9f99901c5ee028b199fabd2 Reviewed-on:
http://openocd.zylin.com/35 Tested-by: jenkins Reviewed-by: Peter
Stuge <peter@stuge.se>
2011-09-19 Matt Reimer <mreimer@sdgsystems.com>
* : xscale: fix bug in xscale_receive() The code in xscale_receive() that tries to skip invalid reads (i.e.
reads that don't have the DBG_SR[0] 'valid' bit set) seems to be
wrong, as it only looks at the first word's valid flag rather than
each word's own valid flag. Am I reading the code correctly? If so,
the attached patch should fix it. If this looks correct, I'll generate a proper patch and commit
message. Matt Change-Id: I74ebe2ad7a36d340a9dd3b8487578b6ea7f3cf1e Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com> Reviewed-on:
http://openocd.zylin.com/32 Tested-by: jenkins Reviewed-by: Øyvind
Harboe <oyvindharboe@gmail.com>
2011-10-17 Spencer Oliver <spen@spen-soft.co.uk>
* : luminary: add peripheral reset script some luminary device classes require a reset script to emulate a
hardware reset. Change-Id: Id505c92451244b48b0238c2130aebab2df8d208b Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/30 Reviewed-by: Øyvind Harboe
<oyvindharboe@gmail.com> Tested-by: Øyvind Harboe
<oyvindharboe@gmail.com>
2011-10-02 Karl Kurbjun <kkurbjun@gmail.com>
* : ICEPick-C: Add support for warm reset through JTAG controller
and provide finer detail functions. This sets up simple functions that can later be used to provide
additional ICEPick Operations. Change-Id: I313b8679267696fad87d23f3692963e513f2fe21 Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on:
http://openocd.zylin.com/22 Tested-by: Øyvind Harboe
<oyvindharboe@gmail.com> Reviewed-by: Øyvind Harboe
<oyvindharboe@gmail.com>
2011-10-14 yvind Harboe <oyvind.harboe@zylin.com>
* : target_request: add target_got_message() that can be used to
improve DCC performance API change to allow implementing a back-off algorithm for polling
hardware. Change-Id: I6cbe8b4534c8dfeb8442305171ea96b5481c1f17 Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com> Reviewed-on:
http://openocd.zylin.com/26 Reviewed-by: Øyvind Harboe
<oyvindharboe@gmail.com> Tested-by: Øyvind Harboe
<oyvindharboe@gmail.com>
2011-10-14 Jim Norris <u17263@att.net>
* : Add some more detail for setting up Gerrit account. 1) Add a couple more steps when setting up the Gerrit account. Change-Id: I5d81feac4650d4d28653d14cfc0baf14270424c1 Signed-off-by:
Jim Norris <u17263@att.net> Reviewed-on: http://openocd.zylin.com/28
Reviewed-by: Peter Stuge <peter@stuge.se> Tested-by: Peter Stuge
<peter@stuge.se>
2011-10-14 Spencer Oliver <spen@spen-soft.co.uk>
* : flash: fix lpc2000 driver typo Change-Id: I3a759ed98a27fd186c12355b846d5e97dba86c5b Signed-off-by:
Spencer Oliver <spen@spen-soft.co.uk>
2011-10-14 Uwe Hermann <uwe@hermann-uwe.de>
* : Add a board file for the Glyn Tonga2. This is a Toshiba TMPA900CMXBG (ARM9) based SO-DIMM CPU module with
64MB DDR SDRAM, 256MB NAND flash, and on-board Ethernet. The board file provides a tonga2_init function which sets up the
PLL/clocks and memory (SDRAM and SRAM), which allows writing a
boot-loader into RAM via JTAG. Change-Id: I60522b97997bdf50e1f25aebab910d93a98522fb Signed-off-by:
Uwe Hermann <uwe@hermann-uwe.de> Reviewed-on:
http://openocd.zylin.com/19 Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk> Tested-by: Spencer Oliver
<spen@spen-soft.co.uk>
2011-10-03 Michel Jaouen <michel.jaouen@stericsson.com>
* : breakpoint : smp software breakpoint issue Change-Id: Iefe78bad71d4fdb38ae412ab8fe2f6282836c22e Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com> Reviewed-on:
http://openocd.zylin.com/14 Tested-by: Spencer Oliver
<spen@spen-soft.co.uk> Reviewed-by: Spencer Oliver
<spen@spen-soft.co.uk>
2011-10-12 yvind Harboe <oyvind.harboe@zylin.com>
* : docs: update HACKING to point to Gerrit Change-Id: If79e86c731ac06aaefca1aebde40e7cb3de68e4d Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com>
2011-10-12 Spencer Oliver <ntfreak@users.sourceforge.net>
* : docs: update project url's Change-Id: I54fc3aff722ed25143aad85e58d19b72fcecbba0 Signed-off-by:
Spencer Oliver <ntfreak@users.sourceforge.net>
2011-10-11 Spencer Oliver <ntfreak@users.sourceforge.net>
* : replace berlios url's with sourceforge url's Change-Id: I1c9957bb64df87cee7c5e832f21453eb8934a5fb Signed-off-by:
Spencer Oliver <ntfreak@users.sourceforge.net>
2011-07-31 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : stm32f1x: use async algorithm in flash programming routine Let the target algorithm be running in the background and buffer
data continuously through a FIFO. This reduces or removes the effect
of latency because only a very small number of queue executions
needs to be done per buffer fill. Previously, the many repeated
target state changes, register accesses (really inefficient) and
algorithm uploads caused the flash programming to be latency bound
in many cases. Now it should scale better with increased throughput. Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
2011-07-15 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : cortex_m3: use armv7m's async algorithm implementation Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
2011-07-15 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : target: add async algorithm entries to the target type On supported targets, this may be used to start a long running
algorithm in the background so the target may be interacted with
during execution and later wait for its completion. The most obvious use case is a double buffered flash algorithm that
can upload the next block of data while the algorithm is flashing
the current. Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
2011-09-16 Simon Barner <barner@gmx.de>
* : arm-jtag-ew: Formatting
2011-09-16 Simon Barner <barner@gmx.de>
* : arm-jtag-ew: Emit a warning if interface firmware version != 1.6
2011-09-16 Simon Barner <barner@gmx.de>
* : arm-jtag-ew: Provide armjtagew_speed_div() in order to fix
interactive use of `adapter_khz'
2011-09-16 Simon Barner <barner@gmx.de>
* : arm-jtag-ew: Fix setting interface speed (1/2) CMD_SET_TCK_FREQUENCY message length is 5, not 4 - Ticket: #34
2011-09-16 Clment Burin des Roziers <clement.burin-des-roziers@hikob.com>
* : STM32L: Added flash driver and target Added the flash driver for the STM32L family, which highly differ
from the STM32F family. Added the TCL target file for JTAG access.
2011-09-19 Michel Jaouen <michel.jaouen@stericsson.com>
* : u8500 : config for L2 cache
2011-09-29 Steve Bennett <steveb@workware.net.au>
* : jim-nvp is moving from jimtcl to openocd The jim-nvp code is specific to openocd, so it belongs in openocd,
not in the core jimtcl. Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-09-21 Mathias K <kesmtp@freenet.de>
* : add target events, run algorithm and default r/w buffer api Target events are added to get better gdb support. The run algorithm
functionality are implemented to support feature fast flash write
functionality. The new r/w buffer api is now used to support the
special memory address handling. The output of the md command was
fixed.
2011-09-17 Mathias K <kesmtp@freenet.de>
* : kinetis cpu flash driver Initial release of the freescale kinetis cpu flash driver.
2011-09-12 Mathias K <kesmtp@freenet.de>
* : kinetis auto mass erase on secured devices This is a proof of concept to get access to the debug port of a
secured kinetis cpu. On full flash erase the cpu is automatically
secured and the debug port is not accessible. To get this to work
the srst line is needed and the necessary configuration should be
added to the configuration file.
2011-09-01 Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>
* : Add definition for the STEVAL-PCC010 board with the STM32F207
2011-08-31 Martin Schmlzer <martin.schmoelzer@student.tuwien.ac.at>
* : ULINK driver: Remove typedefs in ulink.c Signed-off-by: Martin Schmölzer
<martin.schmoelzer@student.tuwien.ac.at>
2011-08-31 Martin Schmlzer <martin.schmoelzer@student.tuwien.ac.at>
* : ULINK driver: Remove typedefs in OpenULINK firmware USB
descriptor structures Signed-off-by: Martin Schmölzer
<martin.schmoelzer@student.tuwien.ac.at>
2011-08-31 Rodrigo L. Rosa <rodrigorosa.LG@gmail.com>
* : static for some functions made two functions into static, since they are not required by
anything external
2011-08-31 yvind Harboe <oyvind.harboe@zylin.com>
* : commit 353362651fc28c1f1d823659cde36dd31d1aede6 Author: Martin
Schmoelzer <martin.schmoelzer@student.tuwien.ac.at> Date: Tue Aug
23 17:22:53 2011 +0200
2011-08-04 Martin Schmoelzer <martin.schmoelzer@student.tuwien.ac.at>
* : ULINK driver: Add '-lm' linker flag when building this driver
(required for correct calculation of JTAG TCK speed setting) Signed-off-by: Martin Schmölzer
<martin.schmoelzer@student.tuwien.ac.at>
2011-07-04 Martin Schmlzer <martin.schmoelzer@student.tuwien.ac.at>
* : ULINK driver: Implement variable TCK frequency in OpenULINK
firmware Also, speed up jtag_clock_tck() significantly (150 kHz -> 375 kHz) Signed-off-by: Martin Schmölzer
<martin.schmoelzer@student.tuwien.ac.at>
2011-08-23 Martin Schmoelzer <martin.schmoelzer@student.tuwien.ac.at>
* : ULINK driver: Implement JTAG_PATHMOVE command Signed-off-by: Martin Schmölzer
<martin.schmoelzer@student.tuwien.ac.at>
2011-07-04 Martin Schmlzer <martin.schmoelzer@student.tuwien.ac.at>
* : ULINK driver: Implement command to manually force downloading
firmware image from arbitrary location Signed-off-by: Martin Schmölzer
<martin.schmoelzer@student.tuwien.ac.at>
2011-07-04 Martin Schmlzer <martin.schmoelzer@student.tuwien.ac.at>
* : ULINK driver: Properly propagate return values in
ulink_execute_queue() Signed-off-by: Martin Schmölzer
<martin.schmoelzer@student.tuwien.ac.at>
2011-08-31 simonqian.openocd <simonqian.openocd@gmail.com>
* : vsllink driver compile fails with'vsllink_debug_buffer' defined
but not used USB communication is handled by code under versaloon directory. So
_DEBUG_USB_COMMS_ should not be used in vsllink.c. Attachment is
the patch.
2011-08-30 Rodrigo L. Rosa <rodrigorosa.LG@gmail.com>
* : fix enter debug mode for locking added an alternative way to enter debug mode, which does not require
restarting the chip. this will not always work, but in general it
will (failure 0.3%), and failure is not a dramatic issue, simply
have to use the full sequence. the user can only access "halt",
which uses the full sequence, so the user should not have any
problems. restarting the chip requires reconfiguring the flash
module. the doc is very poor, so i'd rather have the two methods,
and live with the 0.3%.
2011-08-30 Rodrigo L. Rosa <rodrigorosa.LG@gmail.com>
* : fix debug mode,lock,unlock got new info regarding setting the chip to debug mode, and
locking/unlocking flash memory. the newer implementation is a bit
slower, but always works. the previous implementation would
randomly (as once every 25k-70k times) get the chip into a state
where the freescale tool would be necessary. this is fixed now. added functions to play around with the jtag state machine. they are
not the happiest, but are necessary to be able to execute the
halting/locking/unlocking sequences. Conflicts: src/target/dsp5680xx.c
2011-08-30 Rodrigo L. Rosa <rodrigorosa.LG@gmail.com>
* : optional crc for flash writing crc check was always performed on newly flashed data, now it is
optional flash mem can be locked by writing a specific word to a
specific address in flash. to verify flash, target must be halted,
and this will (when the new halt sequence is implemented) require
reseting the chip. if the target is reset after writing the lock
words, then it will lock, hence the CRC will fail because it is not
possible to read stuff from the target. also added a function that resets the jtag state machine. this is
not used yet, but will be soon. it is implemented to allow strict
control over JTAG state machine, necessary to implement to halt and
unlocking sequences.
2011-08-15 Rodrigo L. Rosa <rodrigorosa.LG@gmail.com>
* : dsp568013 disable polling by default
2011-08-26 Evan Hunter <ehunter@broadcom.com>
* : Fix off by one bug in FreeRTOS
2011-08-24 Jonathan Dumaresq <jdumaresq@cimeq.qc.ca>
* : This will add the Value Line HD of stm32 devices. This has been tested on STM32F100VE
2011-07-18 Evan <evan@evan-VirtualBox.(none)>
* : Add suspended task list to FreeRTOS support
2011-08-22 Jim Paris <jim@jtan.com>
* : Fix redbee config files Currently the board/redbee-*.cfg files incorrectly include the
interface definition. Move the interfaces to interface/, and create
a single board/redbee.cfg that is common to both boards. Intended
usage is now: openocd -f interface/redbee-econotag.cfg -f
board/redbee.cfg
2011-08-20 olivier Schonken <olivier.schonken@gmail.com>
* : Fix Sam3u flash bank 1 issue
2011-08-17 Jie Zhang <jie.zhang@analog.com>
* : remove white space before TAB
2011-07-12 SimonQian <simonqian@simonqian.com>
* : versaloon driver update Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2011-08-16 Spencer Oliver <ntfreak@users.sourceforge.net>
* : build: rename configure.in to configure.ac configure.ac is the correct name to use with modern autotools. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2011-08-15 Jie Zhang <jie.zhang@analog.com>
* : show git commit number even when cross-compiling AC_CHECK_FILE will die when cross-compiling. So don't use it to test
the existence of guess-rev.sh. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2011-08-10 Stefan Mahr <stefan.mahr@sphairon.com>
* : mips: fix potential alignment error
2011-08-10 Stefan Mahr <stefan.mahr@sphairon.com>
* : target: add helper functions to get/set u16 or u32 array from/to
buffer
2011-08-10 Jie Zhang <jie.zhang@analog.com>
* : remove useless pxref to SMP subsection
2011-08-11 Steve Bennett <steveb@workware.net.au>
* : Evaluate 'script' in the global scope Scripts sourced via 'script' should evaluate in the global scope to
make it easy to set and reference global variables. Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-08-05 Rodrigo L. Rosa <rodrigorosa.LG@gmail.com>
* : renamed for clarity i had started my code from dsp5683xx, i renamed a bunch of stuff to
names i consider to be better. i believe no one is using this code,
so nobody should be affected. (it's not too late to do this change)
2011-07-17 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : rlink: simplify and optimize queue fill level checks Add a helper function for running the queue if it would overflow
otherwise. Use it to simplify the queue fill level checks and
optimize in a few cases that would previously run the queue
prematurely. Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
2011-07-16 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : rlink: remove duplicated code After the reply_index handling is fixed, there's no need to special
case the out scan. Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
2011-07-16 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : rlink: more indentation fixes Remove unnecessary block scopes to reduce indentation level. Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
2011-07-25 Drasko DRASKOVIC <drasko.draskovic@gmail.com>
* : mips32 : Fixed memory byte access Function mips_m4k_write_memory() does endianess byte swap, but this
procedure break one byte access (temporary array overwrites content
in buffer). As a fix, this endianess swap and buffer affecting is
preformed only on hword and word accesses (not on byte access).
2011-07-07 Drasko DRASKOVIC <drasko.draskovic@gmail.com>
* : mips32: Added CP0 coprocessor R/W routines This patch adds MIPS32 CP0 coprocessor R/W routines, as well as
adequate commands to use these routines via telnet interface. Now is becomes possible to affect CP0 internal registers and
configure CPU directly from OpenOCD.
2011-07-05 Drasko DRASKOVIC <drasko.draskovic@gmail.com>
* : mips32: Removed Unnecessary JTAG Queue Flush jtag_execute_queue() is executed as a part of
mips_ejtag_drscan_32(). No need for this to be done before -
removed for optimisation.
2011-08-09 Rodrigo L. Rosa <rodrigorosa.LG@gmail.com>
* : fix return error msj retval was not correctly propagated
2011-08-09 yvind Harboe <oyvind.harboe@zylin.com>
* : Revert "dsp5680xx: disable for now, it generates warnings" This reverts commit d567df02b9f3e7d2e7e78b3c2907ecad9aa4bbd4.
2011-07-19 Rodrigo L. Rosa <rodrigorosa.LG@gmail.com>
* : dsp5680xx fix FM clk before doing anything with the flash module (FM) the clock divider
must be set. if erase_check was the first thing done with the FM
after reset then an error would be generated because the clk divider
was not set. now erase_check sets the clk divider.
2011-08-09 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* : Archive and recreate NEWS file. Archive released NEWS file as NEWS-0.5.0. Create new NEWS file from
release script template.
2011-08-09 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* : The openocd 0.5.0 release. Remove '-dev' version tag: 0.5.0-dev -> 0.5.0
2011-08-03 Luca Bruno <lucab@debian.org>
* : Automatically generate ChangeLog from git log for release
tarball make dist should use git2cl to generate ChangeLog from git history,
populating the placeholder file in released tarball. Signed-off-by: Luca Bruno <lucab@debian.org> Signed-off-by: Spencer
Oliver <ntfreak@users.sourceforge.net>
2011-08-01 Jie Zhang <jzhang918@gmail.com>
* : etb: fix incorrect previous patchset This corrects two issues found with openocd.
d7f71e7fe9645fa8c3f88cf6fc9ad438aa6708f3 removed some code that was
being used. The above then caused even more code to get removed by commit
1cfb2287a67c1f78b76583b2e5ed83ca3560b0d5. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2011-07-28 Spencer Oliver <ntfreak@users.sourceforge.net>
* : docs: remove obsolete luminary target info The lm3s variant is not required as this is handled in the target
script - see tcl/target/stellaris.cfg. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2011-07-28 Spencer Oliver <ntfreak@users.sourceforge.net>
* : cfg: update scripts to use new stm32 driver names Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2011-07-28 Spencer Oliver <ntfreak@users.sourceforge.net>
* : flash: update stm32 driver names Use consistent names for the stm32 family flash drivers, eg. stm32x
-> stm32f1x stm32f2xxx -> stm32f2x this makes it easier to add support for newer stm32 families. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2011-07-27 Spencer Oliver <ntfreak@users.sourceforge.net>
* : doc: add Fujitsu FM3 flash driver info Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2011-07-21 Jie Zhang <jie.zhang@analog.com>
* : Update doc about Jim since it's not a single .C file and a
single .H file any more Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2011-07-18 Michael Hunold <michael@mihu.de>
* : CPU name in TMPA900 config file should obviously be TMPA900 (not
TMPA910). Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2011-07-18 Spencer Oliver <ntfreak@users.sourceforge.net>
* : jimtcl: update to support --disable-install-jim Update jimtcl version to commit
6233a6c5d39928f1bfafa8f41cb1ddf0c5a83de0 This enable to to build
jimtcl as a submodule but not install it. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2011-07-09 Luca Bruno <lucab@debian.org>
* : Do not append git info to version string when building from
released tarball When building official releases from tarball, git commit info is not
available in the building environment. Thus, automake should not try
to append the git commit to the version string. Signed-off-by: Luca Bruno <lucab@debian.org> Signed-off-by: Spencer
Oliver <ntfreak@users.sourceforge.net>
2011-07-12 Spencer Oliver <ntfreak@users.sourceforge.net>
* : busblaster: Fix warnings when building against D2XX The default is -Werror, so warnings become errors. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2011-07-12 Steve Bennett <steveb@workware.net.au>
* : ftdi: update for latest libftdi 1.0.4 For libftd2xx1.0.4, which uses a different directory structure than
libftd2xx0.4.16 Without this fix the build fails with version 1.0.4
of the driver. Note that this does not fix --with-ftd2xx-lib=shared Signed-off-by: Steve Bennett <steveb@workware.net.au> Signed-off-by:
Spencer Oliver <ntfreak@users.sourceforge.net>
2011-07-04 Drasko DRASKOVIC <drasko.draskovic@gmail.com>
* : mips_m4k and arm7_9 : Fix soft bkpt endianess for 16-bit
instructions The patch fix comparison of target data on the host by using
target_buffer_get_u16() to transform current_instr to _host_
endianess before comparison.
2011-07-04 Spencer Oliver <ntfreak@users.sourceforge.net>
* : Revert "cortex_m3: add auto maskisr" This reverts commit ff640f197a9a343b2f3ed10e9174e35282334e8c. Original patch reverted as Author's name was incorrectly set.
2011-06-29 Spencer Oliver <ntfreak@users.sourceforge.net>
* : jimtcl: update to 0.71 based release The actual release is 411e92fea9621630eb350e0c2bb43543e553b84f as we
had a few issues relating to its use within openocd. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2011-06-28 yvind Harboe <oyvind.harboe@zylin.com>
* : mips4k: fix big-endian hosts and host alignment problems the code was making assumptions about the endianness of the host.
2011-06-28 Spencer Oliver <ntfreak@users.sourceforge.net>
* : cortex_m3: add auto maskisr This patch extends the cortex_m3 maskisr command by a new option
'auto'. The 'auto' option handles interrupts during stepping in a
way they are processed but don't disturb the program flow during
debugging. Before one had to choose to either enable or disable interrupts. The
former steps into interrupt handlers when they trigger. This
disturbs the flow during debugging, making it hard to follow some
piece of code when interrupts occur often. When interrupts are disabled, the flow isn't disturbed but code
relying on interrupt handlers to be processed will stop working. For
example a delay function counting the number of timer interrupts
will never complete, RTOS task switching will not occur and output
I/O queues of interrupt driven I/O will stall or overflow. Using the 'maskisr' command also typically requires gdb hooks to be
supplied by the user to switch interrupts off during the step and to
enable them again afterward. The new 'auto' option of the 'maskisr' command solves the above
problems. When set, the step command allows pending interrupt
handlers to be executed before the step, then the step is taken with
interrupts disabled and finally interrupts are enabled again. This
way interrupt processing stays in the background without disturbing
the flow of debugging. No gdb hooks are required. The 'auto' option
is the default, since it's believed that handling interrupts in this
way is suitable for most users. The principle used for interrupt handling could probably be used for
other targets too. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2011-06-27 Spencer Oliver <ntfreak@users.sourceforge.net>
* : build: cleanup jimtcl generated configure.gnu We use configure.gnu to pass options to the jimtcl submodule. Make
sure a distclean removes any generated files Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2011-06-20 Martin Schmlzer <martin.schmoelzer@student.tuwien.ac.at>
* : Add OpenULINK driver files generated by SDCC to .gitignore
2011-06-20 Martin Schmlzer <martin.schmoelzer@student.tuwien.ac.at>
* : Include ULINK driver in src/jtag/drivers/Makefile.am A new variable "nobase_dist_pkglib_DATA" is introduced to install
the OpenULINK firmware image to
$PREFIX/lib/openocd/OpenULINK/ulink_firmware.hex Also, the variable "EXTRA_DIST" is used to include the OpenULINK
firmware source in the OpenOCD source distribution.
2011-06-20 Martin Schmlzer <martin.schmoelzer@student.tuwien.ac.at>
* : Include ULINK driver in configure.in
2011-06-20 Martin Schmlzer <martin.schmoelzer@student.tuwien.ac.at>
* : Include ULINK driver in src/jtag/interfaces.c
2011-06-20 Martin Schmlzer <martin.schmoelzer@student.tuwien.ac.at>
* : Add source code for new ULINK driver
2011-06-17 Spencer Oliver <ntfreak@users.sourceforge.net>
* : build: do not included generated files in distribution We have to use this method as automake seems to ignore nodist_ on
libs. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2011-06-17 Spencer Oliver <ntfreak@users.sourceforge.net>
* : build: pass correct flags to jimtcl during make distcheck This is only for the case of a make distcheck. During a normal
release build these flags will be created by configure.gnu Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2011-06-16 Tomek CEDRO <cederom@tlen.pl>
* : ADAPTER: Fixed transport selection mechanism to support
transports other than jtag (if defined).
2011-06-15 Dale Lukas Peterson <hazelnusse@gmail.com>
* : Added Olimex STM32 {H,P}107.cfg board
2011-06-12 yvind Harboe <oyvind.harboe@zylin.com>
* : HACKING: add tip on how to write comments
2011-06-10 Rodrigo L. Rosa <rodrigorosa.lg@gmail.com>
* : doxy more
2011-06-10 Rodrigo L. Rosa <rodrigorosa.lg@gmail.com>
* : fix protection behavior
2011-06-10 Rodrigo L. Rosa <rodrigorosa.lg@gmail.com>
* : flash speed improved
2011-06-10 Rodrigo L. Rosa <rodrigorosa.lg@gmail.com>
* : cleanup flash module command
2011-06-10 Rodrigo L. Rosa <rodrigorosa.lg@gmail.com>
* : fix read speed improved by queueing commands
2011-06-10 Rodrigo L. Rosa <rodrigorosa.lg@gmail.com>
* : Added minimodule (ftdi) interface
2011-06-06 Laurent Charpentier <laurent_pubs@yahoo.com>
* : Added configuration file for stm32f2xxx.
2011-06-03 Freddie Chopin <freddie_chopin@op.pl>
* : Fix "unused variable" warnings (errors) detected with GCC 4.7.0
- leftover changes
2011-06-02 Rodrigo L. Rosa <rodrigorosa.lg@gmail.com>
* : crc check on flashed data
2011-06-03 Freddie Chopin <freddie_chopin@op.pl>
* : Fix "unused variable" warnings (errors) detected with GCC 4.7.0
- dubious fixes
2011-06-02 Bear <jilingshu@gmail.com>
* : uptech2410
2011-05-31 Stefan Mahr <stefan.mahr@sphairon.com>
* : mips: fixup fastdata fixup fastdata
2011-05-31 Laurent Charpentier <laurent_pubs@yahoo.com>
* : bootstrap: fix argument handling - no argument => run submodule init - "nosubmoudle" => do not run submodule - other values => error message
2011-05-29 Stefan Mahr <stefan.mahr@sphairon.com>
* : mips: fix swapping if running on big endian host
2011-05-28 Damjan Marion <damjan.marion@gmail.com>
* : Fixed values for Samung NAND chips
2011-05-23 Damjan Marion <damjan.marion@gmail.com>
* : Reorganize NAND flash table - added manufacturer field - name moved to the end for better text alignment
2011-05-23 Alan Bowman <alan.michael.bowman@gmail.com>
* : Report actual current thread
2011-05-24 Stefan Mahr <stefan.mahr@sphairon.com>
* : add support for spansion flash on mindspeed c300 eval board Signed-off-by: Stefan Mahr <stefan.mahr@sphairon.com>
2011-05-23 Spencer Oliver <ntfreak@users.sourceforge.net>
* : Fix build issue under cygwin cygwin does not define sleep, so use our internal win32 version.
caused by commit 9d4aec6bda90ad39a140747ea270c6a09dd26440 Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2011-05-03 Jie Zhang <jie.zhang@analog.com>
* : Get register value if it's invalid in cache.
2011-05-17 Rodrigo L. Rosa <rodrigorosa.lg@gmail.com>
* : flash support (only full erase/write) for 568013 and 568037
2011-05-11 Alan Bowman <alan.michael.bowman@gmail.com>
* : Correct stacking direction and use of address offset
2011-05-04 yvind Harboe <oyvind.harboe@zylin.com>
* : beagleboard: add support for various icepick versions The beagleboard icepick jtag tap id's vary.
2011-04-27 Alexandre Pereira da Silva <aletes.xgr@gmail.com>
* : Add support for the lpc2460 target
2011-05-03 Jie Zhang <jie.zhang@analog.com>
* : Remove useless MIPS code in avr32_ap7k.c.
2011-04-28 yvind Harboe <oyvind.harboe@zylin.com>
* : ecos: add 64 bit types for sprintf/sscanf
2011-04-19 Michel Jaouen <michel.jaouen@stericsson.com>
* : gdb_server : 'R' command replied by OK
2011-04-19 Michel Jaouen <michel.jaouen@stericsson.com>
* : smp : infra for smp minimum support
2011-04-24 SimonQian <SimonQian@SimonQian.com>
* : add STM32F2 revY
2011-04-21 Damjan Marion <damjan.marion@gmail.com>
* : buspirate: fix building on some OSes
2011-04-12 Alexandre Pereira da Silva <aletes.xgr@gmail.com>
* : Fix non cfi x16 nor flash connected to x8 bus. The ids in the
table should be masked before comparison.
2011-04-12 Alexandre Pereira da Silva <aletes.xgr@gmail.com>
* : Make the LPC32xx slc nand driver the default
2011-04-14 Broadcom Corporation (Evan Hunter) <ehunter@broadcom.com>
* : RTOS Thread awareness support wip - works on Cortex-M3 with ThreadX and FreeRTOS Compared to original patch a few nits were fixed: - remove stricmp usage - unsigned compare fix - printf formatting fixes - fixed a bug with overrunning a memory buffer allocated with
malloc.
2011-04-13 Luca Ellero <lroluk@gmail.com>
* : Replace byte-access to memory with faster word-access Freescale iMX53 doesn't seem to like unaligned accesses to his
memory mapped registers. Anyway this patch makes
dump_image/load_image 4X faster for every access through APB. Signed-off-by: Luca Ellero <lroluk@gmail.com>
2011-04-13 Luca Ellero <lroluk@gmail.com>
* : Add preliminary support for Freescale iMX53 Signed-off-by: Luca Ellero <lroluk@gmail.com>
2011-04-12 Michel JAOUEN <michel.jaouen@stericsson.com>
* : cortex_a :apb mem read/write working with mmu_on Conflicts: src/target/cortex_a.c
2011-04-12 Michel JAOUEN <michel.jaouen@stericsson.com>
* : cortex_a : use dap ref from armv4_5common
2011-04-09 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* : at91: add chip register definition and generic init support for - pio - pmc - rstc - wdt - sdramc - smc Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
<plagnioj@jcrosoft.com> Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
Cc: Patrice Vilchez <patrice.vilchez@atmel.com>
2011-04-09 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* : add at91sam9261-ek support Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
<plagnioj@jcrosoft.com> Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
Cc: Patrice Vilchez <patrice.vilchez@atmel.com>
2011-04-09 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* : jlink: jlink_debug_buffer use inline function when
_DEBUG_USB_COMMS_ not define Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
<plagnioj@jcrosoft.com> Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
Cc: Patrice Vilchez <patrice.vilchez@atmel.com>
2011-04-03 Ali Lown <ali@lown.me.uk>
* : Add support for LED to USB Blaster code.
2011-04-05 Michel JAOUEN <michel.jaouen@stericsson.com>
* : cortex_a : implement jtag console for cortex_a
2011-04-04 Drasko DRASKOVIC <drasko.draskovic@gmail.com>
* : Corrected waiting on PrAcc in wait_for_pracc_rw(). Added
necessary check that PrAcc is "1" before FASTDATA access.
2011-04-02 yvind Harboe <oyvind.harboe@zylin.com>
* : pandaboard: use new -dbgbase option to workaround broken ROM
table Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2011-04-01 Michel JAOUEN <michel.jaouen@stericsson.com>
* : cortex_a: fix gaffe in first implementation of -dbgbase
2011-04-01 yvind Harboe <oyvind.harboe@zylin.com>
* : mips: fix gaffe in previous commit accidentally invoked return jtag_execute_queue() in the middle of a
fn. Hmm.... I would have expected gcc or at least lint to catch
this. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2011-03-31 Phil <philip@evolution.com>
* : Added s19 to (fast_)load_image documentation to match the online
help.
2011-03-31 yvind Harboe <oyvind.harboe@zylin.com>
* : types: write memory now uses const Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2011-03-31 yvind Harboe <oyvind.harboe@zylin.com>
* : startup: fix bugs in cleanup upon errors during startup Importantly adapter cleanup will now happen upon startup failure. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2011-03-31 yvind Harboe <oyvind.harboe@zylin.com>
* : mips: mips_ejtag_get_impcode error propagation added Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2011-03-31 yvind Harboe <oyvind.harboe@zylin.com>
* : mips: fix error handling for jtag_execute_queue() Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2011-03-30 yvind Harboe <oyvind.harboe@zylin.com>
* : cortex-a: use -dbgbase option Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2011-03-28 Olivier Schonken <olivier.schonken@gmail.com>
* : at91sam3: Modified cidr comparisson to ignore version bits production processor versions increment, thus the version bits
should be ignored for future proofing. e.g. Engineering sample
version == 0x00, production version 0x01
2011-03-29 Alexandre Pereira da Silva <aletes.xgr@gmail.com>
* : Clarify LPC32XX address cycles message Hi, This is a more descriptive message about LPC32XX error, when the
nand chip needs 5 address cycles. Thanks.
2011-03-28 Andrew Lyon <andrew.lyon@gmail.com>
* : bugfix for step <address> mips_m4k The patch below fixes step <address> on mips_m4k. Spencer Oliver <spen@spen-soft.co.uk>: The current code is used on all other arch's - is there a underlying
issue with those aswell ?
2011-03-22 yvind Harboe <oyvind.harboe@zylin.com>
* : cortex_a: rename cortex_a8.c/h to cortex_a.c/h Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2011-03-21 yvind Harboe <oyvind.harboe@zylin.com>
* : cortex a9: merge cortex a9 and a8 code better to keep this in a single file. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2011-03-21 yvind Harboe <oyvind.harboe@zylin.com>
* : zy1000: fix bug in ir scan handling set cur_instr to BYPASS as optimisation code will rely on checking
the cached value. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2011-03-20 yvind Harboe <oyvind.harboe@zylin.com>
* : dsp563xx_once: fix warning and potential bug I don't think dsp563xx_once_read_register() would ever be called
with len==0, but it would have been broken in that case. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2011-03-03 Mathias K <kesmtp@freenet.de>
* : target: allow targets to override memory alignment Targets can implement read/write_buffer to handle alignment.
2011-03-17 Uwe Hermann <uwe@hermann-uwe.de>
* : Fix a bunch of typos. Fix a bunch of typos. Most are in code comments, so nothing should break. UNKOWN_COMMAND
and CMD_UNKOWN are not used elsewhere, so correcting the spelling
should also not break anything.
2011-03-15 yvind Harboe <oyvind.harboe@zylin.com>
* : dsp563xx: fix bug in x buffer handling found by inspection. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2011-03-03 yvind Harboe <oyvind.harboe@zylin.com>
* : zy1000: fix JTAG over TCP/IP performance problem only flush write queue just before waiting for more data, rather
than when fetching more data from the buffer. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2011-03-03 yvind Harboe <oyvind.harboe@zylin.com>
* : jtag: clean up jtag_sleep, handle short sleeps correctly via
usleep short sleeps are handled via usleep, longer sleeps we round up to
nearest ms. There was a bug in jtag_sleep() in that it would round *down* to
nearest ms, thus making all <1ms sleeps 0. Found by inspection
rather than symptom. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2011-03-10 Aaron Carroll <aaronc@ok-labs.com>
* : omap4430: add Blaze config Signed-off-by: Aaron Carroll <aaronc@ok-labs.com>
2011-03-07 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* : jlink: add Emulator configuration support Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
<plagnioj@jcrosoft.com> Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
Cc: Patrice Vilchez <patrice.vilchez@atmel.com>
2011-03-07 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* : jlink: use tap buffer as 2k as said in the datasheet Section 3.3.2 Organization of buffers All buffers are big enough to hold 2 KByte of data. this will double the speed of download Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
<plagnioj@jcrosoft.com> Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
Cc: Patrice Vilchez <patrice.vilchez@atmel.com>
2011-03-03 Mathias K <kesmtp@freenet.de>
* : ft2232: fix log message and change log output to debug
2011-03-02 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* : at91: add at91sam9g10 support Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
<plagnioj@jcrosoft.com> Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
Cc: Patrice Vilchez <patrice.vilchez@atmel.com>
2011-03-02 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* : at91: add at91sam9263 support Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
<plagnioj@jcrosoft.com> Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
Cc: Patrice Vilchez <patrice.vilchez@atmel.com>
2011-03-02 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* : at91sam9: factorise cpu support all at91sam9 are nearly the same except sram and soc name Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
<plagnioj@jcrosoft.com> Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
Cc: Patrice Vilchez <patrice.vilchez@atmel.com>
2011-02-28 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* : jlink: switch commands to subcommands Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
<plagnioj@jcrosoft.com>
2011-02-28 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* : jlink: add new PID and VID The default pid of the segger is 0x0101 But when you change the USB
Address it will also pid = ( usb_address > 0x4) ? 0x0101 : (0x101 + usb_address) Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
<plagnioj@jcrosoft.com>
2011-02-24 yvind Harboe <oyvind.harboe@zylin.com>
* : log: debug level is between silent and debug output levels It wasn't previously possible to silence the output. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2011-02-24 Mathias K <kesmtp@freenet.de>
* : ft2232: fix possible read buffer overflow This patch fix a possible read buffer overflow in
ft2232_execute_queue. Also the correct read queue size for libftdi
and libftd2xx was added and and tested. In function ft2232_write a
uninitialized value was initialized because we don't know if this
value was set in the ftdi api call.
2011-02-21 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* : add at91rm9200-ek board support tested with jlink sam-ice v5 while loading barebox (gdb) load Loading section .text, size 0x2f190 lma 0x21f00000
Loading section .rodata, size 0x931c lma 0x21f2f190 Loading section
.data, size 0x29e8 lma 0x21f384ac Loading section .barebox_cmd, size
0x78c lma 0x21f3ae94 Loading section .barebox_initcalls, size 0x80
lma 0x21f3b620 Start address 0x21f00000, load size 243360 Transfer
rate: 26 KB/sec, 13520 bytes/write. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
<plagnioj@jcrosoft.com> Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
Cc: Patrice Vilchez <patrice.vilchez@atmel.com>
2011-02-20 Mathias K <kesmtp@freenet.de>
* : dsp563xx: rudimentary gdb support This patch add rudimentary gdb support. The gdb register list order
is corrected. All registers are now 32bit width. Events are send to
signalize gdb the current target status. Resume and step function
was corrected to consider a modified pc register. Read/write memory
now support L memory type, this means a memory with alternating y/x
memory words. The memspace variable, used by gdb, is now observed
before a default memory access is initiated. Dummy functions for
breakpoint and watchpoint are added.
2011-02-18 SimonQian <SimonQian@SimonQian.com>
* : fix compile error under MinGW
2011-02-14 Luca Ellero <lroluk@gmail.com>
* : arm_adi_v5: add/move apsel member in struct adiv5_dap This patch tries to make some order in "apsel" mess. "dap apsel"
command was quite useless (and broken) by itself. With this patch
we can use it to select between AHB or APB memory access (previous
patch 05ab8bdb813acdcd74afa71d6656c2df816cb230 was somehow broken). - moves member apsel (in struct adiv5_dap) to ap_current - adds apsel member this strange choice is made trying to keep coherence in "dap apsel"
command and to keep compatibility with other code (for example
cortex_a8). Signed-off-by: Luca Ellero <lroluk@gmail.com>
2011-02-17 Mathias K <kesmtp@freenet.de>
* : dsp563xx_once: Correct wrong return value on jtag communication
errors This patch change the return value on a jtag communication error to
TARGET_UNKNOWN because this function should return the current
target status and not a error code from the underlying api call.
Also the validity of the jtag_status is extended to all static bits
in this value.
2011-02-15 Bjarne Steinsbo <bsteinsbo@gmail.com>
* : lpc32xx: Flash driver Based on the lpc3180 driver, but released as a separate driver for
two reasons: 1) I don't have an lpc3180 to test it against, so it might
unintentionally break compatibility. 2) It's using a different OOB layout than lpc3180. Rewritten so that it no longer borrows code from the NXP CDL
library. Instead borrowing code from the u-boot port to lpc32xx,
written by Kevin Wells. Tested on lpc3250 (Hitex LPC3250-Stick). OOB layout is compatible
with LPCLinux.
2011-02-15 Mathias K <kesmtp@freenet.de>
* : - add bulk memory write function - execute jtag queue at the end of
the memory transfer
2011-02-13 Mathias K <kesmtp@freenet.de>
* : ft2232: add functions for ft2232 set data bits high/low byte
command reduce duplication. No change in behavior.
2011-02-12 Luca Ellero <lroluk@gmail.com>
* : arm_adi_v5: add wrapping transfer functions with selection of ap Signed-off-by: Luca Ellero <lroluk@gmail.com>
2011-02-12 Luca Ellero <lroluk@gmail.com>
* : cortex_a9: check if MMU is enabled on APB read/write memory Signed-off-by: Luca Ellero <lroluk@gmail.com>
2011-02-12 Luca Ellero <lroluk@gmail.com>
* : cortex_a9: trivial fixes Signed-off-by: Luca Ellero <lroluk@gmail.com>
2011-02-09 Luca Ellero <lroluk@gmail.com>
* : cortex_a9: implement read/write memory through APB-AP This patch adds read/write capability to memory addresses not
accessible through AHB-AP (for example "boot ROM code"). To select AHB or APB, a "dap apsel" command must be issued: dap
apsel 0 -> following memory accesses are through AHB dap apsel 1 ->
following memory accesses are through APB NOTE: at the moment APB memory accesses are very slow, compared to AHB accesses. Work has to be done to get it faster (for example LDR/STR instead od LDRB/STRB) Signed-off-by: Luca Ellero <lroluk@gmail.com>
2011-02-08 Michal Demin <michaldemin@gmail.com>
* : buspirate: Fix command parsing, fix errors to have more sense. Signed-off-by: Michal Demin <michaldemin@gmail.com>
2011-02-07 Luca Ellero <lroluk@gmail.com>
* : omap4430: Add JRC TAPID for PandaBoard REV EA1 (PEAP platforms) PandaBoard REV EA1 (Panda Early Adopter Program) has a different ID.
This patch add alternate REV EA1 TAP id to configuration file Signed-off-by: Luca Ellero <lroluk@gmail.com>
2011-02-08 Luca Ellero <lroluk@gmail.com>
* : cortex_a8/a9: fix some comments Signed-off-by: Luca Ellero <lroluk@gmail.com>
2011-01-31 yvind Harboe <oyvind.harboe@zylin.com>
* : stm32x: add support for STM32F20x ready for wider testing and comments on basic erase + programming. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2011-02-02 Mathias K <kesmtp@freenet.de>
* : 24bit buffer support Hello, this patch add 24bit support to the target buffer functions and
little/big endian functions. Regards, Mathias
2011-02-02 Aaron Carroll <aaronc@cse.unsw.edu.au>
* : cortex_m3: allow scripts to override reset If a handler for the reset-assert event it present, skip the usual
reset handling. This is needed, for example, for board-level
resets. Signed-off-by: Aaron Carroll <aaronc@cse.unsw.edu.au>
2011-01-31 yvind Harboe <oyvind.harboe@zylin.com>
* : cfi: use ARM32 machine code on all CPUs but Cortex M3 ARM11 broke with aa61a3b3d8b6acad19050987835ec05f3d298bdb as the
code only checked for arm 7/9. CFI probably needs work for non-ARM targets but perhaps not adding
working area memory to e.g. MIPS will give the default slow CFI
support. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2011-01-24 Aaron Carroll <aaronc@cse.unsw.edu.au>
* : cortex_a9: add source files for Cortex A9 support. add target and build support for A9 Signed-off-by: Aaron Carroll <aaronc@cse.unsw.edu.au>
2011-01-24 Aaron Carroll <aaronc@cse.unsw.edu.au>
* : Add '-coreid' target option to support multiple cores per TAP. ARM Cortex-A9 multi-core chips expose a single TAP/DAP which
connects to both cores. The '-coreid' option selects which core the
target should connect to. Note that at present, OpenOCD can connect to either core, but not
both simulatenously, until ADI contexts can be shared. Signed-off-by: Aaron Carroll <aaronc@cse.unsw.edu.au>
2011-01-28 Aaron Carroll <aaronc@cse.unsw.edu.au>
* : openocd.texi: minor fixes in Reset Configuration Signed-off-by: Aaron Carroll <aaronc@cse.unsw.edu.au>
2011-01-26 Mathias K <kesmtp@freenet.de>
* : - add xds100v2 configuaration file Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2011-01-26 Mathias K <kesmtp@freenet.de>
* : add basic TI xds100v2 support Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2011-01-18 Eric Wetzel <thewetzel@gmail.com>
* : stellaris: automatically generate and update device IDs Added a Perl script to contrib that uses the header files in
StellarisWare complete Firmware Development Package provided by
TI/Luminary to generate a new list of device IDs Used Perl script and revision 6734 of TI/Luminary StellarisWare to
update device IDs
2011-01-13 Santeri Salko <santeri.salko@gmail.com>
* : str9xpec: Find flash controller from the chain. Find the flash controller by position since it is before the core,
not after it. This fixes the problem that str9xpec enable_turbo (or any other
str9xpec command) did not work. (See my post in
http://forum.sparkfun.com/viewtopic.php?f=18&t=25542) Signed-off-by: Santeri Salko <santeri.salko@gmail.com>
2011-01-13 simon qian <simonqian.openocd@gmail.com>
* : transport: fix LOG_DEBUG gaffe LOG_DEBUG() arguments are only evaluated when DEBUG logging is
enabled, do not use arguments that have side effects like foo++. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2011-01-05 Eric Wetzel <thewetzel@gmail.com>
* : nit: more LOG_* \n fixes Remove extra \n from LOG_DEBUG, LOG_INFO, and LOG_WARNING messages Remove LOG_INFO_N LOG_INFO_N was only used once and had a \n at the
end Change LOG_USER_N calls that end with \n to LOG_USER
2011-01-08 David Brownell <david-b@pacbell.net>
* : present CM3 Trace agenda
2011-01-06 Spencer Oliver <ntfreak@users.sourceforge.net>
* : cfi: use safer arch detection Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2011-01-05 Jonathan Dumaresq <jdumaresq@cimeq.qc.ca>
* : Add the support for the armv7m arch. Signed-off-by: Jonathan Dumaresq <jdumaresq@cimeq.qc.ca>
2011-01-05 Eric Wetzel <thewetzel@gmail.com>
* : nit: do not add \n at end of LOG_ERROR Fixed in many other places, and submitted in response to Øyvind's
invitation.
2010-12-24 Spencer Oliver <ntfreak@users.sourceforge.net>
* : target: change working area free data type We only use the struct working_area member 'free' as a true/false
type so might as well use a bool data type. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2011-01-03 yvind Harboe <oyvind.harboe@zylin.com>
* : error handling: the error number is not part of the user
interface Do not propagate error number to user. This is for internal
programming purposes only. Error messages to the user is reported as
text via LOG_ERROR(). Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2011-01-02 Michael Schwingen <michael@schwingen.org>
* : cfi_protect is not implemented on Spansion flashes (many do not
even have protection bits). Demote from error to warning, so that
common board code can use "flash write_image erase unlock"
regardless of the flash type. Signed-off-by: Michael Schwingen <michael@schwingen.org>
2011-01-02 Jon Povey <jon.povey@racelogic.co.uk>
* : svf: implement sleep for RUNTEST min_time Signed-off-by: Jon Povey <jon.povey@racelogic.co.uk> min_time was effectively ignored, I needed it to program a Lattice
MachXO which uses a RUNTEST to wait for an erase operation, amongst
other things. With this patch pauses happen and I can program the device with an
SVF generated in LSC ispVM (with "Rev D Standard" checked to
suppress nonstandard LOOP statements)
2010-12-31 Antonio Borneo <borneo.antonio@gmail.com>
* : NAND/S3CXXXX: remove private "target" copy Remove "target" form private data, and use common one in struct
nand_block. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-12-31 Antonio Borneo <borneo.antonio@gmail.com>
* : NAND/NUC910: remove private "target" copy Remove "target" form private data, and use common one in struct
nand_block. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-12-31 Antonio Borneo <borneo.antonio@gmail.com>
* : NAND/MX2: remove private "target" copy Remove "target" form private data, and use common one in struct
nand_block. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-12-31 Antonio Borneo <borneo.antonio@gmail.com>
* : NAND/DAVINCI: remove private "target" copy Remove "target" form private data, and use common one in struct
nand_block. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-12-31 Antonio Borneo <borneo.antonio@gmail.com>
* : NAND/TCL: prepare for common "target" reference Every NAND driver keeps private copy of "target" structure. Prepare
infostructure to move private "target" copy in common/shared struct
nand_device. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-12-31 Antonio Borneo <borneo.antonio@gmail.com>
* : NAND/CORE: Comment use of alive_sleep() Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-12-31 Antonio Borneo <borneo.antonio@gmail.com>
* : flash/nand: review NAND driver interface From struct nand_flash_controller : - remove unused field register_commands; - remove field controller_ready, exported but never referenced. Remove dead code pointed by controller_ready. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-12-29 Andrew MacIsaac <macisaac.andrew@gmail.com>
* : Compilation Warnings on OS X 10.5 I received a number of "-Wshadow" related warnings (treated as
errors) while trying to build on OS X Leopard. In addition, there
were two miscellaneous other warnings in the flash drivers.
Attached are two patches which correct these issues and the commit
messages to accompany them. My system has the following configuration (taken from uname -a): Darwin 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT
2009; root:xnu-1228.15.4~1/RELEASE_I386 i386 === Werror_patch.txt Commit Message === compilation: fixes for
-Wshadow warnings on OS X These changes fix -Wshadow compilation warnings on OS X 10.5.8 Compiled with the following configure command: ../configure --prefix=/usr/local --enable-maintainer-mode
--enable-jlink --enable-ft2232_libftdi === flash_patch.txt Commit Message === compilation: fixes for flash
driver warnings on OS X These changes fix two compilation warnings on OS X 10.5.8: ../../../../src/flash/nor/at91sam3.c:2767: warning: redundant
redeclaration of 'at91sam3_flash'
../../../../src/flash/nor/at91sam3.c:101: warning: previous
declaration of 'at91sam3_flash' was here and ../../../../src/flash/nor/stmsmi.c:205: warning: format not a string
literal and no format arguments Compiled with the following configure command: ../configure --prefix=/usr/local --enable-maintainer-mode
--enable-jlink --enable-ft2232_libftdi === Andrew
2010-12-29 yvind Harboe <oyvind.harboe@zylin.com>
* : warnings: use more 'const' for char * Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-12-24 David Brownell <dbrownell@users.sourceforge.net>
* : initial SWD transport (SWD infrastructure #2) This piggy backs on JTAG so it's not yet pretty, but that seems
unavoidable so far given today's OpenOCD internals. SWD init and data transfer are unfinished and untested, but that
should cause no regressions, and will be addressed by the time
drivers start using this infrastructure. Checking in whould get the
code working better sooner, and turn up any structural/architectural
issues while they're easier to fix. The debug adapter drivers will provide simple SWD driver structs
with methods that kick in as needed (instead of JTAG). So far just
one adapter driver has been updated (not yet ready to use or
circulate). The biggest issues are probably - fault handling, where the ARM Debug Interface V5 pipelining needs work in both JTAG and SWD modes and - missing rewrite of block I/O code to work on both of our
Cortex-ready transports (Current code is hard-wired to JTAG);
relates also to the pipelining issue. - omitted support to activate/deactivate SWO/SWV trace (this is technically trivial, but configuring what to trace is NOT. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> ---- doc/openocd.texi | 17 ++ src/jtag/core.c | 3 src/jtag/interface.h | 4 src/jtag/jtag.h | 2 src/jtag/swd.h | 114 +++++++++++++++++++ src/jtag/tcl.c | 2 src/target/adi_v5_swd.c | 281
++++++++++++++++++++++++++++++++++++++++++++++--
src/target/arm_adi_v5.c | 8 + src/target/arm_adi_v5.h | 3 9 files changed, 425 insertions(+), 9 deletions(-)
2010-12-23 Spencer Oliver <ntfreak@users.sourceforge.net>
* : flash: print flash bank name on flash info cmd The flash bank name is a required element in adding flash banks,
however other than looking at the config file there is no way of
getting the name used in openocd. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-12-23 Spencer Oliver <ntfreak@users.sourceforge.net>
* : stm32: update option bytes for stm32xl family add supoort for xl family boot bank option. The option byte
handling will be cleaned up in a later patch. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-12-22 Spencer Oliver <ntfreak@users.sourceforge.net>
* : stm32: add dual flash bank support This patch adds the initial dual flash bank support for devices such
as the stm32xl family. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-12-21 yvind Harboe <oyvind.harboe@zylin.com>
* : lpc2148: redo to the new target configuration scheme Define a proc which PCBs can easily override. Also demonstrates how to add multiple TAP exepcted-id's using
arguments. Added 0x3f0f0f0f as expected TAP-id. Old LPC2148 silicon I happened
to have on my desk? Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-12-22 yvind Harboe <oyvind.harboe@zylin.com>
* : bootstrap: by default the submodules are initialized use "nosubmodule" to skip setting up submodules. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-12-19 Tormod Volden <debian.tormod@gmail.com>
* : tcl/interface/flashlink.cfg: Fix broken ST URL
2010-12-19 Tormod Volden <debian.tormod@gmail.com>
* : tcl/board: Fix ST URLs in stm32* eval board configuration files ST recently rewamped (screwed up) their web site and broke all
links. Also match the chip names with those on the web site product
descriptions.
2010-12-16 Michael Trensch <MTrensch@googlemail.com>
* : Add support for Hilscher netX controllers
2010-12-19 Antonio Borneo <borneo.antonio@gmail.com>
* : TCL: fix non TCL comments End of line comments fixed with ';' before '#'. Added few
additional 'space' to keep indentation in multi-line comments. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-12-14 John Devereux <john@devereux.me.uk>
* : Fix for compilation failure amt_jtagaccel.c Hi, I think there are errors in amt_jtagaccel.c I attach a small patch that I needed to make it compile.
2010-12-14 yvind Harboe <oyvind.harboe@zylin.com>
* : stm32: fix unprotect the unprotect fn in stm32 needs to unprotect more sectors than was
requested aligned to some boundary. Print warning when this happens. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-12-10 Spencer Oliver <ntfreak@users.sourceforge.net>
* : contrib: add source to the cfi flash loaders Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-12-08 Spencer Oliver <ntfreak@users.sourceforge.net>
* : stm32: add STM32E-EVAL external memory config script Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-12-08 Spencer Oliver <ntfreak@users.sourceforge.net>
* : cfi: allow optional buffer write support Some flash's do not support buffer writes, so we now check they are
supported before trying to use them. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-12-08 Spencer Oliver <ntfreak@users.sourceforge.net>
* : cfi: prefix string hex output Add hex prefix so we know output is not decimal. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-12-08 Spencer Oliver <ntfreak@users.sourceforge.net>
* : cfi: whitespace and long line cleanup Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-12-04 Freddie Chopin <freddie_chopin@op.pl>
* : remove srst_pulls_trst from LPC2xxx target scripts LPC2xxx do not require reset_config srst_pulls_trst. This can cause
various "strange" problems when flashing the chip, because "reset
halt" actually allows the chip to run for some short period of time
and execute some code. Signed-off-by: Freddie Chopin <freddie_chopin@op.pl>
2010-12-06 yvind Harboe <oyvind.harboe@zylin.com>
* : jtag: getting the JTAG speed can fail If the JTAG speed has not been set, then it has no defined value,
add code to propagate the error. No change to actual behavior as no new failure paths have been
introduced. This is a no-op patch to make subsequent patches
smaller. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-12-03 Rolf Meeser <rolfm_9dq@yahoo.de>
* : lpc2478 target config: CCLK as (mandatory) parameter
2010-12-03 Rolf Meeser <rolfm_9dq@yahoo.de>
* : Add board config for Embedded Artists LPC2478-32
2010-12-03 Rolf Meeser <rolfm_9dq@yahoo.de>
* : Fix sector layout for 504-KiB LPC2000 devices
2010-12-02 Spencer Oliver <ntfreak@users.sourceforge.net>
* : luminary: remove unused config cmds. Due to commit e40aee2954d2beabe1d8c530d9ff1e564fb01f48 we now honour
the targets 'reset_config' setting. Previously we ignored the srst
setting for luminary targets. Luminary targets have never supported using srst to reset into debug
mode so remove the option from the target configs files. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-12-02 Spencer Oliver <ntfreak@users.sourceforge.net>
* : config: fix luminary jtag config When this config was updated in commit
e3773e3e3d1f1ee0dbb0b69e8babe8419784d1c1 the old jtag declaration
was not removed. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-12-01 yvind Harboe <oyvind.harboe@zylin.com>
* : profile: use 100Hz as a default sampling frequency it's a lie that is somewhere in the vicinity of the truth. Certainly
64MHz confuses gprof and produces zero output and no error messages. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-12-01 Rolf Meeser <rolfm_9dq@yahoo.de>
* : lpc2900.c: Add support for new device LPC2926
2010-11-29 Piotr Esden-Tempski <piotr@esden.net>
* : Some cosmetic fixes to the Lisa/L layout support functions.
2010-11-29 Piotr Esden-Tempski <piotr@esden.net>
* : Updated Floss-JTAG config file to support v0.3 and newer. Also
added noeeprom version of the config file for older versions of
Floss-JTAG.
2010-11-26 Spencer Oliver <ntfreak@users.sourceforge.net>
* : build: correct configure help message As we default to building jimtcl the help text should show that. No
change in functionality or configure args required. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-11-22 Antonio Borneo <borneo.antonio@gmail.com>
* : FLASH/NOR: rename from spearsmi to stmsmi STMicroelectronics controller SMI is not SPEAr specific. Rename it
and change name to every symbol in the code. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-11-18 Antonio Borneo <borneo.antonio@gmail.com>
* : NOR/SPEARSMI: fix segfault If flash chip is not listed in the table, or if no flash is
connected, pointer must be properly initialized. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-11-22 yvind Harboe <oyvind.harboe@zylin.com>
* : flash: iterating over an address range now handles multiple
banks e.g. flash erase_address now works across an address range that
spans multiple flash chips. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-11-19 Spencer Oliver <ntfreak@users.sourceforge.net>
* : build: remove AC_CONFIG_AUX_DIR macro This was used during testing and should have been removed. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-11-19 Spencer Oliver <ntfreak@users.sourceforge.net>
* : build: fix subconfigure parameter issue When passing CFLAGS for example through to the jimtcl subconfigure
the quotes were not being preserved. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-11-19 Spencer Oliver <ntfreak@users.sourceforge.net>
* : build: prepend --with-jim-ext=nvp to jimtcl configure This allows us to add options to jimtcl configure. The default
autoconf AC_CONFIG_SUBDIRS does not currently support this. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-11-12 Spencer Oliver <ntfreak@users.sourceforge.net>
* : build: add common.mk Rather than specifying common makefile variables move them all to a
common.mk. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-11-17 Antonio Borneo <borneo.antonio@gmail.com>
* : FLASH/NOR: Remove useless file str9xpec.h Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-11-17 Antonio Borneo <borneo.antonio@gmail.com>
* : FLASH/NOR: Remove useless file str7x.h Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-11-17 Antonio Borneo <borneo.antonio@gmail.com>
* : FLASH/NOR: Remove useless file stellaris.h Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-11-17 Antonio Borneo <borneo.antonio@gmail.com>
* : FLASH/NOR: Remove useless file lpc288x.h Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-11-17 Antonio Borneo <borneo.antonio@gmail.com>
* : FLASH/NOR: Remove useless file avrf.h Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-11-17 Antonio Borneo <borneo.antonio@gmail.com>
* : FLASH/NOR: Remove useless file at91sam7.h Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-11-17 Antonio Borneo <borneo.antonio@gmail.com>
* : FLASH/NOR: Remove useless file spearsmi.h Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-11-11 Antonio Borneo <borneo.antonio@gmail.com>
* : TCL/SPEAr: Added Serial flash in board file Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-11-11 yvind Harboe <oyvind.harboe@zylin.com>
* : httpd: retire this server this never panned out and there are enough mistakes in the code that
probably nobody used this. Use the tcl server and implement a standalone http app instead works
fine. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-11-13 yvind Harboe <oyvind.harboe@zylin.com>
* : gdb: fix occasional crash when flash probe failed Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-11-09 yvind Harboe <oyvind.harboe@zylin.com>
* : cortex_m3: report detected error condition in poll If the CPU crashed at some point, poll will discover this. Previously the poll fn would clear the error and print a warning,
rather than propagating the error. The new behavior is to report the error back up, but still clear the
error. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-11-08 Antonio Borneo <borneo.antonio@gmail.com>
* : TCL scripts: replace "puts" with "echo" Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-11-08 Antonio Borneo <borneo.antonio@gmail.com>
* : JIM: Add "-n" option to "echo" With the new JIMTCL, "puts" only writes to stdout. To write on
telnet port too, "echo" must be used. This patch gives to "echo"
similar commandline option of "puts". Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-11-08 yvind Harboe <oyvind.harboe@zylin.com>
* : stm32: return error when failing to read add missing error handling. Output warning when assuming maximum flash size in the family when
failing to read. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-11-08 yvind Harboe <oyvind.harboe@zylin.com>
* : stm32: sharpen error handling for timeouts delete lots of crud by handling this all in one spot. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-11-04 Antonio Borneo <borneo.antonio@gmail.com>
* : TCL scripts: add support for ST SPEAr310 Initial support for ST SPEAr310 and for the evaluation board
EVALSPEAr310 Rev. 2.0. Scripts are split in generic for SPEAr3xx
family and specific for SPEAr310. This should easily allow adding
new members of the family. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-10-29 Marek Vasut <marek.vasut@gmail.com>
* : CortexA8: Introduce Freescale i.MX51 variant This patch introduces support for Cortex A8 based Freescale i.MX51
CPU. This CPU has the Debug Access Port located at a different
address (0x60008000) than TI OMAP3 series of CPUs. i.MX51 configuration file based on OMAP3 configuration file and an
email from Alan Carvalho de Assis <acassis@gmail.com>. Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
2010-10-31 Marek Vasut <marek.vasut@gmail.com>
* : ADIv5: Implement function to lookup CoreSight component This patch implements "dap_lookup_cs_component()", which allows to
lookup CS component by it's identification. Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
2010-11-04 ddraskovic <ddraskovic@sequans.com>
* : arm964e: Add support for ARM946E target. So far most of the people have been using existing ARM966E in the
place of ARM946E, because they have practically the same scan
chains. However, ARM946E has caches, which further complicates JATG handling
via scan-chain. this was preventing single-stepping for ARM946E when
SW breakpoints are used. This patch thus introduces : 1) Correct cache handling on memory write 2) Possibility to flush whole cache and turn it off during debug, or
just to flush affected lines (faster and better) 3) Correct SW breakpoint handling and correct single-stepping 4) Corrects the bug on CP15 read and write, so CP15 values are now
correctly R/W
2010-10-15 yvind Harboe <oyvind.harboe@zylin.com>
* : jimtcl: 0.63 release as a git module. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-10-28 Spencer Oliver <ntfreak@users.sourceforge.net>
* : src: add loader src description - add comment where to find the various loaders src files. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-10-28 yvind Harboe <oyvind.harboe@zylin.com>
* : imx31pdk: use rclk w/1MHz fallback measure_clk indicates ca. 3-4MHz, so 1MHz should be safe. Added self_test proc used to test that rclk worked. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-10-24 Peter Stuge <peter@stuge.se>
* : Make systesetreq typos read sysresetreq instead Signed-off-by: Peter Stuge <peter@stuge.se>
2010-10-22 Michal Demin <michaldemin@gmail.com>
* : buspirate: change handling of communication speed setting +
create serial port open function Signed-off-by: Michal Demin <michaldemin@gmail.com>
2010-10-12 Antonio Borneo <borneo.antonio@gmail.com>
* : TARGET: review handle_load_image_command() Collect variable definitions. Report syntax error to command
dispatcher. Propagate error when unable to open file. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-10-10 David Brownell <dbrownell@users.sourceforge.net>
* : swj-dp.tcl (SWD infrastructure #1) Provide new helper proc that can set up either an SWD or JTAG DAP
based on the transport which is in use -- mostly for SWJ-DP. Also update some SWJ-DP based chips/targets to use it. The goal is
making SWD-vs-JTAG transparent in most places. SWJ-DP based chips
really need this flexible configuration to cope with debug adapters
that support different transports, without needing new target
configs for each transport or adapter. For JTAG-DP, callers will use "jtag newtap" directly, as today; only
one chip-level transport option exists. For SW-DP (e.g. LPC1[13]xx or EFM32, they'll use "swd newdap"
directly (part of an upcoming SWD transport patch). Again, only one
transport option exists, so hard-wiring is appropriate there. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-10-05 Spencer Oliver <ntfreak@users.sourceforge.net>
* : build: remove warn_unused_result errors Remove any build errors for strtol when building release version of
openocd. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-10-04 Spencer Oliver <ntfreak@users.sourceforge.net>
* : gdbserver: fix gdb_port memory leak Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-09-05 yvind Harboe <oyvind.harboe@zylin.com>
* : zy1000: add : port number syntax for tftp filing system Allows using non-standard port number. Default to port 69. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-09-27 yvind Harboe <oyvind.harboe@zylin.com>
* : server: add support for pipes -p/--pipe is now deprecated. Use '-c "gdb_port pipe;log_output
openocd.log"' instead. Warning logged. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-09-27 yvind Harboe <oyvind.harboe@zylin.com>
* : server: read/write now goes through connection fn's depending on whether the connection is over a socket or pipe, the
read is done differently. pipes can return -1 when writing 0 bytes, make 0 byte writes a
successful no-op. 0 byte writes falls out naturally of tcl server
code. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-09-26 yvind Harboe <oyvind.harboe@zylin.com>
* : server: rely on ctrl-c to stop openocd there was special support to support pressing 'x' to quit openocd.
ctrl-c is sufficient. The main server loop is already complicated
enough. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-09-27 Luca Bruno <lucab@debian.org>
* : Update ep93xx and at91rm9200 drivers ep93xx and at91rm9200 are conditionally built only on arm and were
not updated to reflect changes in command registration handler.
This patch makes them properly compile again, fixing a build failure
experienced on Debian armel. Signed-off-by: Luca Bruno <lucab@debian.org> Signed-off-by: Zachary
T Welch <zwelch@codesourcery.com>
2010-09-28 yvind Harboe <oyvind.harboe@zylin.com>
* : fileio: refactor struct fileio to be an opaque structure Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-09-27 yvind Harboe <oyvind.harboe@zylin.com>
* : flash: fix error handling memory leaks and missing check on memory allocation. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-09-24 Zachary T Welch <zwelch@codesourcery.com>
* : Fix omap3_dbginit to write to physical memory. Setting the OMAP3530 DBGEN bit must be done in physical memory, so
update omap3_dbginit callback to use the new 'mww phys' command
syntax.
2010-09-26 yvind Harboe <oyvind.harboe@zylin.com>
* : gdb: fix blank line at top snuck in at some point... Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-09-20 yvind Harboe <oyvind.harboe@zylin.com>
* : flash: fix error handling sensible error must be reported at failure site Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-09-21 Antonio Borneo <borneo.antonio@gmail.com>
* : TCL scripts: collect duplicated procedures TCL procedures mrw and mmw, originally in DaVinci target code, are
duplicated in other TCL scripts. Moved in a common helper file, and
added help/usage description. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-09-20 yvind Harboe <oyvind.harboe@zylin.com>
* : helper: fix flaky capture command capture of progress output would get polling results. This will
break in the example below where polling output would override the
tcl return value. capture {sleep 10000; set abc def} Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-09-18 yvind Harboe <oyvind.harboe@zylin.com>
* : logging: turn of stdout/stderr buffering with this buffering disabled fancier logging scripts will be able to
process each line as it is output. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-09-20 yvind Harboe <oyvind.harboe@zylin.com>
* : jtag: build jtag first because it generates header files Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-09-07 yvind Harboe <oyvind.harboe@zylin.com>
* : zy1000: split out configure option for eCos and JTAG master Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-09-20 yvind Harboe <oyvind.harboe@zylin.com>
* : tcl: remove incomplete unused tcl file Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-09-19 Mike Dunn <mikedunn@newsguy.com>
* : xscale: check that wp length does not exceed address Hi everyone, A while back I sent in a patch that adds support for watchpoint
lengths greater than four on xscale. It's been working well, until
the other day, when it caused an unexpected debug exception.
Looking into this I realized there is a case where it breaks: when
the length arg is greater than the base address. This is a
consequence of the way the hardware works. Don't see a work-around,
so I added code to xscale_add_watchpoint() to check for and disallow
this combination. Some more detail... xscale watchpoint hardware does not support a
length directly. Instead, a mask value can be specified (not to be
confused with the optional mask arg to the wp command, which xscale
does not support). Any bits set in the mask are ignored when the
watchpoint hardware compares the access address to the watchpoint
address. So as long as the length is a power of two, setting the
mask to length-1 effectively specifies the length. Or so I thought,
until I realized that if the length exceeds the base address, *all*
bits of the base address are ignored by the comaparator, and the
watchpoint range effectively becomes 0 .. length. Questions, comments, criticisms gratefully received. Thanks, Mike Signed-off-by: Mike Dunn <mikedunn@newsguy.com>
2010-09-18 Karl Kurbjun <kkurbjun@gmail.com>
* : AM/DM37x: Unify configuration scripts and add support for TI
Beagleboard xM.
2010-09-13 yvind Harboe <oyvind.harboe@zylin.com>
* : breakpoints: fix error handling do not try to interpret "retval" into a string, just amend a bit
about the context of the already reported error. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-09-13 Mike Dunn <mikedunn@newsguy.com>
* : xscale: fix sw breakpoints for thumb; set bp immediately Hi everyone, Version 2 of this patch. Code added to breakpoints.c was removed
from previous patch, and item 3 added, per discussion with Øyvind
regarding error reporting. Item 4 added, which I just noticed. I tried to use a software breakpoint in thumb code on the xscale for
the first time recently, and was surprised to find that it didn't
work. The result was this patch, which does four things: 1): fix trivial cut-n-paste error that caused thumb breakpoints to
not work 2): call xscale_set_breakpoint() from
xscale_add_breakpoint() 3): log error on data abort in
xscale_write_memory() 4): fixed incorrect error code returned by
xscale_set_breakpoint() when no breakpoint register is available;
added comment Item 2 not only makes the xscale breakpoint code consistent with
other targets, but also alerts the user immediately if an error
occurs when writing the breakpoint instruction to target memory
(previously, xscale_set_breakpoint() was not called until execution
resumed). Also, calling xscale_breakpoint_set() as part of the call
chain starting with handle_bp_command() and propagating the return
status back up the chain avoids the situation where OpenOCD "thinks"
the breakpoint is set when in reality an error ocurred. Item 3 provides a helpful message for a common reason for failure to
set sw breakpoint. This was thoroughly tested, mindful of the fact that breakpoint
management is somewhat dicey during single-stepping. Comments and criticisms of course gratefully received. Mike Signed-off-by: Mike Dunn <mikedunn@newsguy.com> Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com>
2010-09-12 yvind Harboe <oyvind.harboe@zylin.com>
* : helper: add stacktrace command that returns error stacktrace Ability to access the stacktrace from a script is quite handy. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-09-10 yvind Harboe <oyvind.harboe@zylin.com>
* : version command: make it scriptable you can now set a variable in a script like set version [version]. Also version takes an optional argument "git" to show git version of
source. If git is not installed during the build, then this will
yield an error that is ignored during the build and "version git"
returns an empty string. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-09-10 yvind Harboe <oyvind.harboe@zylin.com>
* : cfi: random crash in cfi_probe() fixed for non_cfi cfi chips free() was invoked on rodata. The mystery is why this bug has survived for so long. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-09-08 Mike Dunn <mikedunn@newsguy.com>
* : xscale: mark xscale registers invalid on debug entry Hi everyone, This simple patch fixes a problem I noticed on the xscale where
incorrect values are sometimes reported by the reg command. The
problem can occur when requesting the value of registers in the
xscale-specific register cache. With a couple of exceptions, none
of the registers in the xscale register cache are automatically
retrieved on debug entry. This is probably fine, as they are
unlikely to be needed on a regular basis during a typical debug
session, and they can be retrieved when explicitly requested by name
using the reg command. The problem is that once this is done, the
register remains marked as valid for the remainder of the OpenOCD
session, and the reg command will henceforth always report the same
value because it is obtained from the cache and is never again
retrieved from the debug handler on the target. The fix is to mark all registers in the xscale register cache as
invalid on debug entry (before the two exceptions are retrieved),
thus forcing retrieval (when requested) from the target across
resumptions in execution, and avoiding the reporting of stale
values. Small addition change by Øyvind: change 'i' to unsigned to fix
compiler warning for xscale_debug_entry() fn. Signed-off-by: Mike Dunn <mikedunn@newsguy.com> Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com>
2010-09-07 yvind Harboe <oyvind.harboe@zylin.com>
* : warning: fix silly -O3 warning Some versions of GCC don't pick up that local variables are set in
all code paths. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-08-31 Wookey <wookey@wookware.org>
* : Numonyx M29W160ET patch Someone called David Carne popped up on IRC and offered a fix (as
he's not on this list so can;t post here). I am just passing it on.
(thanx David) 10:54 < davidc__> Basically; the Numonyx M29W160ET has an incorrect
CFI PRI block; it describes the erase blocks backwards 10:54 < davidc__> the linked patch has a fixup for that part
[really trivial]:
2010-08-24 Spencer Oliver <ntfreak@users.sourceforge.net>
* : flash: increase stellaris flash loader buffer This speeds up programming for targets with more working area, Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-08-27 David Brownell <dbrownell@users.sourceforge.net>
* : bitq: unshadow pause() bitq.c: In function ‘bitq_scan_field’: bitq.c:224: error:
declaration of ‘pause’ shadows a global declaration
/usr/include/unistd.h:429: error: shadowed declaration is here Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-08-17 yvind Harboe <oyvind.harboe@zylin.com>
* : mcb1700: Keil MCB1700 w/1768 config script Ca. 93kBytes/s flashing speed @ 10MHz JTAG clock Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-08-16 David Brownell <dbrownell@users.sourceforge.net>
* : two NEWS updates Mention AVR32 AP7000 support. Clarify ARM semihosting update was
for V7M (not ARM9 etc). Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-08-15 Oleksandr Tymoshenko <gonzo@bluezbox.com>
* : avr32: basic target script
2010-08-15 Oleksandr Tymoshenko <gonzo@bluezbox.com>
* : avr32: work-in-progress committed so as to ease cooperation and to let it be improved over
time. So far it supports: - halt/resume - registers inspection - memory inspection/modification I'm still getting up to speed with OpenOCD internals and AVR32 so
code is a little bit messy and I'd appreciate any feedback.
2010-08-13 Catalin Patulea <cat@vv.carleton.ca>
* : Fix typo in documentation of usb_blaster_vid_pid command
2010-08-03 Piotr Esden-Tempski <piotr@esden.net>
* : Added support for the Lisa/L jtag LEDs.
2010-08-03 Piotr Esden-Tempski <piotr@esden.net>
* : Added support for Lisa/L builtin JTAG interface.
2010-08-10 Thomas Koeller <thomas.koeller@baslerweb.com>
* : jtag: fix handling of 'tap enable' error if a tap could not be _enabled_, the error message was 'failed to
disable tap'. Fixed that. Also, display the failing tap's name. Signed-off-by: Thomas Koeller <thomas.koeller@baslerweb.com>
2010-08-10 Thomas Koeller <thomas.koeller@baslerweb.com>
* : DM36x: Disable unused SYSCLKs Clear the enable bits for all clocks that are not set explicitly.
This is done to increase robustness by removing pre-existing state. Signed-off-by: Thomas Koeller <thomas.koeller@baslerweb.com>
2010-08-12 Fredrik Hederstierna <fredrik.hederstierna@securitas-direct.com>
* : str9x: faster flash erase of entire chip The patch improves flash erase for STR9x in case of a full bank
erase. Then the chip erase command is used instead which improves
speed significantly. Also I think it might help if e.g. STR912 enters some state where
flash banks are locked, and a chip erase command is the key for
unlocking the flash.
2010-08-11 yvind Harboe <oyvind.harboe@zylin.com>
* : board: added at91cap7a stk w/sdram config scripts The strange thing here with this board is that 16MHz kinda works,
but only 2MHz is really stable. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-08-11 yvind Harboe <oyvind.harboe@zylin.com>
* : arm: add missing error reporting when an unknown core mode is read from the target, report error. Can
be communication failure. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-08-09 Ben Gardiner <bengardiner@nanometrics.ca>
* : cfg: add omapl138 support and da850evm preliminary support This patch adds support for the omapl138 target and preliminary
support for the da850evm. The target cfg file is based on the
icepick routing done by the target/ti_dm6446.cfg file. I have performed limited testing with this setup. I am posting this
patch in the interest of sharing cfg files and in the hopes that the
experts on this list can correct errors I have made or point out
enhancements. The testing I have performed is debugging uboot with gdb where I
also use the following local.cfg and gdbinit files. Debugging
appears to work in so much as 'ni' works. local.cfg: gdb_memory_map disable gdbinit: target remote localhost:3333 set remote
hardware-breakpoint-limit 2 set remote hardware-watchpoint-limit 2
monitor poll on Comments welcome. Best Regards, Ben Gardiner
2010-08-08 yvind Harboe <oyvind.harboe@zylin.com>
* : target: if polling fails, back off back-off algorithm for polling. Double polling interval up to 5000ms
when it fails. when polling succeeds, reset backoff. This avoids flooding logs(as much) when working with conditions
where the target polling will fail. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-08-02 Mike Dunn <mikedunn@newsguy.com>
* : xscale documentation: vector table handling Hi everyone. I noticed some incorrect information in the user
manual regarding how the vector table is handled on the xscale, so
for your consideration, here's a short patch that corrects it, and
adds a little more detail I thought might be helpful. The documentation states that OpenOCD does not attempt to
synchronize the vector tables in memory with those stored in the
"mini instruction cache". In fact, on each resume it does copy from
memory to the cache all entries in the high and low tables that were
not previously defined using the 'xscale vector_table' command. (In
src/target/xscale.c, see xscale_update_vectors(), which is invoked
by xscale_resume().) I take advantage of this during Linux boot-up.
The extra detail describes in general terms how I do this. Corrections, comments are of course gratefully received. Thanks, Mike Signed-off-by: Mike Dunn <mikedunn@newsguy.com>
2010-08-02 yvind Harboe <oyvind.harboe@zylin.com>
* : zy1000: use correct base clock when calculating speed divisor revc uses 60MHz and revb 64MHz, use this in calculations. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-08-02 yvind Harboe <oyvind.harboe@zylin.com>
* : lpc1768: even if rclk "works", it isn't necessarily the correct
clk rclk = 4MHz oon lpc1768, the correct JTAG clk is 666MHz(4MHz/6). Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-08-02 yvind Harboe <oyvind.harboe@zylin.com>
* : jtag: measure_clk debug proc It can be useful to get an approximate measurement of rtck frequency
for debugging purposes. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-08-01 yvind Harboe <oyvind.harboe@zylin.com>
* : util: ms command to calculate length of operations This can be used to calculate approximate RTCK frequency for
instance. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-08-01 Peter Stuge <peter@stuge.se>
* : Remove srst_pulls_trst from LPC2148 target srst_pulls_trst is only true on some (broken) LPC2148 boards, a fact
which is already documented in doc/openocd.texi, so it shouldn't be
set unconditionally in the target tcl. This patch was needed to reflash when an Abort exception occured
very early after reset, before OpenOCD tried to halt the CPU.
2010-07-30 yvind Harboe <oyvind.harboe@zylin.com>
* : lpc7168: make flash available upon reset init set user mode to avoid ROM being mapped at address 0 rather than
flash. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-07-10 Michal Demin <michal.demin@gmail.com>
* : Buspirate: fix shadow
2010-07-19 Spencer Oliver <ntfreak@users.sourceforge.net>
* : flash: remove algorithm exit_point address for supported targets For the above targets the exit_point is optional when used with
run_algorithm, so remove it. This makes updating the algorithm less error prone. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-07-19 Spencer Oliver <ntfreak@users.sourceforge.net>
* : armv7m: exit_point optional for armv7m_run_algorithm As the armv7m uses instruction breakpoints for algorithms we do not
really need to check the pc on exit. This now matches the behaviour of the arm4_5 codebase. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-07-20 yvind Harboe <oyvind.harboe@zylin.com>
* : arm11 error propagation fixes Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-07-19 yvind Harboe <oyvind.harboe@zylin.com>
* : arm_dpm: error propagation fixes found by inspection Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-07-19 yvind Harboe <oyvind.harboe@zylin.com>
* : arm: error propagation of arm_jtag_set_instr Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-07-19 yvind Harboe <oyvind.harboe@zylin.com>
* : arm_adi_v5: mem_ap_write error propagation Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-07-19 yvind Harboe <oyvind.harboe@zylin.com>
* : mem_ap_read_u32 error propagation Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-07-19 yvind Harboe <oyvind.harboe@zylin.com>
* : debug: debug entry error propagation Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-07-19 yvind Harboe <oyvind.harboe@zylin.com>
* : arm: add error propagation for enable/disable mmu caches Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-07-19 David Brownell <dbrownell@users.sourceforge.net>
* : more careful luminary init Set up more of the Luminary-specific signals, and stop cloning a few
of the JTAG defaults. More comments too. Still leaves the "dap info 0" bugs unresolved (presumably coupled to
this particular adapter family) where TPIU, ITM, DWT, and other
debug modules wrongly display as extra NVICs. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-07-19 Spencer Oliver <ntfreak@users.sourceforge.net>
* : flash: add nuc910 nand driver This adds a nand driver support for the nuc910 target. Note that
ECC is not currently supported by this driver, although it is
supported by the peripheral. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-07-16 Spencer Oliver <ntfreak@users.sourceforge.net>
* : cfg: update rsc-w910 script - Only enable the FMI (NAND) and DMA clocks. - Select NAND interface on the MFSEL. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-07-18 yvind Harboe <oyvind.harboe@zylin.com>
* : cortex a8: lots of error propagation fixes found by code inspection Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-07-18 yvind Harboe <oyvind.harboe@zylin.com>
* : cortex a8: add missing error handling for
cortex_a8_dap_write/read_coreregister_u32() Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-07-18 yvind Harboe <oyvind.harboe@zylin.com>
* : cortex a8: add missing error handling for
mem_ap_atomic_write_u32() Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-07-18 David Brownell <dbrownell@users.sourceforge.net>
* : comments for Luminary ICDI layout Provide $defines for more of the signals involved in the Luminary
ICDI hardware, and comment some of what's going on. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-07-17 yvind Harboe <oyvind.harboe@zylin.com>
* : debug-feature: jtagtcpip, improve jtag performance postpone callbacks until jtag execute queue time. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-07-16 David Brownell <dbrownell@users.sourceforge.net>
* : ARM ADI-V5: cleanup CID/PID addressing Use addition for offsetting, not masking. Shorten some lines. Make
"component_start" print-only (unused otherwise; don't save). Still doesn't resolve the issue where multiple components are
wrongly displaying as NVICs on some Cortex-M3 parts because many
PIDs appear to be zeroes ... maybe adapter related?? Signed-off-by: David Brownell <db@helium.(none)>
2010-07-16 yvind Harboe <oyvind.harboe@zylin.com>
* : fix warnings Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-07-16 yvind Harboe <oyvind.harboe@zylin.com>
* : debug feature: jtagtcpip, improve performance waiting for ZY1000 fifo to idle is now queued as an asynchronous
command. This radically improves performance when waitIdle() is
interspersed with writes as no readback is required over TCP/IP. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-07-13 David Brownell <dbrownell@users.sourceforge.net>
* : ARM ADI-V5: PIDs and CIDs are 8 bits Mask the upper bits after 32-bit reads. Alsoo revert the ugly changes to use PRIx32; just cast to unsized
integers when printing (two chars not eight). Signed-off-by: David Brownell <db@helium.(none)>
2010-07-12 Spencer Oliver <ntfreak@users.sourceforge.net>
* : jtag: fix shadow issues in adapter_init Use global jtag_only rather than local static. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-07-12 Spencer Oliver <ntfreak@users.sourceforge.net>
* : docs: fix transport typo Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-07-09 David Brownell <dbrownell@users.sourceforge.net>
* : transport selection tweaks * Bugfix and simplify legacy jtag-only defaulting * Make "dummy" declare its jtag-only nature * likewise update ft2232 * warn if selection is _required_ (multi-transport adapters), fixes the "only ft2232 works" bug for at least dummy, with other
drivers going the "legacy" path (submit patches). Signed-off-by: David Brownell <db@helium.(none)>
2010-07-07 yvind Harboe <oyvind.harboe@zylin.com>
* : transport: fix segfault in transport select String compare against addresses in range 0 or so due to not
checking if there was an active session first. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-07-05 sb-sf <sb-sf@users.sourceforge.net>
* : gdbserver: incorrect memory map for multiple targets (bug #24) The gdb server incorrectly reports the memory map if we have
multiple targets with multiple flash banks. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-07-02 David Brownell <db@helium.(none)>
* : Fix minor openocd.texi bug ::X Signed-off-by: David Brownell
<db@helium.(none)>
2010-07-02 Spencer Oliver <ntfreak@users.sourceforge.net>
* : ft2232: revert ft2232_read_scan changes Revert change made in commit
dd88b461da1cb8642200dd5c96fb1ff384ca9f7b. Caused segfaults when
using ftdi driver under win32. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-06-17 Marc Pignat <marc.pignat@hevs.ch>
* : ft2232: simplify ft2232_read_scan
2010-06-25 Olaf Lke <olaf@uni-paderborn.de>
* : at91sam3s* support Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-23 yvind Harboe <oyvind.harboe@zylin.com>
* : arm11: fix gaffe in no-ack transfers The code did not transfer the last word in no-ack transfers. The strange thing is that this did not lead to any observable
errors. This gaffe was introduced in commit 1f5883ea56cb058221f Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-22 yvind Harboe <oyvind.harboe@zylin.com>
* : am3517 evm: use physical write to memory while target is running Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-22 yvind Harboe <oyvind.harboe@zylin.com>
* : target: $_TARGET mdw now has a phys option just like the mdw command Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-21 Edgar Grimberg <edgar.grimberg@zylin.com>
* : xsvf: Fix shadow issues on Mac wait is declared in /usr/include/sys/wait.h Signed-off-by: Edgar Grimberg <edgar.grimberg@zylin.com>
2010-06-21 Edgar Grimberg <edgar.grimberg@zylin.com>
* : flash: fix shadow issues on Mac Wait is declared in /usr/include/sys/wait.h Signed-off-by: Edgar Grimberg <edgar.grimberg@zylin.com>
2010-06-21 yvind Harboe <oyvind.harboe@zylin.com>
* : gitignore: start list of emacs temp files to ignore Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-21 yvind Harboe <oyvind.harboe@zylin.com>
* : cortex a8: add error propagation for poll/resume Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-21 yvind Harboe <oyvind.harboe@zylin.com>
* : cortex a8: add error propagation for
mem_ap_read/write_atomic_u32 Error propagation avoids e.g. infinite loops waiting for target to
halt, etc. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-20 Antonio Borneo <borneo.antonio@gmail.com>
* : nand/mx2: review scope of symbols Add "static" qualifier to private variable. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-06-20 Antonio Borneo <borneo.antonio@gmail.com>
* : openocd.c: review scope of symbols Add "static" qualifier to private data. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-06-20 Antonio Borneo <borneo.antonio@gmail.com>
* : target/avrt: review unused symbols Remove unused functions: - mcu_write_dr_u16 - mcu_write_dr_u8 - mcu_write_ir_u16 - mcu_write_ir_u32 Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-06-20 Antonio Borneo <borneo.antonio@gmail.com>
* : target/feroceon: review scope of symbols Add "static" qualifier to private functions. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-06-19 Antonio Borneo <borneo.antonio@gmail.com>
* : helper/jim-eventloop.h: review unused definitions Remove unused typedef and define Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-06-19 Antonio Borneo <borneo.antonio@gmail.com>
* : helper/jim-eventloop: review scope of symbols Add "static" qualifier to private functions. Remove private
prototypes from include file. Remove empty definition of
JIM_STATIC. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-06-21 yvind Harboe <oyvind.harboe@zylin.com>
* : jtag: do not use jtag_get_error() normal code should not call jtag_get_error(), but rather check the
return code from jtag_execute_queue(). Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-21 yvind Harboe <oyvind.harboe@zylin.com>
* : cortex a8: add missing error handling cortex examine was missing error handling. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-18 yvind Harboe <oyvind.harboe@zylin.com>
* : cortex a8: fix segfault for unexamined targets print error message instead of segfaulting for unexamined targets. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-18 Antonio Borneo <borneo.antonio@gmail.com>
* : target/dsp563xx: review scope of symbols Add "static" qualifier to private functions. Remove private
prototypes from include file. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-06-18 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : don't add confusing source info to Jim When an interactive command fails, the Jim stack trace prints
references to the line in "command.c" where the interpreter was
invoked. Since that location has no relation to the actual command
that failed, the information serves only to add confusion. By not adding the useless source info to Jim the noise can be
reduced, while still printing a useful trace for nested commands. Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-18 Antonio Borneo <borneo.antonio@gmail.com>
* : helper/jim: review scope of symbols Add "static" qualifier to private functions. Function Jim_InterpolateTokens() is private, but has not been
changed to "static". This function is called only once, so compiler
inlines it. After inline, there is a warning for variable
uninitialized. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-17 Freddie Chopin <freddie_chopin@op.pl>
* : mingw32: -Wshadow fixes in rlink.c (error: declaration of ‘byte’ shadows a global declaration;
/usr/local/lib/gcc/i686-w64-mingw32/4.4.2/../../../../i686-w64-mingw32/include/rpcndr.h:50: error: shadowed declaration is here)Signed-off-by: Freddie Chopin <freddie_chopin@op.pl>
2010-06-17 Freddie Chopin <freddie_chopin@op.pl>
* : mingw32: -Wshadow fixes in jim.c (error: declaration of ‘boolean’ shadows a global
declaration;
/usr/local/lib/gcc/i686-w64-mingw32/4.4.2/../../../../i686-w64-mingw32/include/rpcndr.h:52: error: shadowed declaration is here)Signed-off-by: Freddie Chopin <freddie_chopin@op.pl>
2010-06-17 Antonio Borneo <borneo.antonio@gmail.com>
* : vsllink: fix -Wshadow warning Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-06-17 yvind Harboe <oyvind.harboe@zylin.com>
* : zy1000: fix arm11 optimisation copy & paste error + added FIFO throttling to work around lockup bug
in FPGA. The arm11 optimisation was introduced post v0.4.0, so this is not a
regression compared to previous release. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-14 Antonio Borneo <borneo.antonio@gmail.com>
* : nor/at91sam3: replace helper membuf Helper ./src/helper/membuf.c is only used in at91sam3.c 1) Replace membuf with LOG_* 2) The original code in sam3_GetDetails() invalidates all the buffered output of sam3_GetInfo(). The new code skips sam3_GetInfo() if its output should not be printed. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-06-16 yvind Harboe <oyvind.harboe@zylin.com>
* : gdb: -Wshadow warning fixes Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-16 yvind Harboe <oyvind.harboe@zylin.com>
* : xsvf: -Wshadow warning fixes I think this fixed an error message where the error message would
show the *previous* uc code rather than the current unsupported uc
code. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-16 yvind Harboe <oyvind.harboe@zylin.com>
* : mflash: -Wshadow warning fix Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-16 yvind Harboe <oyvind.harboe@zylin.com>
* : nand: when verify failed, it didn't return an error when the verify failed, it didn't return an error, which breaks e.g.
tcl scripts that rely on this for exceptions to work. Found by -Wshadow Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-16 yvind Harboe <oyvind.harboe@zylin.com>
* : str9xpec: -Wshadow warning fixes Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-16 yvind Harboe <oyvind.harboe@zylin.com>
* : oops... backup file snuck in, remove it. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-16 yvind Harboe <oyvind.harboe@zylin.com>
* : stm32x: -Wshadow warning fixes Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-15 yvind Harboe <oyvind.harboe@zylin.com>
* : lpc2900: -Wshadow warning fixes Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-15 yvind Harboe <oyvind.harboe@zylin.com>
* : ecos flash: -Wshadow warning fixes Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-15 yvind Harboe <oyvind.harboe@zylin.com>
* : flash: -Wshadow warning fix Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-15 yvind Harboe <oyvind.harboe@zylin.com>
* : mips32_pracc: -Wshadow warning fixes Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-15 yvind Harboe <oyvind.harboe@zylin.com>
* : mips32: -Wshadow warning fixes Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-15 yvind Harboe <oyvind.harboe@zylin.com>
* : arm11_dbgtap: -Wshadow warning fixes Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-15 yvind Harboe <oyvind.harboe@zylin.com>
* : arm920t: -Wshadow warning fixes Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-15 yvind Harboe <oyvind.harboe@zylin.com>
* : adi_v5_jtag: -Wshadow warning fixes Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-15 yvind Harboe <oyvind.harboe@zylin.com>
* : arm_simulator: -Wshadow warning fixes Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-15 yvind Harboe <oyvind.harboe@zylin.com>
* : target: -Wshdaow warning fix Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-15 yvind Harboe <oyvind.harboe@zylin.com>
* : zy1000: -Wshadow warning fix Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-15 yvind Harboe <oyvind.harboe@zylin.com>
* : jim: -Wshadow warning fix Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-14 yvind Harboe <oyvind.harboe@zylin.com>
* : jim: -Wshadow fixes this batch of fixes should be pretty straightforward rename of
'index' and an 'i' local variable shadowing. 'index' conflicts with a global name. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-14 michal smulski <michal.smulski@ooma.com>
* : arm1136 scripts Here is a patch to fix a startup in C100 (arm1136). Basically make
sure that UART is configured before using it. Michal Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-14 yvind Harboe <oyvind.harboe@zylin.com>
* : cfi: add LOG_ERROR() in case of unsupported intel erase
algorithm found by code inspection. There are many other places in CFI where
LOG_ERROR() should be called similarly... Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-14 yvind Harboe <oyvind.harboe@zylin.com>
* : helper: fix -Wshadow warning in number parsing use obtuse local variable names in macros to avoid interfering with
global name space Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-14 yvind Harboe <oyvind.harboe@zylin.com>
* : target: fix retval gaffe in mwX commands failure to write to memory was not propagated. This is an interesting case of broken error handling: with
exceptions we wouldn't have had this at all, and I also wonder if
there is a GCC option to warn about these kinds of potential bugs. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-12 Antonio Borneo <borneo.antonio@gmail.com>
* : TARGET: removed unsed parameter Parameter "type" of function armv4_5_mmu_translate_va() is now not
used. Remove the parameter and the "enum" listing its values. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-06-12 Antonio Borneo <borneo.antonio@gmail.com>
* : TARGET/ARM920T: fix return value Function arm920t_write_memory() default return value should be
ERROR_OK. All cases of local errors are handled immediately and not
further propagated. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-06-11 yvind Harboe <oyvind.harboe@zylin.com>
* : flash: add error handling to get_flash_by_addr/name autoprobing can fail and this error has to be reported up the call
stack. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-10 yvind Harboe <oyvind.harboe@zylin.com>
* : cfi: fix error propagation any read/write operation to memory can fail. block write algorithm error propagation was broken in that it would
continue after an error was reported writing data to ram or the
algorithm failing. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-09 yvind Harboe <oyvind.harboe@zylin.com>
* : flash: add error message if image is too big for flash replaced assert() w/error message if the image is too big. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-07 yvind Harboe <oyvind.harboe@zylin.com>
* : zy1000: fix optimisation gaffe DCC optimisation was broken on targets w/multiple TAP's. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-05-05 yvind Harboe <oyvind.harboe@zylin.com>
* : cfi: fix GDB keep alive bug Long running CFI writes could cause GDB timeout. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-07 yvind Harboe <oyvind.harboe@zylin.com>
* : gdb-server: fix error reporting bugs GDB and OpenOCD has two different error number spaces and no mapping
exists between them. If a specific error number is to be reported to GDB then this has to
be done at the calling site, rather than as a generic routine that
tries to map "retval" to GDB error number speak. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-01 gcembed <gcembed@gmail.com>
* : stm32 : change returned value of mass_erase function Hello, "stm32x mass_erase" return ERROR_OK even if something goes
wrong. Here is a summary of changes : * in stm32x_mass_erase : return ERROR_FLASH_OPERATION_FAILED when
error detected in FLASH_SR register; * in COMMAND_HANDLER(stm32x_handle_mass_erase_command) : return the
returned value of stm32x_mass_erase(). I don't know if there is reason to always return ERROR_OK ? Gaëtan
2010-05-31 Jon Povey <jon.povey@racelogic.co.uk>
* : etm: print something when trace buffer empty ETM analyze produced no output when the trace buffer was empty.
This patch provides users with a clue. Signed-off-by: Jon Povey <jon.povey@racelogic.co.uk> Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com>
2010-05-24 Spencer Oliver <ntfreak@users.sourceforge.net>
* : flash: virtual driver update for get_flash_bank_by_name_noprobe Make sure we do not probe a flash when getting info. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-05-24 Spencer Oliver <ntfreak@users.sourceforge.net>
* : cfg: add pic32 virtual banks make use of the new virtual bank flash driver. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-05-26 Antonio Borneo <borneo.antonio@gmail.com>
* : NOR/CFI: fix memory leak; check malloc return value Every time command "flash probe #" is executed, memory structures
are re-allocated without preventive free() of former areas, causing
memory leak. Also, memory allocation does not check return value,
determining segmentation fault in case of out of memory. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-05-21 Freddie Chopin <freddie_chopin@op.pl>
* : All LPC2xxx chips are little endian and that cannot be changed -
update config scripts Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-05-21 Freddie Chopin <freddie_chopin@op.pl>
* : Update "flash bank" helper comments for LPC2xxx chips Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-05-21 yvind Harboe <oyvind.harboe@zylin.com>
* : at91sam9260: use RCLK It might be possible to get this target going without RCLK, but it
would require more careful analysis and usage of the reset events. Enable fast memory accesses. Tested on an at91sam9260 custom board w/external DRAM and flash. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-05-21 Spencer Oliver <ntfreak@users.sourceforge.net>
* : arm_adi_v5: correct ahbap_debugport_init mem-ap id (bug #23) We request a id register read at the end of ahbap_debugport_init but
we never actually run the queue. In some cases this causes a
segfault. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-05-20 gcembed <gcembed@gmail.com>
* : nand : Add Freescale iMX27 nand flash controller support This patch add support of iMX27 nand flash controller. This is based
on driver for imx31 nand flash controller. OOB functionality is not
fully working. As in mx31 controller, mx2 NFC has a bug that swap
two bytes between SPARE and MAIN buffer. I used this driver for
several months and no problems appear.
2010-05-18 Gary Carlson <gcarlson@carlson-minot.com>
* : target: slow targets could cause GDB to time out This second half of the patch is proposed to clean up some GDB keep
alive issues on arm7_9 targets that start up with very slow clocks.
If an attempt is made to write to key registers on the processor
with a slow jtag speed, GDB timeout warnings appear on the console
(at least mine) when "reset halt" or "reset init" commands are
issued from the gdb client: *** BEFORE PATCH *** (gdb) monitor reset init fast memory access is disabled 2 kHz
keep_alive() was not invoked in the 1000ms timelimit. GDB alive
packet not sent! (1026). Workaround: increase "set remotetimeout" in
GDB JTAG tap: at91sam9g20.cpu tap/device found: 0x0792603f (mfg:
0x01f, part: 0x7926, ver: 0x0) target state: halted target halted in
ARM state due to breakpoint, current mode: Supervisor cpsr:
0x000000d3 pc: 0x00000000 MMU: disabled, D-Cache: disabled, I-Cache:
disabled keep_alive() was not invoked in the 1000ms timelimit. GDB
alive packet not sent! (1027). Workaround: increase "set
remotetimeout" in GDB keep_alive() was not invoked in the 1000ms
timelimit. GDB alive packet not sent! (1006). Workaround: increase
"set remotetimeout" in GDB keep_alive() was not invoked in the
1000ms timelimit. GDB alive packet not sent! (1006). Workaround:
increase "set remotetimeout" in GDB keep_alive() was not invoked in
the 1000ms timelimit. GDB alive packet not sent! (1006). Workaround:
increase "set remotetimeout" in GDB keep_alive() was not invoked in
the 1000ms timelimit. GDB alive packet not sent! (1004). Workaround:
increase "set remotetimeout" in GDB RCLK - adaptive dcc downloads
are enabled fast memory access is enabled NAND flash device 'NAND
256MiB 3,3V 8-bit' found (gdb) I added additional keep alive steps in areas that troubleshooting
revealed were causing problems. I only did this however for
non-fast write memory accesses. I don't think most people would be
using fast memory accesses to write to memory when the jtag and
system clocks are slow anyway. If you disagree with my feeling, think there is a more elegant way
to handle the problem, or think the patch will cause other
unforeseen problems with other targets, let me know. As you can see
below, the patch does eliminate the problem on my development
station and I suspect that it will benefit others. *** AFTER PATCH *** (gdb) monitor reset init fast memory access is disabled 2 kHz JTAG
tap: at91sam9g20.cpu tap/device found: 0x0792603f (mfg: 0x01f, part:
0x7926, ver: 0x0) target state: halted target halted in ARM state
due to breakpoint, current mode: Supervisor cpsr: 0x000000d3 pc:
0x00000000 MMU: disabled, D-Cache: disabled, I-Cache: disabled RCLK
- adaptive dcc downloads are enabled fast memory access is enabled
NAND flash device 'NAND 256MiB 3,3V 8-bit' found (gdb) Gary Carlson Gary Carlson, MSEE Principal Engineer Carlson-Minot Inc.
2010-05-18 yvind Harboe <oyvind.harboe@zylin.com>
* : zy1000: fix false positive warning about unitialized local
variable Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-05-17 Jon Povey <jon.povey@racelogic.co.uk>
* : NAND/davinci: Fix segfault for hwecc4_infix reads Page reads using hwecc4_infix layout segfaulted for check_bad_blocks
because the read assumed a valid data buffer, which check_bad_blocks
does not use (it only passes a 6 byte buffer for the start of OOB). This version copes with undersized or missing data or oob buffers
and uses random read commands within the page to skip unwanted areas
of data/OOB for speed. NOTE: Running check_bad_blocks with this layout will be reading
infix OOB locations, not manufacturer bad block markers. This means
that if you check blocks written in infix layout they will appear
good, but manufacturer- marked bad blocks may also appear good. If
you want to scan for manufactuer-marked bad blocks, you need to
enable raw_access before running check_bad_blocks, or use the
non-infix layout. Signed-off-by: Jon Povey <jon.povey@racelogic.co.uk> CC: David
Brownell <dbrownell@users.sourceforge.net>
2010-05-17 Spencer Oliver <ntfreak@users.sourceforge.net>
* : gdbserver: gdb cmds returning failure on success The gdb_memory_map cmd for example fell through and returned
ERROR_COMMAND_SYNTAX_ERROR on success - behaviour is now as
expected. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-05-11 Antonio Borneo <borneo.antonio@gmail.com>
* : NOR/CFI: minor code cleanup Remove few LOG_DEBUG() messages, together with code and variables
required to build such messages. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-05-11 Antonio Borneo <borneo.antonio@gmail.com>
* : NOR: add read() callback to struct flash_driver Final target is to force bus_width size during CFI flash read. In
this first step I need to replace default flash read with flash
specific implementation. This patch introduces: - flash_driver_read() layer; - default_flash_read(), backward compatible; - read() callback in struct flash_driver; - proper initialization in every flash_driver instance. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-05-07 Antonio Borneo <borneo.antonio@gmail.com>
* : NOR: fix comment for Doxygen Either bus_width and chip_width are in bytes. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-05-07 Antonio Borneo <borneo.antonio@gmail.com>
* : NOR/CFI: use bus_width for memory access in cfi_write() During cfi_write(), head and tail of destination area could be not
aligned to bus_width. Since write operation must be at bus_width
size, source buffer size is extended and buffer padded with current
values read from flash. Force using bus_width to read current value from flash. Do not use
cfi_add_byte() anymore, to allow removing this function later on. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-04-20 Antonio Borneo <borneo.antonio@gmail.com>
* : NOR/CFI: identify memory accesses not using "bus_width". Since NOR flash devices does not handle "byte enable lanes", each
read/write access involves the whole "chip_width". When multiple
devices are in parallel, usually all chips are enabled during each
access. All such cases are compatible with flash accesses at
"bus_width" size. Access at "bus_width" size is mandatory for write access to avoid
transferring of garbage values to flash. During read access the
flash controller should take care, and discard unneeded bytes.
Anyway, it is good practice to use "bus_width" size also for read. Every memory access that does not respect "bus_width" size is marked
with a "FIXME" comment. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-04-16 Antonio Borneo <borneo.antonio@gmail.com>
* : NOR/CFI: check "flash bank" command arguments Arguments chip_width and bus_width of command "flash bank" are not
fully checked. While bus_width is later on redundantly checked in
several other parts (e.g. in cfi_command_val()) and generates
run-time error, chip_width is never checked, nor related to actual
bus_width value. Added check to avoid: - (chip_width == 0), that would mean no memory chip at all, avoiding also division by zero e.g. in cfi_get_u8(); - (bus_width == 0), that would mean no bus at all; - unsupported cases of chip_width or bus_width value not power of 2; - unsupported case of chip width wider than bus. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-05-14 Jun Ma <sync.jma@gmail.com>
* : missing pointer's declaration when enable macro
-D_DEBUG_GDB_IO_. reproducable when "./configure --enable-maintainer-mode
CFLAGS=-D_DEBUG_GDB_IO_" Signed-off-by: Jun Ma <sync.jma@gmail.com> Signed-off-by: Øyvind
Harboe <oyvind.harboe@zylin.com>
2010-05-13 Jon Povey <jon.povey@racelogic.co.uk>
* : NAND: fix off-by-one error in erase command argument range The last_block argument to nand_erase() is checked against
nand->num_blocks, but the highest valid block number is (total - 1),
the test for invalid should be ">=" rather than ">". Signed-off-by: Jon Povey <jon.povey@racelogic.co.uk> Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com>
2010-05-12 Spencer Oliver <ntfreak@users.sourceforge.net>
* : flash: require unique flash bank name Make sure the flash bank name is unique Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-05-12 yvind Harboe <oyvind.harboe@zylin.com>
* : zy1000.cfg: gdb connect will fail first time without gdb-attach gdb-attach does a reset init to make sure that the CFI probe will
succeed upon first gdb connect. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-05-10 Karl Kurbjun <kkurbjun@gmail.com>
* : Fujitsu MBM29SL800TE flash support Hi, This is my first post to the list. First, I would like to thank
everyone for their work on OpenOCD, it is a great tool to work with.
I have been using it to debug code on hardware for the Rockbox
project (www.rockbox.org). The target that I primarily work with has a Spansion/Fujitsu NOR
flash (MBM29SL800TE). I attached a patch that adds support for this
flash. I hope it can be included in the main repository. If there
is something that needs to be changed with the patch before
inclusion please let me know. -Karl Kurbjun
2010-05-11 Marc Pignat <marc.pignat@hevs.ch>
* : Documentation : arm920t implements armv4 There is a small typo in the cpu list, arm920t is armv4.
2010-05-10 Spencer Oliver <ntfreak@users.sourceforge.net>
* : armv7m: 20 second timeout/megabyte for CRC check There was a fixed 20 second timeout which is too little for large,
slow timeout checks. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-05-07 Spencer Oliver <ntfreak@users.sourceforge.net>
* : cfg: add stm32eval board configs Increase working area for stm3210e_eval.cfg. Add new configs for
the following boards: STM321000B-EVAL, STM32100C-EVAL,
STM32100B-EVAL Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-05-05 yvind Harboe <oyvind.harboe@zylin.com>
* : flash: stop caching protection state There are a million reasons why cached protection state might be
stale: power cycling of target, reset, code executing on the target,
etc. The "flash protect_check" command is now gone. This is *always*
executed when running a "flash info". As a bonus for more a more robust approach, lots of code could be
deleted. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-05-05 yvind Harboe <oyvind.harboe@zylin.com>
* : cfi: fix error handling for protect fn No error was propagated. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-05-04 yvind Harboe <oyvind.harboe@zylin.com>
* : gdb: connect will now fail if flash autoprobe fails This stops GDB from launching with an empty memory map, making gdb
load w/flashing fail for no obvious reason. The error message points in the direction of the gdb-attach event
that can be set up to issue a halt or "reset init" which will put
GDB in a well defined stated upon attach and thus have a robust
flash autoprobe. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-05-03 Matthias Bode <papabaer.embedded@googlemail.com>
* : Fixed bug in tcl-server No segmentationfault when sending commands to tcl-server. modified: src/server/server.c modified: src/server/tcl_server.c modified: src/server/tcl_server.h
2010-05-04 yvind Harboe <oyvind.harboe@zylin.com>
* : flash: more flash write_image bugfixes Remove/fix lots of bugs in handling of non-contigious sections and
out of order sections. Fix a gaffe introduced in previous commit to src/flash/nor/core.c Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-05-05 Marc Pignat <marc.pignat@hevs.ch>
* : documentation typo Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-05-04 Spencer Oliver <ntfreak@users.sourceforge.net>
* : str71x: fix previous commit fix build issue with 70226c221f5879bb6126ff3f2ec9ae64c68d80d6 commit Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-05-03 yvind Harboe <oyvind.harboe@zylin.com>
* : str7x: fix bogus error messages Remove bogus error messages when trying to allocate a large chunk of
target memory and then falling back to a smaller one. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-05-04 yvind Harboe <oyvind.harboe@zylin.com>
* : zy1000: wait for srst to deassert make wait for srst deassert more long latency friendly (JTAG over
TCP/IP), print actual time if it was more than 1ms. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-04-30 Tobias Ringstrm <tobias@ringis.se>
* : STM32 flash erase timeout fix The current timeout for STM32 flash block erase and flash mass erase
is 10 (ms), which is too tight, and fails around 50% of the time for
me. The data sheet for STM32F107VC specifies a maximum erase time
of 40 ms (for both operations). I'd also consider it a bug that the code does not detect a timeout,
but just assumes that the operation has completed. The attached
patch does not address this bug. The attached patch increases the timeouts from 10 to 100 ms. Please
apply. /Tobias
2010-04-29 yvind Harboe <oyvind.harboe@zylin.com>
* : flash: write_image would fail for certain images Fix a bug where write_image would fail if the sections in the image
were not in ascending order. This has previously been fixed in gdb
load. Solved by sorting the image sections before running flash
write_image erase unlock foo.elf. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-04-28 yvind Harboe <oyvind.harboe@zylin.com>
* : nor: remove bogus output about padding sections padding of 0 bytes is actually no padding, do not output warning
about padding in that case. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-04-26 Marek Vasut <marek.vasut@gmail.com>
* : Add VPACLink interface definition This patch adds definition file for the Voipac VPACLink JTAG
adaptor. The adaptor is combined JTAG/UART device. Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
2010-04-24 michal smulski <michal.smulski@ooma.com>
* : telo: update configuration scripts to matched master branch Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-04-20 michal smulski <michal.smulski@ooma.com>
* : docs: improve load_image docs add docs for missing args. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-04-17 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : stm32x: allow flash probe on a running target If the flash has not yet been probed and GDB connects while the
target is running, the flash probe triggered by GDB's memory map
read will fail. In that case the returned memory map will be empty,
causing a subsequent load from within GDB to fail. There's not much
you can do from GDB to recover, other than a restart; a 'mon reset
init' and manual 'mon flash probe' won't help since GDB has already
made up its mind about the memory map. It seems there's no reason to require the target to be halted when
probing the flash. Remove the check to let a valid memory map be
provided to GDB even when connecting to a running target. Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
2010-04-14 Antonio Borneo <borneo.antonio@gmail.com>
* : NOR/CFI: remove redundant code Arguments for "flash bank" command are already parsed and put in
"bank" struct. Removed code to parse them again. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-04-13 Mike Dunn <mikedunn@newsguy.com>
* : xscale: fix analyze_trace for trace data collected in wrap mode This patch fixes the xscale_analyze_trace() function. This function
was defective for a trace collected in 'fill' mode (hiccups with
repeated instructions) and completely broken when buffer overflowed
in 'wrap' mode. The reason for the latter case is that the
checkpoint registers were interpreted incorrectly when two
checkpoints are present in the trace (which will be true in 'wrap'
mode once the buffer fills). In this case, checkpoint1 register
will contain the older entry, and checkpoint0 the newer. The
original code assumed the opposite. I eventually gave up trying to
understand all the logic of the function, and rewrote it. I think
it's much cleaner and understandable now. I have been using and
testing this for a few weeks now. I'm confident it hasn't regressed
in any way. Also added capability to handle (as best as possible) the case where
an instruction can not be read from the loaded trace image; e.g.,
partial image. This was a 'TODO' comment in the original
xscale_analyze_trace(). Outside of xcsale_analyze_trace(), these (related) changes were
made: - Remove pc_ok and current_pc elements from struct xscale_trace.
These elements and associated logic are useless clutter because the
very first entry placed in the trace buffer is always an indirect
jump to the address at which execution resumed. This type of trace
entry includes the literal address in the trace buffer, so the
initial address of the trace is immediately determined from the
trace buffer contents and does not need to be recorded when trace is
enabled. - Added num_checkpoints to struct xscale_trace_data, which is
necessary in order to correctly interpret the checkpoint register
contents. - In xscale_read_trace() - Fix potential array out-of-bounds condition. - Eliminate partial address entries when parsing trace (can occur
in wrap mode). - Count and record number of checkpoints in trace. - Added small, inlined utility function xscale_display_instruction()
to help make the code more concise and clear. TODO: - Save processor state (arm or thumb) in struct xscale_trace when
trace is enabled so that trace can be analyzed correctly (currently
assumes arm mode). - Add element to struct xscale_trace that records (when trace is
enabled) whether vector table is relocated high (to 0xffff0000) or
not, so that a branch to an exception vector is traced correctly
(curently assumes vectors at 0x0).
2010-04-14 Anton Fedotov <AD.Fedotov@gmail.com>
* : cortex-a8: more MMU support + virt2phys() can now convert virtual address to real +
read_memory() and write_memory() are renamed to read_phys_memory()
and write_phys_memory() + new read_memory() and write_memory() try
to resolve real address if mmu is enambled than perform real address
reading/writing + if address is bellow 0xc000000 than TTB0 is used
for page table dereference, if above - than TTB1. Linux style of
user/kernel address separation + if above fails (i.e address is unspecified) than mode is
checked whether it is Supervisor (than TTB1) or User (than TTB0) - Software breakpoints doesn't work. You should invoke
"gdb_breakpoint_override hard" before you start debugging +
cortex_a8_mmu(), cortex_a8_enable_mmu_caches(),
cortex_a8_disable_mmu_caches() are implemented Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-04-11 Antonio Borneo <borneo.antonio@gmail.com>
* : NOR/TMS470: review scope of symbols Add "static" qualifier to private functions and data. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-04-11 Antonio Borneo <borneo.antonio@gmail.com>
* : TARGET/MIPS32_PRACC: review scope of functions Add "static" qualifier to private functions. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-04-10 Antonio Borneo <borneo.antonio@gmail.com>
* : HELPER/LOG: review unused symbols Remove unused functions: - log_catch - log_rethrow - log_try Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-04-10 Antonio Borneo <borneo.antonio@gmail.com>
* : NOR/CFI: review scope of functions Add "static" qualifier to private functions. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-04-10 Antonio Borneo <borneo.antonio@gmail.com>
* : OPENOCD: review scope of functions Add "static" qualifier to private functions. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-04-10 Antonio Borneo <borneo.antonio@gmail.com>
* : BINARYBUFFER: review scope of data and functions Add "static" qualifier to private data and functions. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-04-10 Antonio Borneo <borneo.antonio@gmail.com>
* : NAND/TCL: review scope of functions Add "static" qualifier to private functions. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-04-10 Antonio Borneo <borneo.antonio@gmail.com>
* : NAND/ARM_IO: review scope of functions Add "static" qualifier to private functions. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-04-10 Antonio Borneo <borneo.antonio@gmail.com>
* : NAND/MX3: review scope of data Add "static" qualifier to private data. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-04-10 Antonio Borneo <borneo.antonio@gmail.com>
* : NOR/AVRF: review scope of data Add "static" qualifier to private data. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-04-10 Antonio Borneo <borneo.antonio@gmail.com>
* : NOR/DRIVERS: review scope of functions Add "static" qualifier to private functions. Remove unused "extern"
in src/ecosboard.c Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-04-10 Antonio Borneo <borneo.antonio@gmail.com>
* : TCL: review scope of functions Add "static" qualifier to private functions. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-04-10 Antonio Borneo <borneo.antonio@gmail.com>
* : HELLO: review unused symbols Remove unused functions: - hello_register_commands Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-04-10 Antonio Borneo <borneo.antonio@gmail.com>
* : ADI_V5_JTAG: review scope of data Add "static" qualifier to private data. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-04-10 Antonio Borneo <borneo.antonio@gmail.com>
* : ARM_JTAG: review scope of functions Add "static" qualifier to private functions. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-04-10 Antonio Borneo <borneo.antonio@gmail.com>
* : ARMV4_5_MMU: review unused symbols Remove unused data: - armv4_5_mmu_page_type_names Remove prototype of not existing
function: - armv4mmu_translate_va Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-04-10 Antonio Borneo <borneo.antonio@gmail.com>
* : EMBEDDEDICE: review scope of functions Add "static" qualifier to private functions. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-04-10 Antonio Borneo <borneo.antonio@gmail.com>
* : TARGET: review scope of functions Add "static" qualifier to private functions. Remove unused "extern"
in src/ecosboard.c Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-04-04 David Brownell <dbrownell@users.sourceforge.net>
* : Restore deleted '!' character I'm not sure what caused this significant character to get deleted.
it may be related to intermittent Editor or terminal flakes I've
been seeing lately (sigh). This fix is trivial. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-04-04 David Brownell <dbrownell@users.sourceforge.net>
* : simplify and unconfuse target_run_algorithm() For some reason there are *two* schemes for interposing logic into
the run_algorithm() code path... One is a standard procedural
wapper around the target method invocation. the other (superfluous) one hacked the method table by splicing a
second procedural wrapper into the method table. Remove it: * Rename its slightly-more-featureful wrapper so it becomes the standard procedural wrapper, leaving its added logic (where it should have been in the first place. Also add a paranoia check, to report targets that don't support algorithms without traversing a NULL pointer, and tweak its code structure a bit so it's easier to modify. * Get rid of the superfluous/conusing method table hacks. This is a net simplification, making it simpler to analyse what's
going on, and then interpose logic . ... by ensuring there's only
one natural place for it to live. ------------ Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-03-28 Mike Dunn <mikedunn@newsguy.com>
* : xscale: fix trace buffer functionality when resuming from a
breakpoint Problem: halt at a breakpoint, enable trace buffer ('xscale
trace_buffer enable fill'), then resume. Wait for debug exception
when trace buffer fills (if not sooner due to another breakpoint,
vector catch, etc). Instead, never halts. When halted explicitly
from OpenOCD and trace buffer dumped, it contains only one entry; a
branch to the address of the original breakpoint. If the above
steps are repeated, except that the breakpoint is removed before
resuming, the trace buffer fills and the debug exception is
generated, as expected. Cause: related to how a breakpoint is stepped over on resume. The
breakpoint is temporarily removed, and a hardware breakpoint is set
on the next instruction that will execute. xscale_debug_entry() is
called when that breakpoint hits. This function checks if the trace
buffer is enabled, and if so reads the trace buffer from the target
and then disables the trace (unless multiple trace buffers are
specified by the user when trace is enabled). Thus you only trace
one instruction before it is disabled. Solution: kind of a hack on top of a hack, but it's simple.
Anything better would involve some refactoring. This has been
tested and trace now works as intended, except that the very first
instruction is not part of the trace when resuming from a
breakpoint. TODO: still many issues with trace: doesn't work during
single-stepping (trace buffer is flushed each step), 'xscale
analyze_trace' works only marginally for a trace captured in 'fill'
mode, and not at all for a trace captured in 'wrap' mode. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-03-26 Antonio Borneo <borneo.antonio@gmail.com>
* : NOR TCL: fix usage message The command "flash bank" has updated syntax. Add the mandatory
parameter <target> to the usage message that prints in case of
error. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-03-04 yvind Harboe <oyvind.harboe@zylin.com>
* : zy1000: dev tool first cut peek/poke over tcp/ip, used for debug/research purposes
only. Long term JTAG over TCP/IP might be an offshoot. The
performance is usable for development/testing purposes. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-03-25 Daniel Bder <openocd@eh-oh.de>
* : change %x and %d to PRIx32 and PRId32 where needed for cygwin
2010-03-24 Antonio Borneo <borneo.antonio@gmail.com>
* : telnet_server: review unused symbols Remove unused function Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-03-24 David Brownell <dbrownell@users.sourceforge.net>
* : FT2232 Messaaging fix The init cleanup patch overlooked a message which was wrongly
specific to the "usbjtag" layout. Fix. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-03-24 Antonio Borneo <borneo.antonio@gmail.com>
* : server: review scope of functions and data Add "static" qualifier to private functions and data. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-03-20 Mike Dunn <mikedunn@newsguy.com>
* : fix software breakpoints on xscale This patch fixes xscale software breakpoints by cleaning the dcache
and invalidating the icache after the bkpt instruction is inserted
or removed. The icache operation is necessary in order to flush the
fetch buffers, even if the icache is disabled (see section 4.2.7 of
the xscale core developer's manual). The dcache is presumed to be
enabled; no harm done if not. The dcache is also invalidated after
cleaning in order to safeguard against a future load of invalid
data, in the event that cache_clean_address points to memory that is
valid and in use. Also corrected a confusing typo I noticed in a comment. TODO (or not TODO...?): the xscale's 2K "mini dcache" is not
cleaned. This cache is not used unless the 'X' bit in the page
table entry is set. This is a proprietary xscale extension to the
ARM architecture. If a target's OS or executive makes use of this
for memory regions holding code, the breakpoint problem will
persist. Flushing the mini dcache requires that 2K of valid
cacheable memory (mapped with 'X' bit set) be designated by the user
for this purpose. The debug handler that gets downloaded to the
target will also need to be extended.
2010-03-21 David Brownell <dbrownell@users.sourceforge.net>
* : ft2232 init mess cleanup In the ft2232 driver, initialization for many layouts punts to a
routine called usbjtag_init(), instead of a routine specific to each
layout. That routine is a mess built around a "what type layout am I"
core. That's a bad design ... in this case, especially so, since it
bypasses the layout-specific dispatch which was just done, and
obfuscates the initialization which is at least somewhat generic,
instead of being specific to the "usbjtag" layout. Split and document out the generic parts of usbjtag_init(), and make
the rest of those layouts have layout-specific init methods. Also,
rename usbjtag_reset() ... that also was not specific to the
"usbjtag" layout, and thus contributed to the previous code
structure confusion. (Eventually, all layout-specific code (and method tables) should
probably live in files specific to each layout. These changes will
facilitate those and other cleanups to this driver.) Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-03-19 yvind Harboe <oyvind.harboe@zylin.com>
* : jtag: make out_value const Tightens up the jtag_add_xxx_scan() API Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-03-19 David Brownell <dbrownell@users.sourceforge.net>
* : FT2232 comment tweaks Note that the FT4232 chips have four channels not two, and Elaborate
on uses of the additional channels. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-03-19 yvind Harboe <oyvind.harboe@zylin.com>
* : zy1000: fix bug in end state of DCC writes Introduced in latest commits, found by code inspection & GCC
warning. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-03-18 yvind Harboe <oyvind.harboe@zylin.com>
* : jtag: remove jtag_get_end_state() usage Code inspection indicated what constant end states to use. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-03-18 yvind Harboe <oyvind.harboe@zylin.com>
* : jtag: remove unecessary usage of jtag_get_end_state(). By code inspection. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-03-18 Mike Dunn <mikedunn@newsguy.com>
* : Fix underlying problem with xscale icache and dcache commands Fix problem with the xscale icache and dcache commands. Both
commands were enabling or disabling the mmu, not the caches I didn't look any further after my earlier patch fixed the trivial
problem with command argument parsing. Turns out the underlying
code was broken. The resolution is straightforward when you look at the arguments to
xscale_enable_mmu_caches() and xscale_disable_mmu_caches(). I
finally took a deeper look after dumping the cp15 control register
(XSCALE_CTRL) and seeing that the cache bits weren't changing, but
the mmu bit was (which caused all manner of grief, as you can
imagine). This has been tested and works OK now. src/target/xscale.c | 17 +++++++++++------ 1 files changed, 11 insertions(+), 6 deletions(-) Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-03-18 David Brownell <dbrownell@users.sourceforge.net>
* : commit 52a788e008ecf0ca6156f02de08a0f062d49a236 Author: David
Brownell <dbrownell@users.sourceforge.net> Date: Thu Mar 18
11:56:17 2010 -0700
2010-03-18 yvind Harboe <oyvind.harboe@zylin.com>
* : jtag: retire one instance of jtag_get_end_state() usage Less global variables.... Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-03-18 Spencer Oliver <ntfreak@users.sourceforge.net>
* : DOCS: update flash bank examples - include the $_FLASHNAME in all flash bank examples. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-03-17 Spencer Oliver <ntfreak@users.sourceforge.net>
* : MIPS: remove unused arg from mips_ejtag_set_instr This arg was never used and was just taken from the arm jtag code. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-03-17 yvind Harboe <oyvind.harboe@zylin.com>
* : linker error: fix problem with duplicate fn A fn was copied instead of moved to a new file. The linker can
discard exact copies of fn's without warning. This is a C++'ism. However on my Ubuntu 9.10 machine, it fails. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-03-17 yvind Harboe <oyvind.harboe@zylin.com>
* : gdb: long running "monitor mww" now works w/gdb invoke keep_alive() to make sure that the default 2000ms timeout
does not trigger. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-03-17 yvind Harboe <oyvind.harboe@zylin.com>
* : target: mdX/mwX on target were badly broken - incorrect parsing of arguments - mdX didn't display arguments correctly I don't think anyone ever used that code path :-) Did you know that "target mdw" and mdw are very different? for {set i 0} {$i < 256} {set i [expr $i+1]} {mwb [expr
0x2000000+$i] $i} mdw 0x2000000 0x10 0x02000000: 03020100 07060504 0b0a0908 0f0e0d0c
13121110 17161514 1b1a1918 1f1e1d1c 0x02000020: 23222120 27262524
2b2a2928 2f2e2d2c 33323130 37363534 3b3a3938 3f3e3d3c > zy1000.cpu mdb 0x2000000 0x20 0x02000000 00 01 02 03 04 05 06 07
08 09 0a 0b 0c 0d 0e 0f ................ 0x02000010 10 11 12 13 14
15 16 17 18 19 1a 1b 1c 1d 1e 1f ................ > zy1000.cpu mdh
0x2000000 0x20 0x02000000 0100 0302 0504 0706 0908 0b0a 0d0c 0f0e
................ 0x02000010 1110 1312 1514 1716 1918 1b1a 1d1c 1f1e
................ 0x02000020 2120 2322 2524 2726 2928 2b2a 2d2c 2f2e
!"#$%&'()*+,-./ 0x02000030 3130 3332 3534 3736 3938 3b3a 3d3c 3f3e
0123456789:;<=>? > zy1000.cpu mdw 0x2000000 0x20 0x02000000 03020100
07060504 0b0a0908 0f0e0d0c ................ 0x02000010 13121110
17161514 1b1a1918 1f1e1d1c ................ 0x02000020 23222120
27262524 2b2a2928 2f2e2d2c !"#$%&'()*+,-./ 0x02000030 33323130
37363534 3b3a3938 3f3e3d3c 0123456789:;<=>? 0x02000040 43424140
47464544 4b4a4948 4f4e4d4c @ABCDEFGHIJKLMNO 0x02000050 53525150
57565554 5b5a5958 5f5e5d5c PQRSTUVWXYZ[\]^_ 0x02000060 63626160
67666564 6b6a6968 6f6e6d6c `abcdefghijklmno 0x02000070 73727170
77767574 7b7a7978 7f7e7d7c pqrstuvwxyz{|}~. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-03-16 Spencer Oliver <ntfreak@users.sourceforge.net>
* : PIC32: add software reset support The PIC32MX does not support the ejtag software reset - it is
optional in the ejtag spec. We perform the equivalent using the microchip specific MTAP cmd's. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-03-16 yvind Harboe <oyvind.harboe@zylin.com>
* : gdb_server: improved gdb load performance by ack'ing memory writes immediately and reporting either at next
memory write or stepi/continue time. GDB will then send off a new
packet that is ready by the time the previous packet has been
written to target memory. On faster adapters this can be as much as 10% improvement. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-03-16 yvind Harboe <oyvind.harboe@zylin.com>
* : arm7/9: remove unused post_restore_context Unused. If something should happen after context restore, then the
calling code can just do it afterwards. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-03-01 yvind Harboe <oyvind.harboe@zylin.com>
* : bitbang: add jtag_add_tms_seq support Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-03-16 Spencer Oliver <ntfreak@users.sourceforge.net>
* : PIC32: add Microchip Explorer16 cfg - add Microchip Explorer16 cfg using PIC32MX360F512L PIM. - remove reset config from PIC32 target cfg. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-03-15 Bradey Honsinger <bradeyh@gmail.com>
* : image loading: fix problem with offsets > 0x80000000 Fixes bug that prevented users from specifying a base address of
0x80000000 or higher in image commands (flash write_image, etm
image, xscale trace_image). image.base_address is an offset from the start address contained in
the image file (if there is one), or from 0 (for binary files). As a
signed 32-bit int, it couldn't be greater than 0x7fffffff, which is
a problem when trying to write a binary file to flash above that
address. Changing it to a 64-bit long long keeps it as a signed
offset, but allows it to cover the entire 32-bit address space. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-03-15 David Brownell <dbrownell@users.sourceforge.net>
* : rename jtag_nsrst_assert_width as adapter_nsrst_assert_width Globally rename "jtag_nsrst_assert_width" as
"adapter_nsrst_assert_width", and move it out of the "jtag" command
group ... it needs to be used with non-JTAG transports Includes a migration aid (in jtag/startup.tcl) so that old user
scripts won't break. That aid should Sunset in about a year. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-03-15 David Brownell <dbrownell@users.sourceforge.net>
* : rename jtag_khz as adapter_khz Globally rename "jtag_khz" as "adapter_khz", and move it out of the
"jtag" command group ... it needs to be used with non-JTAG
transports Includes a migration aid (in jtag/startup.tcl) so that old user
scripts won't break. That aid should Sunset in about a year. (We
may want to update it to include a nag message too.) Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-03-15 Spencer Oliver <ntfreak@users.sourceforge.net>
* : PIC32MX: update cfg script The default config script will now dynamically setup the BMX
registers in the reset init script. This will also work if the user
overrides the default working area. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-03-14 David Brownell <dbrownell@users.sourceforge.net>
* : FT2232: lookup and save layout just once Streamline use of the layout: have the "ft2232_layout" command look
it up and save the result, instead of having a few different chunks
of code looking it up later, and saving just its name (which is
already part of the layout). This - is cleaner - reports errors sooner - facilitates earlier adapter-specific setup - removes unused "default to "usbjtag" logic Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-03-11 David Brownell <dbrownell@users.sourceforge.net>
* : versaloon cleanup patch Remove undesirable - backslashes at end-of-line; - initializations of BSS data to zero/NULL; - overlong lines (80+ characters) - whitespace issues - brackets around single-line statements And other minor issues reported by the Linux "checkpatch" utility Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-03-08 Michal Demin <michaldemin@gmail.com>
* : Add support for Bus Pirate as a JTAG adapter. This includes a driver and matching config file. This support needs
to be enabled through the initial "configure" (use
"--enable-buspirate"). Signed-off-by: Michal Demin <michaldemin@gmail.com> Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net>
2010-03-10 Spencer Oliver <ntfreak@users.sourceforge.net>
* : MIPS: make fixed code arrays static const Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-03-08 Spencer Oliver <ntfreak@users.sourceforge.net>
* : PIC32: add flash algorithm support Add flash algorithm support for the PIC32MX. Still a few things
todo but this dramatically decreases the programing time, eg. approx
programming for 2.5k test file. - without fastload: 60secs - with fastload: 45secs - with fastload and algorithm: 2secs. Add new devices to supported list. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-03-08 Spencer Oliver <ntfreak@users.sourceforge.net>
* : STR7: flash loader cleanup - make algorithm array static const. - increase algorithm buffer size to 32k. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-03-08 Spencer Oliver <ntfreak@users.sourceforge.net>
* : ADUC702x: flash loader cleanup - make algorithm array static const. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-03-08 David Brownell <dbrownell@users.sourceforge.net>
* : move a constant table to .rodata section The table of command registration functions shouldn't be in writable
memory, where stray pointers can clobber it. Also, it shouldn't be
initialized at runtime; that just consumes needless code space. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-03-08 yvind Harboe <oyvind.harboe@zylin.com>
* : zy1000: embedded ice dcc tweak How many bits to shift out before/after enabled tap not in bypass is
calculated outside the loop. This is more of a demonstration of
principle and to clarify code than a performance optimisation as
such. Follows up a bit on the simplification work in jtag interface. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-03-04 yvind Harboe <oyvind.harboe@zylin.com>
* : jtag: jtag_add_ir_scan() now takes a single field In the code a single field was all that was ever used. Makes
jtag_add_ir_scan() simpler and leaves more complicated stuff to
jtag_add_plain_ir_scan(). Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-03-06 Antonio Borneo <borneo.antonio@gmail.com>
* : CFI: review print of Voltage values JEDEC standard reports Vpp integer part encoded as 4 bit HEX value.
To print it using decimal digits, %u is required. Other voltage
values are coded as BCD, so %x is appropriate. Code already prints one nibble at a time, so no need for field width
and precision in format string. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-03-05 David Brownell <dbrownell@users.sourceforge.net>
* : README: update libftdi version The FT2232H really wants libftdi 0.17 or newer; some notable bugs
got fixed in that version. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-03-04 yvind Harboe <oyvind.harboe@zylin.com>
* : minidriver: fix arm11 compilation problem Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-03-03 David Brownell <dbrownell@users.sourceforge.net>
* : NOR: trim range in flash_driver_protect() When the beginning or end of the specified range of sectors already
has the requested protection status, don't ask the flash driver to
change those sectors. This will among other things turn command sequences like this into
the NOPs one would expect: flash protect_check 0 flash info 0 ... reports everything as unprotected ... flash protect 0 0 1 off That speeds things up (by whatever work was just avoided). Also, with Stellaris (which can't unprotect flash at page level)
this can eliminate some undesirable/false error reports. (And
finishes fixing a bug currently listed in our bug database...) Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-03-03 David Brownell <dbrownell@users.sourceforge.net>
* : NOR: stellaris message tweaks Give a more accurate failure message when trying to unprotect; don't
complain about pages being write protected, just say that unprotect
is not supported by the hardware ... referencing the new "recover"
command, which is the way to achieve that. Likewise, when trying to protect, talk about "pages" (matching
hardware doc) not "sectors" (an concept that's alien to these
chips). Also make the helptext for the "recover" command mention that it
also erases the device. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-03-02 David Brownell <dbrownell@users.sourceforge.net>
* : ADIv5: use new DAP ops for AP read/write Make ADIv5 internals use the two new transport-neutral calls for
reading and writing DP registers; and do the same for external
callers. Also, bugfix some of their call sites to handle the fault
returns, instead of ignoring them. Remove most of the JTAG-specific calls, using their code as the
bodies of the JTAG-specific implementation for the new methods. NOTE that there's a remaining issue: mem_ap_read_buf_u32() makes
calls which are JTAG-specific. A later patch will need to remove
those, so JTAG-specific operations can be removed from this file,
and so that SWD support will be able to properly drop in as just a
transport layer to the ADIv5 infrastructure. (The way read results
are posted may need some more attention in the transport-neutrality
interface.) Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-03-02 David Brownell <dbrownell@users.sourceforge.net>
* : ADIv5: use new dap_run() operation Make ADIv5 use one of the new transport-neutral interfaces: call
dap_run(), not jtagdp_transaction_endcheck(). Also, make that old interface private; and bugfix some of its call
sites to handle the fault returns, instead of ignoring them. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-03-02 David Brownell <dbrownell@users.sourceforge.net>
* : target_resume() doxygen Add doxygen for target_resume() ... referencing the still-unresolved
confusion about what the "debug_execution" parameter means (not all
CPU support code acts the same). The 'handle_breakpoints" param seems to have resolved the main issue
with its semantics, but it wasn't part of the function spec before. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-03-02 David Brownell <dbrownell@users.sourceforge.net>
* : ADIv5: use right ID for Cortex-M3 ETM Correct a mistake made copying the ID of the Cortex-M3 ETM module
from the TRM, so that "dap info" on a CM3 with an ETM will now
correctly describe ROM table entries for such modules. (They are
included on LPC17xx and some other cores.) Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-03-01 yvind Harboe <oyvind.harboe@zylin.com>
* : zy1000: faster jtag_add_ir_scan() Faster and simpler. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-03-01 yvind Harboe <oyvind.harboe@zylin.com>
* : zy1000: add jtag_add_tms_seq support Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-02-28 Spencer Oliver <ntfreak@users.sourceforge.net>
* : armv4_5: remove core_type check in mcr/mrc cmd core_type check is not required as the core function will be null
for cores that do not support the mcr/mrc functions. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-02-28 Spencer Oliver <ntfreak@users.sourceforge.net>
* : stellaris: recover_command use usleep rather than sleep windows api does not define a posix sleep, use usleep that has an
openocd wrapper to the win32 native function. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-02-26 Spencer Oliver <ntfreak@users.sourceforge.net>
* : semihosting: add armv7m semihosting support do_semihosting and arm_semihosting now check the core type and use
the generic arm structure. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-02-26 Spencer Oliver <ntfreak@users.sourceforge.net>
* : CortexM3: move disassemble cmd to arm cmd group Rather than using a Cortex disassemble cmd, we now use the arm
generic version. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-01-13 Spencer Oliver <ntfreak@users.sourceforge.net>
* : MIPS: add mips algorithm support - add mips support for target algorithms. - added handlers for target_checksum_memory and
target_blank_check_memory. - clean up long lines Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-02-28 Mariano Alvira <mar@devl.org>
* : Add board/redbee-usb.cfg The Redbee USB is a small form-factor usb stick from Redwire, LLC (www.redwirellc.com/store), built around a Freescale MC13224V
ARM7TDMI + 802.15.4 radio (plus antenna). It includes an FT2232H for debugging, with Channel B connected to
the mc13224v's JTAG interface (unusual) and Channel A connected to
UART1. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-02-27 Mariano Alvira <mar@devl.org>
* : Add target/mc13224v.cfg The MC13224V is a FreeScale ARM7TDMI based IEEE802.15.4 platform for
Zigbee and similar low-power wireless applications. Using PIP
(Platform In Package) technology, it integrates: an RF balun and
matching network; a buck converter (only an external inductor is
necessary); 96KB of SRAM; and 128KB of non-volatile memory. It has an integrated bootloader and can boot from a variety of
sources: external SPI or I2C non-volatile memory, an image loaded
over UART1, or the internal non-volatile memory. The image loaded
from one of these sources is executed directly from SRAM starting at
location 0x00400000. Open source development code at http://mc1322x.devl.org Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-02-27 David Brownell <dbrownell@users.sourceforge.net>
* : ADIv5 DAP ops switching to JTAG or SWD modes Define two new DAP operations which use the new jtag_add_tms_seq()
calls to put the DAP's transport into either SWD or JTAG mode, when
the hardware allows. Tested with the Stellaris 'Recovering a "Locked" Device' procedure,
which loops five times over both of these. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-02-27 David Brownell <dbrownell@users.sourceforge.net>
* : interface: define TMS sequence command For support of SWD we need to be able to clock out special bit
sequences over TMS or SWDIO. Create this as a generic operation,
not yet called by anything, which is split as usual into: - upper level abstraction ... here, jtag_add_tms_seq(); - midlayer implementation logic hooking that to the lowlevel code; - lowlevel minidriver operation ... here, interface_add_tms_seq(); - message type for request queue, here JTAG_TMS. This is done slightly differently than other operations: there's a
flag saying whether the interface driver supports this request. (In
fact a flag *word* so upper layers can learn about other
capabilities too ... for example, supporting SWD operations.) That approach (flag) lets this method *eventually* be used to
eliminate pathmove() and statemove() support from most adapter
drivers, by moving all that logic into the mid-layer and increasing
uniformity between the various drivers. (Which will in turn reduce
subtle bugginess.) Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-02-24 David Brownell <dbrownell@users.sourceforge.net>
* : ARM ADIv5 doxygen and cleanup Add doxygen for mem_ap_read_buf_u{8,16,32}() calls, and shrink a few
overlong lines. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-02-23 David Brownell <dbrownell@users.sourceforge.net>
* : ARM ADIv5: rename more JTAG-specific routines Highlight more of the internal JTAG-specific utilities, so it's
easier to identify code needing changes to become transport-neutral. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-02-09 yvind Harboe <oyvind.harboe@zylin.com>
* : arm11: allow minidrivers to implement inner loop of memory
writes This allows minidrivers to e.g. hardware accelerate memory writes. Same trick as is used for arm7/9 dcc writes. Added error propagation for memory transfer failures in code
rearrangement. Also the JTAG end state is not updated until after the memory write
run is complete. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-02-21 David Brownell <dbrownell@users.sourceforge.net>
* : ft2232 table init cleanup Use labeled initializers in the table of layouts instead of
positional ones. This ls cleaner and less error prone, plus it
simplifies patches which add members to these structure. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-02-21 David Brownell <dbrownell@users.sourceforge.net>
* : ADIv5: relocate memacess_tck cycles When using an AP to access a memory (or a memory-mapped register),
some extra TCK (assuming JTAG) cycles should be added to ensure the
AP has enugh time to complete that access before trying to collect
the response. The previous code was adding these cycles *before* trying to access
(read or write) data to that address, not *after*. Fix by putting
the delays in the right location. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-02-21 David Brownell <dbrownell@users.sourceforge.net>
* : ARM: ADIv5, deadcode cleanup I have no idea what the scan_inout_check() was *expecting* to
achieve by issuing a read of the DP_RDBUFF register. But in any
case, that code was clearly never being called ("invalue" always
NULL) ... so remove it, and the associated comment. Also rename it as ap_write_check(), facilitating a cleanup of its
single call site by removing constant parameters. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-02-21 David Brownell <dbrownell@users.sourceforge.net>
* : ADIv5 clean up AP fault handling Pass up fault codes from various routines, so their callers can
clean up after failures, and remove the FIXME comments highlighting
those previously goofy code paths. dap_ap_{read,write}_reg_u32() dap_ap_write_reg() mem_ap_{read,write}_u32() mem_ap_{read,write}_atomic_u32() dap_setup_accessport() Make dap_ap_write_reg_u32() just wrap dap_ap_write_reg(), instead of
cloning its core code (and broken fault handling). Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-02-21 David Brownell <dbrownell@users.sourceforge.net>
* : ARM: keep a handle to the PC Keep a handle to the PC in "struct arm", and use it. This register
is used a fair amount, so this is a net minor code shrink (other
than some line length fixes), but mostly it's to make things more
readable. For XScale, fix a dodgy sequence while stepping. It was
initializing a variable to a non-NULL value, then updating it to
handle the step-over-active-breakpoint case, and then later testing
for non-NULL to see if it should reverse that step-over-active
logic. It should have done like ARM7/ARM9 does: init to NULL. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-02-21 David Brownell <dbrownell@users.sourceforge.net>
* : ARM11: per-core options should not be global Address some FIXME comments by getting rid of globals, moving
per-core parameters in the existing per-core data structure. This will matter most whenever there are multiple ARM11 cores, e.g.
ARM11 MPcore chips, but in general is just cleanup. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-02-21 David Brownell <dbrownell@users.sourceforge.net>
* : Open the merge window for the 0.5.0 release cycle. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-02-21 David Brownell <dbrownell@users.sourceforge.net>
* : User's Guide mentions OS-specific installation Specifically the Linux issue of needing "udev" rules, and MS-Windows
needing driver configuration. Also, update the existing udev note to use the correct name of that
rules file in the source tree. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-02-20 David Brownell <dbrownell@users.sourceforge.net>
* : CSB337 board cleanup (quasi-regression) Get rid of new nasty warning: NOTE! Severe performance degradation without fast memory access
enabled... Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-02-16 Marc Pignat <marc.pignat@hevs.ch>
* : atm920t : fix breakpoints and data cache handling Breakpoints did not work because the data cache was not flushed
properly. As a bonus add capability to write to memory marked as read only by
the MMU, which allows software breakpoints in such memory regions.
2010-02-15 yvind Harboe <oyvind.harboe@zylin.com>
* : gpl: fix GPL startup message Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-02-14 Mathias Kuester <mkdorg@users.sourceforge.net>
* : fix crash with DSP563XX When a DSP563xx-aware GDB asks OpenOCD for target registers, the
result should be a GDB with register data ... not an OpenOCD crash. (Note that mainline GDB doesn't currently support this core, so for
now, this requires a GDB with FreeScale patches.) Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-02-13 David Brownell <dbrownell@users.sourceforge.net>
* : Restore "-dev" version suffix (0.4.0-rc2-dev) Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-02-11 Spencer Oliver <ntfreak@users.sourceforge.net>
* : STR9xpec: issue warning when unlocking device Issue warning to user when unlocking or writing the option bytes.
The new settings will not take effect until a target reset. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-02-12 yvind Harboe <oyvind.harboe@zylin.com>
* : arm720t: virt2phys callback added This is a copy and paste of arm926ejs. Not tested, but ready for
testing at least. There is a good chance that it will work if the
generic armv4_5 fn's are robust enough... Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-02-11 Viktar Palstsiuk <viktar.palstsiuk@promwad.com>
* : target library: configuration files for openocd tested with
Atmel SAM-ICE V6 JTAG. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-02-10 yvind Harboe <oyvind.harboe@zylin.com>
* : arm11: fix another infinite loop bug reset init would get stuck in an infinite loop when e.g. khz was too
high. Added timeout. This is a copy of paste of a number of such
bugfixes in the arm11 code. Arm11 code reviewed for further such infinite loop bugs and I
couldn't find any more. Xing fingers it's the last one... Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-02-09 yvind Harboe <oyvind.harboe@zylin.com>
* : target: add todo in target_write_memory() about alignment target_write_buffer() does not align "buffer" in host memory passed
to target_write_memory(). Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-02-06 David Brownell <dbrownell@users.sourceforge.net>
* : Re-title Developer's Guide The Doxygen output was previously titled "OpenOCD Reference Manual",
which was quite misleading ... the User's Guide is the reference
manual which folk should consult about how to use the software. Just rename it to match how it's been discussed previously, and to
bring out its intended audience: developers of this software. As a
rule, Doxygen is only for folk who work with the code it documents. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-02-05 yvind Harboe <oyvind.harboe@zylin.com>
* : zy1000: complete zy1000_uart to jim command switch Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-02-04 David Brownell <dbrownell@users.sourceforge.net>
* : Documentation: mention bug database Have the User's Guide and BUG handling notes both reference the fact
that we now have a bug database at SourceForge. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-02-04 Spencer Oliver <ntfreak@users.sourceforge.net>
* : CMD: duplicate cmd error msg When registering cmds we report duplicate attempts to register a cmd
as a LOG_ERROR. Some situations need this, such as when registering
dual flash banks.
http://www.mail-archive.com/openocd-development@lists.berlios.de/msg11152.htmlSigned-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-02-03 Spencer Oliver <ntfreak@users.sourceforge.net>
* : JTAG: fix bug when no interface connected - fix coredump when OpenOCD is started without a jtag interface
connected. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-02-02 David Brownell <dbrownell@users.sourceforge.net>
* : NOR: User's Guide updates Remove long-obsolete text about "erase_check" affecting "flash info"
output. Move parts of that text to "protect_check", where it's
still relevant; and update the "flash info" description to mention
the issue. (This is still awkward. It might be best to make "protect_check"
mirror "erase_check" by dumping what it finds, so "flash info"
doesn't dump any potentially-stale cache info.) Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-02-02 Edgar Grimberg <edgar.grimberg@zylin.com>
* : flash/str7x: After reset init the flash is unlocked The default state of the STR7 flash after a reset init is unlocked.
The information in the flash driver now reflects this. The information about the lock status cannot be read from the flash
chip, so the user is informed that flash info might not contain
accurate information. [dbrownell@users.sourceforge.net: line length shrinkage] Signed-off-by: Edgar Grimberg <edgar.grimberg@zylin.com>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-01-29 Edgar Grimberg <edgar.grimberg@zylin.com>
* : Test cases ran on v0.4.0-rc1 Test cases ran on v0.4.0-rc1 for a number of targets: AT91FR40162
LPC2148 SAM7 STR710 STR912 The goal of the testing session was to prove basic functionality of
OpenOCD for different targets. Signed-off-by: Edgar Grimberg <edgar.grimberg@zylin.com>
2010-01-31 David Brownell <dbrownell@users.sourceforge.net>
* : ADIv5: more messaging cleanup, docs When the TAR cache was explicitly invalidated, don't bother printing
it; the actual hardware status is more informative. Provide some doxygen for the MEM-AP setup routine. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-01-21 yvind Harboe <oyvind.harboe@zylin.com>
* : telnet: fix strage blank spaces at beginning of telnet lines Sometimes we saw two strange blank spaces at the beginning of the
telnet lines. progress ogress > This patch fixes this problem: progress progress > The code changes are *reasonably* clean, but perhaps it could be
made a bit more elegant, but I didn't want to change things after I
finished diagnosis/testing & submitting the patch. The problem was that logging can send the text and the newline
separately in two different requests and the telnet code would
incorrectly remove the prompt from the end of a line. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-01-30 David Brownell <dbrownell@users.sourceforge.net>
* : ADIv5 error checking for Tcl commands Reject invalid AP numbers (256+) as Tcl operation parameters.
Shrink one of the overlong lines. Add my copyright to the ADIv5 code (multiple contributions). Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-01-29 David Brownell <dbrownell@users.sourceforge.net>
* : ADIv5: cleanup, rename swjdp_transaction_endcheck() Make messages reference "DAP" if they're actually
transport-agnostic, or "JTAG-DP" when they're JTAG-specific. Saying
SWJ-DP is often wrong (on most Cortex-A8 chips) and is confusing
even if correct (since we don't yet support SWD). Rename a JTAG-specific routine to jtagdp_transaction_endcheck() to
highlight that it's JTAG-specific, and that identify DAP clients
undesirably depending on JTAG. (They will all need to change for
SWD support.) Shrink a few overlong lines of code. Copy a comment from code
removed in a previous patch (for the ARMv7-M "dap baseaddr"
command). Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-01-29 David Brownell <dbrownell@users.sourceforge.net>
* : NOR: cleanup driver decls Fix goofy struct indents. Function names *are* their addresses. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-01-28 David Brownell <dbrownell@users.sourceforge.net>
* : doc clarifications for server flags The "-f" is a shortcut for "-c" ... and providing any "-c" options
means the "openocd.cfg" file isn't implicitly used. Both the User's
Guide and the manual page were weak on these points, which has led
to some confusion. Also update the manual page to include highlights of the search path
mechanism, including the facts that it exists and that "-s" adds to
it. Stop saying only the current directory is involved; the OpenOCD
script library is quite significant. (Missing: complete manpage coverage of the search path, including a
FILES section listing all components and saying where the script
library is found.) Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-01-28 Spencer Oliver <ntfreak@users.sourceforge.net>
* : ARM semihosting: win32 and cygwin fixes Cygwin would fail to reopen a previously written file if the mode is
not given. Simplified converting the open flags and made sure the win32
O_BINARY bit is set. Added define for systems that do not support O_BINARY. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-01-27 David Brownell <dbrownell@users.sourceforge.net>
* : Cortex-M3: report lockup, and recover ARMv7-M defines a "lockup" state that's entered in certain double
fault sequences which can't be recovered from without external help.
OpenOCD has previously ignored this. Issue a diagnostic saying the chip has locked up, and force exit
from this state by halting the core. It's not clear this is the
best way to handle lockup; but there should now be less confusion. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-01-27 David Brownell <dbrownell@users.sourceforge.net>
* : Cortex-A8: debug messaging tweaks Make that "TODO" message say what needs to be done. Say what part
of examining failed. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-01-26 David Brownell <dbrownell@users.sourceforge.net>
* : cygwin buildfix isspace() parameter must be an integer, else a 'char' gets used as
an array index (sigh). Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-01-25 Edgar Grimberg <edgar.grimberg@zylin.com>
* : core arm11: Silence logs at level 3 if there is no activity If the target and openocd are idling, the log should normally be
silent at level 3. (Given no verbose logging options.) Signed-off-by: Edgar Grimberg <edgar.grimberg@zylin.com>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-01-22 David Brownell <dbrownell@users.sourceforge.net>
* : EmbeddedICE - fix Feroceon/Dragonite message The breakpoint/watchpoint message was wrong for Feroceon and
Dragonite, which have only one working watchpoint unit. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-01-22 David Brownell <dbrownell@users.sourceforge.net>
* : ARM11: fix breakpoints with GDB This fixes a bug whereby GDB's breakpoints weren't activated. The
root cause is a confused interface to resume(). Fix by almost
ignoring the "handle breakpoints" parameter; it only seems related
to the case of skipping breakpoint-at-PC. Update a few coments to clarify what's happening. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-01-21 David Brownell <dbrownell@users.sourceforge.net>
* : User's Guide secton on target hardware setup Highlight the needs to properly jumper development boards; to make
the OpenOCD configuration match the jumpering; and to have a usable
"reset-init" method when debugging early boot code. Specific mention of the "ATX Mode" that seems useful on many i.MX
boards, forcing NAND boot. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-01-21 yvind Harboe <oyvind.harboe@zylin.com>
* : target: print reason why GDB halts If GDB halts unexpectedly, print reason: srst assert or power out
detected. If polling fails, then things are a bit trickier. We do not want to
spam telnet or the log with polling failed messages. Leave that
case be w/a comment in a code for now. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-01-21 Edgar Grimberg <edgar.grimberg@zylin.com>
* : target: Fixed format problem for mdh Fixed format problem for mdh. It needs to display 4 chars. Signed-off-by: Edgar Grimberg <edgar.grimberg@zylin.com>
2010-01-21 yvind Harboe <oyvind.harboe@zylin.com>
* : ecos: add missing PRId8 definition Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-01-20 David Brownell <dbrownell@users.sourceforge.net>
* : Cortex-M3 vector_catch testing support The "cm3-ftest.cfg" can be used to verify that OpenOCD handles
certain faults correctly: - Test #1: it ignores faults that it wasn't told to catch - Test #2: if vector_catch is told to catch, it catches The "fault.c" generates ASM code to trigger faults, while the config
script loads and runs pre-compiled code. This covers most, but not all, of the vector_catch options. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-01-20 David Brownell <dbrownell@users.sourceforge.net>
* : gdb_server: correctly report flash sector sizes Report each region of same-size sectors separately, instead of
incorrectly reporting that every sector has the same size. This is a longstanding bug on NOR flash chips with non-uniform
sector sizes. It was largely hidden by other bugs in flash
handling. When some of those were recently fixed, this one was
exposed as a regression on str710. [oyvind.harboe@zylin.com: update the loop to behave on str7 ] Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-01-20 yvind Harboe <oyvind.harboe@zylin.com>
* : testing: fix str710 test case now builds Make the test case easily adjustable in size. str710 has very
peculiar flash sector layout, nice for testing, but a larget
test_rom.elf is required. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-01-19 Spencer Oliver <ntfreak@users.sourceforge.net>
* : ARMV7M: handle bkpt instruction on resume/step Skip over a bkpt instruction if found on resume/step. Only software
breakpoints known to OpenOCD are currently handled. So this handles the special case of either a user added bkpt or
library added, eg. semi-hosting support. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-01-19 David Brownell <dbrownell@users.sourceforge.net>
* : gdb_server -- subroutinize memory map logic Put the memory map logic into its own subroutine. This will make it
a bit easier to package bugfixes, and simplifies the query packet
handling. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-21 Andreas Fritiofson <andreas.fritiofson@gmail.com>
* : update win32 script search path The default script search path on Windows is out of date with the
current layout (from installation and documentation), which makes
the standard script library not be found after a normal ./configure && make && make install under msys/MinGW. The same should hold true for cygwin native builds
(not verified). Update search path to ../share/openocd/scripts not ../lib/openocd,
relative to the openocd executable. Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-01-18 yvind Harboe <oyvind.harboe@zylin.com>
* : zy1000: flush jtag buffer before changing speed It is conceivable that there could be commands in the queue when a
speed change request comes in. Flush the hw queue before changing
speed. Not observed, found by inspection. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-01-19 yvind Harboe <oyvind.harboe@zylin.com>
* : flash: add error messages upon incorrect arguments to flash
iteration According to OpenOCD error handling rules the error is logged at
where it occurs(same site where an exception would have been
thrown). Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-01-18 yvind Harboe <oyvind.harboe@zylin.com>
* : commands: allow scan_chain command to be executed during config Adding taps and then dumping them is quite reasonable thing to do in
a config script. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-01-16 richard vegh <vegh.ricsi@gmail.com>
* : NAND: lpc3180 crashes on LPC3250 The LPC3180 NAND driver was crashing on some large page chips. Fix: - Crash and related functionality (don't memset too much OOB data) - Some debug messages - Command handling now works [dbrownell@users.sourceforge.net: whitespace/linelength/message
cleanup] Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-01-15 David Brownell <dbrownell@users.sourceforge.net>
* : ARM DPM: disable some nyet-ready breakpoint code Until we manage breakpoints at runtime (patches not ready for 0.4)
the only way this code should touch them is to disable them at
server startup (a previous debug session may have left them active). Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-01-14 David Brownell <dbrownell@users.sourceforge.net>
* : jtag.h whitespace/comment cleanup Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-01-14 David Brownell <dbrownell@users.sourceforge.net>
* : ARM7/ARM9: improved reset support Teach most remaining ARM cores how to use the "reset-assert" event. Same model as elsewhere: iff a handler is provided for that event,
use that instead of trying to assert SRST (which may be unavailable,
or inappropriate since it resets too much). Else no change. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-01-14 Laurentiu Cocanu <laurentiu.cocanu@zylin.com>
* : str9x.c: remove optimization when erasing the whole bank Using the erase bank command will cause a time out error. Replacing
this with the erase sector bank will provide a slower but safer and
stable method to erase the flash. Signed-off-by: Laurentiu Cocanu <laurentiu.cocanu@zylin.com>
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-01-14 Spencer Oliver <ntfreak@users.sourceforge.net>
* : GDB: change gdb_breakpoint_override to COMMAND_ANY - enable gdb_breakpoint_override to be used within config script. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-01-13 David Brownell <dbrownell@users.sourceforge.net>
* : NOR: add optional "flash erase_address" sector padding Add a NOR flash mechanism where erase_address ranges can be padded
out to sector boundaries, triggering a diagnostic: > flash erase_address 0x0001f980 16 address range 0x0001f980 .. 0x0001f98f is not sector-aligned Command handler execution failed in procedure 'flash' called at file "command.c", line 647 called at file "command.c", line 361 > > flash erase_address pad 0x0001f980 16 Adding extra erase range, 0x0001f800 to 0x0001f97f Adding extra erase range, 0x0001f990 to 0x0001fbff erased address 0x0001f980 (length 16) in 0.095975s (0.163 kb/s) > This addresses what would otherwise be something of a functional
regression. An earlier version of the interface had a dangerous
problem: it would silently erase data outside the range it was told
to erase. Fixing that bug turned up some folk who relied on that
unsafe behavior. (The classic problem with interface bugs!) Now
they can get that behavior again. If they really need it, just
specify "pad". Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-01-11 yvind Harboe <oyvind.harboe@zylin.com>
* : arm7/9: enable check that DCC downloads have been enabled Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-01-11 yvind Harboe <oyvind.harboe@zylin.com>
* : target: add check_reset hook Allow targets to run checks post reset. Used to check that e.g. DCC
downloads have been enabled. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-01-11 yvind Harboe <oyvind.harboe@zylin.com>
* : debug: make logging of commands terser one line / command instead of one line per argument. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-01-11 Vladimir Zapolskiy <vzapolskiy@gmail.com>
* : Added Openmoko USB JTAG interface config file. Added interface config file for JTAG/RS232 debug board originally
integrated to Neo 1973 and Neo FreeRunner phones. Adapter was
tested with i.MX31, S3C2410 and AT91SAM9260 processors. Signed-off-by: Vladimir Zapolskiy <vzapolskiy@gmail.com>
2010-01-11 yvind Harboe <oyvind.harboe@zylin.com>
* : reset: better error messages Use correct tcl syntax to throw exception. the syntax is "return -code error" not "return -error" Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-01-11 yvind Harboe <oyvind.harboe@zylin.com>
* : zy1000: reset bugfix flush JTAG FIFO before reset. Fixes RCLK problems observed
w/lpc2148, but really fixes a wider range of problems. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-01-08 yvind Harboe <oyvind.harboe@zylin.com>
* : shutdown: more graceful shutdown Shutdown is not an error condition, do not return error from main. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-01-10 David Brownell <dbrownell@users.sourceforge.net>
* : FreeBSD build fixes Based on notes from Tomek Cedro <tomek.cedro@gmail.com> and Steve
Franks <bahamasfranks@gmail.com>. In the User's Guide, sort the list of operating systems reported
through Tcl with $ocd_HOSTOS ... and include FreeBSD. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-01-09 David Brownell <dbrownell@users.sourceforge.net>
* : jtag/tcl help/usage fixups The usual: expand several helptexts to be more correct and to use
full sentences; make the usage messages use the same EBNF as the
User's Guide; use function names for their addresses. Also add a comment about that odd jtag_command_handlers_to_move[]
thing. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-01-09 David Brownell <dbrownell@users.sourceforge.net>
* : jtag: presto, parport help/usage updates Presto: add doxygen file comment. Parport: note a couple gaps in layout config. Both: use the uniform EBNF for usage, bugfix helptexts, use function
name as its address not "&name". Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-01-09 David Brownell <dbrownell@users.sourceforge.net>
* : parport (mostly) doc fixes The "parport_port" commands generally don't *require* a port_number;
they're of the "apply any parameter, then print result" variety.
Update the User's Guide accordingly. Some of those commands are intended to be write-once: parport_port,
and parport_cable. Say so. Use proper EBNF for the parport_write_on_exit parameter. Parport address 0xc8b8 is evidently mutant. Say so in the
"parport.cfg" file, to avoid breaking anyone with that mutant
config. But update the User's Guide to include a sane example for
the LP2 port. Finally document the "presto_serial" command. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-01-09 David Brownell <dbrownell@users.sourceforge.net>
* : src/flash/nor: usage/help/doc updates Make "usage" messages use the same EBNF as the User's Guide; no
angle brackets. Improve and correct various helptexts. Don't use "&function"; a function's name is its address. Remove a
couple instances of pointless whitespace; shrink a few overlong
lines; fix some bad indents. Add TODO list entry re full support for NAND/NOR bank names. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-01-09 David Brownell <dbrownell@users.sourceforge.net>
* : src/server: usage/help/doc updates Make "usage" messages use the same EBNF as the User's Guide; no
angle brackets. Improve and correct various helptexts. Specifically for the port commands, clarify that the number is
optional, and omitting it causes the current number to be displayed. Don't use "&function"; a function's name is its address. Remove a
couple instances of pointless whitespace; shrink a few overlong
lines. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-01-08 David Brownell <dbrownell@users.sourceforge.net>
* : PLD: usage/help updates Make "usage" messages use the same EBNF as the User's Guide; no
angle brackets. Improve and correct various helptexts. Don't use "&function"; a function's name is its address. Remove a
couple instances of pointless whitespace, shrink a few overlong
lines. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-01-08 David Brownell <dbrownell@users.sourceforge.net>
* : Doc/examples: clarify usage messages Update/bugfix the "hello" example; emphasize using EBNF syntax,
matching the User's Guide. Correct the Texinfo style guide to say
EBNF, not BNF. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-01-08 David Brownell <dbrownell@users.sourceforge.net>
* : MFLASH: help/usage updates Make "usage" messages use the same EBNF as the User's Guide; no
angle brackets. Improve and correct various helptexts. Don't use "&function"; a function's name is its address. Remove a
couple instances of pointless whitespace. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-01-08 David Brownell <dbrownell@users.sourceforge.net>
* : NOR: add FIXMEs for writing ones It can invalidate ECC codes, and in general is not guaranteed to
work. (However on some chips it _appears_ to behave.) Just don't
do it; don't write in those cases. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-01-07 David Brownell <dbrownell@users.sourceforge.net>
* : ARM966: help/usage updates Usage syntax messages have the same EBNF as the User's Guide; there
should be no angle brackets in either place. Fix the User's Guide to say where the magic CP15 bits are defined;
and add comments in case someone provides mcr/mrc methods. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-01-07 David Brownell <dbrownell@users.sourceforge.net>
* : ARM720: help/usage updates Deprecate the "pass an instruction opcode" flavor of cp15 access in
favor of the "arm mcr ..." and "arm mrc ..." commands, which offer
fewer ways to break things. Use the same EBNF syntax in the code as for the user's guide. Update User's Guide to say where to find those magic values (which
table in the ARM920 TRM). Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-01-07 David Brownell <dbrownell@users.sourceforge.net>
* : ARM11: help/usage updates Usage syntax messages have the same EBNF as the User's Guide; there
should be no angle brackets in either place. Uupdate some helptext to be more accurate. Fix the User's Guide in a few places to be more consistent (mostly
to use brackets not parentheses) and to recognize that parameter may
be entirely optional (in which case the command just displays
output, and changes nothing). Also reference NXP, not Philips, for
LPC chips. Don't use "&function"; functions are like arrays, their address is
their name. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-01-07 David Brownell <dbrownell@users.sourceforge.net>
* : ARMv7: help/usage updates Provide helptext which was sometimes missing; update some of it to
be more accurate. Usage syntax messages have the same EBNF as the User's Guide; there
should be no angle brackets in either place. Don't use "&function"; functions are like arrays, their address is
their name. Shrink some overlong lines, remove some empties. Add a couple comments about things that should change: those extra
TCK cycles for MEM-AP reads are in the wrong place (that might
explain some problems we've seen); the DAP command tables should be
shared, not copied. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-01-07 David Brownell <dbrownell@users.sourceforge.net>
* : target misc: help/usage updates Provide helptext which was sometimes missing; update some of it to
be more accurate. Usage syntax messages have the same EBNF as the User's Guide. Don't use "&function"; functions are like arrays, their address is
their name. Shrink some overlong lines; remove some empties. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-01-07 Spencer Oliver <ntfreak@users.sourceforge.net>
* : MIPS: change bulk_write_memory fallback msg to LOG_DEBUG Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-01-06 Spencer Oliver <ntfreak@users.sourceforge.net>
* : MIPS: fastdata bulk write fallback If fastdata access fails, then fallback to default
mips_m4k_write_memory Remove unnecessary fastdata loader verify
check Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-01-05 David Brownell <dbrownell@users.sourceforge.net>
* : don't require 'openocd.cfg' to start Starting the daemon with with just a bare "openocd" I saw: Can't find openocd.cfg That's not an error; don't treat it as if it were. There may be an
error later -- like, "no interface set up" -- but let messages only
report real errors, not fake ones.
2010-01-05 David Brownell <dbrownell@users.sourceforge.net>
* : ARM: add comments re DAP assumptions I think some of these assumptions are not well-founded. Related,
that swjdp_transaction_endcheck() is a bit iffy. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-12-21 Spencer Oliver <ntfreak@users.sourceforge.net>
* : PIC32: enable ram execution add reset-init script to allow ram execution from reset, this is
required for ejtag fastdata access. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2009-12-17 Spencer Oliver <ntfreak@users.sourceforge.net>
* : parport: output port as hex rather than dec Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-01-05 yvind Harboe <oyvind.harboe@zylin.com>
* : gdb: fix regression in gdb_port command The gdb_port command can be invoked during normal execution to
report the port used for gdb, whereas it was listed as CONFIG stage
only, which caused an error when excuting it to return the reported
error. Also in line with the grander goal of making more commands available
during all "modes" (perhaps retiring config mode), there is no
particular reason to limit gdb_port to the config stage. Regression was introduced in: b3bf1d12b2fdfba1c1cbee3e1afbfbb27cbd1a26 aka v0.4.0-rc1-32-gb3bf1d1 Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-01-04 David Brownell <dbrownell@users.sourceforge.net>
* : ARMv7-M: use AP_REG_* symbol Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-01-03 David Brownell <dbrownell@users.sourceforge.net>
* : JTAG/drivers: ft2232 docs Add doxyegen description for this driver. Correct the helptext (configures *or* displays based on #params),
and usage (use the same BNF as the User's Guide). Remove superfluous #include Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-01-03 David Brownell <dbrownell@users.sourceforge.net>
* : JTAG: Amontec JTAG accelerater "rtck" is back The command processing conversion a while back lost the "rtck"
enable/disable command; restore it. NOTE that having such a command is wrong; there's a standard way to
enable adaptive clocking ("speed 0"). Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-01-03 David Brownell <dbrownell@users.sourceforge.net>
* : JTAG/drivers: amt_jtagaccel fixes + cleanup Build fixes: it failed abysmally with PPDEV enabled. Swapped a
build-time error with a FIXME comment in the affected macros. Cleanup: remove "&" before function pointers, and excess indent, for
the interface struct declaration. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-01-02 David Brownell <dbrownell@users.sourceforge.net>
* : ARM: dap info fix + tweaks Fix: don't print the BASE address except if it's a MEM-AP; that's an
unlikely error, but there's no point getting it wrong. Tweaks:
comments, capitalization. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-01-02 David Brownell <dbrownell@users.sourceforge.net>
* : ARM: ADIv5 symbol and comment cleanup Instead of magic numbers, use their AP_REG_* constants. Rename the
ROM address symbol as BASE to match ARM's documentation. Comment various other symbols in the header; add some missing ones.
Remove an unused struct. Add some doxygen for stuff including the
DAP structure and initialization. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-01-02 David Brownell <dbrownell@users.sourceforge.net>
* : streamline and document helptext mode displays Most commands are usable only at runtime; so don't bother saying
that, it's noise. Moreover, tokens like EXEC are cryptic. Be more
clear: highlight only the commands which may (also) be used during
the config stage, thus matching the docs more closely. There are - Configuration commands (per documentation) - And also some commands that valid at *any* time. Update the docs to note that "help" now shows this mode info. This also highlighted a few mistakes in command configuration,
mostly commands listed as "valid at any time" which shouldn't have
been. This just fixes ones I noted when sanity testing. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-01-01 Dean Glazeski <dnglaze@gmail.com>
* : Add the current command to the command information I wanted to make it so I can be ignorant of a commands invocation
string, so I tried to use CMD_CURRENT (aka cmd->current) which is
supposed to house a pointer to the current command. It turns out
that this wasn't being set. This patch adds the current command structure to the command
invocation structure before sending it along to the command handler. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-12-31 David Brownell <dbrownell@users.sourceforge.net>
* : User's Guide: warn about the forum Namely, that developers don't hang out; it's a users-only club. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-12-31 Antonio Borneo <borneo.antonio@gmail.com>
* : ARM7_9: Fix segfaults Handlers for commands - arm7_9 semihosting <enable | disable> - $_TARGETNAME arp_reset assert 1 didn't check if target has
already been examined, and could segfault when using the NULL
pointer "arm7_9->eice_cache". Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-12-31 Antonio Borneo <borneo.antonio@gmail.com>
* : ARM9TDMI: Fix segfault. The handler for "arm9tdmi vector_catch ..." did not check if target
has already been examined. Without this fix it segfaults when using
NULL pointer "arm7_9->eice_cache". Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-12-30 yvind Harboe <oyvind.harboe@zylin.com>
* : zy1000: add zy1000_ prefix to uart command less polution of the general namespace(preventive action, no
problems reported). Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2009-12-29 yvind Harboe <oyvind.harboe@zylin.com>
* : zy1000: reconfigure FPGA upon reset instead of just the CPU Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2009-12-25 yvind Harboe <oyvind.harboe@zylin.com>
* : zy1000: less warnings use inline for static functions in header files to avoid warnings
about fn not being used. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2009-12-28 Piotr Esden-Tempski <piotr@esden.net>
* : Added floss-jtag interface config file.
2009-12-28 Freddie Chopin <freddie_chopin@op.pl>
* : stm32x commands get "usage" Add .usage fields to stm32x command_registration, so that "help
stm32x" shows required parameters. Signed-off-by: Freddie Chopin <freddie_chopin@op.pl> Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net>
2009-12-28 Piotr Esden-Tempski <piotr@esden.net>
* : NOR: last_addr also needs correction when checking alignment Otherwise the new alignment checking algorithm thinks that the
address is not aligned, because it is way beyond the last sector. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-12-27 David Brownell <dbrownell@users.sourceforge.net>
* : NOR: make flash_write_unlock() pad to sector end Resolve a regression when using newish automagic "write_image"
modes, by always padding to the end of affected sectors. Also document some issues associated with those automagic options,
in the User's Guide and also some related code comments. We might need similar padding at the *beginning* of some sectors,
but this is a minimalist fix for the problems which have currently
been reported (plus doc updates). Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-12-09 Dean Glazeski <dnglaze@gmail.com>
* : Olimex SAM9-L9260 board configuration update. This updates the board configuration for the SAM9-L9260 board with
the configuration for the on-board NAND and dataflash. Included are
commands for configuring the AT91SAM9 NAND flash driver. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-12-26 David Brownell <dbrownell@users.sourceforge.net>
* : User's Guide: update GDB info Advise leaving background polling enabled; fix broken URL; add
simple program startup example.
2009-12-26 David Brownell <dbrownell@users.sourceforge.net>
* : NOR: Allocate the right amount of memory Switch to calloc() to simplify review and initialization.
2009-12-26 Antonio Borneo <borneo.antonio@gmail.com>
* : PARPORT code cleanup: Align elements in array. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2009-12-21 David Brownell <dbrownell@users.sourceforge.net>
* : v0.4.0-rc1 milestone Winter Solstice, 2009. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-12-21 David Brownell <dbrownell@users.sourceforge.net>
* : Packaging fix Don't forget to list target/arm_opcodes.h Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-12-20 David Brownell <dbrownell@users.sourceforge.net>
* : Cortex-M3: cleanup Misc: - Introduce some "struct reg" temporaries, for clarity - Shorten lines - Add some missing whitespace - Clean up comments - Add notes about some fault handling issues - Most of these errata workarounds are for *OLD* chip revisions Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-12-21 Antonio Borneo <borneo.antonio@gmail.com>
* : arm7_9: Support VINITHI signal Command "reset halt" checks if PC properly resets, issueing warning:
"PC was not 0. Does this target need srst_pulls_trst?". Checking PC
against 0 is not always correct. Removed PC value check, as suggested by Øyvind Harboe. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Signed-off-by: U-PROPRIET-28D9DF\PROPRIETAIRE
<PROPRIETAIRE@propriet-28d9df.(none)>
2009-12-09 Dean Glazeski <dnglaze@gmail.com>
* : AT91SAM9 NAND flash driver. This creates the TCL interface for configuring an AT91SAM9 NAND
flash controller and implements the necessary functions to correctly
work with a NAND flash device connected to the chip. This includes
updates to the driver list and the Makefile.am to support building
the driver and also houses the documentation update in openocd.texi. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-12-19 David Brownell <dbrownell@users.sourceforge.net>
* : ETM: add "etm trigger_debug" command In conjunction with manual register setup, this lets the ETM trigger
cause entry to debug state. It should make it easier to test and
bugfix the ETM code, by enabling non-trace usage and isolating bugs
specific to thef ETM support. (One current issue being that trace
data collection using the ETB doesn't yet behave.) For example, many ARM9 cores with an ETM should be able to implement
four more (simple) breakpoints and two more (simple) watchpoints
than the EmbeddedICE supports. Or, they should be able to support
complex breakpoints, incorporating ETM sequencer, counters, and/or
subroutine entry/exit criteria int criteria used to trigger debug
entry. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-12-19 David Brownell <dbrownell@users.sourceforge.net>
* : ETM: start cleaning up ETM_CTRL bit handling Provide better comments for the ETM_CTRL bits; use the correct bit
for half/full clock mode; and define a few more of the bits
available from the earliest ETM versions. The new bit defintions use ETM_CTRL_* names to match their register
(instead of ETM_PORT_* or ETMV1_*). For clarity, and better
matching to docs, they are defined with bitshifting not pre-computed
masks. Stop abusing typdefs for ETM_CTRL values; such values are not
limited to the enumerated set of individual bit values. Rename etm->portmode to etm->control ... and start morphing it into
a single generic shadow of ETM_CTRL. Eventually etm->tracemode
should vanish, so we can just write etm->control to ETM_CTRL. Restore an "if" that somehow got dropped. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-12-19 David Brownell <dbrownell@users.sourceforge.net>
* : NEWS: mention libftdi 0.17
2009-12-18 David Brownell <dbrownell@users.sourceforge.net>
* : Subject: flash fill[bwh] should use bulk i/o It's currently allocating a big buffer but writing it out in units
of sizeof(host's pointer) ... sub-optimal. Plus fix a couple minor coding style goofs. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-12-18 David Brownell <dbrownell@users.sourceforge.net>
* : XScale: better {read,write}_phys() We can actually do the right thing if the MMU is off; save the error
message for the phys-but-MMU-enabled path, which is what isn't yet
supported. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-12-18 David Brownell <dbrownell@users.sourceforge.net>
* : stellaris: update bulk flash writes Try to right-size the SRAM buffers, by not: - using them for very small writes - giving up when a large buffer isn't available - allocating buffers much larger than their data Also don't: - bother loading the code unless we allocate the writebuffer too - be so verbose with messaging: * be more concise * reduce importance (e.g. DEBUG not WARNING) * remove duplication The minimum buffer size is something of a guess. It's eight times
smaller than before, almost the same size as the code being
downloaded. It probably deserves some tuning. Also, note an erratum affecting flash protection on some chips; and
narrow many over-wide lines affected by the above changes. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-12-17 Dean Glazeski <dnglaze@gmail.com>
* : NAND read data page refactor. Added a new function to encapsulate reading a page of data from a
NAND device using either the read_block_data function of a NAND
controller or to use direct reading of data from the NAND device. This also adds some performance enhancements and uses the read_data
function if the read_block_data function fails safely (because it
can't allocate a buffer in the working area). [dbrownell@users.sourceforge.net: fix fault handling, whitespace] Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-12-16 David Brownell <dbrownell@users.sourceforge.net>
* : Remove duplicate Olimex-"tiny" interface We already have tcl/interface/olimex-jtag-tiny.cfg and don't need a
clone of it.
2009-12-16 David Brownell <dbrownell@users.sourceforge.net>
* : stellaris: comments Someday revisit various issues: Tempest parts support writing more
than one word at a time; for some target firmware it might be
necessary to save and restore flash IRQ configuration. (The safest
policy is likely to always reset after flash updates.) Plus swap some undesirable TAB characters with SPACE. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-12-16 David Brownell <dbrownell@users.sourceforge.net>
* : stellaris: remove needless code No point in reading and discarding a status value when fetching part
description data. Or having that needless "#if 0" code. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-12-16 David Brownell <dbrownell@users.sourceforge.net>
* : NOR: bugfix "flash fill[bwh] ..." helptext These commands don't have a "bank" parameter. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-12-15 yvind Harboe <oyvind.harboe@zylin.com>
* : ecos: crisper implementation of timeval_ms() A crisper/faster implementation under eCos that makes profiling a
tad easier. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2009-12-15 David Brownell <dbrownell@users.sourceforge.net>
* : more tcl/{board,target} cleanup Remove more remnants of the old "jtag_device" syntax. Don't [format "%s.cpu" $_CHIPNAME] ... it's needless complexity. Remove various non-supported "-variant" target options; they're not
needed often at all. Flag some of the board files as needing to have and use target files
for the TAP and target declarations. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-12-14 David Brownell <dbrownell@users.sourceforge.net>
* : XScale: use all-ones for BYPASS, not five-ones PXA3xx has more than five bits in IR. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-12-15 yvind Harboe <oyvind.harboe@zylin.com>
* : zy1000: keep up with command.h cleanup Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2009-12-15 yvind Harboe <oyvind.harboe@zylin.com>
* : imx31: move srst delay into config script reset init/run now works again. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2009-12-14 David Brownell <dbrownell@users.sourceforge.net>
* : ARM: disassemble STM correctly There is no "STMMIDA" instruction. There is however "STMDAMI". Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-12-14 Yegor Yefremov <yegorslists@googlemail.com>
* : Common target file for Stellaris chips Common target.cfg file for LM3S CPU family [dbrownell@users.sourceforge.net: rename, generalize more] Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-12-14 David Brownell <dbrownell@users.sourceforge.net>
* : jtag: add '-ignore-version' option Add a "-ignore-version" to "jtag newtap" which makes the IDCODE
comparison logic optionally ignore version differences. Update the "scan_chain" command to illustrate this by showing the
"*" character instead of the (ignored) version nibble. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-12-13 David Brownell <dbrownell@users.sourceforge.net>
* : target: further shrink Jim-awareness Don't include <helper/jim.h> from target.h ... not everything which
touches targets needs to be able to talk to Jim. Plus, most files
include this header by another path. Also, switch the affected files to use the classic sequence for
#included files: all <framework/headers.h> first, then the
"local_headers.h". This helps prevent growth of problematic
layering, by minimizing entanglement. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-12-11 David Brownell <dbrownell@users.sourceforge.net>
* : ARM11: avoid pointless status returns For some routines that only returned ERROR_OK and where the caller
never checked ... don't bother. Remove some noise, and bugfix some
comments. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-12-11 Zachary T Welch <zw@superlucidity.net>
* : fix 'write_image' usage information The 'flash write_image' command erroneously listed the bank number,
when it actually uses target addresses to do that lookup for the
user.
2009-12-11 David Brownell <dbrownell@users.sourceforge.net>
* : ARM: disassembly fixes for LDC/STC/MRRC/MCRR Properly detect all of these, including the "2" variants; and bugfix
parameter display for LDC and STC. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-12-10 Spencer Oliver <ntfreak@users.sourceforge.net>
* : server: add server_preinit which is called before config file is
parsed. This fixes the issue under native win32 of the socket interface not
being enabled (via WSAStartup) before init is called from a script. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2009-12-10 yvind Harboe <oyvind.harboe@zylin.com>
* : gdb_server: use more local variables in inner loop of fetching
packetstiny refactoring to allow optimisation of inner loops Some profiling information for arm7 16MHz GDB load operation shows
gdb_get_packet_inner() near the very top. Each sample counts as 0.01 seconds. % cumulative self self total time seconds seconds calls Ts/call Ts/call name 52.91 2.27 2.27
embeddedice_write_dcc 11.89 2.78 0.51
gdb_get_packet_inner 8.86 3.16 0.38
memcpy 3.26 3.30 0.14
idle_thread_main(unsigned int) 3.03 3.43 0.13
cyg_in_cksum Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2009-12-10 yvind Harboe <oyvind.harboe@zylin.com>
* : optimisation: tiny optimisation for embedded ice use two shift operations instead of three to set embedded ice
register. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2009-12-10 David Brownell <dbrownell@users.sourceforge.net>
* : anotyer cygwin compile fix Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-12-09 David Brownell <dbrownell@users.sourceforge.net>
* : ARM: update arm_opcodes.h copyright I neglected to copy Magnus' copyright when I moved several
declarations from the ARMv7-M header. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-12-09 David Brownell <dbrownell@users.sourceforge.net>
* : Comment and doxygen fixes Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-12-08 Rafael Campos Las Heras <methril@gmail.com>
* : Fix compilation error with gcc 4.4.1 Signed-off-by: Rafael Campos Las Heras <methril@gmail.com>
2009-12-08 David Brownell <dbrownell@users.sourceforge.net>
* : target: remove needless "extern"s Most of these happened to be in the target.h file. Some of those are associated with symbols that could be removed at
some point ... e.g. NVP_ASSERT/true and its sibling
NVP_DEASSERT/false. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-12-08 David Brownell <dbrownell@users.sourceforge.net>
* : ARM: cygwin complile fixes It's as if despite integers being 32-bits, GCC refuses to convert a
"uint32_t" to one of them. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-12-04 yvind Harboe <oyvind.harboe@zylin.com>
* : minidriver: fix inline capability of minidriver Low latency low CPU processing power systems(embedded) will benefit
greatly from being able to inline certain jtag_add_xxx() fn's. The
trick is that this has to be done in such a way as to allow
implementing an OpenOCD API with a shared library(eventually) on a
PC hosted OpenOCD. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2009-12-05 yvind Harboe <oyvind.harboe@zylin.com>
* : build: add build/src to include path This allows including generated include files. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2009-12-07 David Brownell <dbrownell@users.sourceforge.net>
* : ARM: list number of HW breakpoints/watchpoints When starting up, say how many hardware breakpoints and watchpoints
are available on various targets. This makes it easier to tell GDB how many of those resources exist.
Its remote protocol currently has no way to ask OpenOCD for that
information, so it must configured by hand (or not at all). Update the docs to mention this; remove obsolete "don't do this"
info. Presentation of GDB setup information is still a mess, but at
least it calls out the three components that need setup. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-12-07 David Brownell <dbrownell@users.sourceforge.net>
* : ARM: don't clone arm_arch_state() code Have various ARM cores delegate to arm_arch_state() to display basic
information, instead of duplicating that logic. This shrinks the code, makes them all report when semihosting is
active, and highlights which data are specific to this core. (Like
ARM720 not having separate instruction and data caches.) Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-12-07 David Brownell <dbrownell@users.sourceforge.net>
* : ARM: use <target/arm.h> not armv4_5.h Move most declarations in <target/armv4_5.h> to <target/arm.h> and
update users. What's left in the older file is stuff that I think should be
removed ... the old register cache access stuff, which makes it
awkward to support microcontroller profile (Cortex-M) cores. The armv4_5_run_algorithm() declaration was moved too, even though
it's not yet as generic as it probably ought to be. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-12-07 David Brownell <dbrownell@users.sourceforge.net>
* : ARM: move opcode macros to <target/arm_opcodes.h> Move the ARM opcode macros from <target/armv4_5.h>, and a few Thumb2
ones from <target/armv7m.h>, to more appropriate homes in a new
<target/arm_opcodes.h> file. Removed duplicate opcodes from that v7m/Thumb2 set. Protected a few
macro argument references by adding missing parentheses. Tightening up some of the line lengths turned up a curious artifact:
the macros for the Thumb opcodes are all 32 bits wide, not 16 bits.
There's currently no explanation for why it's done that way... Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-12-07 David Brownell <dbrownell@users.sourceforge.net>
* : ARM: disassemble two more v6+ instructions The SRS and RFE instructions speed exception entry/exit by making it
easy to save and restore PC and SPSR. This handles both ARM and
Thumb2 encodings. Fix minor PLD goofage; that "should never reach this point" can't
happen, so remove it. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-12-07 David Brownell <dbrownell@users.sourceforge.net>
* : OMAP2420: define reset-assert event Behave like OMAP3530: force global software reset. Given the patch
to teach ARM11 how to use these events, and use VCR to catch the
reset vector, this works better than either the current reset logic
or than using SRST. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-12-06 Zachary T Welch <zw@superlucidity.net>
* : add 'flash list', rewrite 'flash banks' Rename the existing 'flash banks' implementation as 'flash list',
and replace the broken 'flash_banks' TCL wrapper with a new command
handler. Adds documentation for the new 'flash list' command in the user
guide.
2009-12-06 Zachary T Welch <zw@superlucidity.net>
* : fix NOR flash regression When factoring the bank setup command into flash_bank_add(), I
forgot to include a call to the new helper.
2009-12-05 Mathias Kuester <kesmtp@freenet.de>
* : NOR: add 29LV400BC flash device Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-12-05 Nicolas Pitre <nico@fluxnic.net>
* : ARM semihosting: work with both low and high vectors Signed-off-by: Nicolas Pitre <nico@marvell.com> Signed-off-by: David
Brownell <dbrownell@users.sourceforge.net>
2009-12-04 Zachary T Welch <zw@superlucidity.net>
* : move remaining nand helper files Move remaining NAND implementation files into src/flash/nand/.
2009-12-04 Zachary T Welch <zw@superlucidity.net>
* : split NAND driver handling into nand/driver.[ch] This work parallels the NOR directory, encapsulating the NAND
drivers into a separate file. This takes an extra step by
encapsulating the type of data structure used to manage the drivers,
allowing it to be changed from an array to a dynamic list in the
future.
2009-12-04 David Brownell <dbrownell@users.sourceforge.net>
* : ARM: rename armv4_5_build_reg_cache() as arm_*() Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-12-04 David Brownell <dbrownell@users.sourceforge.net>
* : ARM: misc generic cleanup Remove an undesirable use of the CPSR symbol ... it needs to vanish.
Flag mode-to-number stuff as obsolete; say why ... should also
vanish. Get rid of no-longer-used mode and state typedefs. Comment a few of the implicit ties to "classic ARM". Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-12-04 David Brownell <dbrownell@users.sourceforge.net>
* : ARM: switch target_to_armv4_5() to target_to_arm() And remove that old symbol. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-12-04 David Brownell <dbrownell@users.sourceforge.net>
* : ARM: rename armv4_5_mode_* AS arm_mode_* Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-12-04 David Brownell <dbrownell@users.sourceforge.net>
* : ARM: rename ARMV4_5_STATE_* as ARM_STATE_* Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-12-04 David Brownell <dbrownell@users.sourceforge.net>
* : ARM11: basic watchpoint support Use the DPM watchpoint support; remove old incomplete stubs. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-12-04 Zachary T Welch <zw@superlucidity.net>
* : reorder build order of src directory Descend into the library modules in order, from bottom-to-top.
2009-12-04 Zachary T Welch <zw@superlucidity.net>
* : split flash.h into into flash/nor/*.h Move the bulk of the flash.h file into flash/nor/core.h, leaving an
empty husk that will be removed in the next patch. The NOR driver structure is an implementation detail, so move it
into its own private header file <flash/nor/driver.h> along with
helper declaration for finding them by name.
2009-12-04 Zachary T Welch <zw@superlucidity.net>
* : split NOR and NAND flash headers Moves common flash errors to <flash/common.h> to decouple these two
mostly unrelated trees of code.
2009-12-04 Zachary T Welch <zw@superlucidity.net>
* : add flash/nor/drivers.c Encapsulates access to the flash_drivers array, providing a base of
operations for future dynamic driver module loading features.
2009-12-04 David Brownell <dbrownell@users.sourceforge.net>
* : ARM: semihosting entry cleanup Clean up arm_semihosting() entry a bit, comment some issues and just
which SVC opcodes are getting intercepted. Microcontroller profile
cores will need a new entry, since they use BKPT instead (and don't
have either SVC mode or an SPSR register). Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-12-04 David Brownell <dbrownell@users.sourceforge.net>
* : User's Guide: more semihosting info List it in the concept index, in the section about target software
changes a project might want to consider, and in the section about
debug messaging. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-12-03 Zachary T Welch <zw@superlucidity.net>
* : add flash/nor/core.[ch] The newly moved flash TCL routines access the internals of the
module too much. Fix the layering issues by adding new core NOR
flash APIs: <flash/nor/core.h>: - flash_driver_find_by_name() - self-descriptive <flash/nor/imp.h>: - flash_bank_add() - encapsulates adding banks to bank
list - flash_bank_list() - encapsulates retreiving bank list This allows the externs in flash/nor/imp.h to be removed, and these
mechanisms may now be re-used by other flash module code.
2009-12-03 Zachary T Welch <zw@superlucidity.net>
* : separate Jim from jtag/core.c After previous efforts, only one Jim routine remained in
jtag/core.c, and moving it to jtag/tcl.c painlessly finishes
separating these layers. The headers need separating, but the
implementation is clean.
2009-12-03 Zachary T Welch <zw@superlucidity.net>
* : check top-level command registrations When calling module_register_commands, the return value needs to be
checked for failures. Instead of duplicating code, use an array of
function pointers to the identical registration functions to iterate
over during startup.
2009-12-04 David Brownell <dbrownell@users.sourceforge.net>
* : target: cygwin build fixes Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-12-03 Nicolas Pitre <nico@fluxnic.net>
* : basic ARM semihosting support Semihosting enables code running on an ARM target to use the I/O
facilities on the host computer. The target application must be
linked against a library that forwards operation requests by using
the SVC instruction that is trapped at the Supervisor Call vector by
the debugger. The "hosted" library version provided with
CodeSourcery's Sourcery G++ Lite for ARM EABI is one example. This is currently available for ARM9 processors, but any ARM variant
should be able to support this with little additional work. Tested using binaries compiled with Sourcery G++ Lite 2009q1-161 and
ARM RVCT 3.0. [dbrownell@users.sourceforge.net: doc tweaks, NEWS] Signed-off-by: Nicolas Pitre <nico@marvell.com> Signed-off-by: David
Brownell <dbrownell@users.sourceforge.net>
2009-11-16 Dean Glazeski <dnglaze@gmail.com>
* : Make ARM NAND I/O operations aware of last op Updates the ARM NAND I/O code to look at and update the op field of
arm_nand_data to reflect the last operation performed. It uses this
field to copy the correct code to the target in the case where the
struct is used for reads and writes. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-20 Dean Glazeski <dnglaze@gmail.com>
* : NAND page command refactoring. Created a new function that handles sending a command and the
address information for pages to a NAND device. [dbrownell@users.sourceforge.net: tweaked line lengths, name
'oob_only'] Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-12-03 David Brownell <dbrownell@users.sourceforge.net>
* : ARM DPM: share debug reason logic No point in both ARM11 and Cortex-A8 having private copies of the
logic sorting out e.g. DBG_REASON_WATCHPOINT. Add and use a shared routine for this ... there's actually a bunch
more debug entry logic that could be shared, this is just a start on
that. Note that this routine fixes a bug observed in the ARM11
code, where some abort mode quirks were displayed as being an
unknown debug reason; and also silences needless ARM11 chatter. Likewise with private copies of DSCR ... add one to the DPM struct.
Save it as part of setting DBG_REASON_* so later patches can switch
over to using that copy. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-12-03 David Brownell <dbrownell@users.sourceforge.net>
* : ARM DPM: make DSCR bit defs sharable Move the symbols for these bits from "armv7a.h" to "arm_dpm.h",
where they can be seen and used not just by Cortex-A but also by the
ARM11 (armv6) code. Change them from bit numbers to bit masks ... this matches the usage
in ARM11 code, and also makes it easier to read. Rename DSCR_EXT_INT_EN as DSCR_ITR_EN to match the docs; it's
enabling ITR functionality, not external interrupts, so this changes
the name to be less misleading. (There *IS* a bit affecting
interrupts, and this isn't it.) Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-12-03 Zachary T Welch <zw@superlucidity.net>
* : fix double 'init' regression To prevent regression in the behavior of 'init', we allow it to run
in any mode. If provided with -c init and with -c noinit, then the
second init at startup caused a spurious mode failure. Let 'init'
handle it.
2009-12-03 yvind Harboe <oyvind.harboe@zylin.com>
* : zy1000: include files have moved about now compiles again after include files were moved about to reduce -I
usage and stop using quotes but rather angle brackets for include
files. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2009-12-03 Zachary T Welch <zw@superlucidity.net>
* : change #include "../hello.h" to "hello.h" Before we can -I the top-level src/ directory alone, references to
"hello.h" must be updated. This is an internal header, so it does
not need angle brackets.
2009-12-03 Zachary T Welch <zw@superlucidity.net>
* : change #include "svf.h" to <svf/svf.h> Changes from the flat namespace to heirarchical one. Instead of
writing: #include "svf.h" the following form should be used. #include <svf/svf.h> The exception is from .c files in the same directory.
2009-12-03 Zachary T Welch <zw@superlucidity.net>
* : change #include "telnet_server.h" to <server/telnet_server.h> Changes from the flat namespace to heirarchical one. Instead of
writing: #include "telnet_server.h" the following form should be used. #include <server/telnet_server.h> The exception is from .c files in the same directory.
2009-12-03 Zachary T Welch <zw@superlucidity.net>
* : change #include "httpd.h" to <server/httpd.h> Changes from the flat namespace to heirarchical one. Instead of
writing: #include "httpd.h" the following form should be used. #include <server/httpd.h> The exception is from .c files in the same directory.
2009-12-03 Zachary T Welch <zw@superlucidity.net>
* : change #include "s3c24xx_regs.h" to <flash/nand/s3c24xx_regs.h> Changes from the flat namespace to heirarchical one. Instead of
writing: #include "s3c24xx_regs.h" the following form should be used. #include <flash/nand/s3c24xx_regs.h> The exception is from .c files in the same directory.
2009-12-03 Zachary T Welch <zw@superlucidity.net>
* : change #include "nand.h" to <flash/nand.h> Changes from the flat namespace to heirarchical one. Instead of
writing: #include "nand.h" the following form should be used. #include <flash/nand.h> The exception is from .c files in the same directory.
2009-12-03 Zachary T Welch <zw@superlucidity.net>
* : change #include "flash.h" to <flash/flash.h> Changes from the flat namespace to heirarchical one. Instead of
writing: #include "flash.h" the following form should be used. #include <flash/flash.h> The exception is from .c files in the same directory.
2009-12-03 Zachary T Welch <zw@superlucidity.net>
* : change #include "trace.h" to <target/trace.h> Changes from the flat namespace to heirarchical one. Instead of
writing: #include "trace.h" the following form should be used. #include <target/trace.h> The exception is from .c files in the same directory.
2009-12-03 Zachary T Welch <zw@superlucidity.net>
* : change #include "target.h" to <target/target.h> Changes from the flat namespace to heirarchical one. Instead of
writing: #include "target.h" the following form should be used. #include <target/target.h> The exception is from .c files in the same directory.
2009-12-03 Zachary T Welch <zw@superlucidity.net>
* : change #include "mips_ejtag.h" to <target/mips_ejtag.h> Changes from the flat namespace to heirarchical one. Instead of
writing: #include "mips_ejtag.h" the following form should be used. #include <target/mips_ejtag.h> The exception is from .c files in the same directory.
2009-12-03 Zachary T Welch <zw@superlucidity.net>
* : change #include "mips32.h" to <target/mips32.h> Changes from the flat namespace to heirarchical one. Instead of
writing: #include "mips32.h" the following form should be used. #include <target/mips32.h> The exception is from .c files in the same directory.
2009-12-03 Zachary T Welch <zw@superlucidity.net>
* : change #include "etm.h" to <target/etm.h> Changes from the flat namespace to heirarchical one. Instead of
writing: #include "etm.h" the following form should be used. #include <target/etm.h> The exception is from .c files in the same directory.
2009-12-03 Zachary T Welch <zw@superlucidity.net>
* : change #include "breakpoints.h" to <target/breakpoints.h> Changes from the flat namespace to heirarchical one. Instead of
writing: #include "breakpoints.h" the following form should be used. #include <target/breakpoints.h> The exception is from .c files in the same directory.
2009-12-03 Zachary T Welch <zw@superlucidity.net>
* : change #include "armv7m.h" to <target/armv7m.h> Changes from the flat namespace to heirarchical one. Instead of
writing: #include "armv7m.h" the following form should be used. #include <target/armv7m.h> The exception is from .c files in the same directory.
2009-12-03 Zachary T Welch <zw@superlucidity.net>
* : change #include "armv4_5_mmu.h" to <target/armv4_5_mmu.h> Changes from the flat namespace to heirarchical one. Instead of
writing: #include "armv4_5_mmu.h" the following form should be used. #include <target/armv4_5_mmu.h> The exception is from .c files in the same directory.
2009-12-03 Zachary T Welch <zw@superlucidity.net>
* : change #include "armv4_5.h" to <target/armv4_5.h> Changes from the flat namespace to heirarchical one. Instead of
writing: #include "armv4_5.h" the following form should be used. #include <target/armv4_5.h> The exception is from .c files in the same directory.
2009-12-03 Zachary T Welch <zw@superlucidity.net>
* : change #include "arm_dpm.h" to <target/arm_dpm.h> Changes from the flat namespace to heirarchical one. Instead of
writing: #include "arm_dpm.h" the following form should be used. #include <target/arm_dpm.h> The exception is from .c files in the same directory.
2009-12-03 Zachary T Welch <zw@superlucidity.net>
* : change #include "arm9tdmi.h" to <target/arm9tdmi.h> Changes from the flat namespace to heirarchical one. Instead of
writing: #include "arm9tdmi.h" the following form should be used. #include <target/arm9tdmi.h> The exception is from .c files in the same directory.
2009-12-03 Zachary T Welch <zw@superlucidity.net>
* : change #include "arm7tdmi.h" to <target/arm7tdmi.h> Changes from the flat namespace to heirarchical one. Instead of
writing: #include "arm7tdmi.h" the following form should be used. #include <target/arm7tdmi.h> The exception is from .c files in the same directory.
2009-12-03 Zachary T Welch <zw@superlucidity.net>
* : change #include "arm11.h" to <target/arm11.h> Changes from the flat namespace to heirarchical one. Instead of
writing: #include "arm11.h" the following form should be used. #include <target/arm11.h> The exception is from .c files in the same directory.
2009-12-03 Zachary T Welch <zw@superlucidity.net>
* : change #include "minidriver.h" to <jtag/minidriver.h> Changes from the flat namespace to heirarchical one. Instead of
writing: #include "minidriver.h" the following form should be used. #include <jtag/minidriver.h> The exception is from .c files in the same directory.
2009-12-03 Zachary T Welch <zw@superlucidity.net>
* : change #include "interface.h" to <jtag/interface.h> Changes from the flat namespace to heirarchical one. Instead of
writing: #include "interface.h" the following form should be used. #include <jtag/interface.h> The exception is from .c files in the same directory.
2009-12-03 Zachary T Welch <zw@superlucidity.net>
* : change #include "types.h" to <helper/types.h> Changes from the flat namespace to heirarchical one. Instead of
writing: #include "types.h" the following form should be used. #include <helper/types.h> The exception is from .c files in the same directory.
2009-12-03 Zachary T Welch <zw@superlucidity.net>
* : change #include "replacements.h" to <helper/replacements.h> Changes from the flat namespace to heirarchical one. Instead of
writing: #include "replacements.h" the following form should be used. #include <helper/replacements.h> The exception is from .c files in the same directory.
2009-12-03 Zachary T Welch <zw@superlucidity.net>
* : change #include "log.h" to <helper/log.h> Changes from the flat namespace to heirarchical one. Instead of
writing: #include "log.h" the following form should be used. #include <helper/log.h> The exception is from .c files in the same directory.
2009-12-03 Zachary T Welch <zw@superlucidity.net>
* : change #include "ioutil.h" to <helper/ioutil.h> Changes from the flat namespace to heirarchical one. Instead of
writing: #include "ioutil.h" the following form should be used. #include <helper/ioutil.h> The exception is from .c files in the same directory.
2009-12-03 Zachary T Welch <zw@superlucidity.net>
* : change #include "configuration.h" to <helper/configuration.h> Changes from the flat namespace to heirarchical one. Instead of
writing: #include "configuration.h" the following form should be used. #include <helper/configuration.h> The exception is from .c files in the same directory.
2009-12-03 Zachary T Welch <zw@superlucidity.net>
* : change #include "binarybuffer.h" to <helper/binarybuffer.h> Changes from the flat namespace to heirarchical one. Instead of
writing: #include "binarybuffer.h" the following form should be used. #include <helper/binarybuffer.h> The exception is from .c files in the same directory.
2009-11-28 Zachary T Welch <zw@superlucidity.net>
* : change autoconf #include in configure.in Updates "system.h" and "replacements.h" with <helpers/system.h> and
<helpers/replacements.h> respectively.
2009-12-03 Nicolas Pitre <nico@fluxnic.net>
* : feroceon.c should be part of ARM7_9_SRC The Feroceon and Dragonite cores are similar to the ARM926 and
ARM966 cores respectively. Signed-off-by: Nicolas Pitre <nico@marvell.com>
2009-12-02 Zachary T Welch <zw@superlucidity.net>
* : move jtag drivers to src/jtag/drivers Moves JTAG interface drivers to src/jtag/drivers/, Adds
src/jtag/drivers/Makefile.am. Builds libocdjtagdrivers.la. Flattens the rlink driver files into the drivers/ directory, adding
the 'rlink_' prefix or '.rlink' suffix as appropriate.
2009-12-01 Zachary T Welch <zw@superlucidity.net>
* : move nand drivers to src/flash/nand/ Moves NAND drivers to src/flash/nand/. Adds
src/flash/nand/Makefile.am. Builds libocdflashnand.la.
2009-12-02 David Brownell <dbrownell@users.sourceforge.net>
* : ARM11: store a clean copy of DSCR Just store a clean copy of DSCR in the per-CPU struct, so we
trivially pass a pointer to a recent copy. This replaces the
previous "last_dscr" and cleans up most of the related calling
conventions ... but it doesn't remove the other DSCR copy.
2009-12-02 David Brownell <dbrownell@users.sourceforge.net>
* : ARM11: don't expose RDTR Don't expose the RDTR register through the register cache any more.
If anyone wants Tcl scripts to be able to use DCC based
communication with app code in the target, this wouldn't do it. Bugfix: don't trust the Tcl-accessible version of DSCR to flag
whether RDTR needs to be restored when resuming.
2009-12-02 David Brownell <dbrownell@users.sourceforge.net>
* : ARM11: remove arm11->target Don't need/want arm11->target; we have arm11->arm.target instead.
Also remove some unused watchpoint stuff.
2009-12-02 Zachary T Welch <zw@superlucidity.net>
* : fix configure problem when building w/o USB If building OpenOCD without any USB drivers, a warning would appear
because $build_usb is never set to a sane default. This fixes it.
2009-12-02 Zachary T Welch <zw@superlucidity.net>
* : fix 'target init' command registration The command handler registration was put at the top level, rather
than as a subcommand. Move it to where it belongs.
2009-12-01 Zachary T Welch <zw@superlucidity.net>
* : remove #if BUILD_HTTPD Add httpd_stubs.c to provide no-op implementations of httpd_start()
and httpd_stop(). Allows these routines to be called unconditionally and ensures the
libocdserver ABI remains unchanged regardless of whether this
feature was built-in or not. Prints a DEBUG message when the stub implementation is included.
2009-12-01 Zachary T Welch <zw@superlucidity.net>
* : remove #if logic for openocd_sleep_*lude Adds server_stubs.c to hold these routines, using automake logic to
ensure it gets included under the right conditions.
2009-11-30 Zachary T Welch <zw@superlucidity.net>
* : target: factor target_init() into pieces Moves body of target initialization loop into a helper function,
cleaning up its visual flow in the process.
2009-11-30 Zachary T Welch <zw@superlucidity.net>
* : flash: factor init to 'flash init' Split flash initialiation into 'flash init', called from 'init'.
2009-11-30 Zachary T Welch <zw@superlucidity.net>
* : nand: factor init to 'nand init' Split NAND initialization into 'nand init', which gets called from
the main 'init' command.
2009-12-02 David Brownell <dbrownell@users.sourceforge.net>
* : ARMv7a/Cortex-A8: report watchpoint trigger insn Save and display the address of the instruction which triggered the
watchpoint. Because of pipelining, that's well behind the PC value
when debug entry completes. (Example in a subroutine that had been
returned from...) Remove unused A8 stuff, mostly watchpoint hooks from the header. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-12-02 yvind Harboe <oyvind.harboe@zylin.com>
* : zy1000: keep up with startup refactoring work. keep up with server_init() introduction. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2009-12-01 David Brownell <dbrownell@users.sourceforge.net>
* : ARM: core DPM support for watchpoints This is a NOP unless the underlying core exposes two new methods,
and neither of the two cores using this (ARM11xx, Cortex-A8) do so
yet. This patch only updates those cores so they pass a flag saying
whether or not to update breakpoint and watchpoint status before
resuming; and removing some now-needless anti-segfault code from
ARM11. Cortex-A8 didn't have that code ... yes, it segfaulted when
setting watchpoints. NOTE: this uses a slightly different strategy for setting/clearing
breakpoints than the ARM7/ARM9/etc code uses. It leaves them alone
unless it's *got* to change something, to speed halt/resume cycles
(including single stepping). ALSO NOTE: this under-delivers for Cortex-A8, where regions with
size up to 2 GBytes can be watched ... it handles watchpoints which
ARM11 can also handle (size 1/2/4 bytes). Should get fixed later. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-12-01 David Brownell <dbrownell@users.sourceforge.net>
* : Tcl and doc: update to match new 'arm mcr ...' etc Make them match the C code. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-12-01 yvind Harboe <oyvind.harboe@zylin.com>
* : zy1000: keep up with latest changes to command handling Keep up with Jim Tcl interpreter creation cleanup. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2009-12-01 David Brownell <dbrownell@users.sourceforge.net>
* : ARM11: remove previous mcr()/mrc() methods We don't need this code, now that the DPM code handles it. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-12-01 David Brownell <dbrownell@users.sourceforge.net>
* : ARM: implement mrc()/mcr() as DPM ops Instead of having separate ARM11 and Cortex-A8 implementations of
this code, have one shared implementation which just builds on the
existing "run instruction via R0" support. This enables followup patches to remove that now-unused code from
those two drivers. (Patches to move the "mrc" and "mcr" code into
"struct arm" are due too ... MIPS and other cores do not support
those ARM-specific concepts.) Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-12-01 David Brownell <dbrownell@users.sourceforge.net>
* : ARMv7-A: stop using CP15 ops The ARMv7-A code uses read_cp15() to access fault registers.
Instead, use DPM operations directly, passing in the relevant MRC
instructions. This eliminates per-operation overhead (though it'll be hard to
observe, this is uncommon) and helps eliminate read_cp15(). Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-30 yvind Harboe <oyvind.harboe@zylin.com>
* : main: invoke jtag_interface_quit() explicitly There is no particular reason to invoke jtag_interface_quit() on the
atexit() handler, it just makes the code more obtuse and stops other
legitimate usage of atexit(). Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2009-11-30 David Brownell <dbrownell@users.sourceforge.net>
* : XScale: restore_context() cleanup Clean up two aspects to this routine: bad naming, since it doesn't
restore the context, just the banked registers; and excess
indentation for the bulk of the code. Also make some of its call sites stash the function's return code;
someday they should use it for error checking. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-29 Zachary T Welch <zw@superlucidity.net>
* : remove interp global variable! Finish removing references to the 'interp' global variable from the
command module, encapsulating all reference via command_context. Eliminates use of the global entirely, so it can be removed.
Hurrah!
2009-11-29 Zachary T Welch <zw@superlucidity.net>
* : do not extern 'interp' from command.c Adds 'interp' field to command_context, chasing the few remaining
references to the global variable outside of the command module.
2009-11-29 Zachary T Welch <zw@superlucidity.net>
* : jtag: avoid using interp global variable Adds 'interp' field to jtag_tap_event_action structure to avoid
using the global variable of same name.
2009-11-29 Zachary T Welch <zw@superlucidity.net>
* : make syntax errors respond with 'usage' The 'help' text will become more verbose, so its entire text will be
far more than desired when you only borked your syntax. The usage
still allows the commands to be looked up for more help.
2009-11-29 Zachary T Welch <zw@superlucidity.net>
* : improve command_done() API and docs command_done() does not need to return an error, but it needed
Doxygen comment. Provide some for copy_command_context as well. Note: this audit revealed some potential bugs with the command
context implementation. There was a reason that commands were added
at the end of the list. Shallow copying of command_context means
that the list is shared between them. And commands added at the
top-level before the pre-existing commands will not be available in
the shared context as they were before. Yikes! Fortunately, this does not seem to occur in general use, as
'add_help_text' gets registered in startup.tcl and claims the first
slot in my own test cases. Thus, it seems that we have been masking
the issue for now, but it shows the need for further architectural
improvement in the core command module.
2009-11-29 Zachary T Welch <zw@superlucidity.net>
* : allow deferal of init Adds 'noinit' command to prevent OpenOCD from running 'init' at the
end up startup, allowing it to be given from telnet or TCL. This
provides the old behavior by default, and users can add this command
to their scripts to get the new behavior.
2009-11-28 Zachary T Welch <zw@superlucidity.net>
* : improve gdb_init() sequence Rework gdb_init to create flexible APIs (gdb_target_add_{one,all})
and static helper (gdb_target_start) for starting GDB services.
Eliminates duplicated code and provides general mechanisms for
adding GDB services. The 'init' command is updated to call the new
API, and later patches can decouple its policy of adding all targets
therein. Provides the new capability to use both piped and TCP servers when
multiple targets are defined. The first target fills the pipe, and
others will be started on TCP ports (unless disabled, i.e.
gdb_port=0).
2009-11-29 David Brownell <dbrownell@users.sourceforge.net>
* : XScale: clean up full_context() (#2) Streamline the loop by continuing as soon as we know there's no work
to be done; this lets us un-indent almost everything. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-29 David Brownell <dbrownell@users.sourceforge.net>
* : XScale: debug entry uses new register mapping Use the new mapping interfaces in the debug entry path. SPSR and
the banked registers now have smaller and faster accessors ... use
them. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-29 Marek Vasut <marek.vasut@gmail.com>
* : XScale: initial PXA3xx support [dbrownell@users.sourceforge.net: user's guide; variant param is
optional] Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-28 David Brownell <dbrownell@users.sourceforge.net>
* : bugfix: 'init' changes state, not main() Code other than main() may invoke "init". When it does so,
customized handlers may need to run ... so make sure the command
context state is updated before they do so. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-28 David Brownell <dbrownell@users.sourceforge.net>
* : Cortex-M3: don't chain "struct arm" commands Those commands presume support for the "classic" set of CPU modes
(FIQ, supervisor, IRQ, etc) ... which aren't supported by the
ARMv7-M or ARMv6-M architectures. They also presume a "struct arm"
base type, which this code doesn't use. We haven't cleaned up the register handling enough to be able to
share any of those "base" methods. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-25 Zachary T Welch <zw@superlucidity.net>
* : add more stub handlers to testee target Prevent everything from crashing when exercising various commands.
2009-11-25 Zachary T Welch <zw@superlucidity.net>
* : split jim_target into multiple handlers The 'target' command group was implemented using its own command
dispatching, which can be eliminated by using the new chained
command registration mechanism. This patch splits the jim_target()
function into individual handlers, which makes them to be visible to
the help and usage commands. These one-trick handlers are much
easier to understand.
2009-11-26 Zachary T Welch <zw@superlucidity.net>
* : improve jtag_tap_configure Splits bulk of the jtag_tap_configure into jtag_tap_configure_event,
removing three or four levels of indentation in the process. The
resulting code was stylistically improved in other ways, but it
should be functionally identical.
2009-11-26 Zachary T Welch <zw@superlucidity.net>
* : begin moving JTAG jim handlers/helpers Moves the tertiary jim handlers and required static helpers to the
top of tcl.c, defining them in a new registration array that is
chained in both the top-level context and under the jtag command.
The top-level commands can be removed at some point in the future to
reduce clutter.
2009-11-28 Zachary T Welch <zw@superlucidity.net>
* : remove redundant 'rm' command handler Two 'rm' commands were implemented and registered. This removes the
version that would have never been called prior to refactoring the
command registration.
2009-11-28 Zachary T Welch <zw@superlucidity.net>
* : include mode information in help text. Extends the help output to list the valid modes for each commands.
Fixes a memory leak of the returned command_name() string.
2009-11-27 Zachary T Welch <zw@superlucidity.net>
* : add command private data setter/accessor Presently, commands registration taks a static handler data pointer.
This patch adds support for commands that require a dynamic pointer,
such as those registered in a dynamic context (e.g. subcommands for
a user-created 'foo.cpu' command). The command_set_handler_data
will update a command (group) to use a new context pointer, while
the CMD_DATA macro allows command handlers to access the value. Jim
handlers should find this value in interp->cmdPrivData.
2009-11-27 Zachary T Welch <zw@superlucidity.net>
* : remove unknown handler Updates command registration to provide top-level handlers for all
commands, rather than falling back onto the 'unknown' command.
Instead, that same handler is registered for placeholders, providing
the same functionality under the root verb command name instead.
This permits users to implement their own 'unknown' function, and it
resolves some mind-bending breakage related to function object
lookup while recursing. Changes 'ocd_bounce' to call 'ocd_command' and 'ocd_help' from the
wrapper directly, rather than bouncing through their wrappers. This
prevents endless recursion caused by the above changes, whereby the
'command' wrapper's type check would blow the stack to hell and
gone.
2009-11-27 Zachary T Welch <zw@superlucidity.net>
* : add 'command type' introspective handler Adds the 'command' group handler, with the 'type' command producing
a string that tells whether the given command is 'native' (for
Jim-based command handlers), 'simple' (for simple built-in
commands), 'group' for command group placeholders, and 'unknown' if
not found in the command registration tables (e.g. core built-ins
functions).
2009-11-28 David Brownell <dbrownell@users.sourceforge.net>
* : ARM11: fix dbgtap JTAG_DEBUG There is no DEBUG() macro; don't call one! Always at least *parse*
debug code, to help prevent such errors. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-28 David Brownell <dbrownell@users.sourceforge.net>
* : target: remove unused TARGET_EVENT_OLD_* symbols Just two *_OLD_* symbols left... Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-27 David Brownell <dbrownell@users.sourceforge.net>
* : omap3530.cfg: use new "reset-assert" event Replaces previous "reset-assert-pre" workaround. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-27 David Brownell <dbrownell@users.sourceforge.net>
* : target: groundwork for "reset-assert" event This defines a "reset-assert" event and a supporting utility
routine, and documents both how targets should implement it and how
config scripts should use it. Core-specific updates are needed to
make this work. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-27 Zachary T Welch <zw@superlucidity.net>
* : fix regression causing duplicated output The command refactoring caused subcommand handlers to produce
duplicate output when run. The problem was introduced by failing to
ensure all such invocations went through a top-level "catcher"
script, prefixing the command name with the 'ocd_' prefix and
consuming its results. The fix is to ensure such a top-level "catcher" script gets created
for each top-level command, regardless of whether it has a handler.
Indeed, this patch removes all command registrations for
sub-commands, which would not have worked in the new registration
scheme anyway. For now, dispatch of subcommands continues to be handled by the new
'unknown' command handler, which gets fixed here to strip the 'ocd_'
prefix if searching for the top-level command name fails initially.
Some Jim commands may be registered with this prefix, and that
situation seems to require the current fallback approach.
Otherwise, that prefix could be stripped unconditionally and the
logic made a little simpler. The same problem must be handled by
the 'help' command handler too, so its lookup process works as
intended. Overall, the command dispatching remains more complicated than
desired, but this patch fixes the immediate regressions.
2009-11-27 Zachary T Welch <zw@superlucidity.net>
* : update minidummy interface driver command handling Changes the interface definition field reference from
register_commands to commands, which allows the module to compile.
2009-11-27 yvind Harboe <oyvind.harboe@zylin.com>
* : zy1000: keep up with changes to log_init() fn's and return value for log_init() changed to void. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2009-11-16 Dean Glazeski <dnglaze@gmail.com>
* : ARM NAND I/O header documentation update. Fixed the header file to properly specify the doxygen documentation
for the items defined in it. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-16 Dean Glazeski <dnglaze@gmail.com>
* : ARM NAND I/O refactor code copying. Created a function for copying code to the working area on a target.
The NAND write and read functions are updated to include use of this
function. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-17 Dean Glazeski <dnglaze@gmail.com>
* : NAND Flash documentation update. Updated doxygen comments for different interface structures for the
NAND interface. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-24 Uwe Hermann <uwe@hermann-uwe.de>
* : update bug reporting information The Berlios bug-tracker is disabled, bug reports go to the list. Signed-off-by: Zachary T Welch <zw@superlucidity.net>
2009-11-24 Uwe Hermann <uwe@hermann-uwe.de>
* : fix typos in source files Correct some spelling errors in source comments and printed output. Signed-off-by: Zachary T Welch <zw@superlucidity.net>
2009-11-26 Eric Wetzel <thewetzel@gmail.com>
* : fix 'flash protect' and 'flash erase_sector' Command upgrading introduced two off-by-one bugs in the flash
commands. This patch fixes the 'flash {protect,erase_sector}'
commands to check that they have been passed the correct number of
arguments. Ammended during commit to fix help text for 'erase_address' too.
2009-11-25 David Brownell <dbrownell@users.sourceforge.net>
* : target: target_get_name() --> target_type_name() There are two names that may matter on a per-target basis. One is a
per-instance name (for example, "at91sam7s.cpu"). The other is the
name of its type (for example, "arm7tdmi"), which is shared among
multiple targets. Currently target_get_name() returns the type name, which is
misleading and is rarely appropriate for target diagnostics. Rename
that as target_type_name(). Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-25 David Brownell <dbrownell@users.sourceforge.net>
* : ARM: minor armv4/armv5 cleanup Lines of 300+ characters are still bad; debug tweaks. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-25 David Brownell <dbrownell@users.sourceforge.net>
* : ARM7/9: shrink run_algorithm_inner() lines 300+ characters is unreasonable. So is half that. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-20 Zachary T Welch <zw@superlucidity.net>
* : update NEWS with recent developments Mention changes to flash bank command syntax, 'nand verify' command,
command error handling and reporting, and help/usage command
upgrades.
2009-11-23 Zachary T Welch <zw@superlucidity.net>
* : support OPENOCD_DEBUG_LEVEL environment setting Detect the OPENOCD_DEBUG_LEVEL setting in log_init(), allowing the
very early startup phases to be debugged.
2009-11-24 Zachary T Welch <zw@superlucidity.net>
* : update command handler documentation Adds sections on command registration and chaining, giving an
overview to developers that want to use these features.
2009-11-21 Zachary T Welch <zw@superlucidity.net>
* : improve command handling examples Removes hello and foo commands from top-level registration.
Instead, the dummy interface driver and faux flash driver have been
augmented to register these commands as sub-commands.
2009-11-24 Zachary T Welch <zw@superlucidity.net>
* : encapsulate and re-use log capture, retval setup Factors log capture while running script commands, eliminating
duplicated code between script_command and jim_capture. Factors
setting a command's Jim "retval" into a new helper as well. Using these new helpers in the new unknown command handler's fixes
possible regressions caused by these bits being missing.
2009-11-23 Zachary T Welch <zw@superlucidity.net>
* : improve usage and help command output Rewrite formatting code in C, removing last remenants of TCL help
code. Sinificantly improves the readability by using smarter indent
and wrap.
2009-11-24 Zachary T Welch <zw@superlucidity.net>
* : httpd: use register_commands() Updates httpd_start() to use register_commands() for 'readform' and
'writeform' commands. Adds server/httpd.h to export the new
signatures for this function (and httpd_stop), which allows removing
the obsoleted declarations inside openocd.c.
2009-11-23 Zachary T Welch <zw@superlucidity.net>
* : refactor command_new to use command_registration Save stack space: use a struct. Makes it easier to add new
parameters.
2009-11-23 Zachary T Welch <zw@superlucidity.net>
* : remove target_type register_command callback Uses chaining of command_registration structures to eliminate all
target_type register_callback routines. Exports the command_handler
registration arrays for those target types that are used by others.
2009-11-23 Zachary T Welch <zw@superlucidity.net>
* : trace: use register_commands()
2009-11-23 Zachary T Welch <zw@superlucidity.net>
* : target: use register_commands()
2009-11-23 Zachary T Welch <zw@superlucidity.net>
* : etm_dummy: use register_commands()
2009-11-23 Zachary T Welch <zw@superlucidity.net>
* : etb: use register_commands()
2009-11-23 Zachary T Welch <zw@superlucidity.net>
* : cortex_a8: use register_commands()
2009-11-23 Zachary T Welch <zw@superlucidity.net>
* : armv7a: use register_commands()
2009-11-23 Zachary T Welch <zw@superlucidity.net>
* : arm9tdmi: use register_commands()
2009-11-23 Zachary T Welch <zw@superlucidity.net>
* : arm926ejs: use register_commands()
2009-11-23 Zachary T Welch <zw@superlucidity.net>
* : arm7_9_common: use register_commands()
2009-11-23 Zachary T Welch <zw@superlucidity.net>
* : arm11: use register_commands()
2009-11-22 Zachary T Welch <zw@superlucidity.net>
* : remove flash_driver->register_callbacks Replace flash_driver callback with pointer to command_registration.
Eliminates all related routines and allows drivers to omit commands.
2009-11-22 Zachary T Welch <zw@superlucidity.net>
* : str9xpec: use register_commands()
2009-11-22 Zachary T Welch <zw@superlucidity.net>
* : str7x: use register_commands()
2009-11-22 Zachary T Welch <zw@superlucidity.net>
* : stellaris: use register_commands()
2009-11-22 Zachary T Welch <zw@superlucidity.net>
* : nand: use register_commands() Eliminates 'nand_cmd' global variable.
2009-11-22 Zachary T Welch <zw@superlucidity.net>
* : lpc3180_nand_controller: use register_commands()
2009-11-22 Zachary T Welch <zw@superlucidity.net>
* : lpc2000: use register_commands()
2009-11-22 Zachary T Welch <zw@superlucidity.net>
* : ecos: use register_commands()
2009-11-22 Zachary T Welch <zw@superlucidity.net>
* : avrf: use register_commands()
2009-11-22 Zachary T Welch <zw@superlucidity.net>
* : at91sam3: use register_commands()
2009-11-20 Zachary T Welch <zw@superlucidity.net>
* : vsllink: use register_commands() Use register_commands() with command registration array.
2009-11-20 Zachary T Welch <zw@superlucidity.net>
* : presto: use register_commands() Use register_commands() with command registration array.
2009-11-20 Zachary T Welch <zw@superlucidity.net>
* : jlink: use register_commands() Use register_commands() with command registration array.
2009-11-20 Zachary T Welch <zw@superlucidity.net>
* : ft2232: use register_commands() Use register_commands() with a command registration array.
2009-11-20 Zachary T Welch <zw@superlucidity.net>
* : arm-jtag-ew: use register_commands() Uses register_commands() with command registration array.
2009-11-23 Zachary T Welch <zw@superlucidity.net>
* : pld: use static registration instead of callback Remove register_callbacks from pld_device structure, using an array
of command_registration records instead.
2009-11-22 Zachary T Welch <zw@superlucidity.net>
* : {,x}svf: use register_commands() Use register_commands() for registering {,x}svf commands.
2009-11-20 Zachary T Welch <zw@superlucidity.net>
* : log: use register_commands() Use register_commands() for logging callbacks. Improve help and add
proper usage.
2009-11-20 Zachary T Welch <zw@superlucidity.net>
* : openocd: use register_commands() Use register_commands() for top-level version and init command.
2009-11-21 Zachary T Welch <zw@superlucidity.net>
* : hello: use register_commands() Use new register_commands() with command registration table.
2009-11-22 Zachary T Welch <zw@superlucidity.net>
* : add public API for locating commands Allow other modules to find a command, primarily for the purpose of
registering and unregistering subcommands.
2009-11-21 Zachary T Welch <zw@superlucidity.net>
* : add command registration chaining Adds the ability to chain registration structures. Modules can
define a command with the 'chain' and 'num_chain' fields defined in
their registration table, and the register_commands() function will
initialize these commands. If the registration record creates a new
command, then the chained commands are created under it; otherwise,
they are created in the same context as the other commands (i.e. the
parent argument).
2009-11-20 Zachary T Welch <zw@superlucidity.net>
* : command: use register_commands for handlers Use register_commands() to register low-level command handlers,
adding a builtin_command_handlers declaration that is easy to
understand. Splits help and usage information into their
appropriate fields.
2009-11-20 Zachary T Welch <zw@superlucidity.net>
* : add register_commands for batch registration The register_commands API takes multiple commands in one call,
allowing modules to declare and pass a much simpler (and more
explicit) array of command_registration records.
2009-11-20 Zachary T Welch <zw@superlucidity.net>
* : use COMMAND_REGISTER macro Replaces direct calls to register_command() with a macro, to allow
its parameters to be changed and callers updated in phases.
2009-11-21 Zachary T Welch <zw@superlucidity.net>
* : improve startup tcl scripts Fix a couple of layering violations missed in the last round. Add
missing comment headers.
2009-11-24 David Brownell <dbrownell@users.sourceforge.net>
* : Cortex-A8: hook up DPM This replaces two versions of register access functions. One was
commented out, and seemed to have uncertain intent. The other was
fairly new, and helped motivate the DPM framework once I observed
that the ARM11 was doing the very same ops. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-24 David Brownell <dbrownell@users.sourceforge.net>
* : Cortex-A8: minor cleanup Make various functions static, add some comments, report vector
catch as a flavor of DBG_REASON_BREAKPOINT, get rid of
needless/undesirable ARMV4_5_CORE_REG_MODE, etc. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-24 Zachary T Welch <zw@superlucidity.net>
* : fix doxygen build Update build rules to skip the PDF unless the TeX has been created.
Also, fixes a warning regarding pattern rules being a GNU make
trick.
2009-11-19 Zachary T Welch <zw@superlucidity.net>
* : jlink: remove superfluous indentation Rewrite logic to remove indentation in jlink_usb_open, in prep for
further surgery.
2009-11-19 Zachary T Welch <zw@superlucidity.net>
* : rlink: eliminate spurious indentation Rework rlink_init to use less indentation. Best viewed with diff
-w.
2009-11-19 Zachary T Welch <zw@superlucidity.net>
* : usbprog: use jtag_usb_open Rewrite usbprob_jtag_open to use jtag_usb_open helper.
2009-11-19 Zachary T Welch <zw@superlucidity.net>
* : add jtag/usb_common.[ch] files Begins to consolidate code used by several USB JTAG interfaces.
This first patch provides the required build system changes and a
common jtag_usb_open routine, which will replace the guts for
probing the busses and devices for possible VID/PID matches. The
following patches convert each driver to use it.
2009-11-24 David Brownell <dbrownell@users.sourceforge.net>
* : ARM11: use standard run_algorithm() As with single stepping, the previous stuff was needed because the
ARM11 code wasn't using the standard ARM base type and register
access ... but now those mechanisms work, so we can switch out that
special-purpose glue, in favor of the more thoroughly tested/capable
"standard" code. Fixes a bug in the resume() implementation: it wasn't handling two
of its arguments correctly, preventing the "flash erase_check"
algorithm from working. (This code needs a *subsequent* update for
correct register handling, though... removing the confusion about
which "r2", for example, to use.) This should resolve some "FIXME" comments too, for Thumb and
processor mode support. It also gets rid of a nasty exit() call;
servers should only have *clean* shutdown paths. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-24 David Brownell <dbrownell@users.sourceforge.net>
* : ARM11: partial support for standard ARM register interfaces. This provides "standard" ARM register support -- with twenty or more
shadow registers on top of what this code now handles, but properly
associated with the various core modes -- parallel to the current
register code. That is, the current code is stilil managing the
"current" registers; the new code shadows them. You can see all the registers with "arm reg", modify the shadows
like "r8_fiq" or "sp_abt" with "reg", and see them get properly
written back when you step. (Just don't do that with any of the
registers managed by the "old" code ...) It also switches to using more standard code, relying on those
standard registers, in two places: (a) the poll status display,
which now shows core state (ARM/Thumb/...) and mode (Supervisor,
IRQ, etc); and (b) GDB register access. So it's not a full migration, there are warts -- every place that
touches the old register cache is a potential bug -- but it's a
small more-or-less-comprehensible step that's even somewhat useful.
Later patches complete the migration. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-24 David Brownell <dbrownell@users.sourceforge.net>
* : ARM11: implement provider for new DPM interface This is a very thin layer over some of the current ARM11 debug TAP
utilities. The layer isn't yet hooked up. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-24 David Brownell <dbrownell@users.sourceforge.net>
* : target: cope with *any* error setting a breakpoint It's wrong to map unrecognized failure codes to success. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-23 Jerry Ling <jerry_ling@draytek.com>
* : mips: fix gaffe when removing dynamic array allocation Classic sizeof() gaffe. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2009-10-26 yvind Harboe <oyvind.harboe@zylin.com>
* : arm926ejs: retire cp15 commands, handled by mrc/mcr. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2009-11-22 David Brownell <dbrownell@users.sourceforge.net>
* : ARM11: macro cleanup Make this code look more like the rest of the OpenOCD code. - Use calloc() directly, not NEW() ... and fix some potential memory leaks while we're at it. - Remove FNC_INFO ... it's a NOP that just clutters things, and it's trivial for developers to add tracing as needed. - Replace FNC_INFO_NOTIMPLEMENTED with LOG_WARNING calls; ditto. And stop having those call sites wrongly succeed! - Waste less space with the CHECK_RETVAL() macro. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-22 yvind Harboe <oyvind.harboe@zylin.com>
* : mips: use const for code sequences This will allow data to be allocated in read only memory instead of
on the stack. Speeds things up and reduces stack usage. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2009-11-22 yvind Harboe <oyvind.harboe@zylin.com>
* : arm926ejs: fix warnings buf_set_u32() operated on an uninitialized stack variable with
non-byte boundaries, which led to warnings about reading
uninitialized stack. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2009-11-22 David Brownell <dbrownell@users.sourceforge.net>
* : ARM: use arm_reg_current() Start using the arm_reg_current() call. This shrinks and speeds the
affected code. It can also prevent some coredumps coming from
invalid CPSR values ... the ARMV4_5_CORE_REG_MODE() macro returns
bogus registers if e.g. "Secure Monitor" mode isn't supported by the
current CPU. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-22 David Brownell <dbrownell@users.sourceforge.net>
* : target: make register flags "bool" Mostly for clarity, but it also saves code and data space. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-22 yvind Harboe <oyvind.harboe@zylin.com>
* : flash: dynamically allocate working storage Allocate working memory rather than using stack. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2009-11-22 yvind Harboe <oyvind.harboe@zylin.com>
* : todo: add tip on how to identify excessive stack usage Use dynamic allocations for working memory rather than stack. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2009-11-21 yvind Harboe <oyvind.harboe@zylin.com>
* : embedded: reduce stack usage Allocate working structures on stack to avoid issues with path
lengths + reduce stack usage. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2009-11-21 yvind Harboe <oyvind.harboe@zylin.com>
* : embedded: save stack and also do not recaluate the crc32_table upon every invocation. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2009-11-22 yvind Harboe <oyvind.harboe@zylin.com>
* : build: fix breakage in building bin2char bin2char build relied on $(builddir) which is not defined for
arm-elf X builds at least. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2009-11-22 David Brownell <dbrownell@users.sourceforge.net>
* : ARM: define two register utilities Define arm_reg_current() ... returning handle to a given register,
and encapsulating the current mode's register shadowing. It's got
one current use, for reporting the current register set to GDB.
This will let later patches clean up much ARMV4_5_CORE_REG_MODE()
nastiness, saving a bit of code. Define and use arm_set_cpsr() ... initially it updates the cached
CPSR and sets up state used by arm_reg_current(), plus any SPSR
handle. (Later: can also set up for T and J bits.) Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-22 David Brownell <dbrownell@users.sourceforge.net>
* : ARM11: remove disabled register hooks Minor cleanup of ARM11 register handling: remove disabled register
hooks. This should all be handled by shared code, and this stuff is
just clutter. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-21 Zachary T Welch <zw@superlucidity.net>
* : allow jtag interfaces to lack commands Allow JTAG interface drivers to skip registering an
register_commands callback when it will just be empty.
2009-11-20 David Brownell <dbrownell@users.sourceforge.net>
* : ARM: pass 'struct reg *' to register r/w routines Implementations need to access the register struct they modify; make
it easier and less error-prone to identify the instance. (This
removes over 10% of the ARMV4_5_CORE_REG_MODE nastiness...) Plus some minor fixes noted when making these updates: ARM7/ARM9
accessor methods should be static; don't leave CPSR wrongly marked
"dirty"; note significant XScale omissions in register handling; and
have armv4_5_build_reg_cache() record its result. Rename "struct armv4_5_core_reg" as "struct arm_reg"; it's used for
more than those older architecture generations. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-20 Zachary T Welch <zw@superlucidity.net>
* : maintain command lists in sorted order Use insertion sort to the command link lists. The only practical
effect of this is to order the output of the new 'help' command.
2009-11-20 Zachary T Welch <zw@superlucidity.net>
* : provide command context during cmd_init For the startup.tcl code to use built-in commands, the context must
be associated with the interpreter temporarily. This will be
required to add help text.
2009-11-19 Zachary T Welch <zw@superlucidity.net>
* : factor help script command into parts Creates a helper function, cmd_help, which displays the help string
for a single command. Presently, it is called from the loop in
help. The routine has been extended to allow indentation of command
groups, so an improved help command can improve the display of
information.
2009-11-19 Zachary T Welch <zw@superlucidity.net>
* : change command_find helper interface Avoid requiring double pointers where a single would suffice.
2009-11-20 David Brownell <dbrownell@users.sourceforge.net>
* : target.cfg: TAP id for Hilscher netX 500 Based on email from "Martin Kaul <martin.kaul@leuze.de>". Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-19 David Brownell <dbrownell@users.sourceforge.net>
* : Cortex-A8: better context restore The previous version never wrote dirty registers for non-current CPU
modes ... fix that. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-19 David Brownell <dbrownell@users.sourceforge.net>
* : target: create/use register_cache_invalidate() Create a generic register_cache_invalidate(), and use it to replace
three all-but-identical core-specific routines: - armv4_5_invalidate_core_regs() - armv7m_invalidate_core_regs - mips32_invalidate_core_regs() too. Make cache->num_regs be unsigned, avoiding various errors. Net code shrink and simplification. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-18 Zachary T Welch <zw@superlucidity.net>
* : document new flash syntax Updates the user documentation with the new syntax for defining
flash and nand banks.
2009-11-17 Zachary T Welch <zw@superlucidity.net>
* : add support for naming NAND banks Requires users to name their nand banks, allowing them to be used
instead of bank numbers in script commands.
2009-11-18 Zachary T Welch <zw@superlucidity.net>
* : update 'flash bank' usage in scripts Sets $_FLASHNAME to "$_CHIPNAME.flash" and passes it as the first
argument to 'flash bank'.
2009-11-17 Zachary T Welch <zw@superlucidity.net>
* : refactor handle_flash_bank_command Move variables to point of first use, reducing their scope. Add
driver_name temporary to help arguments be changed later. Eliminates the useless 'found' variable, changing the code to
terminate the loop immediate and return its success.
2009-11-17 Zachary T Welch <zw@superlucidity.net>
* : allow flash/nand banks commands to accept names Add get_flash_bank_by_name (and get_nand_device_by_name) helpers to
retrieves struct flash_bank * (struct nand_device *) given a driver
name and an (optional) driver-specific bank index. These are used to extend flash_command_get_bank_by_num (and
nand_command_get_device_by_num) to allow all flash (nand) commands
to reference defined banks by name, not just by number. To avoid some code duplication, add the flash/common.[ch] files to
hold functionality common to both types driver. The first two
methods are helpers for the above routines to find a bank specified
by a "name" or "name.index" string. get_flash_name_index() finds
the '.index' portion, while flash_driver_name_matches() performs the
string portion matching.
2009-11-19 David Brownell <dbrownell@users.sourceforge.net>
* : ARM: streamline register init Combine register names with other per-register data into a single
template structure. This saves space, and makes it easier to change
how registers get handled (by shrinking the number of places that
care about cache indices). Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-18 Dean Glazeski <dnglaze@gmail.com>
* : nand_fileio_parse_args parses wrong param for size This changes the size parameter from argv[2] to argv[3], which is
what it's supposed to be. Signed-off-by: Zachary T Welch <zw@superlucidity.net>
2009-11-19 David Brownell <dbrownell@users.sourceforge.net>
* : ARMv7-A: use standard ARM core_mode symbols The only way ARMv7-A modes differ from ARMv4/ARMv5 flavors is that
v7-A is allowed to include "Secure monitor" support. That's now
handled by our standard top-level ARM code ... so phase out the
stuff that's specific to ARMv7-A. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-18 Zachary T Welch <zw@superlucidity.net>
* : remove fast command and jim_global_long Removing the fast command eliminates the fast_and_dangerous global,
which was used only by arm7_9_common as an initializer. The command
is not called in the tree; instead, more explicit commands are used. The jim_global_long function was not used anywhere in the tree.
2009-11-18 Zachary T Welch <zw@superlucidity.net>
* : change all bool parsers to accept any value This patch changes the behavior of all boolean parsing callers to
accept any one of "true/enable/on/yes/1" or
"false/disable/off/no/0". Since one particular pair will be most appropriate in any given
situation, the specific macros should continue to be used in order
to display the most informative error messages possible.
2009-11-18 Zachary T Welch <zw@superlucidity.net>
* : use COMMAND_PARSE_ENABLE macro where appropriate Updates all command parsing of simple "enable" and "disable"
arguments. A few case in the tree use a tri-state or extended
arguments, which cannot use this simple macro. Simlifies the xscale icache/dcache command handler logic.
2009-11-18 Zachary T Welch <zw@superlucidity.net>
* : add COMMAND_PARSE_BOOL macro and friends Adds several macros similar to COMMAND_PARSE_NUMBER, but for parsing
boolean command arguments. Two flavors are provided to provide
drop-in compatibility with existing code, allow for the elimination
of a lot of code bloat while improving the error checking and
reporting. COMMAND_PARSE_ON_OFF parses "on"/"off" command parameters.
COMMAND_PARSE_ENABLE parses "enable"/"disable" command parameters. Both print the error and return an error out of the calling
function.
2009-11-18 David Brownell <dbrownell@users.sourceforge.net>
* : Cortex-A8: xPSR handling updates When we read the CPSR on debug entry, update the CPSR cache in all
cases, not just when the current processor state is User or System. Plus minor cleanup of how the (too-many) other registers' cache
entries get updated. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-18 David Brownell <dbrownell@users.sourceforge.net>
* : ARM: simplify ARMv7-A register handling ARMv7-A doesn't need to duplicate all the standard ARM code for
register handling. - Switch Cortex-A8 to use the standard register code - Remove duplicated infrastructure from ARMv7-A - Have ARMv7-A arch_state() show CPSR, like other ARMs Add comments to show where the Cortex-A8 isn't actually doing the
right thing for register reads/writes, unless core happens to be in
the right mode to start with. (Looks like maybe there may be
generic confusion between saved/current PSR values in all the ARM
code ...) Make related ARMv7-A and Cortex-A8 symbols properly static. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-18 David Brownell <dbrownell@users.sourceforge.net>
* : ARM: add "core_type" field to "struct arm" It's used to flag cores with the "TrustZone" extension, and is used
in subsequent patches to set up support for the registers shadowed
by its new secure monitor mode. The ARM1176 and Cortex-A8 both support this new mode. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-17 Zachary T Welch <zw@superlucidity.net>
* : pass startup_tcl to command_init Removes external linkage from helper module, making the startup code
a parameter to a new command context's initialization routine.
2009-11-17 Zachary T Welch <zw@superlucidity.net>
* : move startup.c to libopenocd Moves the creation of startup_tcl.c from src/helper/ to src/.
Prepares to split the startup.tcl file into its per-module parts.
2009-11-17 yvind Harboe <oyvind.harboe@zylin.com>
* : jtag-api: get rid of unecessary buf_set_u23() that make code
obtuse. Also, this is on the path to increasing the word size for bit
vectors from 8 to something wider(32? natural host machine width?) Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2009-11-17 David Brownell <dbrownell@users.sourceforge.net>
* : ARM: add arm_mode_name() Add and use arm_mode_name() to map from PSR bits to user meaningful
names. It uses a new table which, later, can be used to hold other
mode-coupled data. Add definitions for the "Secure Monitor" mode, as seen on some ARM11
cores (like ARM1176) and on Cortex-A8. The previous mode name
scheme didn't understand that mode. Remove the old mechanism ... there were two copies, caused by
Cortex-A8 needing to add "Secure Monitor" mode support. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-17 Zachary T Welch <zw@superlucidity.net>
* : allow documentation to be configured Add --disable-doxygen-html and --enable-doxygen-pdf options to the
configure script, allowing user to change the defaults. These
update the proess of munging the Doxygen configuration file to use
the settings thusly provided. Add options in README.
2009-11-17 Zachary T Welch <zw@superlucidity.net>
* : update command_handler documentation Improve the developer manual and primer sections which talk about
writing command handlers. Notably, it documents the new CMD_*
macros.
2009-11-16 Zachary T Welch <zw@superlucidity.net>
* : add CMD_NAME variable in command_invocation Update CMD_NAME from its migratory home in CMD_ARGV[-1] to
cmd->name. Allows CMD_ARGV++ idiom to be used safely in command
handlers.
2009-11-15 Zachary T Welch <zw@superlucidity.net>
* : command_handler: change 'cmd_ctx' to CMD_CTX Convert all command handler 'cmd_ctx' parameter usage with CMD_CTX.
2009-11-15 Zachary T Welch <zw@superlucidity.net>
* : command_handler: change to 'argc' to CMD_ARGC This patch converts all instances of 'argc' in COMMAND_HANDLER
routines to use CMD_ARGC.
2009-11-17 David Brownell <dbrownell@users.sourceforge.net>
* : target: simplify register get/set ops No need to indirect from registered integers to pointers. Just
stash the pointers directly in the register struct, and don't even
bother registering. This is a small code shrink, speeds register access just a smidgeon,
and gets rid of another rude exit() path. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-17 yvind Harboe <oyvind.harboe@zylin.com>
* : zy1000: revC UART forwarding Name of serial device differs between revB/C. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2009-11-12 yvind Harboe <oyvind.harboe@zylin.com>
* : zy1000: fix bug when running on non-arm CPU Shifting by more than 32 is undefined for 32 bit integers according
to the C standard. Robust solution is conditional code. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2009-11-17 David Brownell <dbrownell@users.sourceforge.net>
* : ARM9TDMI: remove now-needless "struct arm9tdmi" And move the rest of the vector_catch stuff into the C file; it's
not part of the module interface. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-17 David Brownell <dbrownell@users.sourceforge.net>
* : target: remove some more duplicate includes Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-16 David Brownell <dbrownell@users.sourceforge.net>
* : Cortex-A8: no exit() calls, add missing v7-A init Eventually there should be a v7a init routine, but for now all that
is inlined here. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-16 David Brownell <dbrownell@users.sourceforge.net>
* : MIPS: no exit() calls Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-16 David Brownell <dbrownell@users.sourceforge.net>
* : ARMv4/ARMv5: no exit() calls Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-16 David Brownell <dbrownell@users.sourceforge.net>
* : Cortex-M3: don't exit() Get rid of undesirable and needless exit() calls from the Cortex-M3
support. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-16 David Brownell <dbrownell@users.sourceforge.net>
* : ARM11: register (most) standard ARM commands Have ARM11 register the "standard" ARM commands. For now, only
disassembly really works. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-16 David Brownell <dbrownell@users.sourceforge.net>
* : JTAG: fix autoprobe failure. Fix bug noted by Øyvind: terminate the IR length autoscan when the
IR is too long, or otherwise broken. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : struct fileio: improve member types Add const keyword to file url and cast to free(). Make size an ssize_t and chase all format strings that use it.
2009-11-15 Zachary T Welch <zw@superlucidity.net>
* : use Jim_CmdProc in jim_register The jim_register command just needed to use the type defined by
jim.h.
2009-11-15 Zachary T Welch <zw@superlucidity.net>
* : make command line options const The getopt_long call allows a const struct option, so mark ours
const too.
2009-11-16 David Brownell <dbrownell@users.sourceforge.net>
* : target: don't include "log.h" from "armv4_5.h" No point in multiple includes, and that file doesn't use its
functions any more. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-16 David Brownell <dbrownell@users.sourceforge.net>
* : JTAG: no LOG_WARNING() for taps without IDCODE Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-16 David Brownell <dbrownell@users.sourceforge.net>
* : "types.h" doxygen fix Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-16 Zachary T Welch <zw@superlucidity.net>
* : move ARRAY_SIZE macro to types.h The ARRAY_SIZE macro was defined in several target files, so move it
to types.h. This patch also removes two other identical macros: DIM (from
jtag.h) and asizeof (from arm11.h).
2009-11-16 Zachary T Welch <zw@superlucidity.net>
* : remove TAP_SCAN_BYTES macro Use DIV_ROUND_UP(n, 8) instead of TAP_SCAN_BYTES macro.
2009-11-16 Zachary T Welch <zw@superlucidity.net>
* : move container_of to types.h The container_of macro is useful as a general solution. It belongs
in types.h, rather than target.h where it was introduced. Requires
the offsetof macro, which comes from <stddef.h> (moved as well).
2009-11-15 Zachary T Welch <zw@superlucidity.net>
* : flash_command_get_bank_by_num: make COMMAND_HELPER Use COMMAND_HELPER macro to declare flash_command_get_bank_by_num.
This is required for COMMAND_PARSE_NUMBER macro.
2009-11-07 Zachary T Welch <zw@superlucidity.net>
* : Add 'nand verify' command Add the 'nand verify' command to perform a dump and fake-write
simultaneously, checking the read bits against those generated by
the write process. Appropriate user documentation for this command
has been added to the user guide as well. The algorithm presently makes a relatively naive comparison. Some
chips that use ECC may not verify correctly using this
implementation, but the new documentation provides details about
this limitation.
2009-11-05 Zachary T Welch <zw@superlucidity.net>
* : Use nand_fileio_* in write/dump commands. This patch eliminates duplicated code in the the NAND 'dump' and
'write' by using the new static helper functions. These changes also fix a possible memory leak in nand dump command,
in the case that the dump file failed to open. Overall, the changes should be functionally equivalent, but the
resulting code will be easier to improve and extend further.
2009-11-16 Zachary T Welch <zw@superlucidity.net>
* : binarybuffer: add API documentation Adds Doxygen documentation for a number of the binarybuffer APIs,
including "unexpected" behavior exposed during review on the list.
2009-11-14 Zachary T Welch <zw@superlucidity.net>
* : improve buf_set_buf helper Use void * and unsigned types for buffer and their sizes. Allows it
to be used with more than uint8_t * without casts.
2009-11-14 Zachary T Welch <zw@superlucidity.net>
* : improve buf_cpy helper Use memcpy for bulk of copy, improve final byte handling. Improve
types by using void * for buffers and unsigned for size.
2009-11-14 Zachary T Welch <zw@superlucidity.net>
* : improve str_to_buf and buf_to_str helpers Improve types: use void * and unsigned. Move all variables to point
of first use. Move radix guessing logic to new str_radix_guess
helper.
2009-11-14 Zachary T Welch <zw@superlucidity.net>
* : binarybuffer: fix whitespace related issues Add inter-operator whitespace. Improve existing documentation.
2009-11-16 David Brownell <dbrownell@users.sourceforge.net>
* : target: no implicit #includes of "register.h" Same deal: "register.h" got needlessly included all over the place
because of being in a few widely included headers. So take it out of the header files which included it, and put it in
files which use it ... reduce needless interdependencies. Also, don't need that extra "types.h" inclusion. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-16 David Brownell <dbrownell@users.sourceforge.net>
* : target: don't implicitly include "algorithm.h" Most files in the tree seem to have ended up including this, and
*quite* needlessly ... only code implementing or using downloadable
algorithms actually needs these declarations. So take it out of the header files which included it, and put it in
files which use it ... reduce needless interdependencies. Also: "algorithm.h" doesn't need to include "types.h" again; it
already comes from a different header. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-15 David Brownell <dbrownell@users.sourceforge.net>
* : ARM11: use now-generic memory utils Now the ARM11 cores can use the renamed arm_checksum_memory() and
arm_blank_check_memory() routines ... do so. Sanity checked with "flash erase_check" of both NOR banks on an
OMAP2420 ... the algorithm code dumped four lines of of "poll"
status after each of almost 520 blocks (yes, *very* annoying) but
gave plausible results after producing that spam. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-15 David Brownell <dbrownell@users.sourceforge.net>
* : ARM: memory utils aren't ARM7/ARM9 dependent The arm7_9_checksum_memory() and arm7_9_blank_check_memory()
routines are not actually specific to the ARM7 and ARM9 core
generations ... they can work for any core which can run algorithms
using basic ARM (not Thumb) instructions. Rename them; move the declarations to a more generic site; likewise
move the code (and tidy it a bit in the process). NOTE: the blank_check() method falsely returned a success status
(0) on one error path, when the algorithm failed. Fixed this bug. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-15 Zachary T Welch <zw@superlucidity.net>
* : arm-jtag-ew,jlink: switch to COMMAND_HANDLER These drivers were overlooked during the recent upgrade. Convert
them, moving their registration routines to eliminate their
declarations.
2009-11-14 Zachary T Welch <zw@superlucidity.net>
* : remove unused arm_jtag_buf_to_* helpers Removes unused arm_jtag_buf_* helpers from arm_jtag.[ch]. These
could reappear if patches are provided to conver the tree to use
them, but this code should not be in the master tree until that
series is ready.
2009-11-14 Zachary T Welch <zw@superlucidity.net>
* : struct scan_field_s -> struct scan_field Remove obsolete suffix from struct scan_field. Somehow, these
definitions did not get updated but did not cause any errors.
2009-11-14 David Brownell <dbrownell@users.sourceforge.net>
* : lpc2900.h -- remove from Makefile.am too Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-14 David Brownell <dbrownell@users.sourceforge.net>
* : remove annoying $URL$ startup message It's completely unused; the obnoxious "DANGER!!!" comments don't
even explain what it was doing (shorthand SVN magic). Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-14 Zachary T Welch <zw@superlucidity.net>
* : add openocd.h for top-level declarations Create src/openocd.h to hold declarations previously made internally
by src/main.c and src/server/server.c. This ensures all functions
are verified to be in-sync at compile time (rather than at link),
making it easier to track down bugs.
2009-11-13 David Brownell <dbrownell@users.sourceforge.net>
* : ARM11: ETM + ETB support Kick in ETM (and ETB) support for ARM11. Tested on OMAP 2420, so
update that configuration. (That's an ARM1136ejs, ETB, OpenGL
ES1.1, C55x DSP, etc.) Also update the other ARM11 ETM + ETB targets in the tree to set up
these modules. (Not tested.) Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-13 David Brownell <dbrownell@users.sourceforge.net>
* : iMX2* + ETB targets: hook up ETM and ETB ARM9 cores with an ETB will have a matching ETM. Hook them both up
by default. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-13 David Brownell <dbrownell@users.sourceforge.net>
* : ETM: simplify ETM initialization code paths Return NULL from etm_build_reg_cache() not ERROR_OK; and share code
on that fault path. Let ETM code handle any tracking of its cache -- not callers. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-13 David Brownell <dbrownell@users.sourceforge.net>
* : target: remove unused "bitfield" infrastructure We have too many different registers, and too many version and
context dependent interpretations, for this type of bitfield
management to be scalable. (Anyone who really wants bitfield interpretation *can* do that in
Tcl code...) There are ... quite a few copies of the same ARM dummy registers.
There should eventually be one copy; this many is craziness. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-13 David Brownell <dbrownell@users.sourceforge.net>
* : ARM7/9: rm arm7_9_get_arch_pointers() Remove the last external user of arm7_9_get_arch_pointers(), and
that annoying downcast utility. Add an is_arm7_9() predicate. Stop returning specious success codes on various failure paths in
the ARM7/ARM9 commands which used that downcast utility. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : command_t -> struct command Remove misleading typedef and redundant suffix from struct command.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : remove rlink structure typedefs Remove useless typedefs from the rlink driver. Improve whitespace.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : nand_device_t -> struct nand_device Remove misleading typedef and redundant suffix from struct
nand_device.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : reg_t -> struct reg Remove misleading typedef and redundant suffix from struct reg.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : improve mips32_pracc_context Use struct mips32_pracc_context instead of a typedef.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : armv4_5_common_t -> struct arm Remove misleading typedef and just use struct arm.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : etb_t -> struct etb Remove misleading typedef and redundant suffix from struct etb.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : image_elf_t -> struct image_elf Remove misleading typedef and redundant suffix from struct
image_elf.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : cortex_m3_fp_comparator_t -> struct cortex_m3_fp_comparator Remove misleading typedef and redundant suffix from struct
cortex_m3_fp_comparator.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : cortex_a8_brp_t -> struct cortex_a8_brp Remove misleading typedef and redundant suffix from struct
cortex_a8_brp.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : xscale_trace_t -> struct xscale_trace Remove misleading typedef and redundant suffix from struct
xscale_trace.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : target_event_action_t -> struct target_event_action Remove misleading typedef and redundant suffix from struct
target_event_action.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : arm9tdmi_vector_t -> struct arm9tdmi_vector Remove misleading typedef and redundant suffix from struct
arm9tdmi_vector. Renames enum arm9tdmi_vector as enum arm9tdmi_vector_bit.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : xscale_common_t -> struct xscale_common Remove misleading typedef and redundant suffix from struct
xscale_common.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : trace_point_t -> struct trace_point Remove misleading typedef and redundant suffix from struct
trace_point.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : target_timer_callback_t -> struct target_timer_callback Remove misleading typedef and redundant suffix from struct
target_timer_callback.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : working_area_t -> struct working_area Remove misleading typedef and redundant suffix from struct
working_area.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : reg_cache_t -> struct reg_cache Remove misleading typedef and redundant suffix from struct
reg_cache.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : oocd_trace_t -> struct oocd_trace Remove misleading typedef and redundant suffix from struct
oocd_trace.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : mips_ejtag_t -> struct mips_ejtag Remove misleading typedef and redundant suffix from struct
mips_ejtag.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : mips32_common_t -> struct mips32_common Remove misleading typedef and redundant suffix from struct
mips32_common.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : image_mot_t -> struct image_mot Remove misleading typedef and redundant suffix from struct
image_mot.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : image_ihex_t -> struct image_ihex Remove misleading typedef and redundant suffix from struct
image_ihex.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : image_section_t -> struct image_section Remove misleading typedef and redundant suffix from struct
image_section.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : etm_capture_driver_t -> struct etm_capture_driver Remove misleading typedef and redundant suffix from struct
etm_capture_driver.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : etb_reg_t -> struct etb_reg Remove misleading typedef and redundant suffix from struct etb_reg.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : cortex_m3_common_t -> struct cortex_m3_common Remove misleading typedef and redundant suffix from struct
cortex_m3_common.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : watchpoint_t -> struct watchpoint Remove misleading typedef and redundant suffix from struct
watchpoint.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : mcu_jtag_t -> struct mcu_jtag Remove misleading typedef and redundant suffix from struct mcu_jtag.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : armv7m_algorithm_t -> struct armv7m_algorithm Remove misleading typedef and redundant suffix from struct
armv7m_algorithm.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : armv7a_core_reg_t -> struct armv7a_core_reg Remove misleading typedef and redundant suffix from struct
armv7a_core_reg.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : armv7a_common_t -> struct armv7a_common Remove misleading typedef and redundant suffix from struct
armv7a_common.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : armv4_5_cache_common_t -> struct armv4_5_cache_common Remove misleading typedef and redundant suffix from struct
armv4_5_cache_common.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : armv4_5_core_reg_t -> struct armv4_5_core_reg Remove misleading typedef and redundant suffix from struct
armv4_5_core_reg.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : arm_jtag_t -> struct arm_jtag Remove misleading typedef and redundant suffix from struct arm_jtag.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : arm_load_store_instr_t -> struct arm_load_store_instr Remove misleading typedef and redundant suffix from struct
arm_load_store_instr.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : arm_b_bl_bx_blx_instr_t -> struct arm_b_bl_bx_blx_instr Remove misleading typedef and redundant suffix from struct
arm_b_bl_bx_blx_instr.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : swjdp_reg_t -> struct swjdp_reg Remove misleading typedef and redundant suffix from struct
swjdp_reg.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : arm966e_common_t -> struct arm966e_common Remove misleading typedef and redundant suffix from struct
arm966e_common.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : arm920t_tlb_entry_t -> struct arm920t_tlb_entry Remove misleading typedef and redundant suffix from struct
arm920t_tlb_entry.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : arm7tdmi_common_t -> struct arm7tdmi_common Remove misleading typedef and redundant suffix from struct
arm7tdmi_common.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : arm720t_common_t -> struct arm720t_common Remove misleading typedef and redundant suffix from struct
arm720t_common.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : arm11_reg_state_t -> struct arm11_reg_state Remove misleading typedef and redundant suffix from struct
arm11_reg_state.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : arm11_reg_defs_t -> struct arm11_reg_defs Remove misleading typedef and redundant suffix from struct
arm11_reg_defs.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : mem_param_t -> struct mem_param Remove misleading typedef and redundant suffix from struct
mem_param.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : arm11_register_history_t -> struct arm11_register_history Remove misleading typedef and redundant suffix from struct
arm11_register_history.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : pld_device_t -> struct pld_device Remove misleading typedef and redundant suffix from struct
pld_device.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : xilinx_bit_file_t -> struct xilinx_bit_file Remove misleading typedef and redundant suffix from struct
xilinx_bit_file.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : connection_t -> struct connection Remove misleading typedef and redundant suffix from struct
connection.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : tcl_connection_t -> struct tcl_connection Remove misleading typedef and redundant suffix from struct
tcl_connection.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : telnet_service_t -> struct telnet_service Remove misleading typedef and redundant suffix from struct
telnet_service.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : gdb_connection_t -> struct gdb_connection Remove misleading typedef and redundant suffix from struct
gdb_connection.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : aduc702x_flash_bank_t -> struct aduc702x_flash_bank Remove misleading typedef and redundant suffix from struct
aduc702x_flash_bank.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : pic32mx_mem_layout_t -> struct pic32mx_mem_layout Remove misleading typedef and redundant suffix from struct
pic32mx_mem_layout.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : nand_block_t -> struct nand_block Remove misleading typedef and redundant suffix from struct
nand_block.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : str9x_flash_bank_t -> struct str9x_flash_bank Remove misleading typedef and redundant suffix from struct
str9x_flash_bank.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : str7x_flash_bank_t -> struct str7x_flash_bank Remove misleading typedef and redundant suffix from struct
str7x_flash_bank.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : stm32x_flash_bank_t -> struct stm32x_flash_bank Remove misleading typedef and redundant suffix from struct
stm32x_flash_bank.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : stellaris_flash_bank_t -> struct stellaris_flash_bank Remove misleading typedef and redundant suffix from struct
stellaris_flash_bank.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : pic32mx_flash_bank_t -> struct pic32mx_flash_bank Remove misleading typedef and redundant suffix from struct
pic32mx_flash_bank.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : ocl_priv_t -> struct ocl_priv Remove misleading typedef and redundant suffix from struct ocl_priv.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : nand_manufacturer_t -> struct nand_manufacturer Remove misleading typedef and redundant suffix from struct
nand_manufacturer.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : nand_flash_controller_t -> struct nand_flash_controller Remove misleading typedef and redundant suffix from struct
nand_flash_controller.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : mflash_bank_t -> struct mflash_bank Remove misleading typedef and redundant suffix from struct
mflash_bank.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : mflash_gpio_drv_t -> struct mflash_gpio_drv Remove misleading typedef and redundant suffix from struct
mflash_gpio_drv.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : lpc3180_nand_controller_t -> struct lpc3180_nand_controller Remove misleading typedef and redundant suffix from struct
lpc3180_nand_controller.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : lpc288x_flash_bank_t -> struct lpc288x_flash_bank Remove misleading typedef and redundant suffix from struct
lpc288x_flash_bank.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : flash_driver_t -> struct flash_driver Remove misleading typedef and redundant suffix from struct
flash_driver.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : faux_flash_bank_t -> struct faux_flash_bank Remove misleading typedef and redundant suffix from struct
faux_flash_bank.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : cfi_fixup_t -> struct cfi_fixup Remove misleading typedef and redundant suffix from struct
cfi_fixup.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : cfi_spansion_pri_ext_t -> struct cfi_spansion_pri_ext Remove misleading typedef and redundant suffix from struct
cfi_spansion_pri_ext.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : cfi_intel_pri_ext_t -> struct cfi_intel_pri_ext Remove misleading typedef and redundant suffix from struct
cfi_intel_pri_ext.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : avrf_flash_bank_t -> struct avrf_flash_bank Remove misleading typedef and redundant suffix from struct
avrf_flash_bank.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : at91sam7_flash_bank_t -> struct at91sam7_flash_bank Remove misleading typedef and redundant suffix from struct
at91sam7_flash_bank.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : jtag_command_container_t -> union jtag_command_container Remove misleading typedef from union jtag_container.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : end_state_command_t -> struct end_state_command Remove misleading typedef from struct end_state_command.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : stableclocks_command_t -> struct stableclocks_command Remove misleading typedef from struct stableclocks_command.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : pathmove_command_t -> struct pathmove_command Remove misleading typedef from struct pathmove_command.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : cmd_queue_page_t -> struct cmd_queue_page Remove misleading typedef from struct cmd_queue_page.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : more vsllink typedef cleanup Remove useless typedef for struct insert_insignification_operation.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : presto_t -> struct presto Remove useless typedef.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : jlink_jtag_t -> struct jlink Remove misleading typedef and redundant suffix.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : pending_scan_result_t -> struct pending_scan_result Remove misleading typedef from struct struct pending_scan_result.
Future patches need to remove these duplicated types and code.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : use struct jtag_tap_event_action Remove useless typedef and redundant suffix from
jtag_tap_event_action.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : jtag_interface_t -> struct jtag_interface Remove useless typedef and redundant suffix from struct
jtag_interface.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : bitq_interface_t -> struct biq_interface Remove useless typedef and redundant suffix.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : scan_field_t -> struct scan_field Remove useless structure typedef.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : fileio_t -> struct fileio Remove useless structure typedef.
2009-11-13 Zachary T Welch <zw@superlucidity.net>
* : remove accidental artifact Somehow I managed to slip a temporary build file into the tree.
Remove it and update the .gitignore file so it doesn't happen again.
2009-11-11 Zachary T Welch <zw@superlucidity.net>
* : add src/hello.c to augment new command tutorial The hello module provides the 'hello' command, printing a greetings
to the command console. It can grow to serve as pedagogical example
of services that OpenOCD developers should use: a runnable style
guide.
2009-11-10 Zachary T Welch <zw@superlucidity.net>
* : command_handler_t: make args parameter const This patch prevents command handlers from modifying the strings
passed in the 'args' array.
2009-11-10 Zachary T Welch <zw@superlucidity.net>
* : command_handler_t: make argc unsigned The number of command arguments will always be 0 or more, so use the
right type in handlers. This has a cascading effect up through the
layers, but the new COMMAND_HANDLER macros prevented total chaos.
2009-11-10 Zachary T Welch <zw@superlucidity.net>
* : use CALL_COMMAND_HANDLER instead of direct calls By using CALL_COMMAND_HANDLER, parameters can be reordered, added,
or even removed in inherited signatures, without requiring
revisiting all of the various call sites.
2009-11-10 Zachary T Welch <zw@superlucidity.net>
* : nand: add NAND_DEVICE_COMMAND_HANDLER macro Abstracts the extended NAND command handling to allow the function
signature to be controlled by __COMMAND_HANDLER.
2009-11-10 Zachary T Welch <zw@superlucidity.net>
* : add FLASH_BANK_COMMAND_HANDLER macro The FLASH_BANK_COMMAND_HANDLER provides an extended command handler
using the __COMMAND_HANDLER macro, whereby changing that macro is
sufficient to update flash handlers with the new signature. It also
enforces uniform style and scope when implementing this handler.
2009-11-10 Zachary T Welch <zw@superlucidity.net>
* : arm_adi,armv7[am]: use COMMAND_HELPER for helpers Rewrites the dap_* command helpers to use the COMMAND_HELPER
paradigm. Uses CALL_COMMAND_HELPER to hide inherited calling
conventions.
2009-11-09 Zachary T Welch <zw@superlucidity.net>
* : use COMMAND_HANDLER macro to define all commands
2009-11-10 Zachary T Welch <zw@superlucidity.net>
* : add COMMAND_HANDLER and COMMAND_HELPER macros The COMMAND_HANDLER and COMMAND_HELPER macros allow commands to be
defined in a manner that decouples them from the exact order and
type of their parameters. Once converted, incremental changes to
the command handler type can be addressed in incremental patches
that do not need to touch the entire tree. These macros' implementation, __COMMAND_HANDLER, is used to define
the new command_handler_t type, and additional patches will use it
to derive new macros to define extended command types (e.g. flash,
nand, pld). The CALL_COMMAND_HANDLER provides a means of calling
helpers or nested handlers from withing a command handler. This patch uses C99 varadic macro expansion. Please report
compilers that cannot handle this code.
2009-11-13 David Brownell <dbrownell@users.sourceforge.net>
* : Cortex-A8: fix indent The "remove (forward) declarations" patch goofed indentation on the
"cortexa8_target" struct; fix. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-12 David Brownell <dbrownell@users.sourceforge.net>
* : ETM: start support for ETMv2+ ARM11 and newer cores include updated ETM modules. Recognize their
version codes and some key config differences. Sanity checked on an
OMAP2, with an ETM11RV r0p1 (ETMv3.1). This still handles only scan chain 6, with at most 128 registers.
Newer cores (mostly, Cortex) will need to use the DAP instead. Note that the newer ETM modules don't quite fit the quirky config
model of the older ones ... having more port widths is easy, but the
modes aren't the same. That still needs to change. Fix a curious bug ... how did the register cache NOT get saved?? Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-12 Jonas Horberg <jhorberg@sauer-danfoss.com>
* : parport: add support for the jtag_khz command. Add the khz and speed_div functions to the parport interface driver.
Add the parport_toggling_time function that tells the parport driver
how long (in nanoseconds) it takes for the hardware to toggle TCK. [dbrownell@users.sourceforge.net: tweak doc for clarity, mention
multimeter, and whitespace fixes] Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-11 David Brownell <dbrownell@users.sourceforge.net>
* : ETM: use new toplevel ETM handle Make ETM itself use the new toplevel ETM handle, instead of the
to-be-removed lower level one. As of this patch, nothing should be
using the old ARM7/ARM9-specific handle. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-11 David Brownell <dbrownell@users.sourceforge.net>
* : ETM: update arm[79]tdmi_examine() Make ARM7 and ARM9 cores use the new toplevel ETM handle to trigger
ETM setup, not the to-be-removed lower level one. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-10 Zachary T Welch <zw@superlucidity.net>
* : fix 'jtag interface' behavior Without this patch, running "openocd -c 'jtag interface'" segfaults.
Now, it returns the string "undefined" when the interface is unset.
2009-11-11 Zachary T Welch <zw@superlucidity.net>
* : add help regardless of callback Add help for commands regardless of whether a handler is involved.
With this, all sorts of new commands can be found in 'help' text.
Hopefully, all of them have been documented.... Sadly, the lsort function appears to handle nested lists poorly,
such that sub-commands do not group with their parents.
2009-11-11 Zachary T Welch <zw@superlucidity.net>
* : add command_name helper The command_name function returns a malloced string for a given
command and its parents. This can be used to display a message to
the user, but it is used internally to handle registration and
syntax errors. This helps permit arbitrary command nesting.
2009-11-11 Zachary T Welch <zw@superlucidity.net>
* : remove obsolete doxygen comments Documenting command handler parameters is redundant and pointless.
2009-11-10 Zachary T Welch <zw@superlucidity.net>
* : cortex_a8: remove declarations, use static keyword
2009-11-10 Zachary T Welch <zw@superlucidity.net>
* : change argv to args in command handlers Subsequent patches expect all command handlers to use a uniform
parameter naming scheme. In the entire tree, these two files used
standard 'argv' instead of our non-standard 'args'. This patch opts
to reduces the noise required to unify the command handlers, using
dominant 'args' form. A future patch may be used to convert us back to the standard argv,
but that requires coordination with all developers to minimize
disruptions.
2009-11-09 Zachary T Welch <zw@superlucidity.net>
* : command.c: make private routines static This patch also improves the signature of run_command function.
2009-11-09 Zachary T Welch <zw@superlucidity.net>
* : time_support: improve use of types Update timeval_add_time to use long int; implement timeval_add with
it. Update timeval_ms to check gettimeofday return value, return
int64_t.
2009-11-11 David Brownell <dbrownell@users.sourceforge.net>
* : ETM cleanup Various cleanups of ETM related code. - Saner error return paths - Simplify arm7_9 init ... no need for extra zeroing! - Shrink some lines - Tweak some diagnostics - Use shorter name for ETM struct type. - Don't exit() and similar. The diagnostics look forward to having this ETM code
work with more than just ARM7/ARM9. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-10 David Brownell <dbrownell@users.sourceforge.net>
* : ARM720: bugfix The "ARM720 uses the new inheritance/nesting scheme" patch wrongly
scrubbed a calloc() from arm720t_target_create(). Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-10 David Brownell <dbrownell@users.sourceforge.net>
* : target.cfg: (re)move some bogus reset_config lines General rule, this is all board-specific and doesn't belong in
target config files. Some of these were just cosmetic. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-10-27 Michael Bruck <mbruck@digenius.de>
* : arm11: add etmr/etmw registers to access ETM via DBGTAP scan
chain First cut of these commands. Øyvind tinkered a bit with the number
parsing to bring it up to speed + rebased it. Ready for testing. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2009-11-10 yvind Harboe <oyvind.harboe@zylin.com>
* : telo.cfg: fix search paths Add the missing "target/" prefix for scripts in the target folder. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2009-11-10 David Brownell <dbrownell@users.sourceforge.net>
* : ARM920: implement basic MMU ops mmu() works; virt2phys() fails and logs an error. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-10 David Brownell <dbrownell@users.sourceforge.net>
* : Target: fix bad error messages And shrink a few too-long lines. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-10 yvind Harboe <oyvind.harboe@zylin.com>
* : tcl: HostOs now picks up eCos as well during compile time Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2009-11-09 Zachary T Welch <zw@superlucidity.net>
* : command.c: make commands static Removes useless declarations, moving the handler functions to appear
before their use in the (much bigger) command registriation
function.
2009-11-09 Zachary T Welch <zw@superlucidity.net>
* : jtag: remove useless declarations Contrary to my previous assessment, some opportunities to remove
forward declarations were overlooked. Remove them by moving the
definitions of the command registration and interface structure to
the end of files.
2009-11-09 Zachary T Welch <zw@superlucidity.net>
* : {pic32m,stm32}x.c: remove useless declarations Remove useless forward declarations. Moves command registrations to
end of files. Moves flash structure definitions to end of files. Signed-off-by: Zachary T Welch <zw@superlucidity.net>
2009-11-09 Zachary T Welch <zw@superlucidity.net>
* : flash/<various>.c: remove useless declarations Remove useless forward declarations. Moves flash structure
definitions to end of files. Signed-off-by: Zachary T Welch <zw@superlucidity.net>
2009-11-09 Zachary T Welch <zw@superlucidity.net>
* : flash/at91sam[37].c: remove useless declarations Remove useless forward declarations. Moves command registration to
end of file. Moves flash structure definitions to end of files. Changes a few references to global flash structure to local refs. Signed-off-by: Zachary T Welch <zw@superlucidity.net>
2009-11-09 Zachary T Welch <zw@superlucidity.net>
* : flash/*nand*.c: remove useless declarations Remove useless forward declarations. Moves command registration to
end of files. Moves flash structure definition to end of files. Signed-off-by: Zachary T Welch <zw@superlucidity.net>
2009-11-09 David Brownell <dbrownell@users.sourceforge.net>
* : Revert "target: add target->type->has_mmu fn" This patch introduced a bug preventing flash writes from working on
Cortex-M3 targets like the STM32. Moreover, it's the wrong approach
for handling no-MMU targets. The right way to handle no-MMU targets is to provide accessors for
physical addresses, and use them everywhere; and any code which
tries to work with virtual-to-physical mappings should use a
identity mapping (which can be defaulted). And ... we can tell if a target has an MMU by seeing if it's got an
mmu() method. No such methood means no MMU. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-09 David Brownell <dbrownell@users.sourceforge.net>
* : User's Guide: Flash/NAND doc tweaks Rename the "Drivers, Options, and Commands" sections to be just
"Driver List" matching the earlier reference. Add an example of
parallel CFI flash. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-09 Zachary T Welch <zw@superlucidity.net>
* : target.h: remove extern keyword and wrap Removes 'extern' keyword from function prototypes and wraps long
lines.
2009-11-09 Zachary T Welch <zw@superlucidity.net>
* : src/flash: remove 'extern' and wrap headers Removes 'extern' keywords from function prototypes in the flash
headers. Wraps long lines to fit into 80 columns. Adds multiple inclusion protection for s3c2xx_nand.h.
2009-11-09 Zachary T Welch <zw@superlucidity.net>
* : src/helper: wrap and clean headers. Remove all useless 'extern' keywords from function prototypes.
Wraps long lines for readability.
2009-11-09 David Brownell <dbrownell@users.sourceforge.net>
* : EmbeddedICE: minor cleanups Add comments (Doxygen and normal), remove unused code, shrink some
overlong lines. Get rid of a forward decl. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-06 Zachary T Welch <zw@superlucidity.net>
* : Add private header for ARM11 internals. Reduces confusion about location of associated routines and reduces
clutter in the arm11 header. Removes extra whitespace around the lines touched by these changes.
2009-11-08 David Brownell <dbrownell@users.sourceforge.net>
* : ARM: minor simulator cleanup Make several functions be static. Shrink some of the overlong
lines. Use pure tab indents in some places that mixed in spaces.
This gives a minor object code shrink (about 2% on amd64). Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-08 David Brownell <dbrownell@users.sourceforge.net>
* : target.cfg: remove "-work-area-virt 0" The semantics of "-work-area-virt 0" (or phys) changed with the
patch to require specifying physical or virtrual work area
addresses. Specifying zero was previously a NOP. Now it means that
address zero is valid. This patch addresses three related issues: - MMU-less processors should never specify work-area-virt; remove those specifications. Such processors include ARM7TDMI, Cortex-M3, and ARM966. - MMU-equipped processors *can* specify work-area-virt... but zero won't be appropriate, except in mischievous contexts (which hide null pointer exceptions). Remove those specs from those processors too. If any of those mappings is valid, someone will need to submit a patch adding it ... along with a comment saying what OS provides the mapping, and in which context. Example, say "works with Linux 2.6.30+, in kernel mode". (Note that ARM Linux doesn't map kernel memory to zero ...) - Clarify docs on that "-virt" and other work area stuff. Seems to me work-area-virt is quite problematic; not every operating
system provides such static mappings; if they do, they're not in
every MMU context... Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-06 David Brownell <dbrownell@users.sourceforge.net>
* : commit a9abfa7d06dbcfded97b7fb41f50d3581c24fbae Author: David
Brownell <dbrownell@users.sourceforge.net> Date: Fri Nov 6
14:57:21 2009 -0800
2009-11-05 Zachary T Welch <zw@superlucidity.net>
* : Simplify nand indentation. Removes check covered by new nand_command_get_device_by_num helper.
Reverses logic of probe check to further reduce indentation.
2009-11-06 Zachary T Welch <zw@superlucidity.net>
* : Fix arm11 vcr command parsing.
2009-11-05 David Brownell <dbrownell@users.sourceforge.net>
* : ARM: other code uses the new inheritance/nesting scheme Remove most remaining uses of target->arch_info from ARM
infrastructure, where it hasn't already been updated. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-05 David Brownell <dbrownell@users.sourceforge.net>
* : ARM7TDMI uses the new inheritance/nesting scheme Use target_to_arm7_9(), replacing needless pointer traversals. Also: remove now-useless contents of arm7tdmi struct; it's almost
ready to be removed. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-05 David Brownell <dbrownell@users.sourceforge.net>
* : XScale uses the new inheritance/nesting scheme Use target_to_xscale(), replacing needless pointer traversals and
simplifying a bunch of code. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-05 David Brownell <dbrownell@users.sourceforge.net>
* : ARM966 uses the new inheritance/nesting scheme Use target_to_arm966(), replacing needless pointer traversals. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-05 David Brownell <dbrownell@users.sourceforge.net>
* : FA526 uses the new inheritance/nesting scheme Replace needless pointer traversals, simplify. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-05 David Brownell <dbrownell@users.sourceforge.net>
* : Cortex-M3: use the new inheritance/nesting scheme Use new target_to_cm3() and target_to_armv7m() inlines, instead of a
series of x->arch_info conversions. Remove arch_info, since nothing
uses it. Also fix an omission: the Cortex-M3 commands didn't verify that
they were operating on that kind of target. Add comment about the
ARMv7M version of that omission. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-05 David Brownell <dbrownell@users.sourceforge.net>
* : ARM7TDMI: remove forward decls The forward decls are just code clutter; remove them, by moving
their references after definitions. This is another file which
never needed even one internal forward declaration. Also shrink a few overly-long lines with function declarations or
definitions; get rid of arm7tdmi_register_commands(), it's not
needed (just delegated); minor whitespace declutter. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-05 David Brownell <dbrownell@users.sourceforge.net>
* : FA526: remove exports and forward decls Unneeded exports cause confusion about the module interfaces. Make
most functions static. The forward decls are just code clutter; remove them, by moving
their references after definitions. This is another file which
never needed even one internal forward declaration. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-05 David Brownell <dbrownell@users.sourceforge.net>
* : ARM966: remove exports and forward decls Unneeded exports cause confusion about the module interfaces. Make
most functions static. The forward decls are just code clutter; remove them, by moving
their references after definitions. This is another file which
never needed even one internal forward declaration. Also remove needless arm966e_init_target(), in favor of the arm9tdmi
routine to which it delegates its work. This saved over 100 bytes of code on x86_32. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-05 David Brownell <dbrownell@users.sourceforge.net>
* : ARM920: remove exports and forward decls Unneeded exports cause confusion about the module interfaces. Make
most functions static. Add a short header comment. The forward decls are just code clutter; remove them, by moving
their references after definitions. This is another file which
never needed even one internal forward declaration. This saved almost 900 bytes of code on x86_32; it seems the compiler
can leverage its knowledge that these functions are not called from
the outside world... Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-10-23 Zachary T Welch <zw@superlucidity.net>
* : Improve str9x config command argument parsing.
2009-10-22 Zachary T Welch <zw@superlucidity.net>
* : Improve stm32x.c command argument parsing.
2009-10-22 Zachary T Welch <zw@superlucidity.net>
* : Improve pic32mx.c command argument parsing.
2009-10-23 Zachary T Welch <zw@superlucidity.net>
* : Improve lpc3180_nand_controller.c parsing. This fixes a memory leak in lpc3180_nand_device_command by
reordering the malloc to occur after all parsing has completed.
2009-10-23 Zachary T Welch <zw@superlucidity.net>
* : Improve lpc288x.c command argument parsing.
2009-10-23 Zachary T Welch <zw@superlucidity.net>
* : Improve cfi.c command argument parsing.
2009-10-22 Zachary T Welch <zw@superlucidity.net>
* : Improve orion_nand.c command argument parsing.
2009-10-22 Zachary T Welch <zw@superlucidity.net>
* : Improve at91sam7.c command argument parsing.
2009-10-22 Zachary T Welch <zw@superlucidity.net>
* : Improve nand.c command argument parsing.
2009-10-23 Zachary T Welch <zw@superlucidity.net>
* : Add Flash/NAND bank command argument helpers. This eliminates redundant code for parsing and retreiving the bank
specified from a script command argument. This patch was written to
replace existing functionality; however, the parsing logic can be
updated later to allow flash commands to accept bank names as well
as their numbers.
2009-10-22 Zachary T Welch <zw@superlucidity.net>
* : Improve etm command argument parsing.
2009-10-24 Zachary T Welch <zw@superlucidity.net>
* : Improve arm_adi_v5 command argument parsing.
2009-10-24 Zachary T Welch <zw@superlucidity.net>
* : Improve xscale command argument parsing.
2009-10-24 Zachary T Welch <zw@superlucidity.net>
* : Improve arm966e command argument parsing.
2009-10-24 Zachary T Welch <zw@superlucidity.net>
* : Improve arm920t command argument parsing.
2009-10-22 Zachary T Welch <zw@superlucidity.net>
* : Improve arm7_9_common command argument parsing.
2009-10-24 Zachary T Welch <zw@superlucidity.net>
* : Improve armv7a command argument parsing.
2009-10-24 Zachary T Welch <zw@superlucidity.net>
* : Improve xscale command argument parsing.
2009-10-24 Zachary T Welch <zw@superlucidity.net>
* : Update all server port command to use new helper.
2009-10-22 Zachary T Welch <zw@superlucidity.net>
* : Improve target.c command argument parsing. Passes cmd_ctx into parse_load_image_command_args for reporting the
parsing errors therein.
2009-10-22 Zachary T Welch <zw@superlucidity.net>
* : Improve debug_level command argument parsing.
2009-10-22 Zachary T Welch <zw@superlucidity.net>
* : Add stringify macros in src/helper/types.h.
2009-10-27 yvind Harboe <oyvind.harboe@zylin.com>
* : arm11: check if target is halted before executing mrc/mcr
commands. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2009-10-26 yvind Harboe <oyvind.harboe@zylin.com>
* : target: check args to mrc/mcr. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2009-10-24 yvind Harboe <oyvind.harboe@zylin.com>
* : TODO: Wrote up list of remaining tasks for target->type->mrc/mcr Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2009-10-24 yvind Harboe <oyvind.harboe@zylin.com>
* : cortex_a8: add mrc mcr interface. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2009-11-05 David Brownell <dbrownell@users.sourceforge.net>
* : watchpoint_add() cleanup Fail watchpoint_add() if it's the same address but the parameters
are different ... don't just assume having the same address means
the same watchpoint! (Note that overlapping watchpoints aren't
detected...) Handle unrecognized return codes more sanely; don't exit()! And
describe command params right. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-05 David Brownell <dbrownell@users.sourceforge.net>
* : Cortex-M3: minor cleanup There's no reason to read which interrupts are enabled from the
NVIC; that state isn't used. Plus, it's highly dynamic since
firmware can change it at any time; remove the support for those
state records. Remove duplicate definition of DWT_CTRL address; shrink a line. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-05 David Brownell <dbrownell@users.sourceforge.net>
* : ARMv7M: add docs, remove exports Add Doxygen for the exported ARMv7-M interfaces. Make the non-exported stuff static. Remove functions and data which
are now observably unused. Add comment about a small speedup that the run_algorithm() logic
could use. Shrink a few too-long lines. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-10-26 yvind Harboe <oyvind.harboe@zylin.com>
* : Make default implementation of mdw/mmw phys return error 'not
implemented'
2009-10-30 yvind Harboe <oyvind.harboe@zylin.com>
* : debug interface: get rid of unused pre_debug fn Removing unused code makes it much less mysterius. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2009-11-04 David Brownell <dbrownell@users.sourceforge.net>
* : ft2232: cleanup Previous patch somehow made GCC lose some of its cookies; work
around, zero-init that struct. Clean up code from the previous patch. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-04 David Brownell <dbrownell@users.sourceforge.net>
* : PXA255: support Intel "Lubbock" platform Config for Intel's "Lubbock" PXA255 development board. Even more so
than the PXA255 itself, this is obsolete. AFAIK this was the first
generally available development platform for PXA255. Intel stopped
providing these after other devel boards became available. One interesting thing about this board from the OpenOCD perspective
is probably its flash configuration. Each bank is 32 bits wide,
built from two 16-bit StrataFlash chips wired in parallel. This
doubles throughput ... it reads/writes 32 bits in the time a single
chip takes to write just 16 bits. This conf mostly works, given XScale bugfixes, but has some issues
(notably: no access to the on-board SDRAM) flagged by FIXMEs. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-04 David Brownell <dbrownell@users.sourceforge.net>
* : Version 0.3.0 Remove -dev tag, remove -rc tag. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-04 David Brownell <dbrownell@users.sourceforge.net>
* : Doc: fix broken link Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-04 David Brownell <dbrownell@users.sourceforge.net>
* : Other files: stop referring to ChangeLog too The ChangeLog idiom is redundant given any decent SCM. Time to
phase it out here. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-04 David Brownell <dbrownell@users.sourceforge.net>
* : Tweak release docs Contrast releases to git snapshot tarballs. Mention that releases
have some quality-improvement focus, with special non-"dev" version
IDs. Explain more about version IDs, using "openocd -v" to see
them, etc; Make release milestone info be less specific about timing, and
presume we have both a merge window and an RC stage. Rework the release process information to match reality a bit more
closely. Reference the version.sh script (in one place the wrong
script was referenced). Bugfix branches get special treatment,
while non-bugfix releases are more or less what *defines* being the
mainline branch. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-04 yvind Harboe <oyvind.harboe@zylin.com>
* : configure: fix build problems with eCos Various include files require some other include files to be
included first. Copied solution from net/if.h. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2009-11-03 yvind Harboe <oyvind.harboe@zylin.com>
* : target: 20 second timeout/megabyte for CRC check There was a fixed 20 second timeout which is too little for large,
slow timeout checks. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2009-11-02 yvind Harboe <oyvind.harboe@zylin.com>
* : target: require working area for physical/virtual addresses to
be specified Fixed bug: if virtual address for working memory was not specified
and MMU was enabled, then address 0 would be used. Require working address to be specified for both MMU enabled and
disabled case. For some completely inexplicable reason this fixes the regression in
svn 2646 for flash write in arm926ejs target. The logs showed that
MMU was disabled in the case below:
https://lists.berlios.de/pipermail/openocd-development/2009-November/011882.htmlSigned-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2009-11-01 David Brownell <dbrownell@users.sourceforge.net>
* : User's Guide: more init info, autoprobing, etc Mention the autoprobing as a tool that may be useful when figuring
out how to set up; and add a section showing how to use that
mechanism (with an example). Strengthen the differences between config and run stage
descriptions; add a section for the latter. Mention Dragonite. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-01 Freddie Chopin <freddie_chopin@op.pl>
* : remove "-ircapture 0x1 -irmask 0x1" from stm32.cfg Gets rid of the runtime warning "stm32.bs: nonstandard IR mask" [dbrownell@users.sourceforge.net: line lengths, note issue, section
ref] Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-10-29 Freddie Chopin <freddie_chopin@op.pl>
* : target.cfg: use $_TARGETNAME for flash This gets rid of runtime warnings from the use of numbers. STM32
and LPC2103 were tested. Other LPC updates are the same, and so are
safe. The CFI updates match other tested changes now in the tree. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-10-30 David Brownell <dbrownell@users.sourceforge.net>
* : ARM926: fix arm926ejs_mmu() reading from bad pointer I'm suspecting this code can never have worked, since the original
commit (svn #335) in early 2008. Fix is just copy/paste from another (working) function. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-10-29 Michael Roth <mroth@nessie.de>
* : SVF: fix checking bit pattern against length The code works like follow (N = bit_len): N -1 %4 2<< -1 ~ (binary) -------------------------------------------------- 1 0 0 2 1 1111 1110 2 1 1 4 3 1111 1100 3 2 2 8 7 1111 1000 4 3 3 16 15 1111 0000 5 4 0 2 1 1111 1110 6 5 1 4 3 1111 1100 7 6 2 8 7 1111 1000 8 7 3 16 15 1111 0000 ... ... ... ... ... ... Addresses a bug reported by FangfangLi <ffli@syntest.com.cn>. [dbrownell@users.sourceforge.net: fix spelling bug too] Signed-off-by: Michael Roth <mroth@nessie.de> Cc: FangfangLi
<ffli@syntest.com.cn> Signed-off-by: David Brownell
<dbrownell@users.sourceforge.net>
2009-10-29 David Brownell <dbrownell@users.sourceforge.net>
* : XSVF: bugfix handling state paths Implement XSVF support for detailed state path transitions, by
collecting sequences of XSTATE transitions into paths and then
calling pathmove(). It seems that the Xilinx tools want to force state-by-state
transitions instead of relying on the standardized SVF paths. Like
maybe there are XSVF tools not implementing SVF paths, which are all
that we support using svf_statemove(). So from IRPAUSE, instead of just issuing "XSTATE DRPAUSE" they will
issue XSTATES for each intermediate state: first IREXIT2, then
IRUPDATE, DRSELECT, DRCAPTURE, DREXIT1, and finally DRPAUSE. This
works now. Handling of paths that go *through* reset is a trifle dodgey, but it
should be safe. Tested-by: Wookey <wookey@wookware.org> Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-10-28 Zachary T Welch <zw@superlucidity.net>
* : The openocd 0.3.0-rc0 release. Remove '-dev' version tag: 0.3.0-rc0-dev -> 0.3.0-rc0
2009-10-28 David Brownell <dbrownell@users.sourceforge.net>
* : ARM926: remove exports and forward decls Unneeded exports cause confusion about the module interfaces. Only
the Feroceon code builds on this, so only routines it reuses should
be public.. Make most remaining functions static, and fix some of
the line-too-long issues. The forward decls are just code clutter; move their references
later, after the normal declarations. Turns out we don't need even
one forward declaration in this file. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-10-22 Zachary T Welch <zw@superlucidity.net>
* : Add script to test the release process. Runs the release.sh script in a freshly cloned repository, charting
one hypothetical future of OpenOCD's lineage.
2009-10-20 Zachary T Welch <zw@superlucidity.net>
* : Factor version munging capabilities out of release.sh.
2009-10-24 Zachary T Welch <zw@superlucidity.net>
* : Add git2cl from repo.or.cz as a submodule in tools/git2cl.
2009-10-27 Nicolas Pitre <nico@fluxnic.net>
* : ARM: fix single-step of Thumb unconditional branch Only type 1 branch instruction has a condition code, not type 2.
Currently they're both tagged with ARM_B which doesn't allow for the
distinction. Signed-off-by: Nicolas Pitre <nico@marvell.com> Signed-off-by: David
Brownell <dbrownell@users.sourceforge.net>
2009-10-27 Oleg Seiljus <oleg@signalyzer.com>
* : Signalyzer: H2 and H4 support This patch includes partial support for these new JTAG adapters.
More complete support will require updates to the libftdi code, for
EEPROM access. [dbrownell@users.sourceforge.net: fix whitespace, linelen, etc ] Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-10-27 Nicolas Pitre <nico@fluxnic.net>
* : ARM: fix Thumb mode handling when single-stepping register based
branch insns Currently, OpenOCD is always caching the PC value without the T bit.
This means that assignment to the PC register must clear that bit
and set the processor state to Thumb when it is set. And when the
PC register value is transferred to another register or stored into
memory then the T bit must be restored. Discussion: It is arguable if OpenOCd should have preserved the
original PC value which would have greatly simplified this code.
The processor state could then be obtained simply by getting at bit
0 of the PC. This however would require special handling elsewhere
instead since the T bit is not always relevant (like when PC is used
with ALU insns or as an index with some addressing modes). It is
unclear which way would be simpler in the end. Signed-off-by: Nicolas Pitre <nico@marvell.com> Signed-off-by: David
Brownell <dbrownell@users.sourceforge.net>
2009-10-27 Nicolas Pitre <nico@fluxnic.net>
* : ARM: call thumb_pass_branch_condition() only for actual branch
opcodes Calling it first with every opcodes and then testing if the opcode
was indeed a branch instruction is wasteful and rather strange. If
ever thumb_pass_branch_condition() has side effects (say, like
printing a debugging traces) then the result would be garbage for
most Thumb instructions which have no condition code. While at it, let's make the nearby code more readable by reducing
some of the redundant brace noise and reworking the error handling
construct. Signed-off-by: Nicolas Pitre <nico@marvell.com> Signed-off-by: David
Brownell <dbrownell@users.sourceforge.net>
2009-10-26 David Brownell <dbrownell@users.sourceforge.net>
* : JTAG: "jtag newtap ..." cleanup Get rid of needless variable, improve and shrink diagnostic. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-10-26 David Brownell <dbrownell@users.sourceforge.net>
* : omap3530: target reset/init improvements Now I can issue "reset halt" and have everything act smoothly; the
vector_catch hardware is obviously not kicking in, but the rest of
the reset sequence acts sanely. - TAP "setup" event enables the DAP, not omap3_dbginit (resolving a chicken/egg bug I noted a while back) - Remove stuff from omap3_dbginit which should never be used in event handlers - Cope better with slow clocking during reset Also, stop hard-wiring the target name: use the input params in the
standard way, and set up $_TARGETNAME as an output param. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-10-26 Spencer Oliver <ntfreak@users.sourceforge.net>
* : Fix incorrect line endings Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2009-10-26 Wookey <wookey@wookware.org>
* : balloon3 board base config This is the very basic board config for the balloon3 board cpu JTAG
channel. The rest of the config comprises another 14 .cfg files which I
suspect openocd doesn't really want all of. I'm still not sure how
to deal with this. I'll post another mail/patch to discuss. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-10-23 yvind Harboe <oyvind.harboe@zylin.com>
* : Idea for adding watchpoint masks.
2009-10-25 David Brownell <dbrownell@users.sourceforge.net>
* : minor fixes to TODO list
2009-10-25 yvind Harboe <oyvind.harboe@zylin.com>
* : check if mmu is enabled before using mmu code path
2009-10-25 David Brownell <dbrownell@users.sourceforge.net>
* : JTAG: jtag_tap_init() bugfixes Stop allocating three bytes per IR bit, and cope somewhat better
with IR lengths over 32 bits. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-10-24 yvind Harboe <oyvind.harboe@zylin.com>
* : vector_catch and watchpoint TODO items.
2009-10-23 yvind Harboe <oyvind.harboe@zylin.com>
* : Improve help for arm9 vector_catch.
2009-10-23 yvind Harboe <oyvind.harboe@zylin.com>
* : mcr/mrc interface work. Implemented for arm926ejs and arm720t.
mcr/mrc commands added.
2009-10-23 David Brownell <dbrownell@users.sourceforge.net>
* : jtag: clean up TAP state name handling Some cosmetic cleanup, and switch to a single table mapping between
state names and symbols (vs two routines which only share that state
with difficulty). Get rid of TAP_NUM_STATES, and some related knowledge about how TAP
numbers are assigned. Later on, this will help us get rid of more
such hardwired knowlege. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-10-22 Nicolas Pitre <nico@fluxnic.net>
* : Ferocion: fix corruption of r0 when resuming Thumb mode The wrong variable (pc instead of r0) was used. Furthermore,
someone did cover this error by stupidly silencing the compiler
warning that occurred before a dummy void reference to r0 was added
to the code. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-10-22 David Brownell <dbrownell@users.sourceforge.net>
* : ETM: rename registers, doc tweaks The register names are perversely not documented as zero-indexed, so
rename them to match that convention. Also switch to lowercase
suffixes and infix numbering, matching ETB and EmbeddedICE usage. Update docs to be a bit more accurate, especially regarding what the
"trigger" event can cause; and to split the issues into a few more
paragraphs, for clarity. Make "configure" helptext point out that "oocd_trace" is prototype
hardware, not anything "real". Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-10-21 yvind Harboe <oyvind.harboe@zylin.com>
* : mww_phys retired. Replaced by generic mww phys in target.c
2009-10-21 yvind Harboe <oyvind.harboe@zylin.com>
* : retire obsolete mXY_phys commands. Handled by generic memory
read/modify commands and target read/write physical memory
callbacks.
2009-10-21 yvind Harboe <oyvind.harboe@zylin.com>
* : add support for target_read/write_phys_memory callbacks.
2009-10-21 yvind Harboe <oyvind.harboe@zylin.com>
* : commit 69a6037ce6e76dca4117689208358231dffa0929 Author: Øyvind
Harboe <oyvind.harboe@zylin.com> Date: Wed Oct 21 13:10:32 2009
+0200
2009-10-21 yvind Harboe <oyvind.harboe@zylin.com>
* : Retire obsolete and superfluous implementations of virt2phys in
each target. This is done in a polymorphic implementation in
target.c
2009-10-21 yvind Harboe <oyvind.harboe@zylin.com>
* : Defined target_write_memory() to be able to handle implementing
breakpoints for read only ram(e.g. MMU write protected.
2009-10-20 David Brownell <dbrownell@users.sourceforge.net>
* : XSVF: use svf_add_statemove() XSVF improvements: - Layer parts of XSVF directly over SVF, calling
svf_add_statemove() instead of expecting jtag_add_statemove() to
conform to the SVF/XSVF requirements (which it doesn't). This should improve XSTATE handling a lot; it removes most users
of jtag_add_statemove(), and the comments about how it should
really do what svf_add_statemove() does. - Update XSTATE logic to be a closer match to the XSVF spec. The
main open issue here is (still) that this implementation doesn't
know how to build and submit paths from single-state transitions ...
but now it will report that error case. - Update the User's Guide to mention the two utility scripts for working with XSVF, and to mention the five extension opcodes. Handling of state transition paths is, overall, still a mess. I
think they should all be specified as paths not unlike SVF uses, and
compiled to the bitstrings later ... so that we can actually make
sense of the paths. (And see the extra clocks, detours through RUN,
etc.) Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-10-20 yvind Harboe <oyvind.harboe@zylin.com>
* : Added the faux flash driver and target. Used for testing.
2009-10-20 yvind Harboe <oyvind.harboe@zylin.com>
* : More svn to git version string fixes.
2009-10-19 David Brownell <dbrownell@users.sourceforge.net>
* : davinci: add watchdog reset method Lightly tested on dm365. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-10-19 David Brownell <dbrownell@users.sourceforge.net>
* : SVF/XSVF: comment and whitespace fixes SVF: comment the predefined/default paths; make them static const SVF, XSVF: whitespace fixes, mostly so copyrights display sanely Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-10-19 Redirect 'Slash' NIL <redirect.slash.nil@gmail.com>
* : MinGW: always use "-D__USE_MINGW_ANSI_STDIO" This is unfortunately needed to make stdio work like OpenOCD expects
-- matching the ANSI-C standard, instead of MS-Windows. I tested it in both MinGW-W64 on Vista 64 and MinGW-W32 on XP, and I
don't see any adverse effects to enabling it for all MinGW versions.
2009-10-19 David Brownell <dbrownell@users.sourceforge.net>
* : Doc: jtag_init must validate scan chain too Same requirement as like init_reset, and for the same reason: we
need to start with a known and working state.
2009-10-19 David Brownell <dbrownell@users.sourceforge.net>
* : Ignore openocd.exe for "git status"
2009-10-19 oyvind <oyvind@titan.(none)>
* : Sync with official Jim Tcl repository.
2009-10-18 Dean Glazeski <dnglaze@gmail.com>
* : SDRAM and clock configuration for the SAM9-L9260 board from
Olimex
2009-10-17 David Brownell <dbrownell@users.sourceforge.net>
* : Ignore two more generated files On Windows the name is "bin2char.exe". All operating systems now
have "xscale_handler.h".
2009-10-17 Redirect \"Slash\" NIL <redirect.slash.nil@gmail.com>
* : jim-eventloop for MinGW-w64 Use JIM_WIDE_MODIFIER for the sscanf format, and apply it for
MINGW32 as well as other Windows environments. (Microsoft doesn't
conform to the C99 standard, and uses "%I64d" not "%lld" for "long
long".) NB: __MINGW32__ should work on both w32 and w64,.
2009-10-16 David Brownell <dbrownell@users.sourceforge.net>
* : xscale: better fix for debug_handler.bin Generate a C struct with the data, and use that, instead of an
assembly language file. The assembly language causes issues on
Darwin and MS-Windows, which don't necessarily use GNU AS; or if
they do, don't necessarily use its ELF syntax. It's also better in two other ways: fewer global symbols; and the
init-time size check gets optimized away at compile time. (Unless
it fails, in which case bigger chunks of the file vanish.) Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-10-14 David Brownell <dbrownell@users.sourceforge.net>
* : portability updates Based on some patches from <redirect.slash.nil@gmail.com> for
preliminary Win64 compilation. More such updates are needed, but
they need work. Compile tested on 64 and 32 bit Linuxes, and
Cygwin. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-10-14 Wookey <wookey@wookware.org>
* : Fw: [PATCH] OpenRD board configuration Ofrwarded from Ron, who's not subscribed. ----- Forwarded message from Ron <ron@debian.org> ----- From: Ron <ron@debian.org> Date: Wed, 14 Oct 2009 04:50:17 +1030 To:
wookey@debian.org Subject: [PATCH] OpenRD board configuration
X-Spam-Status: No, score=-3.6 required=4.5
tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.2.5 This piggybacks on the 'sheevaplug' layout which uses the same
Kirkwood SoC. Signed-off-by: Ron Lee <ron@debian.org>
2009-10-14 yvind Harboe <oyvind.harboe@zylin.com>
* : Work in progress on arm11 reset. Assert srst.
2009-10-14 David Brownell <david-b@pacbell.net>
* : Fix problems building xscale_debug.S
2009-10-13 Lennert Buytenhek <buytenh@wantstofly.org>
* : fix detection of PLD instructions Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-10-13 David Brownell <dbrownell@users.sourceforge.net>
* : cosmetic cleanup in TMS tables Cleanup comments and layout/whitespace in the TMS tables. Table
contents stayed the same (ignoring whitespace). Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-10-11 Yauheni Kaliuta <y.kaliuta@gmail.com>
* : Do not replace virt2phys with the default one if it was assigned Signed-off-by: Yauheni Kaliuta <y.kaliuta@gmail.com>
2009-10-13 yvind Harboe <oyvind.harboe@zylin.com>
* : Missing type for eCos.
2009-10-13 yvind Harboe <oyvind.harboe@zylin.com>
* : Delete commented out code. Add a bit of error checking.
2009-10-13 yvind Harboe <oyvind.harboe@zylin.com>
* : Propagate error from assert, deassert and halt on tcl target
object.
2009-10-12 yvind Harboe <oyvind.harboe@zylin.com>
* : More error propagation fixes.
2009-10-12 Wookey <wookey@wookware.org>
* : Xilinx xcr3256.cfg basic config script
2009-10-12 yvind Harboe <oyvind.harboe@zylin.com>
* : Propagate wDTR/rDTR failure immediately, otherwise it's followed
up by timeout errors.
2009-10-12 yvind Harboe <oyvind.harboe@zylin.com>
* : burst writes work fine. clean up junk.
2009-10-12 David Brownell <dbrownell@users.sourceforge.net>
* : simplify XScale debug handler installation Load the XScale debug handler from the read-only data section
instead of from a separate file that can get lost or garbaged. This
eliminates installation and versioning issues, and also speeds up
reset handling a bit. Plus some minor bits of cleanup related to loading that handler:
comments about just what this handler does, and check fault codes
while writing it into the mini-icache. The only behavioral changes should be cleaner failure modes after
errors during handler loading, and being a bit faster. NOTE: presumes GNU assembly syntax, with ".incbin"; and ELF,
because of the syntax of the ".size" directive. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-10-12 yvind Harboe <oyvind.harboe@zylin.com>
* : Merge commit 'origin/master'
2009-10-12 yvind Harboe <oyvind.harboe@zylin.com>
* : Supply default reset_config statement to make target scripts
useful standalone and provide sensible default
2009-10-11 David Brownell <dbrownell@users.sourceforge.net>
* : xscale.c cleanup Declare almost everything as static. Move stuff to remove most
forward references. Remove most forward declarations. Warn if the
unimplemented register functions get called. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-10-11 David Brownell <dbrownell@users.sourceforge.net>
* : xscale minor cleanup Add a header comment referencing useful XScale specs. Make most
data static, and the tables readonly. Scrub extra blank lines.
Return fault codes from one routine. Remove a needless NOP methood. (BUGFIX) When we update R0, mark R0 as dirty/valid ... not R15/PC! Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-10-10 Wookey <wookey@wookware.org>
* : Fix reset delays and tinker with ID's
2009-10-09 David Brownell <dbrownell@users.sourceforge.net>
* : add documentation about reset customization We added two overridable procedures; document them, and the two jtag
arp_* operations they necessarily expose. Update the comment about the jtag_init_reset() routine; it's been
obsolete for as long as it's had SRST support. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-10-09 yvind Harboe <oyvind.harboe@zylin.com>
* : ARM11 error checking
2009-10-09 yvind Harboe <oyvind.harboe@zylin.com>
* : Added tip in documentation on how to translate quirky syntax
2009-10-08 David Brownell <dbrownell@users.sourceforge.net>
* : add overridable Tcl "init_reset" This abstracts the "jtag arp_init-reset" call into a method called
from OpenOCD startup and reset processing. Platforms which have different requirements for how such hard resets
must be performed can now override "init_reset" instead of needing
to rebuild custom hacked versions of the server. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-10-08 Rabeeh Khoury <rabeeh@marvell.com>
* : Function to flash SheevaPlug u-boot sectors This function is used by the SheevaPlug installer to flash the erase
and re-flash the U-Boot environment in the NAND Flash.
2009-10-08 David Brownell <dbrownell@users.sourceforge.net>
* : prevent abort via polling during jtag_reset Observed: openocd: core.c:318: jtag_checks: Assertion `jtag_trst == 0'
failed. The issue was that nothing disabled background polling during calls
from the TCL shell to "jtag_reset 1 1". Fix by moving the existing
poll-disable mechanism to the JTAG layer where it belongs, and then
augmenting it to always pay attention to TRST and SRST. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-10-08 David Brownell <dbrownell@users.sourceforge.net>
* : commit 4aacf01e194d09fb55dc759fc42ac42c8432c015 Author: Øyvind
Harboe <oyvind.harboe@zylin.com> Date: Thu Oct 8 15:43:51 2009
+0200
2009-10-08 yvind Harboe <oyvind.harboe@zylin.com>
* : Add .project to .gitignore
2009-10-08 yvind Harboe <oyvind.harboe@zylin.com>
* : Update copyright statements. Make it easier to sync with Jim Tcl
2009-10-07 John Rigby <jcrigby@gmail.com>
* : iMX25 target support Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-10-07 David Brownell <dbrownell@users.sourceforge.net>
* : commit 03c9e48f88fa8b681b77c6c35d6da0a0e838a7e8 Author:
dbrownell <dbrownell@b42882b7-edfa-0310-969c-e2dbd0fdcd60> Date:
Thu Oct 8 00:13:50 2009 +0000
2009-10-07 dbrownell <dbrownell@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Force sane SRST and TRST initialization At least some FT2232 based adapters don't necessarily come up in the
expected state, with SRST and TRST disabled. Since other adapters
could suffer the same problem, let's avoid needing to patch every
driver and just force *all* adapters to initialize those values
properly at server startup. git-svn-id: svn://svn.berlios.de/openocd/trunk@2824
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-10-07 dbrownell <dbrownell@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Remove much #ifdeffery around _DEBUG_JTAG_IO_ usage. Have
DEBUG_JTAG_IO() always trigger necessary warnings. git-svn-id: svn://svn.berlios.de/openocd/trunk@2822
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-10-07 David Brownell <dbrownell@users.sourceforge.net>
* : commit f8c8d8bc72b2a87d2b2e3d583a052d8f0e5d22ea Author:
dbrownell <dbrownell@b42882b7-edfa-0310-969c-e2dbd0fdcd60> Date:
Wed Oct 7 16:15:21 2009 +0000
2009-10-07 dbrownell <dbrownell@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Note bug in handling of variables through command line
parameters. git-svn-id: svn://svn.berlios.de/openocd/trunk@2819
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-10-07 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : first stab at imx35 reset init script git-svn-id: svn://svn.berlios.de/openocd/trunk@2817
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-10-07 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : add timeouts and fix syntax error handling of mrc/mcr commands. git-svn-id: svn://svn.berlios.de/openocd/trunk@2815
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-10-07 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : increase pause before reboot so web interface remains responsive
when issuing a reboot of zy1000 git-svn-id: svn://svn.berlios.de/openocd/trunk@2813
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-10-07 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : 1.55 snapshot git-svn-id: svn://svn.berlios.de/openocd/trunk@2810
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-10-06 David Brownell <dbrownell@users.sourceforge.net>
* : commit 0da2f750a1d437b50b21ac7ee766188a47b37fad Author:
dbrownell <dbrownell@b42882b7-edfa-0310-969c-e2dbd0fdcd60> Date:
Tue Oct 6 22:56:52 2009 +0000
2009-10-06 dbrownell <dbrownell@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Dragonite has the same EICE affliction as feroceon. From: Nicolas Pitre <nico@fluxnic.net> git-svn-id: svn://svn.berlios.de/openocd/trunk@2807
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-10-06 David Brownell <dbrownell@users.sourceforge.net>
* : commit 39b57471bfd92ef0d9a3aceb69f40c1335f5b62f Author: oharboe
<oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> Date: Tue Oct 6
08:10:57 2009 +0000
2009-10-06 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : stop using targetnum git-svn-id: svn://svn.berlios.de/openocd/trunk@2804
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-10-05 David Brownell <dbrownell@users.sourceforge.net>
* : commit 64ec7f66a896fc4de6b472cffb6ef5740a76f61d Author:
dbrownell <dbrownell@b42882b7-edfa-0310-969c-e2dbd0fdcd60> Date:
Mon Oct 5 23:45:14 2009 +0000
2009-10-05 David Brownell <dbrownell@users.sourceforge.net>
* : commit 7a57c316196f93c7e31b7d00eb9b52177ae874c6 Author:
dbrownell <dbrownell@b42882b7-edfa-0310-969c-e2dbd0fdcd60> Date:
Mon Oct 5 08:23:33 2009 +0000
2009-10-05 dbrownell <dbrownell@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Add a new JTAG "setup" event; use for better DaVinci ICEpick
support. The model is that this fires after scanchain verification, when it's
safe to call "jtag tapenable $TAPNAME". So it will fire as part of
non-error paths of "init" and "reset" command processing. However
it will *NOT* trigger during "jtag_reset" processing, which skips
all scan chain verification, or after verification errors. ALSO: - switch DaVinci chips to use this new mechanism - log TAP activation/deactivation, since their IDCODEs aren't
verified - unify "enum jtag_event" scripted event notifications - remove duplicative JTAG_TAP_EVENT_POST_RESET git-svn-id: svn://svn.berlios.de/openocd/trunk@2800
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-10-05 dbrownell <dbrownell@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Update the NEWS file to cover more of the user-visible changes. git-svn-id: svn://svn.berlios.de/openocd/trunk@2798
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-10-02 mlu <mlu@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Updated reset event handling in omap3530 cfg git-svn-id: svn://svn.berlios.de/openocd/trunk@2796
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-10-02 mlu <mlu@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Make sure that DSCR_DTR_RX is not full before writing git-svn-id: svn://svn.berlios.de/openocd/trunk@2794
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-10-02 mlu <mlu@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Added asser_reset and deassert_reset for cortex_a8 git-svn-id: svn://svn.berlios.de/openocd/trunk@2792
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-10-02 dbrownell <dbrownell@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Minor ETB and ETM bugfixes and doc updates - ETB * report _actual_ hardware status, not just expected status * add a missing diagnostic on a potential ETB setup error * prefix any diagnostics with "ETB" - ETM * make "etm status" show ETM hardware status too, instead of just traceport status (which previously was fake, sigh) - Docs * flesh out "etm tracemode" docs a bit * clarify "etm status" ... previously it was traceport status * explain "etm trigger_percent" as a *traceport* option ETM+ETB tracing still isn't behaving, but now I can see that part of
the reason is that the ETB turns itself off almost immediately after
being enabled, and before collecting any data. git-svn-id: svn://svn.berlios.de/openocd/trunk@2790
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-09-30 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Update release process documentation. - Improve and clarify the wording of the introduction. - Add section on version taggging. - Some other minor corrections. git-svn-id: svn://svn.berlios.de/openocd/trunk@2788
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-09-30 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Add numeric version tag support to release script. The release process itself does not use this support yet, but it
allows packagers to automate the process of managing their own tags,
if they patch the source code before releasing binaries. The
release processes should be revised to incorporate this feature to
support -rc packages. git-svn-id: svn://svn.berlios.de/openocd/trunk@2786
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-09-30 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Add workaround to release script to update source code URL
keyword. git-svn-id: svn://svn.berlios.de/openocd/trunk@2784
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-09-30 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Fix release script bugs after experience from 0.2.0: - The NEWS step failed due to an empty commit comment. - The final release step would have failed, because the steps to
switch from the secure to insecure repository (and back again)
require both switch and a URL relocation steps git-svn-id: svn://svn.berlios.de/openocd/trunk@2782
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-09-30 mlu <mlu@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Add DSCR_DTR_RX_FULL bit define git-svn-id: svn://svn.berlios.de/openocd/trunk@2780
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-09-30 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : michal smulski <michal.smulski@ooma.com> reset now works git-svn-id: svn://svn.berlios.de/openocd/trunk@2778
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-09-29 dbrownell <dbrownell@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : ARM11 command handling fixes - Commands were supposed to have been "arm11 memwrite ..." not "memwrite ..." - Get rid of obfuscatory macros - Re-alphabetize - Add docs for "arm11 vcr" git-svn-id: svn://svn.berlios.de/openocd/trunk@2776
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-09-29 dbrownell <dbrownell@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Doc updates: add section on target software changes, minor
fixes git-svn-id: svn://svn.berlios.de/openocd/trunk@2774
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-09-29 dbrownell <dbrownell@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : ETB: cleanup needless symbol exports and forward decls. git-svn-id: svn://svn.berlios.de/openocd/trunk@2772
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-09-29 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : reentry assert git-svn-id: svn://svn.berlios.de/openocd/trunk@2770
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-09-29 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : added t/nsrst_assert_width commands git-svn-id: svn://svn.berlios.de/openocd/trunk@2768
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-09-28 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : spelling fix git-svn-id: svn://svn.berlios.de/openocd/trunk@2766
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-09-27 dbrownell <dbrownell@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Add list of JTAG adapter drivers with TAP_RESET statemove bug. git-svn-id: svn://svn.berlios.de/openocd/trunk@2764
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-09-27 dbrownell <dbrownell@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Don't provide invalid OMAP5912 IR capture value/mask attributes git-svn-id: svn://svn.berlios.de/openocd/trunk@2762
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-09-26 dbrownell <dbrownell@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Diagnostics tweaks for jtag_examine_chain() failure paths. git-svn-id: svn://svn.berlios.de/openocd/trunk@2760
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-09-26 dbrownell <dbrownell@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Streamline Capture-IR handling and integrity test. Change the handling of the "-ircapture" and "-irmask" parameters to
be slightly more sensible, given that the JTAG spec describes what
is required, and that we already require that conformance in one
place. IR scan returns some bitstring with LSBs "01". - First, provide and use default values that satisfy the IEEE spec. Existing TAP configs will override the defaults, but those parms are no longer required. - Second, warn if any TAP gets set up to violate the JTAG spec. It's likely a bug, but maybe not; else this should be an error. Improve the related diagnostics to say which TAP is affected. And associated minor fixes/cleanups to comments and diagnostics. git-svn-id: svn://svn.berlios.de/openocd/trunk@2758
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-09-25 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Michael Hasselberg <mh@open-engineering.de> target configuration
files for Toshiba TX09 familiy git-svn-id: svn://svn.berlios.de/openocd/trunk@2756
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-09-24 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : When attaching GDB to OpenOCD, the target state is no longer
affected. Added gdb_sync feature that allows GDB to sync up to
target state. Issue "monitor gdb_sync" and the next stepi, will
return immediately with updated register values to GDB. git-svn-id: svn://svn.berlios.de/openocd/trunk@2754
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-09-23 dbrownell <dbrownell@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : When setting up an ETM, cache its ETM_CONFIG register. Then
only expose the registers which are actually present. They could be
missing for two basic reasons: - This version might not support them at all; e.g. ETMv1.1 doesn't have some control/status registers. (My sample of ARM9 boards shows all with ETMv1.3 support, FWIW.) - The configuration on this chip may not populate as many registers as possible; e.g. only two data value comparators instead of eight. Includes a bugfix in the "etm info" command: only one of the two
registers is missing on older silicon, so show the first one before
bailing. Update ETM usage docs to explain that those registers need to be
written to configure what is traced, and that some ETM configs are
not yet handled. Also, give some examples of the kinds of
constrained trace which could be arranged. git-svn-id: svn://svn.berlios.de/openocd/trunk@2752
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-09-23 dbrownell <dbrownell@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Initial ETM cleanups. Most of these are cosmetic: - Add a header comment - Line up the ETM context struct, pack it a bit - Remove unused context_id (this doesn't support ETMv2 yet) - Make most functions static - Remove unused string table and other needless lines of code - Correct "tracemode" helptext Also provide and use an etm_reg_lookup() to find entries in the ETM
register cache. This will help cope with corrected contents of that
cache, which doesn't include entires for non-existent registers. git-svn-id: svn://svn.berlios.de/openocd/trunk@2750
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-09-22 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - fix build issue under win32 (cygwin/msys) from svn r2746 git-svn-id: svn://svn.berlios.de/openocd/trunk@2748
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-09-22 dbrownell <dbrownell@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Make it easier to erase or protect through to the end of a (NOR)
flash chip: allow passing "last" as an alias for the number of the
last sector. Improve several aspects of error checking while we're at it. From: Johnny Halfmoon <jhalfmoon@milksnot.com> git-svn-id: svn://svn.berlios.de/openocd/trunk@2746
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-09-21 dbrownell <dbrownell@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Remove annoying end-of-line whitespace from doc/* files. git-svn-id: svn://svn.berlios.de/openocd/trunk@2744
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-09-21 dbrownell <dbrownell@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Remove annoying end-of-line whitespace from most src/* files;
omitted src/httpd git-svn-id: svn://svn.berlios.de/openocd/trunk@2742
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-09-21 dbrownell <dbrownell@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Ensure that DaVinci chips can't start with a too-fast JTAG
clock. It can be sped up later, once it's known the PLLs are
active. Note that modern tools from TI all use adaptive clocking; and that
if that's done with OpenOCD, "too fast" is also a non-issue. git-svn-id: svn://svn.berlios.de/openocd/trunk@2740
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-09-20 dbrownell <dbrownell@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Enhancement: stm32 flash protection error message This patch modifies an error message which, in its original state, I
find somewhat unhelpful. So a small hint was added. Signed-off-by: Johnny Halfmoon <jhalfmoon at milksnot.com> git-svn-id: svn://svn.berlios.de/openocd/trunk@2738
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-09-20 dbrownell <dbrownell@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Debug message updates: - Shrink messaging during resets, primarily by getting rid of "nothing happened" noise that hides *useful* information. - Improve: the "no IDCODE" message by identifying which tap only supports BYPASS; and the TAP event strings. Related minor code updates: - Remove two needless tests when examining the chain: we know we have a TAP, and that all TAPs have names. - Clean up two loops, turning "while"s into "for"s which better show what's actually being done. git-svn-id: svn://svn.berlios.de/openocd/trunk@2736
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-09-19 mlu <mlu@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Added CPUDBG_WCR_BASE define git-svn-id: svn://svn.berlios.de/openocd/trunk@2734
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-09-19 mlu <mlu@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Reduced sleep time after reset git-svn-id: svn://svn.berlios.de/openocd/trunk@2732
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-09-19 dbrownell <dbrownell@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Minor behavior fixes for the two JTAG reset events (C/internal,
and Tcl/external): - Reorder so *both* paths (TCK/TMS or TRST) can enable TAPs with ICEpick ... first C code flags TAPs that got disabled, then call any Tcl code that might want to re-enable them. - Always call the C/internal handlers when JTAG operations can be issued; previously that wasn't done when TRST was used. Plus some small cleanups (whitespace, strings, better messaging
during debug and on some errors) to reset-related code. git-svn-id: svn://svn.berlios.de/openocd/trunk@2730
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-09-18 mlu <mlu@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Move Cortex A8 debug access initialisation from omap3530.cfg to
cortex_a8.c git-svn-id: svn://svn.berlios.de/openocd/trunk@2728
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-09-18 dbrownell <dbrownell@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Tweak TCL reset script ... mostly improving descriptions of the
various steps, but also calling [target names] only once. git-svn-id: svn://svn.berlios.de/openocd/trunk@2726
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-09-17 dbrownell <dbrownell@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Minor fixes to NAND code and docs Erase logic: - command invocation + treat "nand erase N" (no offset/length) as "erase whole chip
N" + catch a few more bogus parameter cases, like length == 0
(sigh) - nand_erase() should be static - on error + say which block failed, and if it was a bad block + don't give up after the first error; try to erase the rest - on success, say which nand device was erased (name isn't unique) Device list ("nand list"): - say how many blocks there are - split summary into two lines - give example in the docs Doc tweaks: - Use @option{...} for DaVinci's supported hardware ECC options For the record, I've observed that _sometimes_ erasing bad blocks
causes failure reports, and that manufacturer bad block markers
aren't always erasable (even when erasing their blocks doesn't
trigger an error report). git-svn-id: svn://svn.berlios.de/openocd/trunk@2724
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-09-17 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : michal smulski <michal.smulski@ooma.com> fix regression in
jtag_add_pathmove() which broke arm11 in r1825. Other uses of
jtag_add_pathmove are svn + xsvf + xscale... git-svn-id: svn://svn.berlios.de/openocd/trunk@2722
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-09-17 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : srst_gates_jtag option. at91sam9260 needs retesting, and
possibly srst_gates_jtag added to reset_config. Could i.MX27 be a
case where srst does not pull trst, but really srst gates jtag
clock? git-svn-id: svn://svn.berlios.de/openocd/trunk@2720
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-09-17 dbrownell <dbrownell@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Doc update: mention how ARM's WFI instruction affects JTAG
clocking by gating the core clock, and workarounds. Most details
are with the "halt" command, which is one of the first places this
issue will be noticed. git-svn-id: svn://svn.berlios.de/openocd/trunk@2718
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-09-16 mlu <mlu@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Use a variable armv7a->debug_base instead of hardedcoded
OMAP3530_DEBUG_BASE git-svn-id: svn://svn.berlios.de/openocd/trunk@2716
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-09-15 mlu <mlu@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Define debug_base, debug_ap, memory_ap in armv7a_common_t git-svn-id: svn://svn.berlios.de/openocd/trunk@2714
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-09-15 mlu <mlu@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Definy symbolic values for VA to PA address translation
operations git-svn-id: svn://svn.berlios.de/openocd/trunk@2712
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-09-15 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : added embedded ice programming while srst is asserted todo item git-svn-id: svn://svn.berlios.de/openocd/trunk@2710
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-09-14 mlu <mlu@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Cache invalidation when writing to memory git-svn-id: svn://svn.berlios.de/openocd/trunk@2708
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-09-14 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : fix email address git-svn-id: svn://svn.berlios.de/openocd/trunk@2706
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-09-14 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : fix warning git-svn-id: svn://svn.berlios.de/openocd/trunk@2704
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-09-13 mlu <mlu@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : More CortexA8 debug register definitions. git-svn-id: svn://svn.berlios.de/openocd/trunk@2702
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-09-12 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Dirk Behme <dirk.behme@googlemail.com> document post TAP reset
event git-svn-id: svn://svn.berlios.de/openocd/trunk@2700
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-09-12 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net> Cleanup some the downloaded
ARM target algorithm code: - Provide more complete disassembly of the DCC bulk write code - Make code blocks "static const", in case GCC doesn't - Fix some tabbing/layout issues - Make some arm7_9_common.h flags be "bool" not "int"; and compact the layout a bit (group most bools together) git-svn-id: svn://svn.berlios.de/openocd/trunk@2698
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-09-11 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : tap post reset event added. Allows omap3530 to send 100 runtest
idle tickle's after a TAP_RESET. git-svn-id: svn://svn.berlios.de/openocd/trunk@2696
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-09-11 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Nicolas Pitre <nico@cam.org> put feroceon target definition at
the end so to avoid a bunch of useless forward declarations. git-svn-id: svn://svn.berlios.de/openocd/trunk@2694
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-09-11 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : spelling mistake git-svn-id: svn://svn.berlios.de/openocd/trunk@2692
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-09-11 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : registering a target event twice caused infinite loop. Same bug
as in jtag/core.c copy & pasted. git-svn-id: svn://svn.berlios.de/openocd/trunk@2690
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-09-11 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Alexei Babich <a.babich@rez.ru> cleanup git-svn-id: svn://svn.berlios.de/openocd/trunk@2688
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-09-10 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : eol-style:native git-svn-id: svn://svn.berlios.de/openocd/trunk@2686
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-09-10 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Alexei Babich <a.babich@rez.ru> fix problems with unecessary
tailend byte accesses. Use 16 bit access on tailend of a memory read
if possible. git-svn-id: svn://svn.berlios.de/openocd/trunk@2684
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-09-09 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Rolf Meeser <rolfm_9dq@yahoo.de> This patch adds target
algorithm support for those flash devices that do not support DQ5
polling. So far they could only be programmed with host algorithm,
but this was way too slow. git-svn-id: svn://svn.berlios.de/openocd/trunk@2682
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-09-09 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net> Optionally shave time off
the armv4_5 run_algorithm() code: let them terminate using software
breakpoints, avoiding roundtrips to manage hardware ones. Enable this by using BKPT to terminate execution instead of "branch
to here" loops. Then pass zero as the exit address, except when
running on an ARMv4 core. ARM7TDMI, ARM9TDMI, and derived cores now
set a flag saying they're ARMv4. Use that mechanism in arm_nandwrite(), for about 3% speedup on a
DaVinci ARM926 core; not huge, but it helps. Some other algorithms
could use this too (mostly flavors of flash operation). git-svn-id: svn://svn.berlios.de/openocd/trunk@2680
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-09-08 mlu <mlu@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Report correct core instruction state for ARMv/A targets git-svn-id: svn://svn.berlios.de/openocd/trunk@2678
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-09-08 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net> Provide an "armv7a
disassemble" command. Current omissions include VFP (except as
coprocessor instructions), Neon, and various Thumb2 opcodes that are
not available in ARMv7-M processors. git-svn-id: svn://svn.berlios.de/openocd/trunk@2676
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-09-07 mlu <mlu@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Improved handling of instruction set state, helps for debugging
Thumb state. git-svn-id: svn://svn.berlios.de/openocd/trunk@2674
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-09-04 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : use "armv4_5 core_state arm" instead of soft_reset_halt, fewer
side effects git-svn-id: svn://svn.berlios.de/openocd/trunk@2672
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-09-04 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Dirk Behme <dirk.behme@googlemail.com> Add default fall back
freqency. git-svn-id: svn://svn.berlios.de/openocd/trunk@2670
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-09-04 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Matt Hsu <matt@0xlab.org> This patch simply enables the halting
debug mode. By enabling this bit, the processor halts when a debug
event such as breakpoint occurs. git-svn-id: svn://svn.berlios.de/openocd/trunk@2668
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-09-04 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Matt Hsu <matt@0xlab.org> Tidy up the bit-offset operation for
DSCR register git-svn-id: svn://svn.berlios.de/openocd/trunk@2666
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-09-04 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Claffey <dnclaffey@gmail.com> get rid of reset recursion git-svn-id: svn://svn.berlios.de/openocd/trunk@2664
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-09-02 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Claffey <dnclaffey@gmail.com> tested with the Atheros
reference design "PB44" git-svn-id: svn://svn.berlios.de/openocd/trunk@2662
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-09-01 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - fixes the incorrect info msg displayed during stellaris flash
programming. git-svn-id: svn://svn.berlios.de/openocd/trunk@2660
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-08-31 duane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Warning fix git-svn-id: svn://svn.berlios.de/openocd/trunk@2658
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-08-31 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Ferdinand Postema <ferdinand@postema.eu> config script for the
MMnet1001 module from Propox. git-svn-id: svn://svn.berlios.de/openocd/trunk@2656
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-08-30 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Dirk Behme <dirk.behme@googlemail.com> Fix typo in help text. It
has to be 'production_test' instead of 'production' here. git-svn-id: svn://svn.berlios.de/openocd/trunk@2654
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-08-30 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net> Remove duplicate check for
flash write status. Via code review by Steve Grubb
<sgrubb@redhat.com> Also minor fixes for the message from "fill": the byte count is
unsigned, not signed; and more importantly, print the real number of
bytes written git-svn-id: svn://svn.berlios.de/openocd/trunk@2652
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-08-30 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net> start phasing out integers
as target IDs git-svn-id: svn://svn.berlios.de/openocd/trunk@2650
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-08-28 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net> fix warnings git-svn-id: svn://svn.berlios.de/openocd/trunk@2648
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-08-28 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : restore ICE watchpoint registers when the *last* software
breakpoint is removed git-svn-id: svn://svn.berlios.de/openocd/trunk@2646
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-08-28 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net> ARM disassembly support for
about five dozen non-Thumb instructions that were added after
ARMv5TE was defined: - ARMv5J "BXJ" (for Java/Jazelle) - ARMv6 "media" instructions (for OMAP2420, i.MX31, etc) Compile-tested. This might not set up the simulator right for the
ARMv6 single step support; only BXJ branches though, and docs to
support Jazelle branching are non-public (still, sigh). ARMv6 instructions known to be mis-handled by this disassembler
include: UMAAL, LDREX, STREX, CPS, SETEND, RFE, SRS, MCRR2, MRRC2 git-svn-id: svn://svn.berlios.de/openocd/trunk@2644
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-08-27 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : arm11 single stepping wip - at least we know the next PC now git-svn-id: svn://svn.berlios.de/openocd/trunk@2642
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-08-27 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : refactor arm simulator to allow arm11 code to use it as well -
no observable changes otherwise. git-svn-id: svn://svn.berlios.de/openocd/trunk@2640
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-08-26 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Matt Hsu <matt@0xlab.org> and Holger Hans Peter Freyther
<zecke@selfish.org> cortex-a8: Wait for the CPU to be
halted/started With DCCR we are asking the CPU to halt, we should wait until the
CPU has halted before proceeding with the operation. git-svn-id: svn://svn.berlios.de/openocd/trunk@2638
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-08-26 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Matt Hsu <matt@0xlab.org> and Holger Hans Peter Freyther
<zecke@selfish.org> Only dap_ap_select when we are going to do a
memory access in the fast reg case. git-svn-id: svn://svn.berlios.de/openocd/trunk@2636
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-08-26 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Matt Hsu <matt@0xlab.org> cortex_a8_exec_opcode is writing the
ARM instruction into the ITR register but it will only be executed
when the DSCR[13] bit is set. The documentation is a bit weird as it
classifies the DSCR as read-only but the pseudo code is writing to
it as well. This is working on a beagleboard. git-svn-id: svn://svn.berlios.de/openocd/trunk@2634
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-08-26 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Matt Hsu <matt@0xlab.org> and Holger Hans Peter Freyther
<zecke@selfish.org> Before executing a new instruction wait for the
previous instruction to be finished. This comes from the pseudo code
of the cortex a8 trm. git-svn-id: svn://svn.berlios.de/openocd/trunk@2632
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-08-26 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : added missing check on jtag_execute git-svn-id: svn://svn.berlios.de/openocd/trunk@2630
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-08-26 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : reduce arm11 output noise git-svn-id: svn://svn.berlios.de/openocd/trunk@2628
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-08-26 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net> Clock updates/fixes for the
Stellaris flash driver: - Bugfixes: * internal osc: it's *12* MHz (not 15 MHz) on _current_ chips + except new Tempest parts where it's 16 MHz (and calibrated!) + or some old Sandstorm ones, where 15 MHz was valid * crystal config: + read and use the crystal config, don't assume 6 MHz + know when that field is 4 bits vs 5 * an RCC2 register may be overriding the original RCC + more clock source options + bigger dividers + fractional dividers on Tempest (NYET handled) * there's a 30 KHz osc on newer chips (for deep sleep) * there's a 32768 Hz osc on newer chips (for hibernation) - Cosmetic * say "rev A0" not "vA.0", to match vendor docs * don't always report master clock as an "estimate": + give the error bound if it's approximate, like "±30%" + else don't say anything * fix whitespace and caps in some messages * these are not AT91SAM chips!! Those clock issues might explain problems sometimes reported when
writing to Stellaris flash banks; they affect write timings. That 12-vs-15 MHz issue is problematic; there's no consolidated doc
showing which chips (and revs!) have which internal oscillator
speed. It's clear that only older silicon had the
faster-and-less-accurate flavor. What's less clear is which chips
are "old" like that. Lightly tested, on a DustDevil part. git-svn-id: svn://svn.berlios.de/openocd/trunk@2626
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-08-25 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net> Tweak disassembly commands: For ARMv4/ARMv5: - better command parameter error checking - don't require an instruction count; default to one - recognize thumb function addresses - make function static - shorten some too-long lines For Cortex-M3: - don't require an instruction count; default to one With the relevant doc updates. --- Nyet done: invoke the thumb2
disassembler on v4/v5, to better handle branch instructions. git-svn-id: svn://svn.berlios.de/openocd/trunk@2624
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-08-25 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net> More jtag_add_reset()
cleanup: Unify the handling of the req_tlr_or_trst parameter. Basically,
JTAG TMS+TCK ops ("TLR") is always used ... unless TRST is a safe
option in this system configuration. git-svn-id: svn://svn.berlios.de/openocd/trunk@2622
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-08-25 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net> Accomodate targets which
don't support various target-specific reset operations. Maybe they
can't; or it's a "not yet" thing. Note that the assert/deassert operations can't yet trigger for OMAP3
because resets currently include JTAG reset in all cases, resetting
the ICEpick and thus disabling the TAP for Cortex-A8. git-svn-id: svn://svn.berlios.de/openocd/trunk@2620
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-08-25 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - fix build warnings - add svn props to recently added files armv7a.[ch] git-svn-id: svn://svn.berlios.de/openocd/trunk@2618
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-08-25 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : strange.... the code build and links w/Linux GCC target but
fails w/arm-elf. The code was clearly broken as it was missing two
extern's in the .h file... git-svn-id: svn://svn.berlios.de/openocd/trunk@2616
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-08-25 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Ferdinand Postema <ferdinand@postema.eu> increase reset delay to
fix regression from 2600 to 2604 git-svn-id: svn://svn.berlios.de/openocd/trunk@2614
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-08-25 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Audrius Urmanavičius <didele.deze@gmail.com> Latest source
(R2606) does not compile under Windows+Cygwin - fails with error
about possibly uninitialized use of variable 'ch'. git-svn-id: svn://svn.berlios.de/openocd/trunk@2612
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-08-25 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : use cortex_a8 instead of cortex_m3 git-svn-id: svn://svn.berlios.de/openocd/trunk@2610
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-08-25 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell Subset of Cortex-A8 support from Magnus: create
an armv7a file and seed it with DAP access support using the current
ADIv5 code. (With tweaks and cleanup from Øyvind and Dave.) The ARMv7-AR architecture manual is not publicly available (even in
subset form like the ARMv7-M spec), so it's hard to distinguish
between the Cortex-A8 implementation and the ARMv7-A architecture. The register set presumably is architectural, and so it's stored
here; it's like earlier ARMs, with small additions. Ditto the
instruction set, though Thumb2 support is used (extending Thumb
support from ARMv6 with more 32-bit instructions) and there's this
ThumbEE thing too. There is a new "debug monitor" mode, not yet
fully addressed here, to support debugging in environments (like
motor control) where halting debug mode is inadvisable. git-svn-id: svn://svn.berlios.de/openocd/trunk@2608
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-08-24 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Steve Grubb <sgrubb@redhat.com> fix various and sundry leaks git-svn-id: svn://svn.berlios.de/openocd/trunk@2606
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-08-21 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Pieter Conradie <Pieter.Conradie@psitek.com> shuffle things
around to the right spots. Should have been done in previous commit. git-svn-id: svn://svn.berlios.de/openocd/trunk@2604
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-08-21 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Pieter Conradie <Pieter.Conradie@psitek.com> Scripts for Atmel
AT91SAM7S256 and AT91SAM9260 git-svn-id: svn://svn.berlios.de/openocd/trunk@2602
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-08-20 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Piotr Ziecik <kosmo@semihalf.com> This patch adds handling blank
characters between hex digits in SVF file, making OpenOCD compatible
with files generated by Altera Quatrus II 9.0. git-svn-id: svn://svn.berlios.de/openocd/trunk@2600
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-08-20 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net>More Thumb2 disassembly: ARMv7-M: A5.3.6 Load/store dual or exclusive, table branch GCC will generate the table branch instructions, usually with
inlined tables that will confuse this disassembler. LDREX and STREX
are not issued by GCC without inline assembly. This means all Thumb2 instructions implemented by Cortex-M3 can now
be disassembled. Cortex-A8 cores support more Thumb2 instructions,
but most of those aren't yet publicly documented. git-svn-id: svn://svn.berlios.de/openocd/trunk@2598
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-08-19 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net>Fix some command helptext: - spell "address" right - list bp/wp params as optional And make those source lines wrap at sane margins. git-svn-id: svn://svn.berlios.de/openocd/trunk@2596
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-08-18 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell [david-b@pacbell.net]: Simplify dumping of register lists by only printing cached values if
they are marked as valid. Most of the time, they are invalid; so
printing *any* value is just misleading. Note that for ARM7 and ARM9 most EmbeddedICE registers (except for
debug status) could be cached most of the time; and their register
cache isn't maintained properly (many accesses seem to bypass that
cache code). git-svn-id: svn://svn.berlios.de/openocd/trunk@2594
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-08-18 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - add cfg file for Amontec JTAGKey2 jtag interface git-svn-id: svn://svn.berlios.de/openocd/trunk@2592
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-08-18 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Jonas Horberg [jhorberg@sauer-danfoss.com] Change jtag_rclk
behaviour so it can be called before the interface init function git-svn-id: svn://svn.berlios.de/openocd/trunk@2590
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-08-18 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net> Add "cortex_m3
vector_catch" command and docs. One minor issue with this is that
the core debug support uses this mechanism, then trashes its state
over reset. Users can Work around that (for now) by re-assigning
the desired config after reset. Also fixes "target halted due to target-not-halted" goof. When we
can't describe the reason using OpenOCD's limited vocabulary, say
"reason undefined" instead of saying it's not halted. git-svn-id: svn://svn.berlios.de/openocd/trunk@2588
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-08-18 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net> Several of the ARMv7M
registers are 8 bits or less; don't display them as 32 bits unless
that's their true size. (Removes some confusion. git-svn-id: svn://svn.berlios.de/openocd/trunk@2586
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-08-16 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Xiaofan Chen <xiaofanc@gmail.com> Split LM3S811 config file into
target file and board file git-svn-id: svn://svn.berlios.de/openocd/trunk@2584
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-08-16 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Xiaofan Chen <xiaofanc@gmail.com> Add config file for
TI-Luminary LM3S1968 chip and EK-LM3S1968 board git-svn-id: svn://svn.berlios.de/openocd/trunk@2582
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-08-16 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : added note w/reference to discussion on whether or not arm11
code is broken or not. git-svn-id: svn://svn.berlios.de/openocd/trunk@2580
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-08-07 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net>: Warn about anyone using
"jtag_speed" commands; that command is obsolete, and will someday be
removed. git-svn-id: svn://svn.berlios.de/openocd/trunk@2578
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-08-07 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Ferdinand Postema [ferdinand@postema.eu] - fix vector catch issues with certain ARM9 cores - AT91SAM9260 and
STR9 git-svn-id: svn://svn.berlios.de/openocd/trunk@2576
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-08-06 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Gary Carlson [gcarlson@carlson-minot.com]: - revert patch from rev1507 as it was causing reset issues with arm9
cores git-svn-id: svn://svn.berlios.de/openocd/trunk@2574
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-08-06 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : michal smulski <michal.smulski@ooma.com>: Fix ARM11 half-word bulk memory read and write. git-svn-id: svn://svn.berlios.de/openocd/trunk@2572
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-07-27 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Fix NPE in GDB_EVENT_END as logforwarding was not disabled early
enough git-svn-id: svn://svn.berlios.de/openocd/trunk@2570
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-07-26 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net> More testcase work: A5.3.11 Data processing (shifted register) The usual kinds of problems; the most noteworthy were that the "S"et
flags bit was mis-handled in these instructions. --- This is the
last patch from a quickie set of tests covering all encodings of the
instructions with 32-bit opcodes. There may be some corner cases
left, plus the instructions that aren't yet handled, but the Thumb2
disassembler is no longer just "lightly" tested with GCC output ...
the new code paths have mostly been verified. git-svn-id: svn://svn.berlios.de/openocd/trunk@2568
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-07-26 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net> More fixes from test cases: A5.3.8 Load halfword, unallocated memory hints It's mostly the usual sort of bitmasking goofage and getting the
width specs right. In one case an older x86 GCC generated bad code
unless I structred a conditional differently (sigh). git-svn-id: svn://svn.berlios.de/openocd/trunk@2566
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-07-24 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net> More instruction decoding
fixes based on test cases, covering ARMv7-M arch manual: A5.3.1 Data processing (modified immediate) A5.3.3 Data processing (plain binary immediate) A5.3.4 Branches and miscellaneous control and other (immediate) encodings referenced there. Several of these
just tweak the new syntax ("Unified" ARM/Thumb: UAL) but there were
a few bugs too. git-svn-id: svn://svn.berlios.de/openocd/trunk@2564
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-07-24 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Andreas Fritiofson <andreas.fritiofson@gmail.com> I noticed
there are a few checks for (rt == 0xf) even though that case is
handled with an early return at the top of the function. git-svn-id: svn://svn.berlios.de/openocd/trunk@2562
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-07-23 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net> thumb2 disassembly for Load
byte, memory hints git-svn-id: svn://svn.berlios.de/openocd/trunk@2560
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-07-23 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net> fix warnings git-svn-id: svn://svn.berlios.de/openocd/trunk@2558
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-07-22 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Stefano Voulaz <s.voulaz@projecktstudio.com> first cut
samsung_s3c2450 git-svn-id: svn://svn.berlios.de/openocd/trunk@2556
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-07-21 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net>: Clean up treatment of registers in ARMv7-M and Cortex-M3. - At the arch level: * Just list registers and names; don't impose core-specific policy about how they are accessed. * Each register has a symbol. * Remove the register mode field (irrelevant to debugger) - At the core/implementation level: * Just map the registers to their relevant access methods; don't require the arch level to say how that should work (cores other than Cortex-M3 could do it differently). * Don't use undefined bits from register 20. * Use register IDs that are part of the ARMv7-M interface. In short, there's now a real distinction between the arch and core
layers. git-svn-id: svn://svn.berlios.de/openocd/trunk@2554
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-07-21 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net>: Revert parts of the previous ARMv7-M register patch. It turns out
that part of the issue is a documentation problem for the Cortex-M3
r1 parts. So for the rest, simpler fixes are possible (in followup
patch). git-svn-id: svn://svn.berlios.de/openocd/trunk@2552
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-07-19 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : aduc flash problems have been resolved git-svn-id: svn://svn.berlios.de/openocd/trunk@2550
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-07-16 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : added item to come up with slick new 32 bit jtag_add_xxx() API git-svn-id: svn://svn.berlios.de/openocd/trunk@2548
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-07-16 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : microscopic white space fixes git-svn-id: svn://svn.berlios.de/openocd/trunk@2546
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-07-16 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Magnus Lundin <lundin@mlu.mine.nu>, Oyvind Harboe
<oyvind.harboe@zylin.com>, David Brownell <david-b@pacbell.net>: Move the dap command handler implementations to arm_adi_v5.c,
leaving just thin wrappers in armv7m.c. There should be no change
in functionality here. (From Magnus.) Minor style cleanup: whitespace, line length, etc. Update spec
references to use docs which are currently available. (From Dave.) git-svn-id: svn://svn.berlios.de/openocd/trunk@2544
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-07-15 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net>: More 32-bit Thumb2 instruction decoding: A5.3.7 Load word git-svn-id: svn://svn.berlios.de/openocd/trunk@2542
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-07-15 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net>: More 32-bit instruction decoding: A5.3.11 Data processing (shifted register) git-svn-id: svn://svn.berlios.de/openocd/trunk@2540
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-07-15 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net>: More instructions decoded: A5.3.14 Multiply, and multiply accumulate A5.3.15 Long multiply, long multiply accumulate, divide The EABI requires *adjacent* register pairs, but the long multiply
ops can use any pair of registers; interesting. git-svn-id: svn://svn.berlios.de/openocd/trunk@2538
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-07-15 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net>: Print old-style Thumb NOP instructions as such. (GCC uses "mov r8,
r8" instead of the architected NOP which is new in Thumb2.) git-svn-id: svn://svn.berlios.de/openocd/trunk@2536
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-07-15 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net>: Make the Thumb2 disassembler handle more 32-bit instructions: A5.3.3 Data processing (plain binary immediate) These use mostly twelve bit literals, but there are also bitfield
and saturated add primitives. git-svn-id: svn://svn.berlios.de/openocd/trunk@2534
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-07-15 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net>: Make the Thumb2 disassembler handle a bunch of 32-bit instructions: A5.3.4 Branches and miscellaneous control Note that this shifts some responsabililty out of helper functions,
making the code and layout simpler for 32-bit decoders: they only
need to know how to format the instruction and its parameters. Also, technical note: with this patch, Thumb1 decoders could now
call the Thumb2 decoder if they wanted to get nicer treatment of the
exiting 32-bit B/BLX instructions. git-svn-id: svn://svn.berlios.de/openocd/trunk@2532
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-07-15 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net>: Initial support for disassembling Thumb2 code. This works only for
Cortex-M3 cores so far. Eventually other cores will also need
Thumb2 support ... but they don't yet support any kind of
disassembly. - Update the 16-bit Thumb decoder: * Understand CPS, REV*, SETEND, {U,S}XT{B,H} opcodes added by ARMv6. (It already seems to treat CPY as MOV.) * Understand CB, CBNZ, WFI, IT, and other opcodes added by in Thumb2. - A new Thumb2 instruction decode routine is provided. * This has a different signature: pass the target, not the instruction, so it can fetch a second halfword when needed. The instruction size is likewise returned to the caller. * 32-bit instructions are recognized but not yet decoded. - Start using the current "UAL" syntax in some cases. "SWI" is renamed as "SVC"; "LDMIA" as "LDM"; "STMIA" as "STM". - Define a new "cortex_m3 disassemble addr count" command to give access to this disassembly. Sanity checked against "objdump -d" output; a bunch of the new
instructions checked out fine. git-svn-id: svn://svn.berlios.de/openocd/trunk@2530
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-07-15 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : retire Eclipse settings, charset will be set elsewhere. git-svn-id: svn://svn.berlios.de/openocd/trunk@2528
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-07-14 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net> mention udev, and correct
D2XX speed mentions git-svn-id: svn://svn.berlios.de/openocd/trunk@2526
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-07-14 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : 1.54 snapshot git-svn-id: svn://svn.berlios.de/openocd/trunk@2523
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-07-14 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Bump minor version and add tag: Bump minor package version
number: 0.2.0 -> 0.3.0 Add '-in-development' version tag: 0.3.0 ->
0.3.0-in-development git-svn-id: svn://svn.berlios.de/openocd/trunk@2521
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-07-14 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Improve the release script before 0.2.0: 1) Only archive NEWS file on major and minor relesae, not bug-fixes. 2) Switch back to correct development branch during final release
step. 3) Add do_svn_switch helper to ensure package variables are
reloaded. git-svn-id: svn://svn.berlios.de/openocd/trunk@2516
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-07-14 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Make the parport-ppdev option enabled by default. This may
require giving --disable-parport-ppdev to configure on some
platform(s). git-svn-id: svn://svn.berlios.de/openocd/trunk@2514
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-07-12 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Xiaofan Chen <xiaofanc@gmail.com> document my experiment with
MinGW cross build. git-svn-id: svn://svn.berlios.de/openocd/trunk@2512
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-07-12 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Magnus Lundin Thc cortex_m3_poll function does not identify
that a target is running unless we transition from RESET. This patch correctly identifies a running target. Patch made a tad more palatable by David Brownell
<david-b@pacbell.net> git-svn-id: svn://svn.berlios.de/openocd/trunk@2510
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-07-12 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net> Mention how parallel clock
voting implementations of RTCK work, and reference TI's free VHDL
code. git-svn-id: svn://svn.berlios.de/openocd/trunk@2508
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-07-10 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : wrote up workaround for xscale/debug_handler.bin bug git-svn-id: svn://svn.berlios.de/openocd/trunk@2506
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-07-10 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net> split EK board support out
from the target CPU support . git-svn-id: svn://svn.berlios.de/openocd/trunk@2504
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-07-08 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Add section to provide some documentation for cross-compiling. git-svn-id: svn://svn.berlios.de/openocd/trunk@2502
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-07-08 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Add comments to top-level files to "excuse" their Doxygen
markup. git-svn-id: svn://svn.berlios.de/openocd/trunk@2500
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-07-08 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : fix formatting of xscale bug entry(learning every day) git-svn-id: svn://svn.berlios.de/openocd/trunk@2498
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-07-08 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : typo in comment git-svn-id: svn://svn.berlios.de/openocd/trunk@2496
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-07-08 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : i.MX27 reset problems fixed & update remaining reset problems
notes git-svn-id: svn://svn.berlios.de/openocd/trunk@2494
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-07-07 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : srst pulls trst according to Freescale docs for i.mx27 git-svn-id: svn://svn.berlios.de/openocd/trunk@2492
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-07-07 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Use reference to mailing list for known arm926ejs bugs rather
fill The List with lots of details git-svn-id: svn://svn.berlios.de/openocd/trunk@2490
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-07-07 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : fix return value for "reset" and "runtest" command. Found by
code inspection. git-svn-id: svn://svn.berlios.de/openocd/trunk@2488
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-07-07 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : more arm926ejs bugs git-svn-id: svn://svn.berlios.de/openocd/trunk@2486
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-07-06 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net> Update docs to say that
"arm7_9 dbgrq enable" is the default on ARM9 cores, and update the
DaVinci config files so they no longer explicitly specify it. git-svn-id: svn://svn.berlios.de/openocd/trunk@2484
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-07-06 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - fix build when using a cross compiler - do not try and run any
host tools - add missing types.h when platform does not contain elf.h git-svn-id: svn://svn.berlios.de/openocd/trunk@2482
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-07-06 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : a bit more debug output for translation of invalid mode numbers git-svn-id: svn://svn.berlios.de/openocd/trunk@2480
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-07-06 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Fix regression in "step" command introduced in 2190 git-svn-id: svn://svn.berlios.de/openocd/trunk@2478
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-07-06 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Update Release Script documentation to reflect current
implementation. git-svn-id: svn://svn.berlios.de/openocd/trunk@2476
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-07-06 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Add NEWS file for the 0.2.0 release. git-svn-id: svn://svn.berlios.de/openocd/trunk@2474
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-07-06 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Ferdinand Postema <ferdinand@postema.eu>: Updates to private TAP state tables in amtjtagaccel interface
driver. The first change is the neccesary one to correct a long-standing bug
that caused the IDCODE to be shifted by one bit too many. This was
caused by an incorrect path from state RESET to state DRSHIFT. The value of those 2 bytes were 0x8a and 0x04. This means that the
bitstream to do this transition is 0b 00100 01010 (send LSB first).
This will bring you from the reset state to the shift state;
however, you enter the shift-state twice, which explains why the
ID-CODE that will be read next will be shifted 1 bit. The fix
changes these to 0x05 and 0x00. This will send the bitstream 0b
00101 (send LSB first). This will bring the TAP controller from the
RESET state to the DRSHIFT state directly, without entering the
DRSHIFT state twice. After checking the whole table, two other transitions were found
that could be optimized (5 bits in stead of 10 bits). Summary off all changes: From To Old values Old Bitstream New values New
Bitstream Remarks ---- ------- ---------- -------------
---------- ------------- ------- RESET DRSHIFT 0x8a 0x04
0b00100 01010 0x05 0x00 0b00101 1,2 IDLE DRSHIFT 0x85
0x08 0b01000 00101 0x04 0x00 0b00100 2 IDLE IRSHIFT
0x8b 0x08 0b01000 01011 0x06 0x00 0b00110 2 [1] Fixes the IDCODE bug [2] Optimization git-svn-id: svn://svn.berlios.de/openocd/trunk@2472
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-07-06 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : 10ms timeout check on cp15 read/write git-svn-id: svn://svn.berlios.de/openocd/trunk@2470
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-07-06 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Fix maintainer-clean target in doc directory. git-svn-id: svn://svn.berlios.de/openocd/trunk@2468
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-07-06 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : added known problem w/line number's being off in syntax errors
for target reset events git-svn-id: svn://svn.berlios.de/openocd/trunk@2466
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-07-06 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : human readable error message upon invalid arguments git-svn-id: svn://svn.berlios.de/openocd/trunk@2464
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-07-04 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Major update to release process documentation: - Provide overview of OpenOCD versioning schema. - Outline responsibilities and authority of the release manager. - Explain the need for flexibility in the release schedule. - Add and refine the release process steps. - Include tutorials for using new release script. - Many more improvements, too numerous to list. git-svn-id: svn://svn.berlios.de/openocd/trunk@2462
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-07-02 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Xiaofan Chen <xiaofanc@gmail.com> With this patch, OpenOCD can
talk to my Analog Device Eval-ADuC7060 eval board. git-svn-id: svn://svn.berlios.de/openocd/trunk@2459
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-07-02 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Add AUTHORS for 0.2.0 release. git-svn-id: svn://svn.berlios.de/openocd/trunk@2457
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-07-02 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Remove vim editor commands from TCL files. git-svn-id: svn://svn.berlios.de/openocd/trunk@2455
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-07-02 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Commit first draft of release process documentation. git-svn-id: svn://svn.berlios.de/openocd/trunk@2453
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-07-02 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : zy1000 1.53 snapshot git-svn-id: svn://svn.berlios.de/openocd/trunk@2451
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-07-02 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net>: More minor improvements to README to help polish the 0.2.0 release: - Add note about Ubuntu 8.04 (in lieu of starting a README.Linux
file). - Fix introductory paragraph to Bulding OpenOCD - Remove some vestigial texinfo markup. git-svn-id: svn://svn.berlios.de/openocd/trunk@2448
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-07-02 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net>: Restore some whitespace that got clobbered by over-aggressive
whitepace eradication patches a while back. git-svn-id: svn://svn.berlios.de/openocd/trunk@2446
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-07-01 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Add missing copyright header to target_type.h. git-svn-id: svn://svn.berlios.de/openocd/trunk@2444
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-07-01 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Update TODO list to relect 0.2.0 release. git-svn-id: svn://svn.berlios.de/openocd/trunk@2442
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-07-01 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - add stm32 connectivity line tapid to stm32.cfg git-svn-id: svn://svn.berlios.de/openocd/trunk@2440
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-30 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Remove at91sam3.h from flash.c; use extern like other drivers. git-svn-id: svn://svn.berlios.de/openocd/trunk@2438
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-30 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Provide some useful information in README file, rather than
punting. Add some text to introduce the project to new users. Move packaging, configuration, and compilation of OpenOCD out of the
User's Guide and into README, where it can be used by users before
configuring and compiling the documentation. Improve notes about required Subversion repository build steps. Add
reference to the standard GNU INSTALL file. git-svn-id: svn://svn.berlios.de/openocd/trunk@2436
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-30 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - remove cygwin build warnings in at91sam3.c git-svn-id: svn://svn.berlios.de/openocd/trunk@2434
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-30 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Remove executable bits from at91sam3 configuration files. git-svn-id: svn://svn.berlios.de/openocd/trunk@2432
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-30 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Add svn:eol-style properties missed in last commit. git-svn-id: svn://svn.berlios.de/openocd/trunk@2430
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-30 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net>: Add "jtag names" command, mirroring "target names" but returning TAP
names instead of target names. This starts letting TAPs be
manipulated in scripts ... much like what works now for targets. It's a bit limited just yet, since "jtag cget $TAPNAME" doesn't
expose all TAP attributes. "$TARGETNAME cget" is more functional. git-svn-id: svn://svn.berlios.de/openocd/trunk@2428
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-30 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Fix doxygen 'undocumented parameter' warnings in membuf.h. git-svn-id: svn://svn.berlios.de/openocd/trunk@2426
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-30 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Fix doxygen warning in jtag.h caused by a changed parameter
name. git-svn-id: svn://svn.berlios.de/openocd/trunk@2424
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-30 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Fix @file documentation blocks in new interfaces source files. git-svn-id: svn://svn.berlios.de/openocd/trunk@2422
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-30 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Fix logger.pl script to avoid spurious empty line in some cases. git-svn-id: svn://svn.berlios.de/openocd/trunk@2420
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-29 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net>: Minor bugfix ... previous version was tested *with* ICEpick active.
The "-disable" can swap with "-enable"; but not with an empty
string. git-svn-id: svn://svn.berlios.de/openocd/trunk@2418
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-29 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net>: Improve the PXA255 target config: move all that board-specific
setup to the pxa255_sst board.cfg, to which it evidently belongs
(it's the only PXA255 board now included). Provide the PXA255 JTAG id from Intel docs, and add a comment about
how this chip is now EOL'd (last orders taken). Note that I still can't get my old PXA255 board to work. There's
something broken in the reset sequence, which is preventing the TAP
from coming up at all. Old mailing list posts suggest this is a
longstanding bug... git-svn-id: svn://svn.berlios.de/openocd/trunk@2416
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-29 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net>: Minor fixup to the User's Guide, primarily related to the handful of
commands defined in "startup.tcl"; "help" was not previously
documented. Also, be more consistent about "Config Command" definitions (and to
be explicit about that doc convention). git-svn-id: svn://svn.berlios.de/openocd/trunk@2414
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-28 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net> various missing commands git-svn-id: svn://svn.berlios.de/openocd/trunk@2412
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-28 duane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : A bit more log detail about connections comming and going git-svn-id: svn://svn.berlios.de/openocd/trunk@2410
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-27 duane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Add Breakpoint/Watchpoint unique ID to help debug hardware debug
register leakage git-svn-id: svn://svn.berlios.de/openocd/trunk@2408
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-27 duane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Switch to strotk() grr.... git-svn-id: svn://svn.berlios.de/openocd/trunk@2406
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-26 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net> Add a short chapter on
boundary scan support, which currently just documents the SVF and
XSVF commands. git-svn-id: svn://svn.berlios.de/openocd/trunk@2404
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-25 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Oleksandr Tymoshenko <gonzo@bluezbox.com> simple watchpoint
support for MIPS32/EJTAG (no value comparation yet). git-svn-id: svn://svn.berlios.de/openocd/trunk@2402
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-24 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net> Fix formatting bug in
at91sam7 doc added with the at91sam3 support; and some formatting
issues with sam7 and stm32 keyword params. Tweak at91sam3 docs. Remove ninth nibble from flash bank addresses,
clarify "at91sam3 show" variants and that the flash bank layout is
not needed as a parameter (unlike with sam7); formatting fixes. git-svn-id: svn://svn.berlios.de/openocd/trunk@2400
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-24 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Remove whitespace at end of lines, step 2. - Replace '\s*$' with ''. git-svn-id: svn://svn.berlios.de/openocd/trunk@2398
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-24 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Remove whitespace that occurs before ')'. - Replace '[ \t]*[)]' with ')'. git-svn-id: svn://svn.berlios.de/openocd/trunk@2396
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-24 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - Fixes '[<>]' whitespace - Replace '\(\w\)\([<>]\)\(\w\)' with '\1 \2 \3'. git-svn-id: svn://svn.berlios.de/openocd/trunk@2394
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-24 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - Fixes '+' whitespace - Replace '\(\w\)\(+\)\(\w\)' with '\1 \2 \3'. git-svn-id: svn://svn.berlios.de/openocd/trunk@2392
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-24 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - Fixes '==' whitespace - Replace '\(\w\)\(==\)\(\w\)' with '\1 \2 \3'. git-svn-id: svn://svn.berlios.de/openocd/trunk@2390
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-24 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - Replace 'switch(' with 'switch ('. git-svn-id: svn://svn.berlios.de/openocd/trunk@2388
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-24 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - Replace 'if(' with 'if ('. git-svn-id: svn://svn.berlios.de/openocd/trunk@2386
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-24 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Fix end-of-line style properties on newly added files. git-svn-id: svn://svn.berlios.de/openocd/trunk@2384
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-24 duane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Add quick target - full cygwin builds take a long long long
time, this shortens the edit/build/debug cycle git-svn-id: svn://svn.berlios.de/openocd/trunk@2382
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-23 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Remove whitespace at end of lines, step 2. - Replace '\s*$' with ''. git-svn-id: svn://svn.berlios.de/openocd/trunk@2380
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-23 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - Replace '){' with ') {'. git-svn-id: svn://svn.berlios.de/openocd/trunk@2378
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-23 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Remove whitespace that occurs after '('. - Replace '([ \t]*' with '('. git-svn-id: svn://svn.berlios.de/openocd/trunk@2376
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-23 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - Fixes '[|]' whitespace - Replace ')\([|]\)(' with ') \1 ('. - Replace ')\([|]\)\(\w\)' with ') \1 \2'. - Replace '\(\w\)\([|]\)(' with '\1 \2 ('. - Replace '\(\w\)\([|]\)\(\w\)' with '\1 \2 \3'. git-svn-id: svn://svn.berlios.de/openocd/trunk@2374
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-23 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - Fixes '=' whitespace - Replace ')\(=\)\(\w\)' with ') \1 \2'. - Replace '\(\w\)\(=\)(' with '\1 \2 ('. - Replace '\(\w\)\(=\)\(\w\)' with '\1 \2 \3'. git-svn-id: svn://svn.berlios.de/openocd/trunk@2372
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-23 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - Fixes '<<' whitespace - Replace ')\(<<\)\(\w\)' with ') \1 \2'. - Replace '\(\w\)\(<<\)(' with '\1 \2 ('. - Replace '\(\w\)\(<<\)\(\w\)' with '\1 \2 \3'. git-svn-id: svn://svn.berlios.de/openocd/trunk@2370
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-23 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - Fixes '<=' whitespace - Replace '\(\w\)\(<=\)\(\w\)' with '\1 \2 \3'. git-svn-id: svn://svn.berlios.de/openocd/trunk@2368
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-23 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - Fixes '&&' whitespace - Replace ')\(&&\)(' with ') \1 ('. - Replace '\(\w\)\(&&\)(' with '\1 \2 ('. - Replace '\(\w\)\(&&\)\(\w\)' with '\1 \2 \3'. git-svn-id: svn://svn.berlios.de/openocd/trunk@2366
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-23 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - Fixes '[+]=' whitespace - Replace '\(\w\)\([+]=\)(' with '\1 \2 ('. - Replace '\(\w\)\([+]=\)\(\w\)' with '\1 \2 \3'. git-svn-id: svn://svn.berlios.de/openocd/trunk@2364
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-23 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - Fixes '-=' whitespace - Replace '\(\w\)\(-=\)(' with '\1 \2 ('. - Replace '\(\w\)\(-=\)\(\w\)' with '\1 \2 \3'. git-svn-id: svn://svn.berlios.de/openocd/trunk@2362
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-23 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - Replace 'for(' with 'for ('. git-svn-id: svn://svn.berlios.de/openocd/trunk@2360
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-23 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - Replace 'while(' with 'while ('. git-svn-id: svn://svn.berlios.de/openocd/trunk@2358
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-23 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : update w/missing eCos definitions after latest round of compiler
formatting warnings fixes git-svn-id: svn://svn.berlios.de/openocd/trunk@2356
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-22 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net>: This should be my last significant update of the User's Guide for
this release. Mostly it's a rework of the config file chapter's
presentation of board and target config files. - Give the new path for scripts! - Move board-config material out of the target-config section - Add more board-config info, notably for reset-init events - Link out of the board-config section to NAND, NOR, and Reset
chapters - Emphasize target input vs. output naming conventions - Other textual improvements Plus some other updates, like adding my copyright (now that I've
basically rewritten much of this). git-svn-id: svn://svn.berlios.de/openocd/trunk@2354
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-22 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net> Make the Hitex
STM32-PerformanceStick board config behave better: source the STM32
target config instead of using a private clone git-svn-id: svn://svn.berlios.de/openocd/trunk@2352
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-21 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - fix break caused by r2208 when using --pipe option - issue is gdb stdin buffer gets full before we redirect openocd
output git-svn-id: svn://svn.berlios.de/openocd/trunk@2350
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-21 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Oleksandr Tymoshenko <gonzo@bluezbox.com>: Resume command works only if resume address is provided. git-svn-id: svn://svn.berlios.de/openocd/trunk@2348
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-21 duane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : C99 printf() -Werror fixes git-svn-id: svn://svn.berlios.de/openocd/trunk@2346
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-21 duane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : C99 printf() -Werror fixes git-svn-id: svn://svn.berlios.de/openocd/trunk@2344
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-21 duane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : C99 printf() -Werror fixes git-svn-id: svn://svn.berlios.de/openocd/trunk@2342
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-21 duane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : C99 printf() -Werror fixes git-svn-id: svn://svn.berlios.de/openocd/trunk@2340
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-21 duane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : C99 printf() -Werror fixes git-svn-id: svn://svn.berlios.de/openocd/trunk@2338
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-21 duane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : C99 printf() -Werror fixes git-svn-id: svn://svn.berlios.de/openocd/trunk@2336
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-21 duane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : C99 printf() -Werror fixes git-svn-id: svn://svn.berlios.de/openocd/trunk@2334
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-21 duane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : C99 printf() -Werror fixes git-svn-id: svn://svn.berlios.de/openocd/trunk@2332
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-21 duane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : C99 printf() -Werror fixes git-svn-id: svn://svn.berlios.de/openocd/trunk@2330
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-21 duane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : C99 printf() -Werror fixes git-svn-id: svn://svn.berlios.de/openocd/trunk@2328
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-21 duane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : C99 printf() -Werror fixes git-svn-id: svn://svn.berlios.de/openocd/trunk@2326
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-21 duane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : C99 printf() -Werror fixes git-svn-id: svn://svn.berlios.de/openocd/trunk@2324
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-21 duane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : C99 printf() -Werror fixes git-svn-id: svn://svn.berlios.de/openocd/trunk@2322
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-21 duane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : C99 printf() -Werror fixes git-svn-id: svn://svn.berlios.de/openocd/trunk@2320
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-21 duane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : C99 printf() -Werror fixes git-svn-id: svn://svn.berlios.de/openocd/trunk@2318
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-21 duane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : C99 printf() -Werror fixes git-svn-id: svn://svn.berlios.de/openocd/trunk@2316
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-21 duane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : C99 printf() -Werror fixes git-svn-id: svn://svn.berlios.de/openocd/trunk@2314
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-21 duane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : C99 printf() -Werror fixes git-svn-id: svn://svn.berlios.de/openocd/trunk@2312
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-21 duane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : C99 printf() -Werror fixes git-svn-id: svn://svn.berlios.de/openocd/trunk@2310
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-21 duane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : C99 printf() -Werror fixes git-svn-id: svn://svn.berlios.de/openocd/trunk@2308
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-21 duane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : C99 printf() -Werror fixes git-svn-id: svn://svn.berlios.de/openocd/trunk@2306
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-21 duane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : C99 printf() -Werror fixes git-svn-id: svn://svn.berlios.de/openocd/trunk@2304
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-21 duane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : C99 printf() -Werror fixes git-svn-id: svn://svn.berlios.de/openocd/trunk@2302
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-21 duane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : C99 printf() -Werror fixes git-svn-id: svn://svn.berlios.de/openocd/trunk@2300
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-21 duane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : C99 printf() -Werror fixes git-svn-id: svn://svn.berlios.de/openocd/trunk@2298
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-21 duane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : C99 Type updates, include inttypes.h - it is catagorically
required git-svn-id: svn://svn.berlios.de/openocd/trunk@2296
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-19 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Remove editor preferences from source files. git-svn-id: svn://svn.berlios.de/openocd/trunk@2294
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-19 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Paulius Zaleckas <paulius.zaleckas@gmail.com>: This is minimal patch to support FA526 ARMv4 compatible core. Since
it is very similar to ARM920T I tried to reuse as much code as
possible. CPU and board configs will follow soon. git-svn-id: svn://svn.berlios.de/openocd/trunk@2292
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-19 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : fix jtag_add_callback() args. The first argument is nothing
special, it's just another generic argument. git-svn-id: svn://svn.berlios.de/openocd/trunk@2290
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-18 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : less warnings git-svn-id: svn://svn.berlios.de/openocd/trunk@2288
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-18 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Oyvind Harboe <oyvind.harboe@zylin.com>: Ecos uses sys/types.h not stdint.h. git-svn-id: svn://svn.berlios.de/openocd/trunk@2286
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-18 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Update Style Guide documentation to explain basic type rules. git-svn-id: svn://svn.berlios.de/openocd/trunk@2284
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-18 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Transform 'u64' to 'uint64_t' - Replace '\([^_]\)u64' with '\1uint64_t'. git-svn-id: svn://svn.berlios.de/openocd/trunk@2282
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-18 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Transform 'u32' to 'uint32_t' in src/flash. - Replace '\([^_]\)u32' with '\1uint32_t'. git-svn-id: svn://svn.berlios.de/openocd/trunk@2280
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-18 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Transform 'u32' to 'uint32_t' in src/target/arm* - Replace '\([^_]\)u32' with '\1uint32_t'. - Replace '^u32' with 'uint32_t'. git-svn-id: svn://svn.berlios.de/openocd/trunk@2278
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-18 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Transform 'u8' to 'uint8_t' - Replace '\([^_]\)u8' with '\1uint8_t'. - Replace '^u8' with 'uint8_t'. git-svn-id: svn://svn.berlios.de/openocd/trunk@2276
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-18 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Transform 'u8' to 'uint8_t' in src/target - Replace '\([^_]\)u8' with '\1uint8_t'. - Replace '^u8' with 'uint8_t'. git-svn-id: svn://svn.berlios.de/openocd/trunk@2274
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-18 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net>: Clean up the PLD files: - Get rid of some extraneous whitespace - Make various functions static - Wrap overlong lines git-svn-id: svn://svn.berlios.de/openocd/trunk@2272
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-18 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net>: Take a whack at providing some texinfo style docs. Mostly it's just
basic "how 2 write sane dox" stuff. git-svn-id: svn://svn.berlios.de/openocd/trunk@2270
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-17 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : dummy driver now works under eCos git-svn-id: svn://svn.berlios.de/openocd/trunk@2268
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-17 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net>: Fix for a goofy "board" config ... reuse target/pxa270.cfg instead
of using a private copy. git-svn-id: svn://svn.berlios.de/openocd/trunk@2266
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-17 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net>: Let jtag_call_event_callbacks() behave when the callback removes
itself. Oddly, this crashed on x86_32 but not x86_64. git-svn-id: svn://svn.berlios.de/openocd/trunk@2264
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-17 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Fix compilation for Ubuntu 9.04 on x86-64 when using
--enable-httpd. git-svn-id: svn://svn.berlios.de/openocd/trunk@2262
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-17 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Ensure range errors are reported only when errno indicates one
occurred. git-svn-id: svn://svn.berlios.de/openocd/trunk@2260
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-17 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Add argument parsing errors in command.h, use in parse_type
routines. git-svn-id: svn://svn.berlios.de/openocd/trunk@2258
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-17 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Convert core parse_type implementations to check for underflow
errors. git-svn-id: svn://svn.berlios.de/openocd/trunk@2256
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-17 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Update parse_type macro definitions to allow re-use with signed
types. git-svn-id: svn://svn.berlios.de/openocd/trunk@2254
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-16 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net>: Fix a bug preventing ICEpick "enable that TAP" code from working:
the "runtest" command wrongly finished with a JTAG reset, discarding
the work the TAP enable handler just finished! Instead, JTAG should
stay in RUN/IDLE state. git-svn-id: svn://svn.berlios.de/openocd/trunk@2252
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-16 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net>: Tighten error handling on TAP enable/disable paths a bit: - Don't enable/disable unless it's necessary. Those event handlers could have nasty side effects... - Don't *succeed* enables/disables if there was no code which could have implemented that action. This prevents bugs like wrongly acting as if the scan chain changed. - Minor whitespace cleanup in enable/disable command code. The big problem is still the lack of code to verify scan chains were
actually updated as requested; this adds a comment on that. I
suspect the best we can do near term will be to verify IDCODE. git-svn-id: svn://svn.berlios.de/openocd/trunk@2250
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-16 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net>: Distributing FTDI's "ftd2xx" library with OpenOCD violates the
OpenOCD license (GNU GPLv2 with no exceptions). Make that clear where that build option is presented, and don't
describe the FTDI libraries as an option for any packager. (It's
fine for personal use, of course.) Plus some related clarifications: libftdi version 0.16 for the new
FT2232H chips (for RTCK and high speed USB); the Amontec drivers are
just ftd2xx variants. git-svn-id: svn://svn.berlios.de/openocd/trunk@2248
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-16 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net>: Doc update: say "jtag newtap ... -disable" records the state after
exiting the RESET state, matching the only implementation we're
working with so far (TI ICEpick-C). Matching code updates. Now we can be sure that the "enabled" flag
value is correct after JTAG resets. git-svn-id: svn://svn.berlios.de/openocd/trunk@2246
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-16 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net>: Minor jtag cleanup: - remove hidden assumption about JTAG event numbering - move function declarations to a header - some end'o'line whitespace - use "calloc" not "malloc + memset" git-svn-id: svn://svn.berlios.de/openocd/trunk@2244
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-15 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net>: Add another board ... OMAP2420 "H4" board. This won't be very
widely used with OpenOCD, but with mainline support in both U-Boot
and Linux it at least makes for a more complete set (and another
testcase). This is incomplete support in several respects. The ARM11 support
is not very deep yet; most registers aren't available, and the ETM
can't be hooked up. Plus, there's no script for OMAP-specific stuff
like setting up the SDRAM controller. Eventually the same NAND
controller driver should work with OMAP2 and OMAP3. git-svn-id: svn://svn.berlios.de/openocd/trunk@2242
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-13 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net>: OpenOCD doesn't actually *need* to be keeping all TCP ports active
... creating security issues in some network configs. Instead, let config file specify e.g. "tcl_port 0" (or gdb_port,
telnet_port) to disable that particular remote access method. git-svn-id: svn://svn.berlios.de/openocd/trunk@2240
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-13 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Improve handle_profile_command argument parsing: - Use parse_uint to ensure timeout value parses properly. git-svn-id: svn://svn.berlios.de/openocd/trunk@2238
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-13 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Cleanup and improve handle_wp_command and handle_rwp_command: - Simplify argument parsing logic using switch statement. - Use parse_u32 to ensure all values parse properly. - Return syntax error when mode argument fails to parse. git-svn-id: svn://svn.berlios.de/openocd/trunk@2236
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-13 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Improve handle_verify_image_command_internal command argument
handling: - Use parse_u32 to ensure address parses properly. git-svn-id: svn://svn.berlios.de/openocd/trunk@2234
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-13 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Improve handle_load_image_command argument parsing: - Use parse_u32 to ensure base/min/max addresses parse properly. git-svn-id: svn://svn.berlios.de/openocd/trunk@2232
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-13 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Improve handle_md_command argument handling: - Use parse_u32 and parse_uint for address and count, respectively. git-svn-id: svn://svn.berlios.de/openocd/trunk@2230
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-13 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Cleanup and improve handle_halt_command: - Make argument check use parse_uint to ensure value parses
properly. - Move variable declarations to location of first use. git-svn-id: svn://svn.berlios.de/openocd/trunk@2228
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-13 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Use parse_uint in handle_reg_command to ensure reg number parses
properly. git-svn-id: svn://svn.berlios.de/openocd/trunk@2226
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-12 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net>: Currently the "debug_level 3" command tracing ignores commands that
could return values to TCL scripts (by plugging in to a slightly
lower level of the interpreter stack). Fix that by abstracting the tracing command and starting to make
some of those previously-untraced commands use this new mechanism. git-svn-id: svn://svn.berlios.de/openocd/trunk@2224
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-12 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net>: Partial fix to the "long IR length" problems. - Current code could handle up to 32 bit IR lengths with full functionality, if it didn't just reject may of them out of hand. So only reject clear errors, where the IR mask (or capture instruction) needs more than IrLen bits. - Longer IR lengths can only be handled in BYPASS mode for now. Example: TI's DSPs use 38-bit IR lengths. So we can't issue their IDCODE instructions... A more complete fix would be able to issue longer instructions; or
minimally, would fail cleanly for the non-BYPASS case. Note that this *could* make some currently broken scripts fail,
since the previous code accepted garbage values so long as they
didn't use more than 16 bits. git-svn-id: svn://svn.berlios.de/openocd/trunk@2222
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-12 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Further cleanup to MIPS target read/write memory function: - Move the mips32_..._read_mem calls to top-level of read_mem
function. - Change: Only perform mips_m4k_read_mem conversion when retval ==
ERROR_OK. - Prevents pointless conversions of bogus read values after
failures. - Eliminate retval variable from mips_m4k_write_mem; return
directly. - Move declaration of retval variable to point of first use. - Remove the now redundant switch statements testing size: - argument sanitizing already covers these cases. git-svn-id: svn://svn.berlios.de/openocd/trunk@2220
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-12 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Fix unitialized use of cur_speed in handle_jtag_khz_command: - Use the default KHz speed setting, in case interface is not
initialized. git-svn-id: svn://svn.berlios.de/openocd/trunk@2218
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-12 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Improve handle_runtest_command: - Use parse_uint helper to ensure argument is parsed properly. git-svn-id: svn://svn.berlios.de/openocd/trunk@2216
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-12 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Improve handle_irscan_command: - Use parse_u32 helper to ensure scan values are parsed properly. - Clear the fields buffer to ensure partial cleanup occur correctly. git-svn-id: svn://svn.berlios.de/openocd/trunk@2214
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-12 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Use parse_uint helper to replace strtoul call in
jtag_tap_by_string. git-svn-id: svn://svn.berlios.de/openocd/trunk@2212
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-12 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Simplify and improve amt_jtagaccel_handle_parport_port_command: - Show the port number to the user when asking for it or setting it. - Print an error if the amt_jtagaccel_port has already been set. - Use parse_u16 helper to ensure amt_jtagaccel_port string parses
correctly. git-svn-id: svn://svn.berlios.de/openocd/trunk@2210
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-12 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Simplify and improve handle_debug_level_comamnd: - Bug fix: Return a syntax error if more than one argument is given. - Bug fix: Use new parse_uint helper ensure debug_level parses
correctly. - Change: Display the debug_level after it has been set. - Simplify bounds checking of debug_level. git-svn-id: svn://svn.berlios.de/openocd/trunk@2208
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-12 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Add new parse_uinttype wrappers for strtoul in
src/helper/command.[ch]. - Used to improve command argument parsing of unsigned integers
values. git-svn-id: svn://svn.berlios.de/openocd/trunk@2206
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-11 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net>: Rework the "Simple Configuration Files" chapter so it's more of a
quick-start "how to set up your project" tutorial: - Say how to hook up the JTAG adapter. This will help new users, and in any case is worth spelling out somewhere. - Streamline the previous rather haphazard presentation, filling in some missing holes along the way: * Suggest "project directory" structure * Introduce new term, "user config" file (openocd.cfg) * Talk about more options for openocd.cfg contents * ... and about creating new config files * Add new topic, project-specific utilities (+examples) - Remove too-short, yet duplicative, chapter 19 Nudge packagers a bit more strongly to send patches (including
config files) upstream. git-svn-id: svn://svn.berlios.de/openocd/trunk@2204
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-11 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - fix bug introduced during r1962 - Original patch submitted by David Claffey [dnclaffey@gmail.com]. git-svn-id: svn://svn.berlios.de/openocd/trunk@2202
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-11 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : fix ordering of arguments to fwrite() git-svn-id: svn://svn.berlios.de/openocd/trunk@2197
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-11 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Factor target_timer_callbacks_check_time into pieces: - Add target_timer_callback_periodic_restart and
target_call_timer_callback. - Clean up and simplify logic that determines whether to call each
callback. - Move variable declarations to location of first use. git-svn-id: svn://svn.berlios.de/openocd/trunk@2195
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-11 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Simplify and fix target handle_rwp_command routine: - Return syntax error unless exactly one argument is passed. - Move variable declaration to point of first use. git-svn-id: svn://svn.berlios.de/openocd/trunk@2193
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-11 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Simplify handle_resume_command: - Eliminate redundant calls to target_resume with addr temp
variable. - Place variables at location of first use. - Fix minor whitespace issues. git-svn-id: svn://svn.berlios.de/openocd/trunk@2191
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-11 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Move jtag_get_flush_queue_count near jtag_execute_queue (fix its
docs). git-svn-id: svn://svn.berlios.de/openocd/trunk@2189
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-11 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Group JTAG reset configuration and accessor APIs together in
header file. Remove unused reset_line_mode enumerated type. git-svn-id: svn://svn.berlios.de/openocd/trunk@2187
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-11 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Out-of-line jtag_tap_next_enabled and simplify its logic. git-svn-id: svn://svn.berlios.de/openocd/trunk@2185
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-11 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : disable polling continuous polling during reset git-svn-id: svn://svn.berlios.de/openocd/trunk@2183
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-10 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - fix texi/pdf issue created in svn r2039 git-svn-id: svn://svn.berlios.de/openocd/trunk@2181
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-10 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net>: Tweak the csb337 code so that it doesn't enable alignment traps when
it completes the "reset init" sequence. It turns out that the
current CFI code reliably triggers such traps. git-svn-id: svn://svn.berlios.de/openocd/trunk@2179
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-09 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Improve use of automake conditionals for FTDI-based JTAG
drivers: - Remove once-used XXX_FTD2XX symbols; replace with XXX_DRIVER
symbols. - Enabled when either libftdi or FTD2xx driver should be built. - Eliminates redundant DRIVERSFILE assignment in JTAG automake
input. git-svn-id: svn://svn.berlios.de/openocd/trunk@2177
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-09 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Rename jtag_driver.c as driver.c to remove duplicate name
component. git-svn-id: svn://svn.berlios.de/openocd/trunk@2175
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-09 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : reset to eol native for now. guess-rev.sh was broken by eol
native, but it was a red herring that these two files were affected. git-svn-id: svn://svn.berlios.de/openocd/trunk@2173
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-09 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Encapsulate the core jtag interface pointer: - Add new jtag_config_khz to increase encapsulation of jtag->khz
call. - Add new jtag_get_speed_readable to encapsulate of jtag->speed_div
call. - Make definition of jtag static in core.c, remove extern from
tcl.c. git-svn-id: svn://svn.berlios.de/openocd/trunk@2171
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-09 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Continue encapsulation of JTAG event callback sub-API: - Move jtag_event_callbacks struct to core.c; it's an implementation
detail. - Move jtag_*_event_callbacks next to the definition of the new
function type. git-svn-id: svn://svn.berlios.de/openocd/trunk@2169
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-09 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Expose jtag_unregister_event_callback with related API
declarations. git-svn-id: svn://svn.berlios.de/openocd/trunk@2167
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-09 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Properly encapsulate core hasKHZ variable. git-svn-id: svn://svn.berlios.de/openocd/trunk@2165
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-09 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Add missing static keywords to a few variables in JTAG core
module. git-svn-id: svn://svn.berlios.de/openocd/trunk@2163
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-09 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Encapsulate jtag_reset_config using accessors: - Update handle_reset_config_command in tcl.c to use new helpers. - Replace direct accesses in JTAG interface and target drivers. git-svn-id: svn://svn.berlios.de/openocd/trunk@2161
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-09 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Add get and set accessors for jtag_speed: - Setter calls the interface driver callback to improve core
encapsulation. - Use getter in standard JTAG interface drivers and ZY1000
minidriver. git-svn-id: svn://svn.berlios.de/openocd/trunk@2159
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-09 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Encapsulate the jtag_trst and jtag_srst variables: - Add accessor functions to return their value. - Use new SRST accessor in cortex_m3.c and mips_m4k.c git-svn-id: svn://svn.berlios.de/openocd/trunk@2157
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-09 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Remove superfluous extern of jtag_event_strings from jtag.h. git-svn-id: svn://svn.berlios.de/openocd/trunk@2155
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-09 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : removed native line end style - breaks cygwin git-svn-id: svn://svn.berlios.de/openocd/trunk@2153
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-09 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Remove accidental duplicate of hasKHz; fixes pre-init speed
setup. git-svn-id: svn://svn.berlios.de/openocd/trunk@2151
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-09 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Split main jtag.c file into two layers: - src/jtag/core.c: contains the low-level JTAG TAP and scanning
routines. - src/jtag/tcl.c: contains high-level JTAG TCL commands that use the
core. - Remove static keywords from routines in core.c, extern from tcl.c: - jtag, jtag_interface global variables - jtag_{examine,validate}_chain and jtag_tap_{init,free} functions - Added myself to the copyright header in both of these files. - Used 'svn cp' to add files, so versioning was preserved for both. git-svn-id: svn://svn.berlios.de/openocd/trunk@2149
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-09 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Move Doxygen documentation for IR/DR scan routines to header
file. - Move plain IR scan declaration closer to the other IR scan
declarations. git-svn-id: svn://svn.berlios.de/openocd/trunk@2147
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-09 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Remove non-existant jtag_tap_by_position API declaration. git-svn-id: svn://svn.berlios.de/openocd/trunk@2145
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-09 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Cleanup jtag_tap_by_abs_position: - Remove unused orig_n local variable. - Merge variable declaration with first use. - Update code to use current style guidelines. git-svn-id: svn://svn.berlios.de/openocd/trunk@2143
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-09 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Simplify and fix bug in jtag_tap_by_string: - Bug fix: Use unsigned type and strtoul when parsing for position
number. - Simplify logic by returning directly when a tap is found by name. - Reduce scope: declare temporary variables with first use. - Bring code up to current style guidelines. git-svn-id: svn://svn.berlios.de/openocd/trunk@2141
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-09 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Cleanup jtag_tap_count_enabled. git-svn-id: svn://svn.berlios.de/openocd/trunk@2139
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-09 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Reduce scope or eliminate temporary variables in
jtag_add_statemove: - Change types of tms_bits and tms_count to unsigned, eliminates a
cast. - Use moves[] only if needed; a single move can use goal_state
directly. - Declare loop induction variable inside its control statement. - Remove retval in favor of direct returns. git-svn-id: svn://svn.berlios.de/openocd/trunk@2137
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-09 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Revert changes from r2134 that snuck into the commit. Mea
culpa. git-svn-id: svn://svn.berlios.de/openocd/trunk@2135
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-08 kc8apf <kc8apf@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Fix eol-style on guess-rev.sh git-svn-id: svn://svn.berlios.de/openocd/trunk@2133
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-08 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Zach Welch wrote a fix for configure problems under Cygwin.
ltmain.sh is added to svn ignore git-svn-id: svn://svn.berlios.de/openocd/trunk@2131
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-08 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Factor interface list to its own command: - Add handle_interface_list_command, used by
handle_interface_command. - Display output of new list to command console. - Change first index of displayed drivers to 1; it's only cosmetic. git-svn-id: svn://svn.berlios.de/openocd/trunk@2129
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-08 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Simplify jtag_add_sleep: - Add todo for removing keep_alive: is this a layering violation? - Use jtag_set_error instead of accessing jtag_error directly. - Remove superfluous retval temporary variable and empty return. git-svn-id: svn://svn.berlios.de/openocd/trunk@2127
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-08 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Simplify jtag_add_clocks: - Use jtag_set_error instead of accessing jtag_error directly. - Improve error language and whitespace. git-svn-id: svn://svn.berlios.de/openocd/trunk@2125
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-08 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Simplify jtag_add_pathmove: - Use jtag_set_error instead of accessing jtag_error directly. - Eliminate superfluous retval temporary variable. - Reduce scope of loop induction variable. - Wrap to fit within 80 columns. git-svn-id: svn://svn.berlios.de/openocd/trunk@2123
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-08 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Simplify jtag_add_plain_dr_scan: - Use jtag_set_error instead of accessing jtag_error directly. - Wrap function arguments to fit everything in 80 columns. - Move retval variable to location of first use. git-svn-id: svn://svn.berlios.de/openocd/trunk@2121
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-08 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Simplify jtag_add_plain_ir_scan: - Use jtag_set_error instead of accessing jtag_error directly. - Wrap function arguments to fit everything in 80 columns. git-svn-id: svn://svn.berlios.de/openocd/trunk@2119
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-08 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Simplify jtag_execute_queue: - Add static inline jtag_error_clear helper to return and clear
jtag_error. - Use new helper to shrink body of function to two lines. git-svn-id: svn://svn.berlios.de/openocd/trunk@2117
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-08 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Cleanup handle_runtest_command: - Make command argument require exactly one argument; do not allow
extras. - Remove superfluous whitespace at end of function. - Wrap function arguments to fit in 80 columns. git-svn-id: svn://svn.berlios.de/openocd/trunk@2115
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-08 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Extend handle_jtag_n{s,t}rst_delay_command routines: - Add support to display the reset delays too, like the other
commands. - Always show the values, so users can see if they are being
redundant. git-svn-id: svn://svn.berlios.de/openocd/trunk@2113
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-08 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Update JTAG reset delay command handlers: - Fixes for error handling: - Return a syntax error instead of calling exit(-1). - Return error when more than one argument is provided too. - Remove useless braces and indent after the if/return statements. - Wrap function arguments to fit in 80 columns. git-svn-id: svn://svn.berlios.de/openocd/trunk@2111
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-08 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Simplify logic in handle_jtag_speed_command. git-svn-id: svn://svn.berlios.de/openocd/trunk@2109
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-08 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net> - Don't let disabled TAPs be set as the current target - Improve "targets" output: * Remove undesirable "chain position" number; we discourage
using them * TAP and Target column updates: + make them long enough for current usage + improve labels, removing guesswork + "TapName" label patches scan_chain output * Highlight the "current" target * Display "tap disabled" as a new pseudo-state * Update docs accordingly git-svn-id: svn://svn.berlios.de/openocd/trunk@2107
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-08 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Reorder configure script macros: - Check for a compiler before looking for libraries or header files. - Initialize automake before calling other AM_ macros. - Disable libtool shared libraries by default. - Remove checks for unused C++, Fortran, and Java compilers. - Remove redundant AC_CANONICAL_HOST; called by AC_PROG_LIBTOOL. git-svn-id: svn://svn.berlios.de/openocd/trunk@2105
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-08 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Move minidummy source file, as was supposed to happen in last
commit. git-svn-id: svn://svn.berlios.de/openocd/trunk@2103
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-07 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Fix reference warning in JTAG primer, add another external
reference. git-svn-id: svn://svn.berlios.de/openocd/trunk@2101
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-07 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net>: Clarify docs for the evb_lm3s811 layout: works in two modes, not
just one. git-svn-id: svn://svn.berlios.de/openocd/trunk@2099
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-07 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net>: Rework chapter 12 (CPU configuration) to use @deffn, match the code
more closely, and present things more clearly. Includes the *current* list of targets. git-svn-id: svn://svn.berlios.de/openocd/trunk@2097
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-07 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : retire endstate command git-svn-id: svn://svn.berlios.de/openocd/trunk@2095
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-07 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Fix regressions in previous series of cleanp, caused by r2092. git-svn-id: svn://svn.berlios.de/openocd/trunk@2093
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-07 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Factoring of jtag_examine_chain for maintainability: - Improve variable type: change device_count to unsigned. - Improves jtag_tap_count_enabled() API too (now returns unsigned). git-svn-id: svn://svn.berlios.de/openocd/trunk@2091
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-07 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Factoring of jtag_examine_chain for maintainability: - Factor TAP ID matching into new helper function. - Simplifies the main jtag_examine_chain loop logic considerably. git-svn-id: svn://svn.berlios.de/openocd/trunk@2089
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-07 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Factoring of jtag_examine_chain for maintainability: - Add helper to check for the terminating ID during
jtag_examine_chain. git-svn-id: svn://svn.berlios.de/openocd/trunk@2087
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-07 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Factoring of jtag_examine_chain for maintainability: - Factor output of accepted/incorrect/expected TAP IDs into static
helper. git-svn-id: svn://svn.berlios.de/openocd/trunk@2085
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-07 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Factoring of jtag_examine_chain for maintainability: - Factor JTAG chain examination into static helper function. git-svn-id: svn://svn.berlios.de/openocd/trunk@2083
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-07 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Factoring of jtag_examine_chain for maintainability: - Reduce indent: invert logic test for unexpected TAP (no IDs). git-svn-id: svn://svn.berlios.de/openocd/trunk@2081
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-07 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Factoring of jtag_examine_chain for maintainability: - Move definition of maximum JTAG chain size closer to its only
uses. git-svn-id: svn://svn.berlios.de/openocd/trunk@2079
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-07 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Clean up handle_endstate_command(): - Merge declaration of state with first use. - Unindent and remove unnecessary 'else' block. git-svn-id: svn://svn.berlios.de/openocd/trunk@2077
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-05 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : remove hacks no longer required to build OpenOCD w/eCos git-svn-id: svn://svn.berlios.de/openocd/trunk@2074
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-05 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : remove unused include file: inttypes.h git-svn-id: svn://svn.berlios.de/openocd/trunk@2072
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-05 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Eliminate MixedCaps symbol from public JTAG TAP API: - Purely mechanical transformations to the source files. - Rename 'jtag_NextEnabledTap' as 'jtag_tap_next_enabled.' git-svn-id: svn://svn.berlios.de/openocd/trunk@2069
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-05 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Eliminate MixedCaps symbol from public JTAG TAP API: - Purely mechanical transformations to the source files. - Rename 'jtag_NumTotalTaps' as 'jtag_tap_count.' git-svn-id: svn://svn.berlios.de/openocd/trunk@2067
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-05 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Eliminate MixedCaps symbol from public JTAG TAP API: - Purely mechanical transformations to the source files. - Rename 'jtag_TapByString' as 'jtag_tap_by_string.' git-svn-id: svn://svn.berlios.de/openocd/trunk@2065
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-05 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Eliminate MixedCaps symbol from public JTAG TAP API: - Purely mechanical transformations to the source files. - Rename 'jtag_TapByPosition' as 'jtag_tap_by_position.' git-svn-id: svn://svn.berlios.de/openocd/trunk@2063
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-05 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Eliminate MixedCaps symbol from public JTAG TAP API: - Purely mechanical transformations to the source files. - Rename 'jtag_all_taps' as '__jtag_all_taps.' - Frees original symbol name to rename the accessor function. git-svn-id: svn://svn.berlios.de/openocd/trunk@2061
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-05 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Add accessors for reset delays; use them in jim command
handlers. git-svn-id: svn://svn.berlios.de/openocd/trunk@2059
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-04 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Add jtag_get_flush_queue_count accessor to help future
factoring. git-svn-id: svn://svn.berlios.de/openocd/trunk@2057
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-04 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Clean up the core JTAG TAP APIs: - Move jtag_tap_name to same location as other TAP functions; export
it. - Factor new jtag_tap_add() from jim_newtap_cmd(); appends TAP to
global list. - Move static chain position counter to global; use in
jtag_NumTotalTaps(). - Use jtag_AllTaps for reading tap list, instead of accessing global
directly. git-svn-id: svn://svn.berlios.de/openocd/trunk@2055
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-04 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Add missing static keywords in JTAG source file. git-svn-id: svn://svn.berlios.de/openocd/trunk@2053
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-04 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - add support for different TAR autotincrement sizes as per ARM ADI
spec. - set TAR size to 12 bits for Cortex-M3. - Original patch submitted by Magnus Lundin [lundin@mlu.mine.nu]. git-svn-id: svn://svn.berlios.de/openocd/trunk@2051
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-04 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Introduce jtag_get_end_state() fn to clarify code a bit. git-svn-id: svn://svn.berlios.de/openocd/trunk@2049
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-04 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : do not modify global end state from jtag_add_xxx() git-svn-id: svn://svn.berlios.de/openocd/trunk@2047
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-04 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : no longer use jtag_add_xxx() to set end state to TAP_DRPAUSE git-svn-id: svn://svn.berlios.de/openocd/trunk@2045
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-04 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : use assert() to catch TAP_INVALID passed to jtag_add_xxx() fn's. git-svn-id: svn://svn.berlios.de/openocd/trunk@2043
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-04 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : jtag_add_end_state() now returns the value of the global
variable and does not modify the global variable if passed
TAP_INVALID. This patch has no effect on the current code and is
just to prepare upcoming patches. git-svn-id: svn://svn.berlios.de/openocd/trunk@2041
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-04 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net>: Update the "General Commands" (a.k.a. "random stuff") chapter, and
associated chunks of other text: - Switch to @deffn and review everything that's documented - Improve descriptions of reset events, with reference to the setup.tcl code which issues them. - Move one zy1000-specific command to that driver's doc. - There is no "script" command; remove its doc. NOTE: Some things missing from this bit of work are: 1- Reviewing the code to catch various *missing* functions, mostly from "target.c" 2- Alphabetizing and organizing. This chapter is a real grab-bag with no evident focus or structural principle. 3- Hole-filling and bugfixing with respect to messaging/logging. Example, what principle could possibly justify the tcl command output going into the server output/log instead of just the telnet session? 4- Not just for this chapter ... but there should be a section with descriptions of all the supported image file formats, so every image command can just reference that section. git-svn-id: svn://svn.berlios.de/openocd/trunk@2039
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-04 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net>: Minor cleanup of FT2232: - make Olimex glue warn about Olimex issues instead of JTAGkey
issues; - make some data static+const; - don't export some internal symbols. git-svn-id: svn://svn.berlios.de/openocd/trunk@2037
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-04 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net>: Convert the Interface/Dongle Config chapter's section on drivers to
use the @deffn syntax, and integrate the presentation of the
driver-specific commands with the relevant driver. Alphabetize. Cross-checked against the code ... several adapters were not listed,
and a few commands weren't. (Maintainers for the versaloon and zy1000 drivers would be good
candidates to add the commands missing from those sections...) git-svn-id: svn://svn.berlios.de/openocd/trunk@2035
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-03 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : use assert() for obscure check on illegal arguments upon trst
being asserted while commands are queued git-svn-id: svn://svn.berlios.de/openocd/trunk@2033
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-03 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : catchup with jtag refactoring. git-svn-id: svn://svn.berlios.de/openocd/trunk@2031
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-03 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Finish JTAG header file modularization; command factoring
follows. git-svn-id: svn://svn.berlios.de/openocd/trunk@2029
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-03 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Move JTAG command APIs into new jtag/commands.h header file. git-svn-id: svn://svn.berlios.de/openocd/trunk@2027
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-03 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Improve in-source documentation that was causing Doxygen
warnings. git-svn-id: svn://svn.berlios.de/openocd/trunk@2025
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-03 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Improve logger script to expose warnings and errors in the
output. git-svn-id: svn://svn.berlios.de/openocd/trunk@2023
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-03 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Add draft of Patching Primer in The Manual; update primer page. git-svn-id: svn://svn.berlios.de/openocd/trunk@2021
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-03 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Enable or add doxygen comments to the public JTAG API. git-svn-id: svn://svn.berlios.de/openocd/trunk@2019
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-03 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Remove vestigal tap_transition type from public jtag API. git-svn-id: svn://svn.berlios.de/openocd/trunk@2017
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-03 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Expose tap_state_by_name TAP helper available in public API. git-svn-id: svn://svn.berlios.de/openocd/trunk@2015
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-03 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net>: Rework the TAP creation documentation. - Try to use "TAP" not "tap" everywhere; it's an acronym. - Update the associated "target config files" section: * reference the "TAP Creation" chapter for details * simplify: reference interesting multi-tap config files * let's not forget CPU configuration (*before* workspace setup) * streamline it a bit * move that workspace-vs-mmu issue to a better location - Clean up TAP creation doc mess * switch to @deffn * (re)organize the remaining stuff * reference the "Config File Guidelines" chapter - Tweak the "Target Configuration" chapter * rename as "CPU configuration"; unconfuse vs. target/*.cfg * bring out that it's not just there for GDB * move TAP events to the TAP chapter, where they belong
(bugfix) git-svn-id: svn://svn.berlios.de/openocd/trunk@2013
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-03 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Add missed accessor for checking the current TMS table. git-svn-id: svn://svn.berlios.de/openocd/trunk@2011
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-03 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Make tap_state_by_name available in new JTAG interface API
header. git-svn-id: svn://svn.berlios.de/openocd/trunk@2009
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-02 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Finish removing '#ifdef HAVE_JTAG_MINIDRIVER_H' from jtag.h: - Wraps JTAG callback API functions: - Outlines jtag_add_callback() and jtag_add_callback4(). - Adds interface_ prefix to existing in-tree driver
implementation. - Declare the driver interfaces routines in miniheader.h file. This patch requires renaming the equivalent macros in out-of-tree
jtag_minidriver.h implementations. git-svn-id: svn://svn.berlios.de/openocd/trunk@2007
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-02 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - change signature for adi_jtag_dp_scan and adi_jtag_dp_scan_u32 to
use swjdp_common_t *swjdp instead of arm_jtag_t *jtag_info - change SWJDP_IR/DR_APACC to DAP_IR/DR_APACC to conform with
ARM_ADI docs. - add swjdp->memaccess_tck field and code for extra tck clocks
before accessing memory bus - Set default memaccess value to 8 for Cortex-M3. - Add dap memaccess command. - document all armv7 dap cmds. - Original patch submitted by Magnus Lundin [lundin@mlu.mine.nu]. git-svn-id: svn://svn.berlios.de/openocd/trunk@2005
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-02 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : remove unecessary #ifdef as file is only built when minidriver
is enabled. git-svn-id: svn://svn.berlios.de/openocd/trunk@2003
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-02 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : more missing eCos types git-svn-id: svn://svn.berlios.de/openocd/trunk@2001
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-02 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Move interface_jtag_add_scan_check_alloc implementations to
their respective implementation files. git-svn-id: svn://svn.berlios.de/openocd/trunk@1999
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-02 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Remove unused code, TAP_INVALID is never passed to drivers. git-svn-id: svn://svn.berlios.de/openocd/trunk@1997
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-02 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : More JTAG interface driver cleanup: - Moves references to global jtag interface to default core
implementation. - Missed this reference in the earlier "pointless" patch. Mea
culpa. Important: this has a side-effect. Previously, the error return
inside the interface routine short-circuited the remainder of that
function when 'init' has not been called. With this patch, the
command queue will be cleared in the case that 'init' has been
called. Since that case indicates a buggy script, this does not
seem to be a problem. git-svn-id: svn://svn.berlios.de/openocd/trunk@1995
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-02 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : More JTAG interface driver cleanup: - Make interface_jtag_execute_queue call new helper function. - Add default_interface_jtag_execute_queue to wrap jtag interface
access. This patch may look useless on its own, but it helps to isolate the
core JTAG variables from the interface_jtag_* routines, so the later
can be moved into jtag_driver.c in a pending patch. git-svn-id: svn://svn.berlios.de/openocd/trunk@1993
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-02 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Encapsulate JTAG command interfaces for moving to
jtag_interface.h. git-svn-id: svn://svn.berlios.de/openocd/trunk@1991
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-02 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Start clean-up of JTAG driver interface: - Factor jtag_add_scan_check to call new jtag_add_scan_check_alloc
helper. - Use conditional logic to define two versions of the helper. - These helpers will be moved to other files in future patches. git-svn-id: svn://svn.berlios.de/openocd/trunk@1989
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-01 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net>: Whitespace fixes in jtag.c ... mostly end-of-line crap. Flag
"jtag_device" command as obsolete in its helptext. git-svn-id: svn://svn.berlios.de/openocd/trunk@1987
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-01 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net>: This is the missing half of the r1974 patch: OSK5912 board support,
which was split out from the omap5912 target config. git-svn-id: svn://svn.berlios.de/openocd/trunk@1985
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-01 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Encapsulate JTAG minidriver functions, plan for new header file. git-svn-id: svn://svn.berlios.de/openocd/trunk@1983
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-01 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Scrub final vestiges of in_handler from mips target APIs. git-svn-id: svn://svn.berlios.de/openocd/trunk@1981
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-01 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : fix warning for a variable that GCC thought might be
uninitialized(which it can't be). git-svn-id: svn://svn.berlios.de/openocd/trunk@1979
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-01 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net>: Uplevel the arch commands to be a chapter; they really don't fit in
the "general commands" category. git-svn-id: svn://svn.berlios.de/openocd/trunk@1977
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-01 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net>: Various updates, mostly small/formatting changes: * Small content tweaks: - Re-title: "OpenOCD User's Guide". - For users, URLS for latest doc and SparkFun forum - Mention GIT-SVN * Fix some front-matter goofage, matching texinfo docs: - "paragraphintent" location matters - put release version/date description with the copyright * Fix some other stuff matching texinfo docs: - no tabs - tweak some refs and anchors * whitespace-at-end-o-line fixes git-svn-id: svn://svn.berlios.de/openocd/trunk@1975
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-01 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net>: Whitespace fixes. git-svn-id: svn://svn.berlios.de/openocd/trunk@1973
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-31 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Final step in isolating target_type_s structure: - Move definition of 'struct target_type_s' into new 'target_type.h'
file. - Forward delclaration remains in target.h, with comment pointing to
new file. - Replaces #define with #include in source files. git-svn-id: svn://svn.berlios.de/openocd/trunk@1971
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-31 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : First step in hiding target_type_s from public interface: - Add DEFINE_TARGET_TYPE_S symbol in files that need it defined. - Forward declare 'struct target_type_s' only, unless that symbol is
defined. git-svn-id: svn://svn.berlios.de/openocd/trunk@1969
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-31 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Add target breakpoint and watchpoint wrapper: - replaces all calls to
target->type->{add,remove}_{break,watch}point. git-svn-id: svn://svn.berlios.de/openocd/trunk@1967
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-31 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Add target_step wrapper: - replaces all calls to target->type->step. git-svn-id: svn://svn.berlios.de/openocd/trunk@1965
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-31 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Add target_bulk_write_memory wrapper: - replaces all calls to target->type->bulk_write_memory. - add documentation in target_s to warn not to invoke callback
directly. git-svn-id: svn://svn.berlios.de/openocd/trunk@1963
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-31 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Add target_run_algorithm wrapper: - replaces all calls to target->type->run_algorithm. - add documentation in target_s to warn not to invoke callback
directly. git-svn-id: svn://svn.berlios.de/openocd/trunk@1961
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-31 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Add target_read_memory wrapper: - replaces all calls to target->type->read_memory. - add documentation in target_s to warn not to invoke callback
directly. git-svn-id: svn://svn.berlios.de/openocd/trunk@1959
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-31 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Make nvp_target_event static; remove its external declaration. git-svn-id: svn://svn.berlios.de/openocd/trunk@1957
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-31 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Peter Denison <openwrt@marshadder.org>: The debugging code in jlink_tap_execute() called when
_DEBUG_USB_COMMS_ is defined was using the entire cached scan length
to print the results buffers, and not the correct length of each
individual buffer. git-svn-id: svn://svn.berlios.de/openocd/trunk@1955
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-30 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Eliminate duplicated code in the handle_mw_command memory write
loop. - wordsize will always be 1, 2, or 4 due to preceeding switch
statement. - move call to keep_alive after successful writes, not upon failures git-svn-id: svn://svn.berlios.de/openocd/trunk@1953
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-30 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Remove unused jlink_execute_end_state (unreferenced after
r1949). git-svn-id: svn://svn.berlios.de/openocd/trunk@1951
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-30 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : remove unused JTAG_END_STATE git-svn-id: svn://svn.berlios.de/openocd/trunk@1949
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-30 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : more reset_config texts git-svn-id: svn://svn.berlios.de/openocd/trunk@1947
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-30 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net>: Provide basic documentation on the ARM ETM and ETB trace commands. Fix minor goofs in registration of the ETM commands; and whitespace
issues in the proof-of-concept oocd_trace code. (Plus include a ref
to Dominic's email saying that it's just proof-of-concept code.) Note that I'm still not sure whether the ETM support works. But
documenting how it's expected to work should help sort out which
behaviors are bugs, which will help get bugs patched. ZW: whitespace changes were split out of this patch but will follow. git-svn-id: svn://svn.berlios.de/openocd/trunk@1945
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-29 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Remove error_handler_t type definition; it was unused in the
tree. git-svn-id: svn://svn.berlios.de/openocd/trunk@1943
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-29 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net>: Provide basic documentation for some of the other flash drivers. avr ... looks incomplete, may work with one AVR8 microcontroller ecosflash ... can't find docs lpc288x ... an NXP part, driver seems lpc2888-specific ocl ... some arm7/arm9 thing, can't find docs pic32mx ... looks incomplete, for PIC32MX (MIPS 4K) devices tms470 ... for TI TMS470 parts Still seems to be mostly arm7tdmi... several of these have no users
in the current tree. git-svn-id: svn://svn.berlios.de/openocd/trunk@1941
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-28 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net>: Start converting the architecture-specific commands to @deffn
format, reviewing against the code. * armv4_5 disassemble ... now documented; although Jazelle code is not handled * It's "armv4_5 core_state" not "core_mode"; although Jazelle
state is not handled * arm7/9 "debug" commands ... now with other arm7_9 commands, no longer in a separate section * arm926ejs cp15 ... previous description was broken, it matched the code for arm920t instead * Have separate subsections for ARMv4/ARMv5, ARMv6, and ARMv7; the latter are new * Move core-specific descriptions into sub-subsections under those architectures; XScale and ARM11 descriptions are new The new XScale and ARM11 command descriptions surely need
elaboration and review. ARM CP15 operation descriptions in general
seem to be confused and incomplete. git-svn-id: svn://svn.berlios.de/openocd/trunk@1939
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-28 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net>: Start updating the NOR flash coverage to use @deffn syntax, so the
commands have more consistent presentation and formatting. This
reorganizes information and updates its presentation, except where
the information didn't really match the code. This patch updates most of the driver specific support, creating one
new (and alphabetized!) section just for driver-specific data, where
previously that data was split over up to three sections. Of note: - The at91sam7 docs were a bit out of date with respect to the
code. - The "str9xpec" stuff still deserves some work. For now, it sits in its own subsection; pretty messy. - Likewise the "mflash" stuff. That's a parallel infrastructure, and is now in a section of its own. - The "mass_erase" commands for the Cortex M3 chips got turned into footnotes. IMO, they should vanish sometime; they're
superfluous. - There are still a bunch of undocumented NOR drivers. Examples: avr(8), tms470, pic32mx, more. Plus there are a handful of minor tweaks to the NAND docs (to help
make the NOR and NAND presentations be parallel); the "Command
Index" has been renamed as the "Command and Driver Index"; reference
TI instead of Luminary Micro in several places. git-svn-id: svn://svn.berlios.de/openocd/trunk@1937
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-27 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Fix potentialyl unaligned memory accesses in mflash driver. git-svn-id: svn://svn.berlios.de/openocd/trunk@1935
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-27 kc8apf <kc8apf@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Author: Nicolas Pitre <nico@cam.org> - Silence errors about keep_alive() not being called frequently
enough unless a gdb session is active or debugging is enabled git-svn-id: svn://svn.berlios.de/openocd/trunk@1933
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-27 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : unsik Kim <donari75@gmail.com>: Add large bank write/dump
support in mflash driver. git-svn-id: svn://svn.berlios.de/openocd/trunk@1931
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-27 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : unsik Kim <donari75@gmail.com>: Remove unused mflash driver
'prove' field. git-svn-id: svn://svn.berlios.de/openocd/trunk@1929
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-27 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : unsik Kim <donari75@gmail.com>: Change prefix of mflash driver
routines to mg_. git-svn-id: svn://svn.berlios.de/openocd/trunk@1927
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-27 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - add support for cortino jtag interface git-svn-id: svn://svn.berlios.de/openocd/trunk@1925
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-27 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Link new Primer pages into the main list of Primers. git-svn-id: svn://svn.berlios.de/openocd/trunk@1923
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-27 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Add draft of Autotools Primer to The Manual. git-svn-id: svn://svn.berlios.de/openocd/trunk@1921
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-27 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Move TCL script files -- Step 2 of 2: - Move src/tcl to tcl/. - Update top Makefile.am to use new path name. git-svn-id: svn://svn.berlios.de/openocd/trunk@1919
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-27 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Add warning to generated Doxyfile to edit Doxyfile.in. git-svn-id: svn://svn.berlios.de/openocd/trunk@1917
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-26 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : SimonQian <simonqian@SimonQian.com>, reported by R.Doss: This patch fixes a segfault when TDO was not received in XXR
command: - allocate space for the value and mask anyway - clear the mask to zero to effectively skip the output comparison
step git-svn-id: svn://svn.berlios.de/openocd/trunk@1915
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-26 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net>: Update the "Reset Configuration" information in the User's guide: - Convert to @deffn syntax - Move tutorial text from command descriptions into new sections - Describe several different types of JTAG-visible reset - Expand descriptions of configuration tweaks for SRST and TRST - Link to the "reset" command, and vice versa - Bugfix the "reset_config" description (it didn't match the code) Plus, be more proscriptive: do it in board config files, except for
the oddball cases where that won't work. (Current target.cfg files
seem to have much goofage there; several seem board-specific.) git-svn-id: svn://svn.berlios.de/openocd/trunk@1913
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-25 kc8apf <kc8apf@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Author: Raúl Sánchez Siles <rsanchezs@infoglobal.es> - cfi flash_address coding style fix git-svn-id: svn://svn.berlios.de/openocd/trunk@1911
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-24 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net>: Make startup for the various server ports be quiet, unless debugging
is active: don't emit needless scarey messages. Update the
relevant documentation and its references: - For these port commands ... cover the default values; convert to @deffn syntax; include their use outside of the configuration stage; and alphabetize. Similar updates to the rest of that small chapter: - Highlight that there even *IS* a configuration stage, after which some command functionality is no longer available. - For GDB commands ... convert to @deffn syntax; alphabetize; include a missing command (!); add missing helptext (!) for one non-missing command; update relevant cross-references and index entries. git-svn-id: svn://svn.berlios.de/openocd/trunk@1909
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-24 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net>: minor davinci_nand bugfix Fix a bug that joined us at the last minute, when an efficient
alloca() call got swapped out for a more portable malloc(). Also log one error, to give a clue in case it appears "in the wild". git-svn-id: svn://svn.berlios.de/openocd/trunk@1907
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-24 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Nicolas Pitre <nico@cam.org>: Update sheevaplug interface
script: When the CPU is in the WFI state, the JTAG interface simply doesn't
respond at all and initial tap examination simply fails. Let's
simply do it again when we come around to assert nSRST. git-svn-id: svn://svn.berlios.de/openocd/trunk@1905
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-24 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net>: NAND support for DaVinci-family drivers, with HW ECC support.
Declare the NAND chip on the DM355 EVM board. Currently tested on DM355 for Linux interop using the standard large
page (2KB) chip in the EVM socket; "hwecc1" and "hwecc4" work fine.
(Using hwecc4 relies on patches that haven't quite made it through
the Linux-MTD bottlenecks yet.) Not yet tested: 1-bit on small-page (although it's hard to see how
that could fail); 4-bit on small page (picky layout issues); the
"hwecc_infix" mode (primarily for older boot ROMs; testing there is
blocked on having new bootloader code). git-svn-id: svn://svn.berlios.de/openocd/trunk@1903
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-24 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Properly fix doxygen out-of-tree build process: - move Doxyfile to Doxyfile.in: type 'make Doxyfile' to recreate it - create Doxyfile from Doxyfile.in with make rule: - use sed substitution of $(srcdir) to location directories - delete all doxygen created files with 'make distclean' - include all required files (including logger.pl) in distribution git-svn-id: svn://svn.berlios.de/openocd/trunk@1901
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-24 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Freddie Chopin <freddie_chopin@op.pl>: - add reset delay settings for LPC2103, LPC2124, and LPC2129. git-svn-id: svn://svn.berlios.de/openocd/trunk@1899
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-23 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Update main page of doxygen developer documentation: - Rewrite copy to give a better introduction and overview. - Add subpages: The List, Style Guide, Patch Policies, and Bug
Reporting. git-svn-id: svn://svn.berlios.de/openocd/trunk@1897
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-23 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Update user guide documentation: - Remove style guide from user guide; moved to doxygen manual. - Replace with improved introduction for developers and packagers. - Move introductory paragraph about the project under the About
page. git-svn-id: svn://svn.berlios.de/openocd/trunk@1895
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-23 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Submitted by Magnus Lundin <lundin@mlu.mine.nu>: - Remove FTDI driver tap_set_state call; performed by
jtag_add_reset. git-svn-id: svn://svn.berlios.de/openocd/trunk@1893
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-23 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Fix make docs rule to work with out-of-tree builds. git-svn-id: svn://svn.berlios.de/openocd/trunk@1891
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-23 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Submitted by Magnus Lundin <lundin@mlu.mine.nu>: Updates to the J-Link interface driver to support more device
versions: - Add capability detection: - if capable, detect protocol version; otherwise, assume v2
protocol. - if capable, detect buffer size; otherwise, assume minimal. - Disable command result queries for devices using v2 protocol. - Defined and use JTAG2 command with v2 protocol; JTAG3 is v3
protocol. - Add TCL command to allow explicit setting of J-Link protocol
version. With approval, I revised the patch to make the following changes: - add static keywords to new jlink-specific variables - factor calculation of major_version to be more readable - remove braces around simple one-line statements in if/else clauses - remove (rather than #if 0) duplicate reset code; it is in SVN - use &function to be clearer when passing function pointers - add symbols for EMU_CMD_GET_CAPS bits; do not hard-code constants! - almost renamed jlink_handle_jlink_hw_jtag_command (seriously?!?!) - rewrote that function using a switch statement. - made version request processing easier to understand and modify - improve alternate endpoint detection: - make code easier to read by using temporary variables - eliminate extra level of indentation and redundant logging - use ternary conditional to select JTAG2 or JTAG3 command - reverse version test in jlink_usb_message to reduce indentation - this had the biggest effect in cleaning up this patch - use C99's ability to declare new/changed variables with less scope - add spaces around binary operators in new/changed code - revert other superfluous whitespace/comment style changes git-svn-id: svn://svn.berlios.de/openocd/trunk@1889
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-23 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Change doxygen configuration to show code comments in
documentation. git-svn-id: svn://svn.berlios.de/openocd/trunk@1887
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-22 kc8apf <kc8apf@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Author: Raúl Sánchez Siles <rsanchezs@infoglobal.es> - Fix calculation of flash_address for x16 devices used as x8 git-svn-id: svn://svn.berlios.de/openocd/trunk@1885
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-22 kc8apf <kc8apf@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Author: David Brownell <david-b@pacbell.net> Remove un-implemented and dubious "nand copy" command. Doing this efficiently would mean doing the copying on the target
CPU, instead of back and forth through JTAG. If anyone ever needs
this functionality, that's what they should implement. Also, update on-line "help" for "nand dump" to display its two
optional flags; and for "nand write" to display a recently added
flag. git-svn-id: svn://svn.berlios.de/openocd/trunk@1883
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-22 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Submitted by David Brownell <david-b@pacbell.net>: Improve support for the DM355 EVM board, and eventually other boards
based on DaVinci chips: - Provide generic "davinci.cfg" to hold utilities that can be
reused by different chips in this family. Start with PINMUX, PSC,
and PLL setup. - DM355 chip support updates: provide a dictionary with
chip-specific symbols, load those utilities. - Create a new dm355evm board file, with a reset-init event handler which uses those utilities to set up PLLs and clocks, configure
the pins, and improve the JTAG speed limit. Also a minor tweak: provide a virtual address for the work area,
matching what the very latest kernels do. It's probably unwise to
use OpenOCD while the MMU is active though. The DRAM isn't yet accessible, but NAND access is mostly ready. git-svn-id: svn://svn.berlios.de/openocd/trunk@1881
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-22 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Submitted by David Brownell <david-b@pacbell.net>: Add a "NAND Commands" section to to the TEXI docs, covering the
basic commands except for those previously discussed as being due
for removal ("nand copy") or switching to use byte offsets not block
numbers. This uses the "@deffn..." syntax for defining commands, as somewhat
suggested by the TEXI documentation, and adds a new "Command Index".
We might prefer to merge those indexes for the near term, but I
think the "@deffn" approch is probably worth switching to. Updates a few other bits to clarify that "flash" doesn't just mean
NOR. And to fix one niggling falsity: the "reset-init" event *is*
used, and in fact it's quite important. git-svn-id: svn://svn.berlios.de/openocd/trunk@1879
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-21 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : fix warning. Use %p for pointers git-svn-id: svn://svn.berlios.de/openocd/trunk@1877
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-21 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Dirk Behme <dirk.behme@googlemail.com> Minor updates for OMAP3
scripts git-svn-id: svn://svn.berlios.de/openocd/trunk@1875
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-21 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net>: This patch adds
annotations to the key command_*() helper functions, fixng the bugs
that turned up. Several of these bugs were from misuse of PRIi64; that's for 64-bit
integers, NOT for "long long" or "u64" (which work best with %lld). git-svn-id: svn://svn.berlios.de/openocd/trunk@1873
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-21 kc8apf <kc8apf@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Author: Thomas Kindler <mail@t-kindler.de> - Increase DTC status retry count to avoid problems with STM Primer git-svn-id: svn://svn.berlios.de/openocd/trunk@1871
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-21 kc8apf <kc8apf@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Author: Holger Schurig <hs4233@mail.mn-solutions.de> -Prevent freezing of target when doing a 'shutdown'. git-svn-id: svn://svn.berlios.de/openocd/trunk@1869
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-21 kc8apf <kc8apf@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Author: Michael Bruck <mbruck@digenius.de> -jtag.c, interface_jtag_add_dr_out(): - use pointer 'field' instead of scan->fields[field_count] - restructure the main loop to clearly separate the two
cases: TAP is not bypassed / TAP is bypassed (this is to
keep the function similar to interface_jtag_add_dr_scan()) - fix bug where only the first output field has its tap field set - add asserts to verify that target_tap points to the one
not bypassed TAP git-svn-id: svn://svn.berlios.de/openocd/trunk@1867
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-21 kc8apf <kc8apf@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Author: Michael Bruck <mbruck@digenius.de> -jtag.c, interface_jtag_add_ir_scan(): - use pointer 'field' instead of scan->fields[nth_tap] - add assertion to ensure that input data has correct size
for TAP's IR git-svn-id: svn://svn.berlios.de/openocd/trunk@1865
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-21 kc8apf <kc8apf@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Author: Michael Bruck <mbruck@digenius.de> - jtag.c: remove unused variable 'nth_tap' from DR scan
functions git-svn-id: svn://svn.berlios.de/openocd/trunk@1863
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-21 kc8apf <kc8apf@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Author: Michael Bruck <mbruck@digenius.de> - jtag.c: consolidate all memory allocations in scan functions
in one block, add out_fields pointer to set stage for further
changes git-svn-id: svn://svn.berlios.de/openocd/trunk@1861
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-21 kc8apf <kc8apf@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Author: Michael Bruck <mbruck@digenius.de> - add doxygen comments to scan commands in jtag.c - move jtag_add_dr_scan next to interface_jtag_add_dr_scan to
keep these function pairs together git-svn-id: svn://svn.berlios.de/openocd/trunk@1859
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-20 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Add initial OpenOCD server documentation (Duane Ellis and
myself). git-svn-id: svn://svn.berlios.de/openocd/trunk@1857
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-20 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Move TCL overview from source tree to doxygen manual. git-svn-id: svn://svn.berlios.de/openocd/trunk@1855
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-20 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Move non-arm target overview from source tree to doxygen manual. git-svn-id: svn://svn.berlios.de/openocd/trunk@1853
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-20 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Spencer Oliver <spen@spen-soft.co.uk> use 7 tms out of reset git-svn-id: svn://svn.berlios.de/openocd/trunk@1851
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-20 kc8apf <kc8apf@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Author: Michael Bruck <mbruck@digenius.de> - simplify code in interface_jtag_add_plain_dr_scan() by adding
a local variable 'scan' to hold the scan_command_t git-svn-id: svn://svn.berlios.de/openocd/trunk@1849
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-20 kc8apf <kc8apf@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Author: Michael Bruck <mbruck@digenius.de> - simplify code in interface_jtag_add_dr_out() by adding a local
variable 'scan' to hold the scan_command_t git-svn-id: svn://svn.berlios.de/openocd/trunk@1847
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-20 kc8apf <kc8apf@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Author: Michael Bruck <mbruck@digenius.de> - simplify code in interface_jtag_add_dr_scan() by adding a
local variable 'scan' to hold the scan_command_t git-svn-id: svn://svn.berlios.de/openocd/trunk@1845
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-20 kc8apf <kc8apf@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Author: Michael Bruck <mbruck@digenius.de> - move scan_size in interface_jtag_add_ir_scan() into the scope
of the inner loop and change it to unsigned git-svn-id: svn://svn.berlios.de/openocd/trunk@1843
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-20 kc8apf <kc8apf@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Author: Michael Bruck <mbruck@digenius.de> - rename local variable x to num_taps in
interface_jtag_add_ir_scan git-svn-id: svn://svn.berlios.de/openocd/trunk@1841
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-19 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Wookey <wookey@wookware.org>: add user documentation for echo
command. git-svn-id: svn://svn.berlios.de/openocd/trunk@1839
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-19 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : fix warnings git-svn-id: svn://svn.berlios.de/openocd/trunk@1837
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-19 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net> NAND: update ids, "nand
list" bugfix git-svn-id: svn://svn.berlios.de/openocd/trunk@1835
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-18 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : use tap_get_tms_path_len() instead of fix # of 7. Not tested if
this builds, but at least we're looking at a build error instead of
a runtime error. git-svn-id: svn://svn.berlios.de/openocd/trunk@1833
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-18 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : use tap_get_tms_path_len() instead of fix # of 7. git-svn-id: svn://svn.berlios.de/openocd/trunk@1831
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-18 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : updated w/jtag_add_end_state() note. git-svn-id: svn://svn.berlios.de/openocd/trunk@1829
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-18 kc8apf <kc8apf@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Enable non-7-cycle state table for FT2232 and JLink git-svn-id: svn://svn.berlios.de/openocd/trunk@1827
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-18 kc8apf <kc8apf@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : FT2232 support for non-7-cycle state moves by Dick Hollenbeck
<dick@softplc.com> git-svn-id: svn://svn.berlios.de/openocd/trunk@1825
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-18 kc8apf <kc8apf@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Change last_comand_pointer to last_command_pointer by Michael
Bruck <mbruck@digenius.de> git-svn-id: svn://svn.berlios.de/openocd/trunk@1823
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-18 kc8apf <kc8apf@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Add jtag_queue_command() by Michael Bruck <mbruck@digenius.de>
[7/8] git-svn-id: svn://svn.berlios.de/openocd/trunk@1821
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-18 kc8apf <kc8apf@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Add jtag_queue_command() by Michael Bruck <mbruck@digenius.de>
[5/8] git-svn-id: svn://svn.berlios.de/openocd/trunk@1819
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-18 kc8apf <kc8apf@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Add jtag_queue_command() by Michael Bruck <mbruck@digenius.de>
[3/8] git-svn-id: svn://svn.berlios.de/openocd/trunk@1817
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-18 kc8apf <kc8apf@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Add jtag_queue_command() by Michael Bruck <mbruck@digenius.de> git-svn-id: svn://svn.berlios.de/openocd/trunk@1815
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-18 kc8apf <kc8apf@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : PATCHES updates from David Brownell <david-b@pacbell.net> git-svn-id: svn://svn.berlios.de/openocd/trunk@1813
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-18 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Remove unecessary(and poptentially harmful?) "" around arguments
passed in to "eval" in command.c git-svn-id: svn://svn.berlios.de/openocd/trunk@1811
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-18 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Dean Glazeski <dnglaze@gmail.com> fixed bug in checking of
clocked back data in arm7_9_execute_fast_sys_speed. Not reported.
There is a chance that this bug hid a deeper problem since it only
partially disabled the check(mask & value were equal). git-svn-id: svn://svn.berlios.de/openocd/trunk@1809
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-18 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Michael Bruck <mbruck@digenius.de> ARM11 cleanup stale
dependencies with generic arm code; added comments and whitespace
fixes git-svn-id: svn://svn.berlios.de/openocd/trunk@1807
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-18 kc8apf <kc8apf@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Fix logically inverted comment git-svn-id: svn://svn.berlios.de/openocd/trunk@1805
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-18 kc8apf <kc8apf@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : ETM/ETB documentation from David Brownell <david-b@pacbell.net> git-svn-id: svn://svn.berlios.de/openocd/trunk@1803
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-17 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : fix array2mem/mem2array when used as a "method" on a target. git-svn-id: svn://svn.berlios.de/openocd/trunk@1801
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-16 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : fix naming of at91sam7 driver git-svn-id: svn://svn.berlios.de/openocd/trunk@1799
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-15 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Initialize a more variables in jim.c to allow gcc-4.4 to build.
Fix provided by Benjamin Schmidt <DeMonk@gmx.net>. git-svn-id: svn://svn.berlios.de/openocd/trunk@1797
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-15 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : fix -fno-common/Mac build problems. git-svn-id: svn://svn.berlios.de/openocd/trunk@1795
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-15 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : revert to 1775. 1790 causes SEGFAULT w/Cygwin. git-svn-id: svn://svn.berlios.de/openocd/trunk@1793
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-15 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Add current draft of The List of Pending and Open Tasks. git-svn-id: svn://svn.berlios.de/openocd/trunk@1791
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-14 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Several minor fixes for the new doxygen manual. git-svn-id: svn://svn.berlios.de/openocd/trunk@1789
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-14 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : use TAP_INVALID enum instead of -1 git-svn-id: svn://svn.berlios.de/openocd/trunk@1787
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-14 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : dump_image now works for addresses not divisible by 4 git-svn-id: svn://svn.berlios.de/openocd/trunk@1785
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-14 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : selftest wip git-svn-id: svn://svn.berlios.de/openocd/trunk@1783
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-13 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Update configure script test for net/if.h to work on MacOS. git-svn-id: svn://svn.berlios.de/openocd/trunk@1781
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-13 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Fix bootstrap script to support MacOS glibtoolize oddity. git-svn-id: svn://svn.berlios.de/openocd/trunk@1779
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-13 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Add JTAG Primer to doxygen manual, contributed by Strontium. git-svn-id: svn://svn.berlios.de/openocd/trunk@1776
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-13 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : added verify_jtag command git-svn-id: svn://svn.berlios.de/openocd/trunk@1774
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-13 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : shuffled comments about for jtag_add_dr_out() fn. git-svn-id: svn://svn.berlios.de/openocd/trunk@1772
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-12 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : irscan now also works correctly in addition to not crashing :-) git-svn-id: svn://svn.berlios.de/openocd/trunk@1770
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-12 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : 4-bit ECC support for Marvell Kirkwood SOC git-svn-id: svn://svn.berlios.de/openocd/trunk@1768
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-12 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : move eCos type definition to types.h where it belongs. git-svn-id: svn://svn.berlios.de/openocd/trunk@1766
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-12 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - fix build issue when HAVE_ELF_H is not defined git-svn-id: svn://svn.berlios.de/openocd/trunk@1764
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-12 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Include project doxygen configuration with distribution
tarballs. git-svn-id: svn://svn.berlios.de/openocd/trunk@1762
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-12 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Make replacements.h private by including it from config.h
autoheader. git-svn-id: svn://svn.berlios.de/openocd/trunk@1760
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-12 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Audit and reduce #include directives in jim source files. git-svn-id: svn://svn.berlios.de/openocd/trunk@1758
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-12 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Remove config.h from types.h; all .c files are required to
include it. git-svn-id: svn://svn.berlios.de/openocd/trunk@1756
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-12 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Update rlink_make_speed_table.pl script to add config.h to its
output. git-svn-id: svn://svn.berlios.de/openocd/trunk@1754
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-12 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : added jtag_alloc_in_value32 - not used in this commit. git-svn-id: svn://svn.berlios.de/openocd/trunk@1752
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-12 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Include assert.h in system.h to promote tree-wide use of
assertions. git-svn-id: svn://svn.berlios.de/openocd/trunk@1750
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-11 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : now builds on 64 and 32 bit systems git-svn-id: svn://svn.berlios.de/openocd/trunk@1748
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-11 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Update jim helper files to use proper configure script support: - configure.in: Add AC_TYPE_LONG_LONG_INT to detect 'long long int'
support. - configure.in: Add AC_C_CONST to provide equivalent support as
jim.h. - jim*.c: include config.h when HAVE_CONFIG_H is defined. - jim*.{h,c}: use HAVE_LONG_LONG_INT definition from config.h. - jim.h: Remove hard-coded const and HAVE_LONG_LONG definitions. - jim.h: -DJIM_NO_CONST has been obsoleted; -Dconst is equivalent. git-svn-id: svn://svn.berlios.de/openocd/trunk@1744
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-11 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : USB performance regression fix git-svn-id: svn://svn.berlios.de/openocd/trunk@1742
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-11 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : switch to jtag_add_dr_scan() from the synchronous version - USB
performance fix git-svn-id: svn://svn.berlios.de/openocd/trunk@1740
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-11 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : switch to jtag_add_dr_scan_check() - USB performance fix git-svn-id: svn://svn.berlios.de/openocd/trunk@1738
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-11 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : change jtag_add_callback API to be able to support
check_value/mask git-svn-id: svn://svn.berlios.de/openocd/trunk@1735
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-11 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : switch to jtag_add_callback() - USB performance fix git-svn-id: svn://svn.berlios.de/openocd/trunk@1733
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-11 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : switch to jtag_add_callback() - USB performance fix git-svn-id: svn://svn.berlios.de/openocd/trunk@1731
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-11 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : switch to jtag_add_callback() - USB performance fix git-svn-id: svn://svn.berlios.de/openocd/trunk@1729
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-11 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : switch to jtag_add_callback() - USB performance fix git-svn-id: svn://svn.berlios.de/openocd/trunk@1727
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-11 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : switch to jtag_add_callback() - USB performance fix git-svn-id: svn://svn.berlios.de/openocd/trunk@1725
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-11 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : leave eCos include file issues alone for now. git-svn-id: svn://svn.berlios.de/openocd/trunk@1723
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-11 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : used by upcoming commits git-svn-id: svn://svn.berlios.de/openocd/trunk@1721
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-11 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Update Doxyfile configuration for doxygen 1.5.8: - Enable doxygen's C language optimizations. - Use dot command (from graphviz package) to generate visual graphs. git-svn-id: svn://svn.berlios.de/openocd/trunk@1719
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-11 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Remove redundant config.h from replacements.h, obtained from
types.h. git-svn-id: svn://svn.berlios.de/openocd/trunk@1717
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-11 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Audit and eliminate redundant #include directives in other
target files. git-svn-id: svn://svn.berlios.de/openocd/trunk@1715
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-11 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Audit and eliminate redundant #include directives in core target
files. git-svn-id: svn://svn.berlios.de/openocd/trunk@1713
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-11 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Audit and eliminate redundant #include directives in src/flash
headers. git-svn-id: svn://svn.berlios.de/openocd/trunk@1711
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-11 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Audit and eliminate redundant #include directives from
src/server. git-svn-id: svn://svn.berlios.de/openocd/trunk@1709
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-11 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Audit and eliminate redundant #include directives from src/jtag. git-svn-id: svn://svn.berlios.de/openocd/trunk@1707
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-11 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Simplify #include directives in ioutil.c, use new header checks. git-svn-id: svn://svn.berlios.de/openocd/trunk@1705
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-11 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Add --enable-malloc-logging configure option and update log.c to
match. git-svn-id: svn://svn.berlios.de/openocd/trunk@1703
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-11 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Finish portability support for AC_HEADER_STDBOOL configure
macro. git-svn-id: svn://svn.berlios.de/openocd/trunk@1701
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-11 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Add configure check for sys/types.h; include in our types.h. git-svn-id: svn://svn.berlios.de/openocd/trunk@1699
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-11 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Use AC_HEADER_STDBOOL macro instead of
AC_CHEACK_HEADERS(stdbool.h). git-svn-id: svn://svn.berlios.de/openocd/trunk@1697
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-10 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Extend autotools build to create shared library libopenocd with
libtool: - Add libtoolize step too bootstrap script; creates ltmain.sh
script. - Add AC_PROG_LIBTOOL to configure.in to add libtool support to
build. - Change Makefile.am library rules from static (_a) to libtool
(_la). - Install libopenocd.{la,so,a} in $(libdir); update openocd link
rules. - Extend MAINTAINERCLEANFILES in top-level Makefile.am to remove
ltmain.sh. git-svn-id: svn://svn.berlios.de/openocd/trunk@1695
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-10 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Extend configure script to check for environ declaration in
stdlib.h. Patch contributed by Martin Thomas <mthomas@rhrk.uni-kl.de>. git-svn-id: svn://svn.berlios.de/openocd/trunk@1693
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-10 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Revive tclapi.c from r1650: * Remove superfluous #include directives. * Fix warnings and API usage to cure its bit rot. * Build into libhelper library (for now). Add tclapi.h to export
tclapi_register_commands(). Register tclapi commands in
openocd.c:setup_command_handler(). git-svn-id: svn://svn.berlios.de/openocd/trunk@1691
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-10 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net> whitespace fixes. Testing
out on one file first... git-svn-id: svn://svn.berlios.de/openocd/trunk@1689
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-10 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Michael Bruck <mbruck@digenius.de> use more const git-svn-id: svn://svn.berlios.de/openocd/trunk@1687
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-09 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Michael Bruck <mbruck@digenius.de> ARM11 C99 updates git-svn-id: svn://svn.berlios.de/openocd/trunk@1685
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-08 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : plugged bug w/irlen > 32 introduce in 1672 git-svn-id: svn://svn.berlios.de/openocd/trunk@1683
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-08 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Brownell <david-b@pacbell.net> DaVinci dm6446 git-svn-id: svn://svn.berlios.de/openocd/trunk@1680
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-08 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Michael Fischer <fischermi@t-online.de> fix compile problems on
Mac git-svn-id: svn://svn.berlios.de/openocd/trunk@1678
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-08 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : stm32 profiling wip git-svn-id: svn://svn.berlios.de/openocd/trunk@1676
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-08 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : add flush_count jtag queue profiling feature git-svn-id: svn://svn.berlios.de/openocd/trunk@1674
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-08 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : in_handler in_check_mask and in_check_value now removed from
field. Last big patch in the series of JTAG API cleanup. git-svn-id: svn://svn.berlios.de/openocd/trunk@1672
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-08 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : use assert instead of adding code that always runs git-svn-id: svn://svn.berlios.de/openocd/trunk@1670
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-08 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : retire jtag_set_check_value git-svn-id: svn://svn.berlios.de/openocd/trunk@1668
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-08 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : retire jtag_set_check_value git-svn-id: svn://svn.berlios.de/openocd/trunk@1666
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-08 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : first jtag_check_value_mask usage. tested by using "arm7_9
fast_memory_access enable" & "mdw 0 0x10" git-svn-id: svn://svn.berlios.de/openocd/trunk@1664
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-08 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Fix typo from hurrying the last commit. Nothing to see here. git-svn-id: svn://svn.berlios.de/openocd/trunk@1662
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-08 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Re-order and extend header file tests in configure script. git-svn-id: svn://svn.berlios.de/openocd/trunk@1660
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-08 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Fix warnings in ioutil.c; improves loadFile inteface. git-svn-id: svn://svn.berlios.de/openocd/trunk@1658
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-07 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : ouch - typo in last commit git-svn-id: svn://svn.berlios.de/openocd/trunk@1656
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-07 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : in_handler removal typo fixed git-svn-id: svn://svn.berlios.de/openocd/trunk@1654
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-07 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : refactor to be able to remove more in_handler stuff git-svn-id: svn://svn.berlios.de/openocd/trunk@1652
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-07 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : fix c99 compile errors git-svn-id: svn://svn.berlios.de/openocd/trunk@1650
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-07 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : remove usage of in_handler git-svn-id: svn://svn.berlios.de/openocd/trunk@1648
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-07 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : remove in_handler usage git-svn-id: svn://svn.berlios.de/openocd/trunk@1646
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-07 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : remove in_handler usage git-svn-id: svn://svn.berlios.de/openocd/trunk@1644
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-07 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : remove in_handler usage git-svn-id: svn://svn.berlios.de/openocd/trunk@1642
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-07 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : remove in_handler usage git-svn-id: svn://svn.berlios.de/openocd/trunk@1640
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-07 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : jtag API error handling refactoring. git-svn-id: svn://svn.berlios.de/openocd/trunk@1638
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-07 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : remove in_handler usage git-svn-id: svn://svn.berlios.de/openocd/trunk@1636
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-07 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : fix line endings git-svn-id: svn://svn.berlios.de/openocd/trunk@1634
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-07 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Deleted at9sam7_old driver. Nobody has complained about the new
one yet. git-svn-id: svn://svn.berlios.de/openocd/trunk@1632
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-07 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : another example of removing in_handler usage git-svn-id: svn://svn.berlios.de/openocd/trunk@1630
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-07 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Fix most pointer cast alignment warnings in arm11.c; fix u16
memory reads.. git-svn-id: svn://svn.berlios.de/openocd/trunk@1628
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-07 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Fix stm32x and pic32mx flash pointer cast alignment warnings,
simplify their last word handling. git-svn-id: svn://svn.berlios.de/openocd/trunk@1626
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-06 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Fix pointer cast alignment warnings in target/image.c. git-svn-id: svn://svn.berlios.de/openocd/trunk@1624
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-06 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Fix pointer cast alignment issues in svf.c git-svn-id: svn://svn.berlios.de/openocd/trunk@1622
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-06 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Fix pointer cast alignment warnings in jim.c. git-svn-id: svn://svn.berlios.de/openocd/trunk@1620
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-06 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Dick Hollenbeck <dick@softplc.com> comments & 7 clock TMS reset
for good measure git-svn-id: svn://svn.berlios.de/openocd/trunk@1618
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-06 mlu <mlu@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Small changes that might improve stability. Implemented new
jtag sequences tap_get_tms_path and tap_get_tms_path_len git-svn-id: svn://svn.berlios.de/openocd/trunk@1616
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-06 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Dick Hollenbeck <dick@softplc.com> simplifies XSTATE handling,
and protects against illegal state transitions that might be in an
SVF file. git-svn-id: svn://svn.berlios.de/openocd/trunk@1614
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-06 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Fix enviorn configure test failure message (thanks to Anders
Montonen). git-svn-id: svn://svn.berlios.de/openocd/trunk@1612
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-06 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Add autoconf check to determine where environ should be
declared. git-svn-id: svn://svn.berlios.de/openocd/trunk@1610
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-06 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : retire out_mask - not used anywhere git-svn-id: svn://svn.berlios.de/openocd/trunk@1608
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-05 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : made warning about keep_alive() not being invoked more helpful git-svn-id: svn://svn.berlios.de/openocd/trunk@1606
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-05 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Gabor Juhos juhosg at openwrt.org MIPS: fix a shift value in
the MIPS32_R_INST macro git-svn-id: svn://svn.berlios.de/openocd/trunk@1604
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-04 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Dirk Behme <dirk.behme@googlemail.com> Add minimalist Cortex A8
file git-svn-id: svn://svn.berlios.de/openocd/trunk@1602
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-04 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Mariano Alvira <mar@devl.org> fixes warning as error about a
signed vs. unsigned comparison by casting the local unsigned
variable as (long long). git-svn-id: svn://svn.berlios.de/openocd/trunk@1600
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-03 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : fix embedded builds git-svn-id: svn://svn.berlios.de/openocd/trunk@1598
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-03 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Fix compilation when HAVE_UNISTD_H is not defined. git-svn-id: svn://svn.berlios.de/openocd/trunk@1596
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-03 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Piotr Esden-Tempski <piotr@esden.net> Mac OS X compile fixes git-svn-id: svn://svn.berlios.de/openocd/trunk@1594
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-02 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Add configure check for usb.h; required by a USB drivers. git-svn-id: svn://svn.berlios.de/openocd/trunk@1592
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-02 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Dick Hollenbeck <dick@softplc.com> moved stuff into openocd.c -
should never have been in main.c in the first place. DLL will now
build. git-svn-id: svn://svn.berlios.de/openocd/trunk@1590
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-01 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Remove superflous spaces from new JTAG table to fix formatting. git-svn-id: svn://svn.berlios.de/openocd/trunk@1588
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-01 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Dick Hollenbeck <dick@softplc.com>: move OPENOCD_VERSION to use
config.h git-svn-id: svn://svn.berlios.de/openocd/trunk@1586
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-30 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Uwe Hermann <uwe@hermann-uwe.de>: Make ICEbear look like other
targets git-svn-id: svn://svn.berlios.de/openocd/trunk@1584
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-30 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : list board's as well as target config files. git-svn-id: svn://svn.berlios.de/openocd/trunk@1581
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-30 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Add static keywords to core target source file data and
functions. git-svn-id: svn://svn.berlios.de/openocd/trunk@1579
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-30 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Fix signed/unsigned comparison. git-svn-id: svn://svn.berlios.de/openocd/trunk@1577
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-30 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : flash fillX now has a verify stage git-svn-id: svn://svn.berlios.de/openocd/trunk@1575
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-30 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Michael Bruck <mbruck@digenius.de>: sys/select.h must preceed
windows.h. git-svn-id: svn://svn.berlios.de/openocd/trunk@1573
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-29 mlu <mlu@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Clear FLASH_SR error flags after flash errors to avoid reset
befor further flash operations. git-svn-id: svn://svn.berlios.de/openocd/trunk@1571
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-29 mlu <mlu@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : More error logging for DAP errors git-svn-id: svn://svn.berlios.de/openocd/trunk@1569
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-29 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : comments and debug code git-svn-id: svn://svn.berlios.de/openocd/trunk@1567
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-29 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Sten <debian@sansys-electronic.com>: add support for ICEbear
FDTI-based interface. git-svn-id: svn://svn.berlios.de/openocd/trunk@1565
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-29 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Remove vestigial last_tms variable from jlink driver. git-svn-id: svn://svn.berlios.de/openocd/trunk@1563
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-29 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Fix jlink for Debian/Ubuntu (by Ben Dooks
<ben-openocd@fluff.org>). git-svn-id: svn://svn.berlios.de/openocd/trunk@1561
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-29 zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Add missing header files to fix C99 compatibility. git-svn-id: svn://svn.berlios.de/openocd/trunk@1559
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-28 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Dick Hollenbeck <dick@softplc.com> and Jeff Williams
tap_get_tms_path_len() git-svn-id: svn://svn.berlios.de/openocd/trunk@1557
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-28 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - fix win32 build git-svn-id: svn://svn.berlios.de/openocd/trunk@1555
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-28 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Zach Welch <zw@superlucidity.net> fix gw16012 with
--enable-parport_ppdev git-svn-id: svn://svn.berlios.de/openocd/trunk@1553
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-28 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Michael Bruck <mbruck@digenius.de> macros for error handling git-svn-id: svn://svn.berlios.de/openocd/trunk@1551
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-28 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : eol-style native git-svn-id: svn://svn.berlios.de/openocd/trunk@1549
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-27 mlu <mlu@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Added dap baseaddr and dap apid commands git-svn-id: svn://svn.berlios.de/openocd/trunk@1547
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-27 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : SimonQian <simonqian@simonqian.com> patch for error compiling
vsllink if --enable-verbose-jtag-io is set git-svn-id: svn://svn.berlios.de/openocd/trunk@1545
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-27 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : more error handling git-svn-id: svn://svn.berlios.de/openocd/trunk@1543
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-27 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : SimonQian <simonqian@simonqian.com> AVR wip git-svn-id: svn://svn.berlios.de/openocd/trunk@1540
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-27 mlu <mlu@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Deleted depreciated files ( new versions are arm_adi_v5.c/h ) git-svn-id: svn://svn.berlios.de/openocd/trunk@1538
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-27 mlu <mlu@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Changed armv7m and cortexm3 to use nev arm_adi_v5 instead of
cortex_swjdp. Added support for accessport ROM table
identification, dap command. git-svn-id: svn://svn.berlios.de/openocd/trunk@1536
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-27 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Philippe Vachon <philippe@cowpig.ca> 64 bit host fixes git-svn-id: svn://svn.berlios.de/openocd/trunk@1534
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-27 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Zach Welch <zw@superlucidity.net> wrap _GNU_SOURCE defines git-svn-id: svn://svn.berlios.de/openocd/trunk@1532
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-26 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : R.Doss <doss@gmx.de> AT91SAM9260 git-svn-id: svn://svn.berlios.de/openocd/trunk@1530
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-25 mlu <mlu@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Corrected statement order git-svn-id: svn://svn.berlios.de/openocd/trunk@1528
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-25 mlu <mlu@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Break ft2232_execute_quie into smaller functions, follows
restructure of jlink.c git-svn-id: svn://svn.berlios.de/openocd/trunk@1526
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-24 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Zach Welch <zw@superlucidity.net> add TAP_SCAN_BYTES macro (1 of
2) git-svn-id: svn://svn.berlios.de/openocd/trunk@1524
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-24 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Uwe Hermann <uwe@hermann-uwe.de> Update udev file git-svn-id: svn://svn.berlios.de/openocd/trunk@1522
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-24 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Nicolas Pitre <nico@cam.org> update SheevaPlug interface cfg
file git-svn-id: svn://svn.berlios.de/openocd/trunk@1520
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-24 duane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Remove warning git-svn-id: svn://svn.berlios.de/openocd/trunk@1518
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-23 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : stm32.cfg can expect one of 4 id's. git-svn-id: svn://svn.berlios.de/openocd/trunk@1516
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-23 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Laurentiu Cocanu - fix typo git-svn-id: svn://svn.berlios.de/openocd/trunk@1514
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-22 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Michael Bruck <mbruck@digenius.de> ARM11 various updates + fix
formatting. git-svn-id: svn://svn.berlios.de/openocd/trunk@1512
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-22 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Michael Bruck spotted a typo in help messages git-svn-id: svn://svn.berlios.de/openocd/trunk@1510
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-22 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Zach Welch <zw@superlucidity.net> set speed in init git-svn-id: svn://svn.berlios.de/openocd/trunk@1508
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-22 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Zach Welch <zw@superlucidity.net> reorder enum tap_state git-svn-id: svn://svn.berlios.de/openocd/trunk@1506
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-22 kc8apf <kc8apf@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Shrink JLink buffer sizes to specified 2KB courtesy of Jeff
Williams <jeffw@gadgetworks.com> and Zach Welch
<zw@superlucidity.net> git-svn-id: svn://svn.berlios.de/openocd/trunk@1504
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-22 kc8apf <kc8apf@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Fix use of wrong format conversion for size_t (%zu instead of
%u) git-svn-id: svn://svn.berlios.de/openocd/trunk@1502
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-22 kc8apf <kc8apf@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : refactor jlink_execute_queue courtesy of Zach Welch
<zw@superlucidity.net> git-svn-id: svn://svn.berlios.de/openocd/trunk@1500
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-21 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Zach Welch <zw@superlucidity.net> refactor git-svn-id: svn://svn.berlios.de/openocd/trunk@1498
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-21 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Zach Welch <zw@superlucidity.net> add --enable-verbose* options git-svn-id: svn://svn.berlios.de/openocd/trunk@1496
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-21 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Nico Coesel <ncoesel@dealogic.nl> MIPS32 speedup patches git-svn-id: svn://svn.berlios.de/openocd/trunk@1494
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-21 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Zach Welch <zw@superlucidity.net> factor jlink usb_bulk_*_ex
functions git-svn-id: svn://svn.berlios.de/openocd/trunk@1492
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-21 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Zach Welch <zw@superlucidity.net> improve Linux ftd2xx
configure-time support git-svn-id: svn://svn.berlios.de/openocd/trunk@1490
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-21 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - remove environ warning under win32 build git-svn-id: svn://svn.berlios.de/openocd/trunk@1488
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-21 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Zach Welch <zw@superlucidity.net> fix unused return value
warnings (2 of 4) git-svn-id: svn://svn.berlios.de/openocd/trunk@1486
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-21 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Zach Welch <zw@superlucidity.net> fix str9x type-punned pointer git-svn-id: svn://svn.berlios.de/openocd/trunk@1484
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-21 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Zach Welch <zw@superlucidity.net>fix unused return value
warnings (3 of 4) git-svn-id: svn://svn.berlios.de/openocd/trunk@1482
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-21 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Michael Schwingen <rincewind@discworld.dascon.de> add non-CFI
SST flashs git-svn-id: svn://svn.berlios.de/openocd/trunk@1480
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-20 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - fix at91rm9200 warning. Thanks Zach Welch <zw@superlucidity.net> - add missing svn props from previous commit git-svn-id: svn://svn.berlios.de/openocd/trunk@1478
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-20 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Zach Welch <zw@superlucidity.net> fix ft2232/presto warnings git-svn-id: svn://svn.berlios.de/openocd/trunk@1476
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-19 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Zach Welch <zw@superlucidity.net> use ARM4_5_MODE_ANY instead of
-1 git-svn-id: svn://svn.berlios.de/openocd/trunk@1474
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-19 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Zach Welch <zw@superlucidity.net> fix -Werror warnings git-svn-id: svn://svn.berlios.de/openocd/trunk@1472
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-19 mifi <mifi@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Added functionality to support jtag_khz for the jlink. git-svn-id: svn://svn.berlios.de/openocd/trunk@1470
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-19 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Zach Welch <zw@superlucidity.net> add missing initializers in
nand.c git-svn-id: svn://svn.berlios.de/openocd/trunk@1468
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-19 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Zach Welch <zw@superlucidity.net> fix signed/unsigned
comparisons git-svn-id: svn://svn.berlios.de/openocd/trunk@1466
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-19 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Zach Welch <zw@superlucidity.net> use tap_state_t git-svn-id: svn://svn.berlios.de/openocd/trunk@1464
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-18 mifi <mifi@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : The following patches was applied: - openocd-flash-static-keyword-v3.patch - openocd-lpc2000-fix-erase-obo.patch - openocd-jlink-fix-sign-ptr-warn.patch - openocd-wextra-etm.patch - openocd-wextra-jtag.patch - openocd-add-new-tap-symbols-v6.patch Many thanks to Zach Welch <zw(at)superlucidity.net> git-svn-id: svn://svn.berlios.de/openocd/trunk@1462
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-15 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Piotr Esden-Tempski <piotr@esden.net> Corrected
olimex_stm32_h103 board config git-svn-id: svn://svn.berlios.de/openocd/trunk@1460
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-15 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Freddie Chopin <freddie_chopin@op.pl> LPC2378 config file git-svn-id: svn://svn.berlios.de/openocd/trunk@1458
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-14 mlu <mlu@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Improved (for humans) error reporting for flash programming
errors. git-svn-id: svn://svn.berlios.de/openocd/trunk@1456
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-03 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - add openocd coding style to texi git-svn-id: svn://svn.berlios.de/openocd/trunk@1454
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-03 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - add svn props from previous commit git-svn-id: svn://svn.berlios.de/openocd/trunk@1452
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-03 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Piotr Esden-Tempski <piotr@esden.net> added a board file for the
Olimex STM32-H103 eval board. git-svn-id: svn://svn.berlios.de/openocd/trunk@1450
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-03 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Nicolas Pitre nico at cam.org list the new flag in the "nand
write" help line. git-svn-id: svn://svn.berlios.de/openocd/trunk@1448
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-02 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Nicolas Pitre nico at cam.org The ECC data is automatically
computed and written to the OOB area when the oob_softecc option is
passed to the "nand write" command. git-svn-id: svn://svn.berlios.de/openocd/trunk@1446
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-02 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Nicolas Pitre nico at cam.org software ECC computation for NAND
flash git-svn-id: svn://svn.berlios.de/openocd/trunk@1444
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-02 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Nicolas Pitre nico at cam.org Allocating a 6-byte memory
location with malloc() is rather silly when this can be allocated on
the stack. git-svn-id: svn://svn.berlios.de/openocd/trunk@1442
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-02 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Uwe Hermann <uwe@hermann-uwe.de> URL references git-svn-id: svn://svn.berlios.de/openocd/trunk@1439
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-02 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : fix keyword expansion git-svn-id: svn://svn.berlios.de/openocd/trunk@1437
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-03-30 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - add missing usbprog config. patch from Uwe Hermann
https://lists.berlios.de/pipermail/openocd-development/2009-March/005145.htmlgit-svn-id: svn://svn.berlios.de/openocd/trunk@1435
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-03-24 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - fix typo's in last commit git-svn-id: svn://svn.berlios.de/openocd/trunk@1433
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-03-24 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - update str9 and stm32 comstick configs - add missing svn props git-svn-id: svn://svn.berlios.de/openocd/trunk@1431
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-03-24 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Uwe Hermann <uwe@hermann-uwe.de> Add new board configs: Olimex
LPC-H2148, Keil MCB2140. Both boards use an LPC2148, no external
flash or RAM. git-svn-id: svn://svn.berlios.de/openocd/trunk@1429
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-03-23 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Uwe Hermann <uwe@hermann-uwe.de> eal _CPUTAPID entry for the
LPC2148. I don't know if they're the same for all LPC214x, this
number is from an Olimex LPC-H2148. The chip on that board is
LPC2148FBD64. Also fix a few cosmetic issues and comments in the file and add more
docs and pointers to the datasheet. git-svn-id: svn://svn.berlios.de/openocd/trunk@1427
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-03-23 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Uwe Hermann <uwe@hermann-uwe.de> typo git-svn-id: svn://svn.berlios.de/openocd/trunk@1425
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-03-20 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - add missing svn props from previous commit git-svn-id: svn://svn.berlios.de/openocd/trunk@1423
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-03-20 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Alan Carvalho de Assis <acassis@gmail.com> adds support to
i.MX35 processor. git-svn-id: svn://svn.berlios.de/openocd/trunk@1421
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-03-19 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - fix incorrect str9comstick cfg git-svn-id: svn://svn.berlios.de/openocd/trunk@1419
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-03-18 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Hiroshi Ito <ito@mlb.co.jp> typos git-svn-id: svn://svn.berlios.de/openocd/trunk@1417
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-03-17 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - remove build warnings git-svn-id: svn://svn.berlios.de/openocd/trunk@1415
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-03-16 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - fix issue with cortex_m3 reset run. Thanks Perry Hung -
https://lists.berlios.de/pipermail/openocd-development/2009-March/005028.htmlgit-svn-id: svn://svn.berlios.de/openocd/trunk@1413
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-03-12 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Uwe Hermann <uwe@hermann-uwe.de> typos git-svn-id: svn://svn.berlios.de/openocd/trunk@1411
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-03-11 duane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Added eol-style props git-svn-id: svn://svn.berlios.de/openocd/trunk@1409
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-03-11 duane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Added -endstate to irscan and drscan to support beagleboard
(omap3530) git-svn-id: svn://svn.berlios.de/openocd/trunk@1407
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-03-08 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - add svn props from previous commit git-svn-id: svn://svn.berlios.de/openocd/trunk@1405
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-03-08 duane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Added VID/PID pair to olimex-jtag-tiny-a the non-a version
already has the vid pid git-svn-id: svn://svn.berlios.de/openocd/trunk@1403
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-03-07 duane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Accept/create both A and Non-A ft2232 based descriptions git-svn-id: svn://svn.berlios.de/openocd/trunk@1401
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-03-05 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Audrius Urmanavičius <didele.deze@gmail.com> cleanup flash
fill git-svn-id: svn://svn.berlios.de/openocd/trunk@1399
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-03-04 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Nicolas Pitre <nico@cam.org> making reset+halt on the SheevaPlug
100% reliable (needs patch in target.c to fix "halt 0"). git-svn-id: svn://svn.berlios.de/openocd/trunk@1397
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-03-02 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - add missing svn props from previous commit git-svn-id: svn://svn.berlios.de/openocd/trunk@1395
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-03-01 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Kees Jongenburger <kees.jongenburger@gmail.com> rename
description field of the jtag-tiny.cfg git-svn-id: svn://svn.berlios.de/openocd/trunk@1393
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-03-01 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Nicolas Pitre nico at cam.org SheevaPlug board configuration git-svn-id: svn://svn.berlios.de/openocd/trunk@1391
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-03-01 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Nicolas Pitre nico at cam.org add Feroceon target config file git-svn-id: svn://svn.berlios.de/openocd/trunk@1389
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-03-01 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Nicolas Pitre nico at cam.org support for NAND controllers
without explicit busy signal git-svn-id: svn://svn.berlios.de/openocd/trunk@1387
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-03-01 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Nicolas Pitre nico at cam.org The code unconditionally writes
into the oob area all the time. git-svn-id: svn://svn.berlios.de/openocd/trunk@1385
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-02-26 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - stm32x flash driver - add support for stm32105/107 (connectivity
line) git-svn-id: svn://svn.berlios.de/openocd/trunk@1383
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-02-23 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : tinkered a bit with performance for Cortex flash programming.
Mainly make it easier to profile as a start. git-svn-id: svn://svn.berlios.de/openocd/trunk@1380
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-02-22 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : John Woods <johnrw@gmail.com> fix newtap gaffe + rename git-svn-id: svn://svn.berlios.de/openocd/trunk@1378
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-02-18 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Holger Schurig <hs4233@mail.mn-solutions.de> incorporate some
comments from Rick git-svn-id: svn://svn.berlios.de/openocd/trunk@1376
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-02-17 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : zy1000 1.49 snapshot git-svn-id: svn://svn.berlios.de/openocd/trunk@1374
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-02-13 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - guess-rev.sh now works as expected when build_dir is not the same
as src_dir git-svn-id: svn://svn.berlios.de/openocd/trunk@1372
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-02-10 kc8apf <kc8apf@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Use C89/C99/C++ compliant boolean types git-svn-id: svn://svn.berlios.de/openocd/trunk@1370
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-02-09 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - fix native win32 build issues git-svn-id: svn://svn.berlios.de/openocd/trunk@1368
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-02-03 kc8apf <kc8apf@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - Cable driver helper API courtesy of Dick Hollenbeck
<dick@softplc.com> - Formatting changes from uncrustify git-svn-id: svn://svn.berlios.de/openocd/trunk@1366
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-02-03 kc8apf <kc8apf@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Add uncrustify config file and helper script git-svn-id: svn://svn.berlios.de/openocd/trunk@1364
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-26 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : update symbols to match source file git-svn-id: svn://svn.berlios.de/openocd/trunk@1362
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-23 kc8apf <kc8apf@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : xvsf player fixes by Dick Hollenbeck <dick@softplc.com> git-svn-id: svn://svn.berlios.de/openocd/trunk@1360
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-23 kc8apf <kc8apf@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Search path fixes for MinGW builds. Courtesy of Dimitar
Dimitrov <dinuxbg@gmail.com> git-svn-id: svn://svn.berlios.de/openocd/trunk@1358
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-23 kc8apf <kc8apf@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : vsllink support for stable clocks by Simon Qian
<simonqian@SimonQian.com> git-svn-id: svn://svn.berlios.de/openocd/trunk@1356
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-20 kc8apf <kc8apf@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Fix for incorrect filename in include for at91sam9260 in
unknown-board-atmel-at91sam9260.cfg git-svn-id: svn://svn.berlios.de/openocd/trunk@1353
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-20 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - add --enable-release to docs git-svn-id: svn://svn.berlios.de/openocd/trunk@1351
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-20 kc8apf <kc8apf@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Add axm0432 interface config courtesy of Alan Carvalho de Assis
<acassis@gmail.com> git-svn-id: svn://svn.berlios.de/openocd/trunk@1349
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-20 kc8apf <kc8apf@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Fix 'make maintainer-clean' courtesy of Zach Welch
<zw@superlucidity.net> git-svn-id: svn://svn.berlios.de/openocd/trunk@1345
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-20 kc8apf <kc8apf@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Fix support for ADuC702x flash. Courtesy of Michael Ashton
<data@gtf.org> git-svn-id: svn://svn.berlios.de/openocd/trunk@1343
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-19 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - remove unused includes, fixes build issues under FreeBSD git-svn-id: svn://svn.berlios.de/openocd/trunk@1341
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-19 kc8apf <kc8apf@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : SVF player courtesy of Simon Qian <simonqian@SimonQian.com> git-svn-id: svn://svn.berlios.de/openocd/trunk@1339
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-17 kc8apf <kc8apf@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Fix guess-rev.sh where the builtin echo doesn't support -n git-svn-id: svn://svn.berlios.de/openocd/trunk@1337
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-16 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - make guess-rev.sh work with msys git-svn-id: svn://svn.berlios.de/openocd/trunk@1333
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-16 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - add missing bitq and rlink files to distribution git-svn-id: svn://svn.berlios.de/openocd/trunk@1331
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-15 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - add missing svn props from 1323 commit git-svn-id: svn://svn.berlios.de/openocd/trunk@1324
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-15 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Alan Carvalho de Assis <acassis@gmail.com> imx31pdk.cfg reset
init event git-svn-id: svn://svn.berlios.de/openocd/trunk@1322
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-14 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : wip git-svn-id: svn://svn.berlios.de/openocd/trunk@1320
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-14 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Alan Carvalho de Assis <acassis@gmail.com> cfg file to
initialize the iMX27ADS board. git-svn-id: svn://svn.berlios.de/openocd/trunk@1318
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-14 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Alan Carvalho de Assis <acassis@gmail.com> small fix to move us
in the right direction. git-svn-id: svn://svn.berlios.de/openocd/trunk@1316
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-13 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - fix mips issues with newer versions of gdb - we simply add more dummy registers git-svn-id: svn://svn.berlios.de/openocd/trunk@1314
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-09 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : wip git-svn-id: svn://svn.berlios.de/openocd/trunk@1312
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-09 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : allow issuing reset_config on the fly. Faster turnaround times
in testing. git-svn-id: svn://svn.berlios.de/openocd/trunk@1310
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-09 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Dick Hollenbeck <dick@softplc.com> adds jtag_add_clocks() and
implements those in the bitbang and ft2232.c. nearly a full
rewrite of the xsvf.c. improved some messaging only affected by
_DEBUG_JTAG_IO_ git-svn-id: svn://svn.berlios.de/openocd/trunk@1308
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-08 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - a few more docs tweaks git-svn-id: svn://svn.berlios.de/openocd/trunk@1306
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-07 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Dick Hollenbeck <dick@softplc.com> SVF to XSVF converter and
the XSVF dumper take #2 git-svn-id: svn://svn.berlios.de/openocd/trunk@1304
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-05 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - add missing svn props from r1299 commit git-svn-id: svn://svn.berlios.de/openocd/trunk@1302
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-05 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : John McCarthy <jgmcc@magma.ca> formatting fix of debug output git-svn-id: svn://svn.berlios.de/openocd/trunk@1300
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-04 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : eol-style native git-svn-id: svn://svn.berlios.de/openocd/trunk@1298
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-02 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : John McCarthy <jgmcc@magma.ca> pic32mx flash wip git-svn-id: svn://svn.berlios.de/openocd/trunk@1296
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-01 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - add gdb pipe support to native win32 (--pipe option) git-svn-id: svn://svn.berlios.de/openocd/trunk@1294
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-28 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - fix missing/incorrect svn file props git-svn-id: svn://svn.berlios.de/openocd/trunk@1292
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-27 duane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Added another test build configuration git-svn-id: svn://svn.berlios.de/openocd/trunk@1290
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-27 duane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Missed the svn add on earlier commit, duh git-svn-id: svn://svn.berlios.de/openocd/trunk@1288
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-27 duane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Added note to user manual for packagers of OpenOCD git-svn-id: svn://svn.berlios.de/openocd/trunk@1286
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-27 duane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Some systems report linux as host, others linux-gnu... grrr git-svn-id: svn://svn.berlios.de/openocd/trunk@1284
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-27 duane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : From Lou.openocd012@fixit.nospammail.net git-svn-id: svn://svn.berlios.de/openocd/trunk@1282
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-27 duane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Added dongle VSLLINK - from Simon Qian git-svn-id: svn://svn.berlios.de/openocd/trunk@1280
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-27 duane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : From Dirk Behme - Further docu fixes git-svn-id: svn://svn.berlios.de/openocd/trunk@1278
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-27 duane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Renamed build.tests to build.test1 git-svn-id: svn://svn.berlios.de/openocd/trunk@1276
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-24 duane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Typos found by miceal catudal git-svn-id: svn://svn.berlios.de/openocd/trunk@1274
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-23 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : httpd wip git-svn-id: svn://svn.berlios.de/openocd/trunk@1272
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-22 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : httpd wip git-svn-id: svn://svn.berlios.de/openocd/trunk@1269
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-22 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Dirk Behme <dirk.behme@googlemail.com> Add missing tap-enable and tap-disable events to documentation. git-svn-id: svn://svn.berlios.de/openocd/trunk@1267
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-22 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : bumped a LOG_INFO to LOG_DEBUG level to reduce excessive output
for normal execution git-svn-id: svn://svn.berlios.de/openocd/trunk@1265
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-19 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Dick Hollenbeck <dick@softplc.com> - This patch adds JTAG state
tracking to dummy.c git-svn-id: svn://svn.berlios.de/openocd/trunk@1263
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-19 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Dick Hollenbeck <dick@softplc.com> better comments git-svn-id: svn://svn.berlios.de/openocd/trunk@1261
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-19 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Dick Hollenbeck <dick@softplc.com> convert macros to inline
fn's. git-svn-id: svn://svn.berlios.de/openocd/trunk@1259
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-17 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : check syntax for init/version git-svn-id: svn://svn.berlios.de/openocd/trunk@1257
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-17 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : houskeeping git-svn-id: svn://svn.berlios.de/openocd/trunk@1255
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-16 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : work in progress to hook up libmicrohttpd + tcl integration git-svn-id: svn://svn.berlios.de/openocd/trunk@1251
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-16 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Dirk Behme <dirk.behme@googlemail.com> Fix some typos in
documentation git-svn-id: svn://svn.berlios.de/openocd/trunk@1249
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-16 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : allow setting/reading gdb_port at any time git-svn-id: svn://svn.berlios.de/openocd/trunk@1247
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-15 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - add missing svn props from r1243 commit git-svn-id: svn://svn.berlios.de/openocd/trunk@1245
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-15 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : sync up to tap_xxx rename + add with-ioutil for standalone
openocd implemetnations git-svn-id: svn://svn.berlios.de/openocd/trunk@1243
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-15 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : fast_load profiling tool moved to target.c git-svn-id: svn://svn.berlios.de/openocd/trunk@1241
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-13 duane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Updates and fixes from Kees Jongenburger git-svn-id: svn://svn.berlios.de/openocd/trunk@1239
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-13 kc8apf <kc8apf@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Add JTAG tap events for enable/disable git-svn-id: svn://svn.berlios.de/openocd/trunk@1237
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-13 kc8apf <kc8apf@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Change tap_state naming to be consistent with SVF documentation. Courtesy of Dick Hollenbeck <dick@softplc.com> git-svn-id: svn://svn.berlios.de/openocd/trunk@1232
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-12 kc8apf <kc8apf@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Allow -expected-id to be specified multiple times when creating
a jtag tap git-svn-id: svn://svn.berlios.de/openocd/trunk@1229
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-11 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - added Axiom AXM-0432 to texi - updated missing jtag dongle url's in texi - reformat and remove whitespace from last commit git-svn-id: svn://svn.berlios.de/openocd/trunk@1227
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-11 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - typo with flash bank help command - typo with flash erase_sector in texi git-svn-id: svn://svn.berlios.de/openocd/trunk@1225
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-10 duane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : More fixes thanks to Kees Jongenburger git-svn-id: svn://svn.berlios.de/openocd/trunk@1223
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-10 duane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Fix from Kees Jongenburger git-svn-id: svn://svn.berlios.de/openocd/trunk@1221
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-06 duane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Test of commit email from duane git-svn-id: svn://svn.berlios.de/openocd/trunk@1219
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-05 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Karl Beldan <karl.beldan@gmail.com> - The ibcr count for hw
instruction breakpoint registers was decremented with soft
breakpoints and breakpoint length error. git-svn-id: svn://svn.berlios.de/openocd/trunk@1215
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-04 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : zy1000 1.48 snapshot git-svn-id: svn://svn.berlios.de/openocd/trunk@1213
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-04 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : delete obsolete code git-svn-id: svn://svn.berlios.de/openocd/trunk@1211
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-04 duane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Fix for Hiroshi Ito discovery of mis-aligned memory allocation git-svn-id: svn://svn.berlios.de/openocd/trunk@1205
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-03 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - incorrect str9 irmask used in config files git-svn-id: svn://svn.berlios.de/openocd/trunk@1203
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-02 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Kees Jongenburger <kees.jongenburger@gmail.com> - now compiles git-svn-id: svn://svn.berlios.de/openocd/trunk@1201
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-01 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : "Theodore A. Roth" <taroth@gmail.com> fixes to distcheck git-svn-id: svn://svn.berlios.de/openocd/trunk@1199
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-01 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : update zy1000 to svn head jtag api git-svn-id: svn://svn.berlios.de/openocd/trunk@1197
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-01 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : wip git-svn-id: svn://svn.berlios.de/openocd/trunk@1195
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-30 duane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Test checkin from commandline git-svn-id: svn://svn.berlios.de/openocd/trunk@1193
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-27 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - fix issue with luminary flash driver and tail bytes git-svn-id: svn://svn.berlios.de/openocd/trunk@1191
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-27 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - stm32x flash driver: add support for low density devices git-svn-id: svn://svn.berlios.de/openocd/trunk@1189
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-26 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - fixes segfault using the targets cmd if multiple targets defined git-svn-id: svn://svn.berlios.de/openocd/trunk@1187
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-26 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : friendlier error messages git-svn-id: svn://svn.berlios.de/openocd/trunk@1185
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-21 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - add new cortex_m3 maskisr cmd git-svn-id: svn://svn.berlios.de/openocd/trunk@1181
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-20 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - preserve cortex_m3 C_MASKINTS during resume/step git-svn-id: svn://svn.berlios.de/openocd/trunk@1179
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-19 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : jtag_get_device() now returns NULL and reports error instead of
invoking exit() git-svn-id: svn://svn.berlios.de/openocd/trunk@1176
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-18 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : big endian fix for GDB. Probably fixes a memory corruption(not
reported) as well. git-svn-id: svn://svn.berlios.de/openocd/trunk@1174
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-14 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - stops multiple calls to examine from allocating the breakpoint
arrays git-svn-id: svn://svn.berlios.de/openocd/trunk@1171
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-13 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : big endian software breakpoint bogus error messages fixed git-svn-id: svn://svn.berlios.de/openocd/trunk@1167
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-13 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : nios wip git-svn-id: svn://svn.berlios.de/openocd/trunk@1165
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-12 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - slight mips32 cleanup/reformat - add missing svn props git-svn-id: svn://svn.berlios.de/openocd/trunk@1159
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-11 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Fixes (more or less) random SEGFAULT upon invoking
script_command(). git-svn-id: svn://svn.berlios.de/openocd/trunk@1156
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-10 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : broadcast mac address in UDP hello message git-svn-id: svn://svn.berlios.de/openocd/trunk@1152
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-10 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : minor cleanup git-svn-id: svn://svn.berlios.de/openocd/trunk@1149
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-07 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : ocd_flash_banks now returns empty list when no flash banks are
configured instead of failing. Allows more orthogonal
implementations of tcl code. git-svn-id: svn://svn.berlios.de/openocd/trunk@1147
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-07 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : ocd_flash_banks now returns empty list when no flash banks are
configured instead of failing. Allows more orthogonal
implementations of tcl code. git-svn-id: svn://svn.berlios.de/openocd/trunk@1144
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-06 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - remove build warnings - added svn props for newly added files git-svn-id: svn://svn.berlios.de/openocd/trunk@1142
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-06 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : s3c6410 chip git-svn-id: svn://svn.berlios.de/openocd/trunk@1140
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-05 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : 926ejs target uses rclk. Cleaned up jtag_khz output a bit. git-svn-id: svn://svn.berlios.de/openocd/trunk@1138
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-05 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : wip git-svn-id: svn://svn.berlios.de/openocd/trunk@1136
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-05 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : disable continous polling while srst is asserted and power
dropout is detected git-svn-id: svn://svn.berlios.de/openocd/trunk@1134
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-04 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : arm7_9_execute_sys_speed error propagation. Found by code
inspection, no observed problems as such. git-svn-id: svn://svn.berlios.de/openocd/trunk@1132
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-04 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Added Tcl escaping to FAQ git-svn-id: svn://svn.berlios.de/openocd/trunk@1130
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-03 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - fix issue with jlink/libusb timeout under linux - add missing svn props git-svn-id: svn://svn.berlios.de/openocd/trunk@1128
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-03 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Rick Altherr <kc8apf@kc8apf.net> - fix warnings git-svn-id: svn://svn.berlios.de/openocd/trunk@1126
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-02 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : invoke target_create() once git-svn-id: svn://svn.berlios.de/openocd/trunk@1124
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-02 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Alan Carvalho de Assis <acassis@gmail.com> imx27 config file git-svn-id: svn://svn.berlios.de/openocd/trunk@1122
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-02 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Rick Altherr <kc8apf@kc8apf.net> - fix flash write_bank output. git-svn-id: svn://svn.berlios.de/openocd/trunk@1120
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-02 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : no longer used git-svn-id: svn://svn.berlios.de/openocd/trunk@1118
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-31 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Rick Altherr <kc8apf@kc8apf.net> switch to new syntax for target
events git-svn-id: svn://svn.berlios.de/openocd/trunk@1116
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-30 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Hongtao Zheng single step fixes git-svn-id: svn://svn.berlios.de/openocd/trunk@1113
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-28 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Kees Jongenburger <kees.jongenburger@gmail.com> update syntax git-svn-id: svn://svn.berlios.de/openocd/trunk@1111
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-28 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Hongtao Zheng - fix a simulation error for "BX PC" git-svn-id: svn://svn.berlios.de/openocd/trunk@1109
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-27 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Kees Jongenburger <kees.jongenburger@gmail.com> old" syntax
target command appears to be broken this patch addresses this issue git-svn-id: svn://svn.berlios.de/openocd/trunk@1107
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-27 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Hongtao Zheng - add simulation because previous functions could
not halt for instructions that next pc equal to the current pc. git-svn-id: svn://svn.berlios.de/openocd/trunk@1105
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-27 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : added option to use ramdisk instead of flash jffs2 git-svn-id: svn://svn.berlios.de/openocd/trunk@1103
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-24 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - fix native mingw build if gettimeofday not defined. - reformat whitespace in startup.tcl git-svn-id: svn://svn.berlios.de/openocd/trunk@1101
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-23 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : fix working memory location git-svn-id: svn://svn.berlios.de/openocd/trunk@1098
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-23 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : only log BUG: (do not return error) in the case of unknown debug
reason(0xc) git-svn-id: svn://svn.berlios.de/openocd/trunk@1096
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-22 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : load and verify are now synonymous to load/verify_image git-svn-id: svn://svn.berlios.de/openocd/trunk@1092
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-22 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : produce syntax error git-svn-id: svn://svn.berlios.de/openocd/trunk@1090
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-22 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Laurentiu Cocanu - more help text git-svn-id: svn://svn.berlios.de/openocd/trunk@1088
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-22 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : version number keyword expansion handling git-svn-id: svn://svn.berlios.de/openocd/trunk@1086
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-21 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : remove duplicate target git-svn-id: svn://svn.berlios.de/openocd/trunk@1084
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-17 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - add link in texi docs git-svn-id: svn://svn.berlios.de/openocd/trunk@1081
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-17 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - remove texi warnings git-svn-id: svn://svn.berlios.de/openocd/trunk@1079
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-16 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : sleep command now prints out target debugmsgs w/anything like
usable performance git-svn-id: svn://svn.berlios.de/openocd/trunk@1076
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-16 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Laurentiu Cocanu - integrated new tcl target command docs git-svn-id: svn://svn.berlios.de/openocd/trunk@1073
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-16 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : adding concept of production script git-svn-id: svn://svn.berlios.de/openocd/trunk@1071
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-16 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : added capture command to capture log output. Useful when wanting
to capture log output from tcl procedures that invoke openocd
commands git-svn-id: svn://svn.berlios.de/openocd/trunk@1069
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-16 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : unsik Kim <donari75@gmail.com> - mflash support git-svn-id: svn://svn.berlios.de/openocd/trunk@1067
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-15 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - fix tcl_port typo in docs - remove build warning from openocd.c - add missing svn props git-svn-id: svn://svn.berlios.de/openocd/trunk@1065
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-15 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : 김운식 <donari75@gmail.com> spotted a bug in target_write_u8 git-svn-id: svn://svn.berlios.de/openocd/trunk@1063
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-14 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Laurentiu Cocanu - fix error handling git-svn-id: svn://svn.berlios.de/openocd/trunk@1061
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-14 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Laurentiu Cocanu - more error handling fixes git-svn-id: svn://svn.berlios.de/openocd/trunk@1059
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-14 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : clarified jtag_ntrst_delay option git-svn-id: svn://svn.berlios.de/openocd/trunk@1056
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-14 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : testing of syntax error in reset and at startup git-svn-id: svn://svn.berlios.de/openocd/trunk@1054
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-14 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : added warning to use GDB 6.7 or newer git-svn-id: svn://svn.berlios.de/openocd/trunk@1052
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-14 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : John McCarthy <jgmcc@magma.ca> two patches add a mips_m4k target
option (ejtag_reset) to cause a reset command to use the EJTAG
Peripheral and System Reset in addition to srst. This is for
targets like the wrt54gl which do not connect the srst to a system
reset (I believe it just goes to a GPIO). git-svn-id: svn://svn.berlios.de/openocd/trunk@1050
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-14 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : reset cleanup git-svn-id: svn://svn.berlios.de/openocd/trunk@1048
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-13 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : SEGFAULT gaffe in dummy register handling git-svn-id: svn://svn.berlios.de/openocd/trunk@1046
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-13 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : fix crash when connecting GDB to powered down target git-svn-id: svn://svn.berlios.de/openocd/trunk@1044
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-13 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Fixed gaffes in reset script handling + improved error messages
a bit. The file and line # of the syntax error in a reset script is
now printed. git-svn-id: svn://svn.berlios.de/openocd/trunk@1042
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-12 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Fix problems with DCC downloads routine crashing silently. git-svn-id: svn://svn.berlios.de/openocd/trunk@1040
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-10 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : John McCarthy <jgmcc@magma.ca> openocd-usb.cfg added git-svn-id: svn://svn.berlios.de/openocd/trunk@1038
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-09 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : enumeration of threads for testing purposes. git-svn-id: svn://svn.berlios.de/openocd/trunk@1035
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-09 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : added busy sleep (for testing purposes) git-svn-id: svn://svn.berlios.de/openocd/trunk@1033
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-08 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Richard Missenden exit now works during startup script git-svn-id: svn://svn.berlios.de/openocd/trunk@1031
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-08 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : John McCarthy <jgmcc@magma.ca> adds support for DMA mode access
as supported by EJTAG 1.0/2.0 processors git-svn-id: svn://svn.berlios.de/openocd/trunk@1029
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-07 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : reduce patch problems by moving $xxx expansion into seperate fn git-svn-id: svn://svn.berlios.de/openocd/trunk@1027
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-07 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Frederik Kriewitz <frederik at kriewitz.eu> Segmentation fault
fix. git-svn-id: svn://svn.berlios.de/openocd/trunk@1025
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-07 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Georg Acher <acher@in.tum.de> - arm11 wip. run algorithm + small
init bugfix. git-svn-id: svn://svn.berlios.de/openocd/trunk@1023
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-06 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : basic smoketest on lm3s3748.elf git-svn-id: svn://svn.berlios.de/openocd/trunk@1020
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-06 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : better keep_alive() handling git-svn-id: svn://svn.berlios.de/openocd/trunk@1018
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-05 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Georg Acher <acher@in.tum.de> corrected TDO sampling git-svn-id: svn://svn.berlios.de/openocd/trunk@1016
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-03 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : GDB alive fixes for verify_image git-svn-id: svn://svn.berlios.de/openocd/trunk@1014
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-01 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : fixed gaffe: disable interrupts reset init script git-svn-id: svn://svn.berlios.de/openocd/trunk@1012
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-09-29 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - at91sam7.c remove build warnings git-svn-id: svn://svn.berlios.de/openocd/trunk@1010
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-09-26 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : I do not know why this is necessary, but it fixes strange effects (step/resume cause a NMI after reset) on LM3S6918 --
Michael Schwingen git-svn-id: svn://svn.berlios.de/openocd/trunk@1008
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-09-26 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : wip git-svn-id: svn://svn.berlios.de/openocd/trunk@1006
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-09-25 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - update docs for aduc702x flash driver git-svn-id: svn://svn.berlios.de/openocd/trunk@996
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-09-24 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : fix noise in gdb console when single stepping. Remove printing
of log before processing halted event. git-svn-id: svn://svn.berlios.de/openocd/trunk@994
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-09-24 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : "marcel" <M.W.Wijlaars@tue.nl>, I have the ADuC702x flashdriver working again (see attachment). It
adds the option to erase and write the ADuC702x flash git-svn-id: svn://svn.berlios.de/openocd/trunk@992
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-09-21 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Removed some obsolete stuff + Pushing things in the direction of
openocd.texi git-svn-id: svn://svn.berlios.de/openocd/trunk@990
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-09-21 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : put instructions on how to report bugs onto the users radar git-svn-id: svn://svn.berlios.de/openocd/trunk@988
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-09-12 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : follow up to keep_alive() fix. process target events before
returning from reset procedure. git-svn-id: svn://svn.berlios.de/openocd/trunk@986
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-09-12 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Duane Ellis: target_process_reset is now implemented in tcl.
This allows better control from target configuration scripts. git-svn-id: svn://svn.berlios.de/openocd/trunk@984
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-09-08 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : typo fixed. git-svn-id: svn://svn.berlios.de/openocd/trunk@982
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-09-08 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Duane Ellis, added clock command. git-svn-id: svn://svn.berlios.de/openocd/trunk@980
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-09-04 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : s3c2440 OpenMoko target script git-svn-id: svn://svn.berlios.de/openocd/trunk@978
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-09-01 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Removed target->reset_mode, no longer used git-svn-id: svn://svn.berlios.de/openocd/trunk@976
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-09-01 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : retired, nothing came of it. git-svn-id: svn://svn.berlios.de/openocd/trunk@974
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-27 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : comment about slow RTCK git-svn-id: svn://svn.berlios.de/openocd/trunk@972
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-26 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : added 1000ms timeout git-svn-id: svn://svn.berlios.de/openocd/trunk@970
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-25 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : RCLK is not supported, return error instead of crashing. git-svn-id: svn://svn.berlios.de/openocd/trunk@968
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-25 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : fixed bug in arm11 examine code. git-svn-id: svn://svn.berlios.de/openocd/trunk@966
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-25 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : sync with Jim Tcl repository. git-svn-id: svn://svn.berlios.de/openocd/trunk@964
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-24 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : duan ellis target tcl work in progress converts a number of 'simple string lookup tables' into NVP
tables. These NVP tables will be used by various commands coming
in the next patch. git-svn-id: svn://svn.berlios.de/openocd/trunk@962
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-23 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - clear any existing breakpoints/watchpoints when restarting in gdb
extended remote mode git-svn-id: svn://svn.berlios.de/openocd/trunk@960
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-22 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - fix win32 build issues from previous jim patch git-svn-id: svn://svn.berlios.de/openocd/trunk@958
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-20 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : added gdb timeout handling + error propagation git-svn-id: svn://svn.berlios.de/openocd/trunk@956
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-20 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : lm3s3748 config file git-svn-id: svn://svn.berlios.de/openocd/trunk@954
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-20 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : sharpen error propagation a wee bit. git-svn-id: svn://svn.berlios.de/openocd/trunk@952
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-20 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Daniel Gimpelevich fix reset halt on feroceon git-svn-id: svn://svn.berlios.de/openocd/trunk@950
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-20 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : duane ellis: fix warning git-svn-id: svn://svn.berlios.de/openocd/trunk@948
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-19 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : fixed warning git-svn-id: svn://svn.berlios.de/openocd/trunk@946
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-19 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : make target_wait_state() usable from other places, made
LOG_USER() output LOG_DEBUG() output. Avoids flooding logs in
certain cases and OpenOCD will output error message if the halt
fails. git-svn-id: svn://svn.berlios.de/openocd/trunk@944
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-19 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : search and replace usleep(1000) with alive_sleep(1) to avoid GDB
timeouts. git-svn-id: svn://svn.berlios.de/openocd/trunk@942
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-19 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : added some alive_sleep()'s git-svn-id: svn://svn.berlios.de/openocd/trunk@940
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-19 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : added alive_sleep() function to let GDB alive packets be sent git-svn-id: svn://svn.berlios.de/openocd/trunk@938
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-19 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : duane ellis: (A) a new concept called "Name Value Pair" or NVP,
in simple terms: Think: "String" and "Value". There can be many
strings - all related to a single value, for examle: "T", "t", "y",
"1", "yes", all can represent "truth", the reverse mapping is more
simplistic - the first matching number wins. (B) a new "getopt" like feature for Jim - that simplifies argument
parsing in complex functions, normally this would be used in
conjunction with either an NVP table of options, or a more simpler
Enumeration table. In contrast to the GNU "getopt" package, this
is more of a "object model or code oriented" solution then a pure
data structure used by GNU getopt, or the main stream Tcl/Tk option
processing. git-svn-id: svn://svn.berlios.de/openocd/trunk@936
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-19 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : fix comment w.r.t. start address for RAM git-svn-id: svn://svn.berlios.de/openocd/trunk@934
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-19 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : removed a couple of exit()'s from error handling. git-svn-id: svn://svn.berlios.de/openocd/trunk@932
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-19 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us> one
more parport device git-svn-id: svn://svn.berlios.de/openocd/trunk@930
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-18 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : more error propagation git-svn-id: svn://svn.berlios.de/openocd/trunk@928
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-18 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : openocd.texi is the authoratitive source for documentation. Wiki
is dead. git-svn-id: svn://svn.berlios.de/openocd/trunk@926
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-17 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : deleted superfluous sam7s256 which was identical to sam7x256 git-svn-id: svn://svn.berlios.de/openocd/trunk@924
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-15 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : removed obsolete command. git-svn-id: svn://svn.berlios.de/openocd/trunk@922
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-14 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : arm7/9 breakpoint cleanup. arm7_9 sw/hw commands retired.
openocd.texi is alerady updated. git-svn-id: svn://svn.berlios.de/openocd/trunk@920
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-14 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : documentation wip for upcoming patch. git-svn-id: svn://svn.berlios.de/openocd/trunk@918
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-13 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : force lpc2148 target into ARM state. git-svn-id: svn://svn.berlios.de/openocd/trunk@916
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-13 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : added global gdb breakpoint override configuration command git-svn-id: svn://svn.berlios.de/openocd/trunk@914
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-13 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Clear all dangling breakpoints upon GDB connection. git-svn-id: svn://svn.berlios.de/openocd/trunk@912
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-13 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : return halted signal if step/continue fails git-svn-id: svn://svn.berlios.de/openocd/trunk@910
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-11 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : fix output from jtag_khz when only jtag_speed has been invoked git-svn-id: svn://svn.berlios.de/openocd/trunk@908
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-11 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : propagate error code in case of "reset" failing. git-svn-id: svn://svn.berlios.de/openocd/trunk@906
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-11 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : fix error message git-svn-id: svn://svn.berlios.de/openocd/trunk@904
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-08 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - fix build issues under win32 (mingw) git-svn-id: svn://svn.berlios.de/openocd/trunk@902
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-08 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : default reset in help text - run git-svn-id: svn://svn.berlios.de/openocd/trunk@900
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-07 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Kuehling <dvdkhlng@gmx.de> - added jim-eventloop.c git-svn-id: svn://svn.berlios.de/openocd/trunk@898
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-07 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - correct BUILD_ECOSBOARD definition is server.c git-svn-id: svn://svn.berlios.de/openocd/trunk@896
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-06 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - added svn props for previously added file git-svn-id: svn://svn.berlios.de/openocd/trunk@894
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-05 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : GDB monitor commands now also get halted state upon e.g. "reset
halt". git-svn-id: svn://svn.berlios.de/openocd/trunk@892
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-05 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Duane Ellis: fix warnings git-svn-id: svn://svn.berlios.de/openocd/trunk@890
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-05 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : define resetting the target into the halted or running state as
an atomic operation. git-svn-id: svn://svn.berlios.de/openocd/trunk@888
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-04 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : TAP_TLR won't work in a pathmove sequence. OpenOCD shouldn't and
doesn't need to support this. git-svn-id: svn://svn.berlios.de/openocd/trunk@886
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-31 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : wait up to 1 second for halted state upon reset init/halt. git-svn-id: svn://svn.berlios.de/openocd/trunk@884
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-30 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : warning output upon connection problems. git-svn-id: svn://svn.berlios.de/openocd/trunk@882
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-28 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - added run_and_halt_time to deprecated/removed functions section git-svn-id: svn://svn.berlios.de/openocd/trunk@880
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-28 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : fixed gaffe mea culpa git-svn-id: svn://svn.berlios.de/openocd/trunk@878
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-27 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : working notes. git-svn-id: svn://svn.berlios.de/openocd/trunk@876
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-26 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - merged mips target into svn trunk git-svn-id: svn://svn.berlios.de/openocd/trunk@874
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-25 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : added yours sincerely for files where I feel that I've made
non-trivial contributions. git-svn-id: svn://svn.berlios.de/openocd/trunk@872
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-24 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : more error message cleanup. invalid args & syntax errors both
now print arguments of command. git-svn-id: svn://svn.berlios.de/openocd/trunk@870
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-24 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : retire daemon_startup git-svn-id: svn://svn.berlios.de/openocd/trunk@868
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-24 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Better handling of OpenOCD command invocation result/context. git-svn-id: svn://svn.berlios.de/openocd/trunk@866
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-23 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - comment about dummy ack '+' char from gdb git-svn-id: svn://svn.berlios.de/openocd/trunk@864
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-23 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - fix typo git-svn-id: svn://svn.berlios.de/openocd/trunk@862
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-23 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : handle end of line comments to improve compatibility with event
scripts git-svn-id: svn://svn.berlios.de/openocd/trunk@860
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-22 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - fix bug with stm32 high density write protection git-svn-id: svn://svn.berlios.de/openocd/trunk@858
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-22 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Spen: startup.tcl cross compile support git-svn-id: svn://svn.berlios.de/openocd/trunk@856
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-22 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : very slightly improved error message for not being able to find
scripts git-svn-id: svn://svn.berlios.de/openocd/trunk@854
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-21 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Allows config scripts to override handling of 'R'(restart) GDB
packet. git-svn-id: svn://svn.berlios.de/openocd/trunk@852
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-21 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : update jtag_speed/khz docs a bit. git-svn-id: svn://svn.berlios.de/openocd/trunk@850
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-21 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : cross compile fix git-svn-id: svn://svn.berlios.de/openocd/trunk@848
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-21 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Duane Ellis <openocd@duaneellis.com> stm32 peripherals scripts git-svn-id: svn://svn.berlios.de/openocd/trunk@846
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-20 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : BUG: prefix to timeout for gdb keep alive packets. git-svn-id: svn://svn.berlios.de/openocd/trunk@844
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-20 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Duane Ellis <openocd@duaneellis.com> - script commands for stm32 git-svn-id: svn://svn.berlios.de/openocd/trunk@842
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-20 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Duane Ellis <openocd@duaneellis.com> improve error message in Jim when sourcing a file fails.
Previously it did not tell you the CWD Jim was using as its
reference point. (Helpful when script filenames are a relative
path) git-svn-id: svn://svn.berlios.de/openocd/trunk@840
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-19 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : throw exception upon syntax error. git-svn-id: svn://svn.berlios.de/openocd/trunk@838
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-19 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : clarify error message w.r.t. not being able to set breakpoint git-svn-id: svn://svn.berlios.de/openocd/trunk@836
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-18 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : This allows overriding builtin openocd commands. git-svn-id: svn://svn.berlios.de/openocd/trunk@834
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-18 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : "reset" without arguments now execute a "reset run". the reset mode argument to the target command is deprecated(ignored
w/error message). git-svn-id: svn://svn.berlios.de/openocd/trunk@832
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-18 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - fix incorrectly registered function openocd_array2mem - removed unused variables - reformatted lpc288x.[ch] - fixed helper/Makefile.am dependencies - add correct svn props to added files git-svn-id: svn://svn.berlios.de/openocd/trunk@829
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-18 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : keep_alive() fix for reset warnings. git-svn-id: svn://svn.berlios.de/openocd/trunk@827
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-18 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Duane Ellis <openocd@duaneellis.com> more interface files. git-svn-id: svn://svn.berlios.de/openocd/trunk@825
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-18 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : added missing "reset+load" sequence. git-svn-id: svn://svn.berlios.de/openocd/trunk@823
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-17 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Charles Hardin ckhardin at gmail.com Instead of stashing the
context in a global variable, just use the "context" associated with
the interp structure being passed around And fixed the message referring to mem2array in the array2mem
function git-svn-id: svn://svn.berlios.de/openocd/trunk@821
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-17 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Charles Hardin ckhardin at gmail.com There isn't a real value to the cfg_cmd_ctx since everything should
be run thru the initial context created at start. git-svn-id: svn://svn.berlios.de/openocd/trunk@819
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-17 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - reverted resume_target to old behaviour git-svn-id: svn://svn.berlios.de/openocd/trunk@817
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-16 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Fixes to \ and / handling for OpenOCD git-svn-id: svn://svn.berlios.de/openocd/trunk@815
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-16 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : print out jim error message stack trace in expected order(look
at any C++ or Java debugger for instance). git-svn-id: svn://svn.berlios.de/openocd/trunk@813
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-16 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : print syntax for command upon syntax error. git-svn-id: svn://svn.berlios.de/openocd/trunk@811
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-15 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : feeble beginnings for tcl api rules. git-svn-id: svn://svn.berlios.de/openocd/trunk@809
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-14 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Charles Hardin <ckhardin@gmail.com> This evaluates the file at the correct level for the interpreter and
the sets and all the globals are then done as expected. added a const to find_file function to avoid typecasting git-svn-id: svn://svn.berlios.de/openocd/trunk@806
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-13 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - added svn props for newly added files git-svn-id: svn://svn.berlios.de/openocd/trunk@804
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-13 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Duane Ellis <openocd@duaneellis.com> fix to tcl puts git-svn-id: svn://svn.berlios.de/openocd/trunk@802
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-12 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - remove requirement for file2c.tcl git-svn-id: svn://svn.berlios.de/openocd/trunk@800
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-12 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : testing/*.tcl sample & test code git-svn-id: svn://svn.berlios.de/openocd/trunk@798
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-11 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - configure check added for tclsh - startup.c manually added to clean deps git-svn-id: svn://svn.berlios.de/openocd/trunk@796
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-11 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Charles Hardin ckhardin at gmail.com This address the >32 bit problem with drscan also added a check for
bypass in the execute since this will manifest itself as a memory
corruption when this check helps to debug the problem alot easier git-svn-id: svn://svn.berlios.de/openocd/trunk@794
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-11 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : work in progress to improve help git-svn-id: svn://svn.berlios.de/openocd/trunk@792
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-11 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : .cfg files are now executed as Jim Tcl. Commands that terminate
script w/error message. git-svn-id: svn://svn.berlios.de/openocd/trunk@790
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-11 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : working notes. git-svn-id: svn://svn.berlios.de/openocd/trunk@788
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-10 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Charles Hardin <ckhardin@gmail.com> Add semantics to support memwrite(32,16,8) with an array2mem command
Move the global up in bits2bytes.tcl so the set puts the value in
the global context. Add memwrite procs to memory.tcl git-svn-id: svn://svn.berlios.de/openocd/trunk@786
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-10 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : fix quoting problem when handling OpenOCD commands. git-svn-id: svn://svn.berlios.de/openocd/trunk@784
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-10 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : very slight cleanup of flash banks handling. git-svn-id: svn://svn.berlios.de/openocd/trunk@782
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-09 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - adding missing install entry for luminary-libftdi.cfg git-svn-id: svn://svn.berlios.de/openocd/trunk@780
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-09 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - added luminary libftdi interface config git-svn-id: svn://svn.berlios.de/openocd/trunk@778
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-09 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : added flash_banks low level command. git-svn-id: svn://svn.berlios.de/openocd/trunk@776
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-08 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : tcl regression fixes. git-svn-id: svn://svn.berlios.de/openocd/trunk@774
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-08 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - removed target_process_events as only used in
handle_resume_command and events will be called anyway by poll git-svn-id: svn://svn.berlios.de/openocd/trunk@772
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-08 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - apply correct formatting to openocd.c - Thanks Charles Hardin git-svn-id: svn://svn.berlios.de/openocd/trunk@770
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-07 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : more tcl cleanup. git-svn-id: svn://svn.berlios.de/openocd/trunk@768
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-07 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - command_run_line will only search once for the command, and
execute if found git-svn-id: svn://svn.berlios.de/openocd/trunk@766
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-07 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : fix syntax error. git-svn-id: svn://svn.berlios.de/openocd/trunk@764
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-06 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - fix duplicate log entry git-svn-id: svn://svn.berlios.de/openocd/trunk@762
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-06 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - fixed build issues with win32 - fixed build warnings for last commit - set svn props for last commit git-svn-id: svn://svn.berlios.de/openocd/trunk@760
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-06 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : fix a few compilation problems. git-svn-id: svn://svn.berlios.de/openocd/trunk@758
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-06 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Oopss. Forgot to list Duane Ellis <openocd@duaneellis.com> as
the author of changes in 755. git-svn-id: svn://svn.berlios.de/openocd/trunk@756
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-05 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - added search for libdl - Thanks Charles Hardin git-svn-id: svn://svn.berlios.de/openocd/trunk@754
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-04 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - added event scripts for str73x and str75x targets git-svn-id: svn://svn.berlios.de/openocd/trunk@751
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-04 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - fixed line endings with commands.tcl - added svn props for newly added files git-svn-id: svn://svn.berlios.de/openocd/trunk@749
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-04 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : fix to peek command. git-svn-id: svn://svn.berlios.de/openocd/trunk@747
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-04 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : typo git-svn-id: svn://svn.berlios.de/openocd/trunk@745
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-04 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : added support for Tcl config scripts on the command line(use
.tcl extension). git-svn-id: svn://svn.berlios.de/openocd/trunk@743
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-04 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : ARM11 update. OpenOCD supports starting without being able to
talk to the hardware. git-svn-id: svn://svn.berlios.de/openocd/trunk@741
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-04 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Jim Tcl support added git-svn-id: svn://svn.berlios.de/openocd/trunk@739
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-28 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : wip. git-svn-id: svn://svn.berlios.de/openocd/trunk@737
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-27 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - update docs for new target_script events git-svn-id: svn://svn.berlios.de/openocd/trunk@735
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-27 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : hooks to enable experimentation with scripting language support.
Reduces patch size, but has no effect on OpenOCD otherwise. git-svn-id: svn://svn.berlios.de/openocd/trunk@733
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-27 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Anders more target lib scripts contributed by git-svn-id: svn://svn.berlios.de/openocd/trunk@731
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-27 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : David Anders: fixes an issue with large block nand flash address
where the beginning of the OOB area is always selected instead of
the beginning of a page when needed git-svn-id: svn://svn.berlios.de/openocd/trunk@729
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-25 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - fix reset_halt issue with certain arm cores - address not set in
embedded ice reg - Thanks Jonas Hörberg git-svn-id: svn://svn.berlios.de/openocd/trunk@727
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-24 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - fix compile errors when _DEBUG_INSTRUCTION_EXECUTION_ is defined - Thanks Simon Qian git-svn-id: svn://svn.berlios.de/openocd/trunk@725
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-18 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Pavel Chromy: - lower jtag speeds (higher divisor) was used, TDI was not changed
on falling TCK edge as it should - reset signal was release upon any TMS transition, making it
impossible to use reset halt - added khz() and speed_div() functions git-svn-id: svn://svn.berlios.de/openocd/trunk@716
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-18 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Spen spotted a bug in warning for missing srst_pulls_trst git-svn-id: svn://svn.berlios.de/openocd/trunk@714
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-16 mifi <mifi@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - added target and event script for the eir-sam7se512 target git-svn-id: svn://svn.berlios.de/openocd/trunk@712
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-16 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : GDB timeout fix. If a script takes a long time and does not
produce any output, ping between every command. git-svn-id: svn://svn.berlios.de/openocd/trunk@710
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-11 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - probe incorrect for high density stm32 flash git-svn-id: svn://svn.berlios.de/openocd/trunk@708
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-06 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - stm32 erase will use mass_erase if all banks selected git-svn-id: svn://svn.berlios.de/openocd/trunk@706
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-05 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - erase bank using bank erase rather than each sector - Thanks Fredrik Hederstierna git-svn-id: svn://svn.berlios.de/openocd/trunk@704
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-04 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Pavel Chromy: fix logging syntax error + formatting & removing
obsolete comments. git-svn-id: svn://svn.berlios.de/openocd/trunk@702
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-04 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - luminary, stm32 and str7 flash driver error cleanup git-svn-id: svn://svn.berlios.de/openocd/trunk@700
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-03 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Fredrik Hederstierna: fix leak + clean up return codes git-svn-id: svn://svn.berlios.de/openocd/trunk@698
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-29 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - added checksum_memory and blank_check_memory for xscale git-svn-id: svn://svn.berlios.de/openocd/trunk@696
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-27 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - moved flash erase_check target code to target.c git-svn-id: svn://svn.berlios.de/openocd/trunk@694
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-27 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - fixed typo in wp command git-svn-id: svn://svn.berlios.de/openocd/trunk@692
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-26 mifi <mifi@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - added check for max. value of jtag_speed in ft2232_khz. git-svn-id: svn://svn.berlios.de/openocd/trunk@690
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-26 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : found out why str912 reset halt failed. git-svn-id: svn://svn.berlios.de/openocd/trunk@688
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-26 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - corrected error with stm32 page calculation git-svn-id: svn://svn.berlios.de/openocd/trunk@686
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-24 mifi <mifi@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - comment out usb_set_altinterface, because it is not working under
Mac OS X. And not needed for Windows. Hopefully it will not break a
Linux build. git-svn-id: svn://svn.berlios.de/openocd/trunk@684
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-24 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - added stellaris flash mass_erase command git-svn-id: svn://svn.berlios.de/openocd/trunk@682
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-24 mifi <mifi@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - swap processing of reset handling. First srst and than trst. git-svn-id: svn://svn.berlios.de/openocd/trunk@680
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-24 mifi <mifi@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - corrected copy/paste type and renamed jlink_usb_read_result to
jlink_usb_read_emu_result git-svn-id: svn://svn.berlios.de/openocd/trunk@678
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-24 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - jlink jlink_execute_queue returns result - added jlink_get_version_info function - reformatted spaces to tabs git-svn-id: svn://svn.berlios.de/openocd/trunk@676
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-23 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - add support for newer high density stm32 parts git-svn-id: svn://svn.berlios.de/openocd/trunk@674
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-21 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - remove error message on shutdown git-svn-id: svn://svn.berlios.de/openocd/trunk@672
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-21 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : moved srst_pulls_trst check into arm7_9_common.c. Not tested
yet, if it is broken it should "only" print bogus warnings or not
print a warning when it should have. git-svn-id: svn://svn.berlios.de/openocd/trunk@670
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-19 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : reverted change in 658 and simply removed the busted warning for
now. git-svn-id: svn://svn.berlios.de/openocd/trunk@668
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-19 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : print out an error if srst_pulls_trst is not specified for e.g.
at91fr40008. Could possibly show bogus false positives in log
without any other side effects. git-svn-id: svn://svn.berlios.de/openocd/trunk@666
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-19 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : fix mode output when illegal arm mode is detected. Now prints
illegal mode for index -1. git-svn-id: svn://svn.berlios.de/openocd/trunk@664
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-19 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : updated guidelines. git-svn-id: svn://svn.berlios.de/openocd/trunk@662
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-16 mifi <mifi@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - added smoketest result for r657 - some corrections for the reset config of at91r40008 git-svn-id: svn://svn.berlios.de/openocd/trunk@660
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-14 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - added jlink support, based on Jürgen Stuber patch git-svn-id: svn://svn.berlios.de/openocd/trunk@658
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-11 mifi <mifi@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - added patch from uwe hermann, thanks for the hint. git-svn-id: svn://svn.berlios.de/openocd/trunk@656
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-10 mifi <mifi@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - corrected rounding in ft2232_khz git-svn-id: svn://svn.berlios.de/openocd/trunk@654
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-10 mifi <mifi@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - smoketest for r651 git-svn-id: svn://svn.berlios.de/openocd/trunk@652
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-09 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Michael Fischer spotted a problem in the reset routines for
srst_pulls_trst. It is a bit of a mystery why this was only visible
w/LPC2148. Embedded ICE registers are now set up after SRST pulls TRST. git-svn-id: svn://svn.berlios.de/openocd/trunk@650
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-07 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : print available memory in log_level 3 git-svn-id: svn://svn.berlios.de/openocd/trunk@648
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-07 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Edgar Grimberg plugged a leak found w/Valgrind. git-svn-id: svn://svn.berlios.de/openocd/trunk@646
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-06 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Edgar Grimberg found tiny memory leak git-svn-id: svn://svn.berlios.de/openocd/trunk@644
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-06 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : The target library is now the authorotative source of config
examples git-svn-id: svn://svn.berlios.de/openocd/trunk@642
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-03 drath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - fixed xsvf_add_statemove() git-svn-id: svn://svn.berlios.de/openocd/trunk@640
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-02 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - added info about libftdi support under win32 git-svn-id: svn://svn.berlios.de/openocd/trunk@638
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-01 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Tim Hudson worked on English language. git-svn-id: svn://svn.berlios.de/openocd/trunk@636
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-01 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - add missing svn props git-svn-id: svn://svn.berlios.de/openocd/trunk@634
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-30 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : now compiles again. git-svn-id: svn://svn.berlios.de/openocd/trunk@632
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-30 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - added new device to luminary flash driver - only use SYSRESETREQ on affected luminary parts git-svn-id: svn://svn.berlios.de/openocd/trunk@630
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-30 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Edgar's added support for printing jtag_khz git-svn-id: svn://svn.berlios.de/openocd/trunk@628
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-29 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Edgar Grimberg added a new rule for target scripts. Flash +
verify must succeed. git-svn-id: svn://svn.berlios.de/openocd/trunk@626
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-28 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - add cortex_m3 variant luminary to fix reset issue with asserting
SRST -
https://lists.berlios.de/pipermail/openocd-development/2008-April/002022.html for detailsgit-svn-id: svn://svn.berlios.de/openocd/trunk@624
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-26 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - luminary flash now loader polls when finished git-svn-id: svn://svn.berlios.de/openocd/trunk@622
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-26 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - incorrect ram size for lm3s811 target script git-svn-id: svn://svn.berlios.de/openocd/trunk@620
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-26 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : wip instructions for building Cortex toolchain git-svn-id: svn://svn.berlios.de/openocd/trunk@618
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-24 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Close dangling file handle git-svn-id: svn://svn.berlios.de/openocd/trunk@616
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-24 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Edgar's new test cases. git-svn-id: svn://svn.berlios.de/openocd/trunk@614
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-23 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Pavel Chromy's on chip flash loader git-svn-id: svn://svn.berlios.de/openocd/trunk@612
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-23 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - added svn props for newly added files git-svn-id: svn://svn.berlios.de/openocd/trunk@610
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-23 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - fix typo in openocd.texi git-svn-id: svn://svn.berlios.de/openocd/trunk@608
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-23 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Tim Hudson: removed setting jtag_speed directly (which should
not be done). git-svn-id: svn://svn.berlios.de/openocd/trunk@606
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-23 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : added fast option. git-svn-id: svn://svn.berlios.de/openocd/trunk@604
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-22 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : wip on reporting bugs. git-svn-id: svn://svn.berlios.de/openocd/trunk@602
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-21 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - added stm32 stick and luminary eval boards interface configs - corrected target lm3s6965.cfg git-svn-id: svn://svn.berlios.de/openocd/trunk@600
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-20 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - set erase flag on sector git-svn-id: svn://svn.berlios.de/openocd/trunk@598
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-20 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - update docs for flash write_image command - remove info on flash auto_erase, added to removed commands section git-svn-id: svn://svn.berlios.de/openocd/trunk@596
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-19 mifi <mifi@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - added test results for r592 git-svn-id: svn://svn.berlios.de/openocd/trunk@594
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-18 drath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - Flash auto-erase is disabled by default git-svn-id: svn://svn.berlios.de/openocd/trunk@592
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-18 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Nicolas Pitre fixed regression. git-svn-id: svn://svn.berlios.de/openocd/trunk@590
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-16 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : fix for gaffe in 555 that stopped JTAG chain examine + validate
from running. git-svn-id: svn://svn.berlios.de/openocd/trunk@588
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-16 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - correct stm32stick config script git-svn-id: svn://svn.berlios.de/openocd/trunk@586
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-16 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Edgar Grimberg added some missing scripts from the install git-svn-id: svn://svn.berlios.de/openocd/trunk@584
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-15 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - sw_bkpts fails if the target is not halted. The side effect is
that sw_bkpts also fails if the target is an unknown state(i.e. not
examined yet). - feroceon embedded ICE registers are now set up after TRST has been
deasserted(not tested, but it was broken as is anyway). git-svn-id: svn://svn.berlios.de/openocd/trunk@582
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-15 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : target read/write is no longer attempted for target_xxx()
functions when the target has not been examined(fails w/error). git-svn-id: svn://svn.berlios.de/openocd/trunk@580
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-14 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : retired fast_memory_access. It's always fast now. git-svn-id: svn://svn.berlios.de/openocd/trunk@578
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-14 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : moved out stuff that wasn't already moved from openocd.pdf to
the target library. git-svn-id: svn://svn.berlios.de/openocd/trunk@576
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-14 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : TRST is asserted *before* target->type->assert_reset() is
invoked. Removed old code. git-svn-id: svn://svn.berlios.de/openocd/trunk@574
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-13 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : A dummy driver to test codepath w/no contact w/target. git-svn-id: svn://svn.berlios.de/openocd/trunk@572
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-13 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : allows launching OpenOCD w/telnet+gdb server w/the target
powered down. git-svn-id: svn://svn.berlios.de/openocd/trunk@570
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-11 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : found two more gaffes for reset wip git-svn-id: svn://svn.berlios.de/openocd/trunk@568
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-11 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Reset wip. Just adding hooks. This is just to reduce the size of
the actual change, no change in behaviour. git-svn-id: svn://svn.berlios.de/openocd/trunk@566
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-11 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Wip - split target setup and target examination git-svn-id: svn://svn.berlios.de/openocd/trunk@564
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-11 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Improved XScale performance for embedded hosted OpenOCD git-svn-id: svn://svn.berlios.de/openocd/trunk@562
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-10 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : stop using variable sized arrays. That's something that belongs
to C++ and not C. git-svn-id: svn://svn.berlios.de/openocd/trunk@560
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-10 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - single core context used, removed debug context as thought
unnecessary. - DCRDR now used to access special core registers - info is
currently omitted from the cortex_m3 TRM ARM have told me this is
the preferred access method and the docs will be updated soon. - now checks for User Thread Mode and Thread mode when halted. - removed repeated function declarations from command.c - cortex_m3_prepare_reset_halt removed, updated
cortex_m3_assert_reset to suit git-svn-id: svn://svn.berlios.de/openocd/trunk@558
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-09 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : target lib wip git-svn-id: svn://svn.berlios.de/openocd/trunk@556
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-09 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - add missing svn props git-svn-id: svn://svn.berlios.de/openocd/trunk@554
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-09 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - added "init" command. "init" and "reset" at end of startup script
is equivalent to daemon_startup(still supported). - print warning if srst and trst change state at the same time when
srst_and_trst is seperate - reset now performs a trst, examines and validates the jtag chain
before targets assert reset - if startup fails to examine and validate the jtag chain, try a
reset before trying again git-svn-id: svn://svn.berlios.de/openocd/trunk@552
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-08 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Edwin Olson found bug & tested fix for flash write_image for
stellaris. git-svn-id: svn://svn.berlios.de/openocd/trunk@550
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-08 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : added a couple of LOG_ERROR() messages to improve logfile. git-svn-id: svn://svn.berlios.de/openocd/trunk@548
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-08 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : The endstate now reports the endstate of the queue instead of
reading endstate variable internal to the driver. git-svn-id: svn://svn.berlios.de/openocd/trunk@546
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-07 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - only if "reset halt" or "reset init" are issued will the reset
vector be set up - If communication fails during assert between assert/deassert and
during assert, warnings are printed. The warning suggests using
srst_only if the clock locks up as that would allow the reset vector
to be set up before asserting reset. git-svn-id: svn://svn.berlios.de/openocd/trunk@544
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-06 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : avoid patch trouble by isolating troublesome line... git-svn-id: svn://svn.berlios.de/openocd/trunk@542
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-04 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - the reset mode parameter is now DEPRECATED. It is implemented as
an optional parameter with default reset_init. This is to streamline
things w.r.t. the target library. git-svn-id: svn://svn.berlios.de/openocd/trunk@540
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-04 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : added query of reset speed git-svn-id: svn://svn.berlios.de/openocd/trunk@538
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-03 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - Work on fixing erase check. Many implementations are plain broken.
Wrote a default flash erase check fn which uses CFI's target
algorithm w/fallback to memory reads. - "flash info" no longer prints erase status as it is stale. - "flash erase_check" now prints erase status. erase check can take
a *long* time. Work in progress - arm7/9 with seperate srst & trst now supports reset init/halt
after a power outage. arm7/9 no longer makes any assumptions about
state of target when reset is asserted. - fixes for srst & trst capable arm7/9 with reset init/halt - prepare_reset_halt retired. This code needs to be inside
assert_reset anyway - haven't been able to get stm32 write algorithm to work. Fallback
flash write does work. Haven't found a version of openocd trunk
where this works. - added target_free_all_working_areas_restore() which can let be of
restoring backups. This is needed when asserting reset as the target
must be assumed to be an unknown state. Added some comments to
working areas API - str9 reset script fixes - some guidelines - fixed dangling callbacks upon reset timeout git-svn-id: svn://svn.berlios.de/openocd/trunk@536
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-02 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : fix flash info - now reports erased state properly git-svn-id: svn://svn.berlios.de/openocd/trunk@534
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-02 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : optional count argument to mwX git-svn-id: svn://svn.berlios.de/openocd/trunk@532
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-31 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Do not assert trst in srst_only case even if srst_pulls_trst. git-svn-id: svn://svn.berlios.de/openocd/trunk@530
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-31 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Removed exit()'s. A reset is usually enough to work around
these, reducing cycle times to get config scripts right. git-svn-id: svn://svn.berlios.de/openocd/trunk@528
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-28 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Edgar Grimberg: added needed delays git-svn-id: svn://svn.berlios.de/openocd/trunk@526
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-26 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : hooks for multithreading. Disable nagle git-svn-id: svn://svn.berlios.de/openocd/trunk@524
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-22 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - gdb server was incorrectly sending null terminator on
qXfer:features:read: packet - armv7m now sends correct gdb register packet git-svn-id: svn://svn.berlios.de/openocd/trunk@522
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-22 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - changed jtag_add_reset errors to warnings - removed extra jtag reset warnings from arm7_9 and cortex_m3 git-svn-id: svn://svn.berlios.de/openocd/trunk@520
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-21 mifi <mifi@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - added new test results git-svn-id: svn://svn.berlios.de/openocd/trunk@518
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-14 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : added profile command. It was added to simplify evaluation by
testers. git-svn-id: svn://svn.berlios.de/openocd/trunk@516
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-13 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Michael Bruck: fixed warnings git-svn-id: svn://svn.berlios.de/openocd/trunk@514
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-13 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : added jtag_khz for use with target library git-svn-id: svn://svn.berlios.de/openocd/trunk@512
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-13 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : print ms in debug_level 3 logs. Seconds is not enough. git-svn-id: svn://svn.berlios.de/openocd/trunk@510
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-13 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : marked infinite loop in code w/TODO and fixed warning. git-svn-id: svn://svn.berlios.de/openocd/trunk@508
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-12 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : xscale now passes w/bitbang in 505 git-svn-id: svn://svn.berlios.de/openocd/trunk@506
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-12 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : This moves common code into functions so as to make it clear
that all the jtag_add_xxx() are indeed intended to do the same
thing. git-svn-id: svn://svn.berlios.de/openocd/trunk@504
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-12 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : more info about latest working version git-svn-id: svn://svn.berlios.de/openocd/trunk@502
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-12 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : tinkered a bit with testing matrix. git-svn-id: svn://svn.berlios.de/openocd/trunk@500
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-11 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : With the recent changes the TRST needs to happen for every
reset. git-svn-id: svn://svn.berlios.de/openocd/trunk@498
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-11 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - retired unused jtag events. The code was incorrect - hopefully clarified the difference between TRST and TMS reset. - added DEBUG() statements w.r.t. state changes - TRST released and moving out of TAP_TLR are completely different
events. Only TRST released has a DEBUG() statement git-svn-id: svn://svn.berlios.de/openocd/trunk@496
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-11 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : retire unused code. git-svn-id: svn://svn.berlios.de/openocd/trunk@494
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-11 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - fixed jtag_add_reset(). It no longer causes jtag_execute_queue()
to fail for two of it's return codes. A little bit weird, but
compatible with existing codebase. - tightend up error handling. Since the jtag_xxx() is a queue that
is either executed as things are added(hw queue) or a software
queue, then errors can only be caught during jtag_execute_queue().
No error code is therefore returned from the queuing fn's. git-svn-id: svn://svn.berlios.de/openocd/trunk@492
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-10 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : backed out changes from 483. git-svn-id: svn://svn.berlios.de/openocd/trunk@490
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-10 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : more target scripts wip. git-svn-id: svn://svn.berlios.de/openocd/trunk@488
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-10 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Pavel Chromy: the attached patch refines PRESTO support and
makes it work with libftdi. git-svn-id: svn://svn.berlios.de/openocd/trunk@486
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-10 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - fixed a problem with big endian XScale and GDB register packets. - hmm..... did I screw up? Was XScale and not gdb_server busted
here? My thinking was that OpenOCD has a canonical internal
representation of registers that match GDB's expectations git-svn-id: svn://svn.berlios.de/openocd/trunk@484
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-10 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - Fixed various error handling when looking for memory leaks - Fixed memory leak in gdb_server.c - pushed "Error:" statements up into fn's that know something about
what went wrong - load_image now fails if target_write_memory() fails - only issue an asynchronous halt() upon connect of GDB. Synchronous
halt/reset doesn't really work as what's required to initialize the
target might involve a special monitor sequence for the target in
question - syntax error handling improved(fewer exit()'s) git-svn-id: svn://svn.berlios.de/openocd/trunk@482
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-10 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : added stm32.cfg to install list git-svn-id: svn://svn.berlios.de/openocd/trunk@480
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-09 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - add stm32 target script git-svn-id: svn://svn.berlios.de/openocd/trunk@478
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-08 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : typo. git-svn-id: svn://svn.berlios.de/openocd/trunk@476
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-07 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Asynchronous output information from e.g. a halt is now
displayed again. git-svn-id: svn://svn.berlios.de/openocd/trunk@474
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-07 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - The elf loader incorrectly assumed that the program header always
follows the ELF header. (Thanks Michael Bruck) git-svn-id: svn://svn.berlios.de/openocd/trunk@472
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-07 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Edgar Grimberg, fix arm926ejs_examine_debug_reason return value. git-svn-id: svn://svn.berlios.de/openocd/trunk@470
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-07 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : minor corrections for target scripts. git-svn-id: svn://svn.berlios.de/openocd/trunk@468
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-07 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Pavel Chromy, the patch fixes an issue with PRESTO & FTD2XX
under Linux. git-svn-id: svn://svn.berlios.de/openocd/trunk@466
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-07 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : wi-9c target scripts git-svn-id: svn://svn.berlios.de/openocd/trunk@464
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-07 mifi <mifi@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - added str912/str710_program.script - added test infos from r459 git-svn-id: svn://svn.berlios.de/openocd/trunk@462
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-07 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Cosmetic fixes from Uwe Hermann git-svn-id: svn://svn.berlios.de/openocd/trunk@460
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-06 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : retired git-svn-id: svn://svn.berlios.de/openocd/trunk@458
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-06 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : tms is never referenced, confusing old code left behind
probably. git-svn-id: svn://svn.berlios.de/openocd/trunk@456
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-06 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Pavel Chromy: faster alloc_printf() git-svn-id: svn://svn.berlios.de/openocd/trunk@454
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-06 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Michael Bruck: - force simulate_reset_on_next_halt when target state is initially
detected - print out method of debug entry - fix VCR activation (didn't work before) git-svn-id: svn://svn.berlios.de/openocd/trunk@452
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-06 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : make debug code w.r.t. incorrect args for bypass stricter. git-svn-id: svn://svn.berlios.de/openocd/trunk@450
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-05 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - This speeds up dcc arm7_9 bulk write a little bit and exercises
the jtag_add_dr_out() codepath - added a check to jtag_add_pathmove() for legal path transitions - tweaked jtag.h docs a little bit - made some jtag bypass tests _DEBUG_JTAG_IO_ git-svn-id: svn://svn.berlios.de/openocd/trunk@448
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-05 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Pavel Chromy: memory leak in at91sam7 flash driver, possible
incorrect pointer conversion in gpnvm command handling,
uninitialized buffer issue in handle_flash_info_command in flash.c,
some formatting. git-svn-id: svn://svn.berlios.de/openocd/trunk@446
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-05 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : telnet_port can now be invoked multiple times git-svn-id: svn://svn.berlios.de/openocd/trunk@444
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-04 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Fixed GDB timeout crash - regression introduced back when
log_add/remove_callback was added. git-svn-id: svn://svn.berlios.de/openocd/trunk@442
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-04 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Michael Bruck: fix warnings. git-svn-id: svn://svn.berlios.de/openocd/trunk@440
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-03 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - added svn prop svn:eol-style native git-svn-id: svn://svn.berlios.de/openocd/trunk@438
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-03 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : added fill_malloc test. Not quite sure what to do here yet, but
it would be good to have something... git-svn-id: svn://svn.berlios.de/openocd/trunk@436
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-03 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : some comments from Dominic git-svn-id: svn://svn.berlios.de/openocd/trunk@434
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-02 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - added svn prop svn:eol-style native git-svn-id: svn://svn.berlios.de/openocd/trunk@432
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-02 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : fixed FSF address. Uwe Hermann. git-svn-id: svn://svn.berlios.de/openocd/trunk@430
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-01 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : wrote up explaining why tests are done on committed code. git-svn-id: svn://svn.berlios.de/openocd/trunk@428
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-01 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - contrib directory added - libdcc added as example for dcc comms with openocd target_request
debugmsgs git-svn-id: svn://svn.berlios.de/openocd/trunk@426
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-01 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : fix memory corruption regression introduced in 335 git-svn-id: svn://svn.berlios.de/openocd/trunk@424
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-01 mifi <mifi@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - added example for testing the JTAG speed with a FT2232 device git-svn-id: svn://svn.berlios.de/openocd/trunk@422
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-01 mifi <mifi@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - updated svn:eol-style prop to native for AT91R40008 (Thanks to
Spen for the hint) git-svn-id: svn://svn.berlios.de/openocd/trunk@420
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-01 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - updated svn:eol-style prop to native git-svn-id: svn://svn.berlios.de/openocd/trunk@418
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-01 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : improve DCC bulk write performance by using jtag_add_shift() +
tweaked embedded ICE communication. git-svn-id: svn://svn.berlios.de/openocd/trunk@416
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-01 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Now uses jtag_add_shift() via embeddedice_write_reg_inner(). git-svn-id: svn://svn.berlios.de/openocd/trunk@414
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-01 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : log_remove_callback git-svn-id: svn://svn.berlios.de/openocd/trunk@412
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-01 mifi <mifi@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - added str912 test example, and test result git-svn-id: svn://svn.berlios.de/openocd/trunk@410
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-01 mifi <mifi@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - added test result for str710, and test description git-svn-id: svn://svn.berlios.de/openocd/trunk@408
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-01 mifi <mifi@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - added STR710 example which I used for Eclipse debug testing git-svn-id: svn://svn.berlios.de/openocd/trunk@406
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-29 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : added an #error in case anybody tries to compile that broken
code. git-svn-id: svn://svn.berlios.de/openocd/trunk@404
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-29 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - fix bug with emulated cortex_m3 dcc channel git-svn-id: svn://svn.berlios.de/openocd/trunk@402
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-29 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Tweaked logging output. TODO is retired(hopelessly out of date). git-svn-id: svn://svn.berlios.de/openocd/trunk@400
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-29 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Pavel Chromy fix: the guess-rev.sh scripts to retrieve SVN
revision returns the result including new line causing PKGBLDREV
macro to not work git-svn-id: svn://svn.berlios.de/openocd/trunk@398
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-29 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Uwe Hermann: Small cosmetic fixes in the license header to make
them all look the same, fix some typos, update README. git-svn-id: svn://svn.berlios.de/openocd/trunk@396
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-29 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Uwe Hermann: mproves the manpage text a bit and adds the missing
-s and -c options. git-svn-id: svn://svn.berlios.de/openocd/trunk@394
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-29 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : formatting fixes from Pavel Chromy git-svn-id: svn://svn.berlios.de/openocd/trunk@392
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-29 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - image.c and fileio.c now uses logging to propagate error strings. More precise, less code. - removed unused code in fileio.c - Windows should now find debug_handler.bin git-svn-id: svn://svn.berlios.de/openocd/trunk@390
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-29 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : do not write single chars to log file. git-svn-id: svn://svn.berlios.de/openocd/trunk@388
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-29 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Summary: passing of variable argument list reduced, strings sent
to logging are now formatted just once - more efficient. As a
result, ugly string malloc+strcpy are not needed anymore. git-svn-id: svn://svn.berlios.de/openocd/trunk@386
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-29 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Michael Bruck: - fix indentation of multi-level commands - make help command work with multi-level commands git-svn-id: svn://svn.berlios.de/openocd/trunk@384
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-28 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : fixed newline gaffe in OUTPUT() git-svn-id: svn://svn.berlios.de/openocd/trunk@382
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-28 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Pavel Chromy spotted a leak git-svn-id: svn://svn.berlios.de/openocd/trunk@380
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-28 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : numerous fixes from Uwe Hermann git-svn-id: svn://svn.berlios.de/openocd/trunk@378
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-28 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Pavel Chromy - cleanup error messages git-svn-id: svn://svn.berlios.de/openocd/trunk@376
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-28 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Pavel Chromy cleaned up checks for halted, error messages, etc. git-svn-id: svn://svn.berlios.de/openocd/trunk@374
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-28 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : fix from Pavel Chromy this patch fixes an issue in jtag_init - shall not reset jtag to
NULL. This causes jtag interface (USB device) not to be closed
properly if jtag chain validation fails. Once the underlaying jtag interface is initialized, jtag pointer
shall be left untouched, even in case of an error, so that proper
cleanup can be done, see exit_handler in openocd.c git-svn-id: svn://svn.berlios.de/openocd/trunk@372
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-28 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : code to be used in upcoming minidriver work. git-svn-id: svn://svn.berlios.de/openocd/trunk@370
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-28 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : fix copyright. git-svn-id: svn://svn.berlios.de/openocd/trunk@368
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-28 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : lingering change for eCos flash driver git-svn-id: svn://svn.berlios.de/openocd/trunk@366
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-28 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - Added TARGET_REQ_DEBUGCHAR target_request debugmsg. This provides a better impeadance match for debug output char fn's,
e.g. eCos. - Line endings are now added at the caller site of command_print*().
command_print() still adds a line ending - echo of commands in scripts are now available via debug_level
instead of forced echo - Added a USER_SAMELINE() for printing without a lineend. git-svn-id: svn://svn.berlios.de/openocd/trunk@364
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-28 drath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - fix line-endings git-svn-id: svn://svn.berlios.de/openocd/trunk@362
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-28 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Uwe Hermann fixed some warnings. git-svn-id: svn://svn.berlios.de/openocd/trunk@360
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-27 drath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - fix typo in ep93xx jtag driver to allow OpenOCD compilation on ARM
(thanks to Uwe Hermann for the patch) git-svn-id: svn://svn.berlios.de/openocd/trunk@358
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-27 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Nicolas Pitre listed some more devices. git-svn-id: svn://svn.berlios.de/openocd/trunk@356
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-26 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - code reformat (Thanks Pavel Chromy) git-svn-id: svn://svn.berlios.de/openocd/trunk@354
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-26 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : oopss.. another jtag minidriver reset gaffe. git-svn-id: svn://svn.berlios.de/openocd/trunk@352
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-26 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Next step in the JTAG minidriver. This should be fairly close to
the final thing, but I'm not calling it "done" quite yet. git-svn-id: svn://svn.berlios.de/openocd/trunk@350
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-25 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - remove build warnings git-svn-id: svn://svn.berlios.de/openocd/trunk@348
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-25 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Pavel Chromy - multiple log listeners - added OUTPUT() to replace printf - fix formatting git-svn-id: svn://svn.berlios.de/openocd/trunk@346
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-25 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Pavel Chromy style fixes. git-svn-id: svn://svn.berlios.de/openocd/trunk@344
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-25 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - Fix target library path problem w/Windows git-svn-id: svn://svn.berlios.de/openocd/trunk@342
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-25 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : committed bugfix from Michael Bruck git-svn-id: svn://svn.berlios.de/openocd/trunk@340
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-25 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - using ERROR_COMMAND_SYNTAX_ERROR to print syntax in a couple of
places - some more flash cleanup of checking halted state - moved output handler into options.c - very slightly tweaked server.c to make it a bit more compatible
with eCos - retired arch_state. Not quite sure how I managed to leave that out
last time. git-svn-id: svn://svn.berlios.de/openocd/trunk@338
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-25 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Michael Bruck spotted an omission in svn 322 git-svn-id: svn://svn.berlios.de/openocd/trunk@336
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-24 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : move options handling to separate file to better support
embedded implementations of OpenOCD git-svn-id: svn://svn.berlios.de/openocd/trunk@334
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-24 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - fixed target->type->poll() return value - added arch_state to show status of currently selected target - simplified target->type->arch_state() api. - clean up telnet output a bit - fixed GDB output for arch_state - removed a couple of unecessary exit()'s - cleaned up error propagation a bit in a few places git-svn-id: svn://svn.berlios.de/openocd/trunk@332
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-24 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : debug_level 3 now prints seconds since start of openocd git-svn-id: svn://svn.berlios.de/openocd/trunk@330
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-24 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : sharpend JTAG docs w.r.t. hw fifo implementations and retired
jtag_cancel_queue() which is inheritely incompatible with a hw fifo
concept. git-svn-id: svn://svn.berlios.de/openocd/trunk@328
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-24 oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : cosmetic fixes to debug output + phasing out printf() in favour
of logging system. From Pavel Chromy <chromy@asix.cz> git-svn-id: svn://svn.berlios.de/openocd/trunk@326
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-23 drath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - fix for feroceon CP15 register access (thanks to Niolas Pitre for
this patch) git-svn-id: svn://svn.berlios.de/openocd/trunk@324
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-23 mifi <mifi@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - added a test document as a starting point - corrected URL information for the repro git-svn-id: svn://svn.berlios.de/openocd/trunk@322
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-22 mifi <mifi@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - added patch to remove count and time information from log_printf
in case of debug_level is not set to LOG_DEBUG git-svn-id: svn://svn.berlios.de/openocd/trunk@320
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-22 vpalatin <vpalatin@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - fix read/write size for small unaligned accesses (thanks Michael
Bruck) git-svn-id: svn://svn.berlios.de/openocd/trunk@318
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-22 mifi <mifi@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - added patch to make single-stepping more resilient (thanks to
Nicolas Pitre for the patch) git-svn-id: svn://svn.berlios.de/openocd/trunk@316
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-20 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - fix bug when using full paths to config files. Thanks Ted Roth git-svn-id: svn://svn.berlios.de/openocd/trunk@314
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-19 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - add search paths via new arg -s (-search). Thanks Ted Roth - updated docs for new command git-svn-id: svn://svn.berlios.de/openocd/trunk@312
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-19 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - Fixed bug in pathmove for XScale - added virtual address to working_area. - Improved error messages in a number of places - Added ERROR_COMMAND_SYNTAX_ERROR that commands can return to have
syntax printed - Added help for some config commands - Added verification of sw breakpoints with ERROR() message - Removed a couple of exit()'s and replaced with error message - cosmetic fix to armv4_5.c, easier to read - added polymorphic(with default) virt2phys and mmu enable query
function to target.h - added virt2phys command that uses target->type->virt2phys() fn
Thanks to Øyvind Harboe git-svn-id: svn://svn.berlios.de/openocd/trunk@310
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-18 drath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - Fix problems with stuck telnet sessions. Thanks to Øyvind Harboe
for this patch. git-svn-id: svn://svn.berlios.de/openocd/trunk@308
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-18 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - arg list now correctly released on error. Thanks Øyvind Harboe git-svn-id: svn://svn.berlios.de/openocd/trunk@306
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-18 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - removed a raft of unecessary exit() calls. Issuing a reset will
solve these ails. - now uses jtag_state_pathmove() instead of making assumptions about
implementation of jtag_statemove(). - fixed a couple of bugs in timeout handling - removed megabytes of log output when communication is failing. - sleep is now 300ms as documented instead of 3000ms - fixed error path of bulk write - debug_handler can now be issued during normal operation + has help
text. Thanks Øyvind Harboe git-svn-id: svn://svn.berlios.de/openocd/trunk@304
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-18 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - Added a "User:" debug level. These are messages that are intended
for the user and are part of normal operation. - Faster DEBUG/INFO() when they are disabled - target_read/write_buffer() now uses 16 and 32 bit access for
single word aligned requests. Other requests are serviced as quickly
as possible. - *much* faster read/write GDB packets, removing timeout problems. - GDB read/write packets w/single word aligned 32/16 bit access now
use 32/16 bit word access. - working area can now be changed on the fly. Provides a way to move
working area about as MMU is enabled/disabled. - cleaned up error messages for verify_image. Thanks Øyvind Harboe git-svn-id: svn://svn.berlios.de/openocd/trunk@302
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-16 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - solve lots of problems with stuck GDB connections, making it
impossible to connect to GDB, handle timeout of acknowledgement,
etc. - "monitor halt/resume" now works correctly - "monitor sleep 10000" no longer makes the GDB protocol lock up.
There is an error message and the protocol recovers nicely
afterwards. - it's now possible to connect to a target which needs a reset
before halt works. - handle failed memory access more gracefully. Connection is now
closed instead of OpenOCD quitting. - *much* improved handling of 2 second timeout on memory read
packets. Especially important w/mouseover evaluation of variables
in Eclipse. - fixed memory leak upon failed memory packet reply. - 'O' packets w/progress info is no longer sent out randomly. - faster packet reply code. - Thanks to Øyvind Harboe for this patch git-svn-id: svn://svn.berlios.de/openocd/trunk@300
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-16 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - fix issue with telnet prompt while gdb running git-svn-id: svn://svn.berlios.de/openocd/trunk@298
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-14 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - fix programming issue with lpc2101/2 git-svn-id: svn://svn.berlios.de/openocd/trunk@296
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-14 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - added check for revA silicon in stm32 flash driver git-svn-id: svn://svn.berlios.de/openocd/trunk@294
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-12 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - add autoprobe support to flash info command - auto_erase can now be called from script/config file git-svn-id: svn://svn.berlios.de/openocd/trunk@292
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-11 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - telnet prompt behaves correctly for new synchronous
halt/resume/reset commands - removed unused variables in tms470.c git-svn-id: svn://svn.berlios.de/openocd/trunk@290
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-10 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - stm32 flash driver now checks for correct target git-svn-id: svn://svn.berlios.de/openocd/trunk@288
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-10 mifi <mifi@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - added patch to change pathmove handling
https://lists.berlios.de/pipermail/openocd-development/2008-January/000678.html(thanks to Øyvind for the patch) git-svn-id: svn://svn.berlios.de/openocd/trunk@286
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-07 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - added synchronous reset patch, Thanks Øyvind Harboe - added target_init_reset which calls target_process_reset after all
drivers have been initialised git-svn-id: svn://svn.berlios.de/openocd/trunk@284
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-06 mifi <mifi@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - added patch to solve problem with AT91SAM9260 (dirty register)
(thanks to Øyvind Harboe for the patch) git-svn-id: svn://svn.berlios.de/openocd/trunk@282
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-04 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Added patch to stop SEGFAULT with missing jtag config lines.
Thanks Øyvind Harboe
https://lists.berlios.de/pipermail/openocd-development/2008-January/000731.htmlgit-svn-id: svn://svn.berlios.de/openocd/trunk@280
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-01-27 mifi <mifi@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - added autoprobe functionality - corrected blocksize handling from GDB "info mem" command (thanks
to Øyvind and Spen for these patches) git-svn-id: svn://svn.berlios.de/openocd/trunk@278
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-01-24 mifi <mifi@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - added patch to check some malloc problems. (thanks to Øyvind
Harboe for the patch) git-svn-id: svn://svn.berlios.de/openocd/trunk@276
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-01-23 mifi <mifi@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - added patch to fix crash in load_image on corrupt elf file or out
of memory. (thanks to Øyvind Harboe for the patch) git-svn-id: svn://svn.berlios.de/openocd/trunk@274
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-01-21 bodylove <bodylove@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - Added example config and startup-script for a XScale IXP42x system git-svn-id: svn://svn.berlios.de/openocd/trunk@272
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-01-21 bodylove <bodylove@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - Synced code with branch git-svn-id: svn://svn.berlios.de/openocd/trunk@270
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-01-21 bodylove <bodylove@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - Eleminated leading tabs/white space git-svn-id: svn://svn.berlios.de/openocd/trunk@267
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-01-21 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - updated docs for cfi command, added missing ft2232_layout names git-svn-id: svn://svn.berlios.de/openocd/trunk@261
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-01-17 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - add support for cortex_m3 target_request debugmsgs - target request handler disabled by default until a target has been
registered git-svn-id: svn://svn.berlios.de/openocd/trunk@259
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-01-17 drath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - fixed 'make distcheck' (thanks to Theodore A. Roth for this patch git-svn-id: svn://svn.berlios.de/openocd/trunk@257
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-01-14 drath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - use correct SCAN_N check value (disabled by default) - add Øyvind Harboe to list of AUTHORS (thanks a lot to Øyvind for
his hard work) git-svn-id: svn://svn.berlios.de/openocd/trunk@255
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-01-10 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - fix gdb packet retransmission omission git-svn-id: svn://svn.berlios.de/openocd/trunk@253
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-01-10 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - added faster gdb packet handling (thanks to oyvind harboe for the
patch) - code reformat git-svn-id: svn://svn.berlios.de/openocd/trunk@251
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-01-09 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - rename flash_init and flash_erase to flash_init_drivers and
flash_erase_address_range - stops conflicts with redboot. Thanks
Øyvind Harboe - gdb connection not dropped if we fail to allocate memory in query
packets git-svn-id: svn://svn.berlios.de/openocd/trunk@249
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2007-12-29 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - add support for extended gdb packet R (restart), requires gdb to
be started with target extended-remote git-svn-id: svn://svn.berlios.de/openocd/trunk@247
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2007-12-21 mifi <mifi@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - corrected working_area of LPC2129 script - added LPC2148 script - corrected size of the working_area of the LPC2294 script git-svn-id: svn://svn.berlios.de/openocd/trunk@245
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2007-12-20 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - removed flash write_image - binary compare function has been moved
to verify_image command - minor code reformat and cleanup - updated docs to include new commands git-svn-id: svn://svn.berlios.de/openocd/trunk@243
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2007-12-18 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - added patch by Øyvind Harboe to Intel Hex Start Segment Address
Record (Type 3) - added support to parse Motorola Record Count (S5) git-svn-id: svn://svn.berlios.de/openocd/trunk@241
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2007-12-17 mifi <mifi@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - only some cosmetic changes, convert \r\n to unix git-svn-id: svn://svn.berlios.de/openocd/trunk@239
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2007-12-17 mifi <mifi@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - added patch to corrected argument of image_open in
handle_flash_write_image_command (thanks to oyvind Harboe for the
patch) git-svn-id: svn://svn.berlios.de/openocd/trunk@237
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2007-12-16 mifi <mifi@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - removed some compiler warnings - added patch to fix problem in cfi_intel_write_block. In case of cfi_info->write_algorithm is not NULL, target_code_size was not
set. (thanks to oyvind Harboe for the patch) git-svn-id: svn://svn.berlios.de/openocd/trunk@235
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2007-12-16 mifi <mifi@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - initialize num_sectors and sectors in handle_flash_bank_command.
(thanks to oyvind Harboe for this hint) git-svn-id: svn://svn.berlios.de/openocd/trunk@233
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2007-12-14 mifi <mifi@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - added the patch CFI-BE-Fixes-Blockwrite-Support.diff (thanks to
Carsten Schlote for the patch) git-svn-id: svn://svn.berlios.de/openocd/trunk@231
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2007-12-14 mifi <mifi@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Sorry, I have forgotten to add a description for the last
version, where I have added the clear_malloc and fill_malloc
functionality. But the default is the original malloc. git-svn-id: svn://svn.berlios.de/openocd/trunk@229
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2007-12-14 mifi <mifi@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - added patch from Dominic to unlock the ATMEL flash in
cfi_read_atmel_pri_ext - set cfi_info->write_algorithm and cfi_info->erase_check_algorithm
to NULL to get "flash erase_check" command working git-svn-id: svn://svn.berlios.de/openocd/trunk@227
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2007-12-10 bodylove <bodylove@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - Stripped trailing spaces (patch preparation) git-svn-id: svn://svn.berlios.de/openocd/trunk@225
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2007-12-10 bodylove <bodylove@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - Added PKGLIBDIR define to C options. Allows to store native code fragments at a central place git-svn-id: svn://svn.berlios.de/openocd/trunk@223
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2007-12-10 bodylove <bodylove@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Changed openocd version info creation to be more useful. - Now displays subversion revision and svn URL git-svn-id: svn://svn.berlios.de/openocd/trunk@220
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2007-12-05 bodylove <bodylove@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Merged rev 215 changes from /branches/xscale-ixp-be into trunk: - Obvious fixes to big endian type conversion macros - Fixed obvious typos for byte masks git-svn-id: svn://svn.berlios.de/openocd/trunk@217
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2007-11-23 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - added support for Hitex STM32 Performance Stick - added str9 and stm32 scripts to docs git-svn-id: svn://svn.berlios.de/openocd/trunk@213
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2007-10-26 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - corrected str91x bank1 programming issues - str91x protect_check fixed - bank number now correctly given to str91x flash_config command git-svn-id: svn://svn.berlios.de/openocd/trunk@211
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2007-10-08 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - cleaned up str7, str9 and stm32 flash drivers - str7 flash driver now checks correct busy bits depending on device - str9 flash driver now disables ITCM order as per st programming
manual - added str7 disable_jtag command - added gdb_detach command - updated arm966e cp15 support - fix crash on mingw build when enabling target_request debugmsgs git-svn-id: svn://svn.berlios.de/openocd/trunk@209
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2007-09-10 mlu <mlu@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - Fixed display of sector sizes in flash.c - Clean up, remove unused variables and code in armv7, cortex_m3 and
stellaris code - Move restore_context from cortex_m3 to armv7m - Updated halt handling for cortex_m3 git-svn-id: svn://svn.berlios.de/openocd/trunk@206
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2007-09-05 drath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : Patch by Michael Schwingen that - adds support for the Altium universal JTAG cable - adds support for "wiggler2" cable (basically a wiggler with added
LED, documentation coming soon) - adds LED support. The LED is turned on during data transfer -
works fine on Altium and wiggler2. - adds PORT_EXIT pattern that is written to port when exiting, in
order to turn off power on cables that get their power from parallel
port data lines - move port writes (with the system-specific ifdefs) to one central
function - increased image cache size to 2KB (might require more adaptive
cache handling, e.g. LRU) git-svn-id: svn://svn.berlios.de/openocd/trunk@204
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2007-08-21 drath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - correctly initialize start address for XScale trace buffer decodes
in fill-once mode git-svn-id: svn://svn.berlios.de/openocd/trunk@202
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2007-08-20 mlu <mlu@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - Support for AT91SAM7xx512 chips git-svn-id: svn://svn.berlios.de/openocd/trunk@200
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2007-08-17 drath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - renamed "xscale dump_trace_buffer" to "xscale dump_trace" and
added code for it git-svn-id: svn://svn.berlios.de/openocd/trunk@198
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2007-08-16 drath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - fixed several bugs in flash writing code (thanks to Pavel Chromy) git-svn-id: svn://svn.berlios.de/openocd/trunk@196
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2007-08-14 drath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - reworked presto.c to allow use of either FTD2XX or libftdi
(libftdi not functional yet). Configure option changed from
--enable-presto to --enable-presto_ftd2xx and
--enable-presto_libftdi - completed trace point support for use with ARM7/9 DCC - completed debug message output with support for HEX dumps (1, 2 or
4 byte quantities) - fixed bug in delete_debug_msg_receiver (thanks to Pavel Chromy) - fixed bug in image_add_section (thanks to Pavel Chromy) - at91sam7 sector erase reworked (thanks to Pavel Chromy) - merge consecutive sections during flash image write to work around
possible section alignment issues with LPC2000 targets git-svn-id: svn://svn.berlios.de/openocd/trunk@194
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2007-08-10 drath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - bumped version information git-svn-id: svn://svn.berlios.de/openocd/trunk@192
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2007-08-10 drath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - renamed M5960 USB JTAG to "flyswatter" - make ep93xx and at91rm9200 bitbang JTAG interfaces dependant on
ARM host (thanks to Vincent Palatin) - various whitespace fixes - removed various warnings - add support for Debian GNU/kFreeBSD (thanks to Uwe Hermann) - fix OpenOCD compilation for various platforms (thanks to Uwe
Hermann and Vincent Palatin) - switched order of JTAG chain examination and validation (examine
first, then multiple validation tries even if examination failed) - added target_request subsystem to handle requests from the target
(debug messages and tracepoints implemented, future enhancements
might include semihosting, all ARM7/9 only for now) - added support for GDB vFlashXXX packets (thanks to Pavel Chromy) - added support for receiving data via ARM7/9 DCC - reworked flash writing. the 'flash write' command is now
deprecated and replaced by 'flash write_binary' (old syntax and
behaviour) and 'flash write_image' (write image files (bin, hex,
elf, s19) to a target). - added support for AMD/ST/SST 29F400B non-cfi flashes git-svn-id: svn://svn.berlios.de/openocd/trunk@190
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2007-07-31 drath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - cleaned up cycle counting in ETM analysis - fixed broken OpenOCD version string git-svn-id: svn://svn.berlios.de/openocd/trunk@188
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2007-07-31 drath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - calculate cycles since last executed instruction when
cycle-accurate tracing is enabled - increase memory pseudo-image cache size to 1024 byte for improved
trace analysis performance - added OpenOCD+trace as an ETM capture driver example
implementation - new usbprog driver (thanks to Benedikt Sauter) git-svn-id: svn://svn.berlios.de/openocd/trunk@186
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2007-07-26 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - corrected stm32x_handle_options_write_command, incorrect options
printed - added prepare_reset_halt handler for cortex_m3 git-svn-id: svn://svn.berlios.de/openocd/trunk@184
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2007-07-26 drath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - documentation fixes (thanks to Uwe Hermann) - bootstrapping changes to accomodate packaging (thanks to Uwe
Hermann) git-svn-id: svn://svn.berlios.de/openocd/trunk@182
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2007-07-15 drath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - added support for Asix Presto JTAG interface (thanks to Pavel
Chromy and Asix for making this addition possible) - added support for usbprog (thanks to Benedikt Sauter) - make OpenOCD listen for WM_QUIT messages on windows (thanks to
Pavel Chromy) - register at_exit handler to do necessary unregistering (thanks to
Pavel Chromy) - added dummy ETM capture driver to allow ETM to be registered
without a capture driver git-svn-id: svn://svn.berlios.de/openocd/trunk@180
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2007-06-24 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - ST STM32x cortex support added - ST STM32x flash support added - cleaned up armv7m and cortex-m3 support, removed luminary specific
code - cortex-m3 16bit read/write added (required for STM32x flash
programming) git-svn-id: svn://svn.berlios.de/openocd/trunk@177
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2007-06-16 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - str9xpec driver was using stricmp, changed to strcmp for posix
compatibility git-svn-id: svn://svn.berlios.de/openocd/trunk@175
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2007-06-15 drath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - added support for pseudo image type "mem", currently only used for
etm analysis: "etm image <target#> <dummy base address> mem" git-svn-id: svn://svn.berlios.de/openocd/trunk@173
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2007-06-14 drath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - added stellaris.[ch] missing from Cortex-M3 merge git-svn-id: svn://svn.berlios.de/openocd/trunk@171
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2007-06-14 drath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - added manpage for OpenOCD (thanks to Uwe Hermann) - fixed bug in ARM926EJ-S cache handling that caused cache linefills
to be disabled after first debug entry - added support for auto image type detection (thanks to Vincent
Palatin) - further work on ETM trace decoding (tested with a ETB interface
using an ETM in normal 16-bit port mode, still experimental) git-svn-id: svn://svn.berlios.de/openocd/trunk@169
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2007-05-30 drath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - reworked image handling to support multiple sections (tested with
ihex file containing gaps) This checkin is still experimental, not
recommended for general use git-svn-id: svn://svn.berlios.de/openocd/trunk@159
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2007-05-29 drath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - add missing image handling files git-svn-id: svn://svn.berlios.de/openocd/trunk@156
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2007-05-10 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : -- corrected embedded ice definitions -- changed arm966e to use
standard arm9_7 reset handling git-svn-id: svn://svn.berlios.de/openocd/trunk@146
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2007-04-28 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - added support for Hitex comstick. git-svn-id: svn://svn.berlios.de/openocd/trunk@144
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2007-04-25 drath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - added support for error handlers to JTAG scan commands
(jtag_[plain_][ir|dr]_scan) - catch apparently broken JTAG IR scan after ARM926EJ-S CP15
operations - added "arm7_9 dump_etb" command git-svn-id: svn://svn.berlios.de/openocd/trunk@142
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2007-04-16 drath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - allow multiple USB vendor and product ids when searching for
connected FT2232 based JTAG interfaces (thanks to Werner Almesberger
for this patch) git-svn-id: svn://svn.berlios.de/openocd/trunk@140
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2007-04-11 drath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - disabled excessive debug output in jtag.h - output all of EmbeddedICE version register in error message - update OpenOCD's idea of the current core mode, and immediately
change core mode, on CPSR changes - added support for CFI cmdset 0002 (patch by Andrew Dyer, thanks a
lot) - enhanced CFI cmdset 0002 support to Atmel AT49 flashes (thanks to
Joerg Krein for providing test hardware) git-svn-id: svn://svn.berlios.de/openocd/trunk@138
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2007-03-29 drath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - added "arm9tdmi vector_catch ['all'|'none'|'vec1 [vec2 [...]]']"
command - added missing arm926ej-s cp15 patch (thanks Vincent Palatin) git-svn-id: svn://svn.berlios.de/openocd/trunk@136
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2007-03-26 drath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - fixed arm926 cp15 command bug (thanks to Vincent Palatin for this
patch) - fixed compiler warnings throughout the code (thanks to Vincent
Palatin for this patch) - added support for accessing ETB (embedded trace buffer) registers git-svn-id: svn://svn.berlios.de/openocd/trunk@134
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2007-03-15 drath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - reworked file i/o. every fileaccess (target, flash, nand, in
future configuration, too) should now go through the fileio
subsystem - added support for reading IHEX files (through fileio) - load/dump_binary renamed to the more generic load/dump_image
<file> <address> ['bin'|'ihex'] - added NAND framework (preliminary) - added support for the LPC3180 SLC and MLC NAND controllers
(preliminary) - fix initialization for parport - gw16012 fixes/cleanups - added EmbeddedICE version 7 (preliminary, reported on two LPC23xx
devices so far) - added 'arm7_9 etm <target#>' configuration command to enable
access to the ETM registers git-svn-id: svn://svn.berlios.de/openocd/trunk@132
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2007-02-03 drath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - add missing parentheses around macro parameters (thanks to
Matthias Bauch for noticing this bug and providing a fix) git-svn-id: svn://svn.berlios.de/openocd/trunk@130
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2007-01-26 drath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - disabled use of single-step bit for EmbeddedICE version 6 cores git-svn-id: svn://svn.berlios.de/openocd/trunk@128
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2007-01-25 drath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - Added support for ARM926EJ-S based cores - Added contributors to AUTHORS file - Added link to Joern Kaipf's OOCD-Link git-svn-id: svn://svn.berlios.de/openocd/trunk@126
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2007-01-18 ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - added support for ST flashlink cable git-svn-id: svn://svn.berlios.de/openocd/trunk@123
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2006-11-22 drath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - checked in missing configure.in changes for GW16012 support git-svn-id: svn://svn.berlios.de/openocd/trunk@117
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2006-11-07 drath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - added support for the oocd-link
(http://www.joernonline.de/dw/doku.php?id=en:projects:oocdlink) - fixed breakpoint handling (this changes the target_t interface) git-svn-id: svn://svn.berlios.de/openocd/trunk@113
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2006-10-23 drath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - several small fixes (thanks to Magnus Lundin and Spencer Oliver) - added support for using Luminary Micro development board
'evb_lm3s811' as a JTAG interface (thanks to Magnus Lundin) git-svn-id: svn://svn.berlios.de/openocd/trunk@106
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2006-10-12 drath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - allow FT2232 devices to be opened by serial number instead of
device description ('ft2232_serial <serial>' command) - redirect output from target event scripts (currently only reset)
to the daemon output (INFO:) - some minor fixes and enhancements git-svn-id: svn://svn.berlios.de/openocd/trunk@103
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2006-10-03 drath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - fixed regression in gdb_server.c (Thanks to Michael Fischer for
finding these bugs) git-svn-id: svn://svn.berlios.de/openocd/trunk@101
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2006-09-12 drath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - allow writes to second flash bank on STR71x devices (cleaned up
sector list building) - cleaned up str7x flash erase and protect code (use two accesses to
erase sectors in both banks) git-svn-id: svn://svn.berlios.de/openocd/trunk@98
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2006-09-07 drath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - free working area used to store flash write buffer git-svn-id: svn://svn.berlios.de/openocd/trunk@96
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2006-09-04 drath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - added debug output for D/I FSR and FAR (arm920t) - fixed bug that caused CPSR to be corrupted in Thumb mode git-svn-id: svn://svn.berlios.de/openocd/trunk@93
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2006-08-31 drath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - added missing AT91RM9200 files - bumped OpenOCD version date git-svn-id: svn://svn.berlios.de/openocd/trunk@91
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2006-08-20 drath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - made bp command more verbose - fixed bug that could result in register corruption on arm920t
targets git-svn-id: svn://svn.berlios.de/openocd/trunk@89
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2006-08-17 drath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - renamed jtag_interface_t.support_statemove to
jtag_interface_t.support_pathmove (it is used to indicate
jtag_add_pathmove support) - fixed small bug in str7x.c that printed an address instead of the
target number in an error message - added support for Olimex ARM-USB-OCD. The new ft2232 layout is
called "olimex-jtag" git-svn-id: svn://svn.berlios.de/openocd/trunk@87
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2006-08-14 drath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - updated configuration examples, installation instructions and
README (including list of supported JTAG interfaces) git-svn-id: svn://svn.berlios.de/openocd/trunk@85
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2006-08-11 drath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - added support for FreeBSD ppi (parallel port access similar to
/dev/parport on linux) (thanks to Darius for this patch) - unified 'ftd2xx' and 'ftdi2232' into a single interface 'ft2232'.
The library used to access the hardware is choosen during configure
with --enable-ft2232_ftd2xx or --enable-ft2232-libftdi. git-svn-id: svn://svn.berlios.de/openocd/trunk@83
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2006-08-06 drath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - fixed a minor problem with the GDB server that could drop the
first packet (non-fatal) - fixed some small memory leaks (thanks to Spencer Oliver) - verify chip- and buswidth of cfi flash configurations - added support for ARM966E based systems (tested only with ST micro
STR9, thanks to Spencer Oliver) git-svn-id: svn://svn.berlios.de/openocd/trunk@81
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2006-07-30 drath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - added configurable delays after reset lines get deasserted. useful
if reset circuitry keeps lines asserted for too long. - additional debug output when opening the parallel port - fixed counting of available arm7/9 watchpoint units - 'flash write' now displays elapsed time git-svn-id: svn://svn.berlios.de/openocd/trunk@79
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2006-06-25 drath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - fixed bug in Thumb sw breakpoint handling (thanks to Spen for this
patch) - fixed handling of services linked list (thanks to Spen for this
patch) git-svn-id: svn://svn.berlios.de/openocd/trunk@76
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2006-06-25 drath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - added "version" command (patch from John Hartman, thanks) - fixed bug in telnet history handling (patch from John Hartman,
thanks) - OpenOCD version has been changed from SVN revision number to
date/time git-svn-id: svn://svn.berlios.de/openocd/trunk@74
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2006-06-16 drath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - keep additional information for decoded instructions git-svn-id: svn://svn.berlios.de/openocd/trunk@69
b42882b7-edfa-0310-969c-e2dbd0fdcd60
2006-06-05 drath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
* : - fixed some spelling errors (thanks to Andrew Dyer) git-svn-id: svn://svn.berlios.de/openocd/trunk@67
b42882b7-edfa-0310-969c-e2dbd0fdcd60
|