]> git.sur5r.net Git - openocd/blob - src/non-arm-targets.txt
working notes.
[openocd] / src / non-arm-targets.txt
1 Some outstanding issues w.r.t. non-ARM32 targets\r
2 ================================================\r
3 This file describes outstanding issues w.r.t.\r
4 non-ARM32 targets.\r
5 \r
6 Ideas & patches welcome!\r
7 \r
8 \r
9 \r
10 \r
11 Flash drivers\r
12 -------------\r
13 The flash drivers contain ARM32 code that is used\r
14 to execute code on the target.\r
15 \r
16 This needs to be handled in some CPU independent\r
17 manner.\r
18 \r
19 The ocl and ecos flash drivers compile the flash\r
20 driver code to run on the target on the developer\r
21 machine.\r
22 \r
23 The ocl and ecos flash drivers should be unified\r
24 and instructions should be written on how to\r
25 compile the target flash drivers. Perhaps\r
26 using automake?\r
27 \r
28 \r
29 \r
30 eCos has CFI driver that could probably be compiled\r
31 for all targets. The trick is to figure out a\r
32 way to make the compiled flash drivers work\r
33 on all target memory maps + sort out all the\r
34 little details\r
35 \r
36 32 vs. 64 bit\r
37 -------------\r
38 Currently OpenOCD only supports 32 bit targets.\r
39 \r
40 Adding 64 bit support would be nice but there\r
41 hasn't been any call for it in the openocd development\r
42 mailing list\r
43 \r
44 target support\r
45 --------------\r
46 target.h is relatively CPU agnostic and\r
47 the intention is to move in the direction of less \r
48 instruction set specific.\r
49 \r
50 Non-CPU targets are also supported, but there isn't\r
51 a lot of activity on it in the mailing list currently.\r
52 An example is FPGA programming support via JTAG,\r
53 but also flash chips can be programmed directly\r
54 using JTAG.\r
55 \r
56 non-JTAG physical layer\r
57 -----------------------\r
58 JTAG is not the only physical protocol used to talk to\r
59 CPUs.\r
60 \r
61 OpenOCD does not today have targets that use non-JTAG.\r
62 \r
63 The actual physical layer is a relatively modest part\r
64 of the total OpenOCD system.\r
65 \r
66  \r
67 PowerPC\r
68 -------\r
69 there exists open source implementations of powerpc\r
70 target manipulation, but there hasn't been a lot\r
71 of activity in the mailing list.\r
72 \r
73 MIPS\r
74 ----\r
75 Currently OpenOCD has a MIPS target defined. This is the\r
76 first non-ARM example of a CPU target