- 15 Dec, 2009 8 commits
-
-
mkdorg@users.sourceforge.net authored
-
Øyvind Harboe authored
Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com>
-
Øyvind Harboe authored
COMMAND_REGISTER() was only used transiently during code conversion. Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com>
-
Øyvind Harboe authored
reset init/run now works again. Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com>
-
David Brownell authored
Teach ARM11 how to use: - the new "reset-assert" event - vector catch to implement "reset halt" - use SRST more like other cores do - ... including leaving post-SRST delays up to config scripts This gives OMAP2420 the ability to reset, and doesn't seem to cause new iMX31 problems. Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net>
-
David Brownell authored
There is no "STMMIDA" instruction. There is however "STMDAMI". Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net>
-
David Brownell authored
Use the new file, and remove the old target/lm3s3748.cfg one. Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net>
-
Yegor Yefremov authored
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>
-
- 14 Dec, 2009 2 commits
-
-
Eric Wetzel authored
I added the remaining devices and device IDs to stellaris.c, and removed several devices that don't exist on the Stellaris web page. Additionally, I found a few devices with duplicate IDs ... the DID1 Version Number for LM3Sxxx parts have DID1 Version = 0x0, and for LM3Sxxxx have DID1 Version = 0x1. So I extended the comparison to use the VER and FAM fields from DID1 also. ID=0x33: LM3S812 (DID1v0) and LM3S2616 (DID1v1) ID=0x39: LM3S808 (DID1v0) and LM3S2276 (DID1v1) These are the parts I removed from the file for lack of documentation (no data sheet to confirm part ID): LM3S318, LM3S1101, LM3S1108, LM3S1615, LM3S1616, LM3S2016, LM3S2101, LM3S2108, LM3S3759, LM3S3768, LM3S5757, LM3S5767, LM3S5768, LM3S5769, LM3S6815, LM3S6816, LM3S6915, LM3S6916, LM3S6111, LM3S6118. Also, sort devices according to part number. Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net>
-
David Brownell authored
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>
-
- 13 Dec, 2009 2 commits
-
-
David Brownell authored
Make these ".h" files adopt the same policy the ".c" files already follow: don't use <subsystem/...h> syntax for private interfaces. If we ever get reviewed/supported "public" interfaces they should come exclusively from some include/... directory; that'll be the time to switch to <...> syntax for any subsystem's own interfaces. Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net>
-
David Brownell authored
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>
-
- 12 Dec, 2009 4 commits
-
-
David Brownell authored
This driver didn't get updated when the name changed. Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net>
-
David Brownell authored
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>
-
Zachary T Welch authored
I forgot to add a call to the newly factored nand_device_add(), along with its forward declaration.
-
Zachary T Welch authored
The 'flash write_image' command erroneously listed the bank number, when it actually uses target addresses to do that lookup for the user.
-
- 11 Dec, 2009 10 commits
-
-
David Brownell authored
Abstract the DPM breakpoint and watchpoint data structures to have a shared core for housekeeping. Abstract the code updating the watchpoint registers so that it can be used to update breakpoint registers. Then do so, when something has set up the breakpoint state used by this code. Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net>
-
David Brownell authored
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>
-
David Brownell authored
ITR register handling seemed to be giving me problems, so I updated the comments to better say what the code is trying to do ... and to note the preconditions (one of which seems to be an issue) as listed in the ARM1136 TRM. Also removed the unused "ARM11_TAP_DEFAULT" from the ITR scan code; all the callers already specify an exit path, since this register isn't usable with such vague semantics. Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net>
-
Spencer Oliver authored
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>
-
Spencer Oliver authored
Signed-off-by:
Spencer Oliver <ntfreak@users.sourceforge.net>
-
Øyvind Harboe authored
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>
-
Øyvind Harboe authored
it is only used inside gdb_server.c Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com>
-
Øyvind Harboe authored
use two shift operations instead of three to set embedded ice register. Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com>
-
Øyvind Harboe authored
avoid fn call for the if check on whether anything needs to be done. Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com>
-
David Brownell authored
Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net>
-
- 10 Dec, 2009 3 commits
-
-
Øyvind Harboe authored
remove kludge code. Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com>
-
David Brownell authored
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>
-
David Brownell authored
Bugfix the read side of flash protection: - read the right register(s)! - handle more than 64K - record the results in the right places - don't display garbage. Partially bugfix the write side: - use 2KB lock regions instead of 1KB pages (!) - validate input range - don't try to _remove_ protection (it's write-once) - #define values we'll need to commit writes. - ... still doesn't handle pages over 64KB mark, or commit writes And minor cleanup and fixes: - get rid of some forward decls - properly locate a doxygen comment - fix some bad indentation - remove superfluous #include - add a new part ID (many are still missing) - make the downloaded algorithm code be read-only Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net>
-
- 09 Dec, 2009 2 commits
-
-
David Brownell authored
Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net>
-
Spencer Oliver authored
Fixes build issue on systems that do not have <termios.h>, eg native win32. Signed-off-by:
Spencer Oliver <ntfreak@users.sourceforge.net>
-
- 08 Dec, 2009 9 commits
-
-
Rafael Campos Las Heras authored
Signed-off-by:
Rafael Campos Las Heras <methril@gmail.com>
-
David Brownell authored
These were all basically "can't happen" cases ... like having state be corrupted by an alpha particle after the previous check for whether a value was in-range. Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net>
-
David Brownell authored
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>
-
David Brownell authored
The exception being declarations for drivers. Those should be split out in some clean way -- like driver add/remove calls made by initialization code -- but that's for another day. Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net>
-
David Brownell authored
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>
-
Øyvind Harboe authored
Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com>
-
Øyvind Harboe authored
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>
-
Øyvind Harboe authored
Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com>
-
Øyvind Harboe authored
This allows including generated include files. Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com>
-