- Oct 26, 2009
-
-
David Brownell authored
Make the "dap info" output more comprehensible: - Don't show CIDs unless they're incorrect (only four bits matter) - For CoreSight parts, interpret the part type - Interpret the part number - Show all five PID bytes together - Other minor cleanups Also some whitespace fixes, and shrink a few overlong source lines. Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net>
-
- Oct 25, 2009
-
-
Øyvind Harboe authored
-
David Brownell authored
And update doc accordingly. That EmbeddedICE register was introduced for ARM9TDMI and then carried forward into most new chips that use EmbeddedICE.
-
David Brownell authored
Remove needless debug handler state. - "handler_installed" became wrong as soon as the second TRST+SRST reset was issued ... so the handler was never reloaded after the reset removed it from the mini-icache. This fixes the bug where subsequent resets fail on PXA255 (if the first one even worked, which is uncommon). Other XScale chips would have problems too; PXA270 seems to have, IXP425 maybe not. - "handler_running" was never tested; it's pointless. Plus a related bugfix: invalidate OpenOCD's ARM register cache on reset. It was no more valid than the XScale's mini-icache. (Though ... such invalidations might be better done in "SRST asserted" callbacks.) Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net>
-
- Oct 23, 2009
-
-
David Brownell authored
Bit 5 shouldn't be used. Remove all support for modifying it. Matches the exception vector table, of course ... more than one bootloader uses that non-vector to help distinguish valid boot images from random garbage in flash.
-
Øyvind Harboe authored
-
Øyvind Harboe authored
-
Øyvind Harboe authored
-
Øyvind Harboe authored
-
Nicolas Pitre authored
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>
-
- Oct 22, 2009
-
-
David Brownell authored
When dumping over 100 registers (as on most ARM9 + ETM cores), aid readability by splitting them into logical groups. Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net>
-
David Brownell authored
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>
-
- Oct 21, 2009
-
-
Øyvind Harboe authored
retire obsolete mXY_phys commands. Handled by generic memory read/modify commands and target read/write physical memory callbacks.
-
Øyvind Harboe authored
-
Øyvind Harboe authored
-
Øyvind Harboe authored
Added target_read/write_phys_memory() fn's. mdX/mwX commands updated to support phys flag to specify bypassing of MMU.
-
Øyvind Harboe authored
Retire obsolete and superfluous implementations of virt2phys in each target. This is done in a polymorphic implementation in target.c
-
Øyvind Harboe authored
Retire obsolete and superfluous implementations of virt2phys in each target. This is done in a polymorphic implementation in target.c
-
Øyvind Harboe authored
-
Øyvind Harboe authored
Defined target_write_memory() to be able to handle implementing breakpoints for read only ram(e.g. MMU write protected.
-
- Oct 20, 2009
-
-
Zachary T Welch authored
-
- Oct 19, 2009
-
-
Nicolas Pitre authored
Without this fix, the following code cannot be single stepped: add ip, pc, #1 bx ip [thumb code here]
-
- Oct 18, 2009
-
-
Redirect 'Slash' NIL authored
Passing "--std=gun99" is unfortunately not sufficient to make current MinGW compilers conform with respect to checking printf format strings. (The C runtime seems not to have problems.) Fix by using a "gnu_printf" format specifier not "printf".
-
- Oct 17, 2009
-
-
David Brownell authored
Work better when building outside the source tree. Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net>
-
- Oct 16, 2009
-
-
David Brownell authored
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>
-
- Oct 15, 2009
-
-
David Brownell authored
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>
-
- Oct 14, 2009
-
-
Øyvind Harboe authored
-
David Brownell authored
-
- Oct 13, 2009
-
-
Lennert Buytenhek authored
Signed-off-by:
Lennert Buytenhek <buytenh@marvell.com> Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net>
-
Lennert Buytenhek authored
The LE check is obviously buggy (as easily triggered during some testing), but I didn't audit the rest of the cases. Signed-off-by:
Lennert Buytenhek <buytenh@marvell.com> Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net>
-
Yauheni Kaliuta authored
Signed-off-by:
Yauheni Kaliuta <y.kaliuta@gmail.com>
-
Yauheni Kaliuta authored
Signed-off-by:
Yauheni Kaliuta <y.kaliuta@gmail.com>
-
Øyvind Harboe authored
-
Øyvind Harboe authored
-
Øyvind Harboe authored
-
David Brownell authored
Resolve a "FIX" comment; yes that was superfluous given that the JTAG core does that check by default. It was also buggy since it wrote to a stack frame that went away before the write happened!! Other fixes: remove pointless malloc(); zero-init scan_field_t values wherever they appear; whitespace scrub; spelling fix. Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net>
-
- Oct 12, 2009
-
-
Øyvind Harboe authored
-
Øyvind Harboe authored
arm11 burst writes are now only enabled for writes larger than 1 word. Single word writes are frequently used from reset init scripts to non-memory peripherals.
-
Øyvind Harboe authored
Retire arm11 no_increment. Intended for future expansion to read/write to ports. New arm11 commands would have to be added to exploit it.
-
Øyvind Harboe authored
-