d879faa3cb
David Brownell <david-b@pacbell.net> start phasing out integers as target IDs
oharboe
2009-08-30 17:30:14 +00:00
4b9bdd664a
David Brownell <david-b@pacbell.net> Be sure the built-in search paths always go *after* ones provided on the command line ... matching comment in add_default_dirs().
oharboe
2009-08-30 17:27:50 +00:00
efef05870d
restore ICE watchpoint registers when the *last* software breakpoint is removed
oharboe
2009-08-28 09:47:19 +00:00
a5d02116a6
David Brownell <david-b@pacbell.net> The Stellaris eval boards don't have TRST signals, so defining ntrst_delay is pointless; don't.
oharboe
2009-08-28 06:53:35 +00:00
997d5284cb
David Brownell <david-b@pacbell.net> ARM disassembly support for about five dozen non-Thumb instructions that were added after ARMv5TE was defined:
oharboe
2009-08-28 06:52:08 +00:00
ae17ce23eb
arm11 hardware step using simulation + breakpoint. Use "hardware_step enable" command to revert to hardware stepping. Ideally we could retire the "hardware_step enable" command once we no longer believe it to be necessary.
oharboe
2009-08-27 10:37:01 +00:00
c5145ceb19
arm11 single stepping wip - at least we know the next PC now
oharboe
2009-08-27 07:37:07 +00:00
bb000a6f77
arm11 single stepping wip
oharboe
2009-08-27 07:35:47 +00:00
32a2c70d3e
refactor arm simulator to allow arm11 code to use it as well - no observable changes otherwise.
oharboe
2009-08-27 06:50:36 +00:00
641c574425
some arm11 stuff that isn't done yet.
oharboe
2009-08-26 19:27:33 +00:00
327ba6cb0a
Matt Hsu <matt@0xlab.org> and Holger Hans Peter Freyther <zecke@selfish.org> cortex-a8: Wait for the CPU to be halted/started
oharboe
2009-08-26 19:25:44 +00:00
e921fead94
Matt Hsu <matt@0xlab.org> and Holger Hans Peter Freyther <zecke@selfish.org> Print the value that the method didn't like
oharboe
2009-08-26 19:24:45 +00:00
01000e988a
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.
oharboe
2009-08-26 19:23:35 +00:00
fc7cd1d85e
Matt Hsu <matt@0xlab.org> cortex-a8: Copy some more registers from the documentation
oharboe
2009-08-26 19:22:28 +00:00
56a04a3413
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.
oharboe
2009-08-26 19:21:26 +00:00
f36d0083de
Matt Hsu <matt@0xlab.org> Wait for the DTRRX to be full before reading it. Remove the trans_mode change as it is done in the mem_ap_read_atomic_u32 function.
oharboe
2009-08-26 19:20:25 +00:00
56b346447b
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.
oharboe
2009-08-26 19:16:08 +00:00
dce1cdc9fb
David Brownell <david-b@pacbell.net> Fix segv in jtag_examine_chain(): exit loop on no-tap. Keep "next iteration" step with the rest of the loop overhead.
oharboe
2009-08-26 19:06:56 +00:00
0de530067f
added missing check on jtag_execute
oharboe
2009-08-26 10:13:51 +00:00
c87357a33f
Remove bogus "BUG:". If the PC is pointing to an invalid instruction, then simulation will fail. This is expected.
oharboe
2009-08-26 10:03:54 +00:00
bd7cbd01e8
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.
oharboe
2009-08-25 19:52:02 +00:00
696ed5fdc4
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...
oharboe
2009-08-25 07:17:19 +00:00
14f2189e1a
Ferdinand Postema <ferdinand@postema.eu> increase reset delay to fix regression from 2600 to 2604
oharboe
2009-08-25 07:12:57 +00:00
fd4c0f33b1
Michael Schwingen <rincewind@discworld.dascon.de> The attached patch adds a "xscale vector_table" command that allows to set the values that are written in the mini-IC (plus documentation updates that describe why this is needed).
oharboe
2009-08-25 07:09:48 +00:00
ae4c224459
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'.
oharboe
2009-08-25 07:04:25 +00:00
9df861b0c0
use cortex_a8 instead of cortex_m3
oharboe
2009-08-25 06:59:42 +00:00
1d0b276c9f
David Brownell The rest of the Cortex-A8 support from Magnus: replace the previous nonfunctional cortex_a8 code with something that at least basically works (for halt/step/resume, without MMU) even if it is incomplete. (With tweaks from Øyvind, and cleanup from Dave.)
oharboe
2009-08-25 06:58:34 +00:00
6f7491c1c1
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.)
oharboe
2009-08-25 06:57:26 +00:00
0ed5f5afd9
add missing isblank() for eCos
oharboe
2009-08-25 06:45:40 +00:00
332c8d78d8
Jonas Horberg <jhorberg@sauer-danfoss.com> The trunk is currently broken for interfaces without the speed_div function (interface specific clock speed value to kHz conversion). Example: parport.
oharboe
2009-08-24 07:26:05 +00:00
6336ebb05c
Pieter Conradie <Pieter.Conradie@psitek.com> shuffle things around to the right spots. Should have been done in previous commit.
oharboe
2009-08-21 11:23:24 +00:00
5c50cf802c
native line endings
oharboe
2009-08-21 09:01:00 +00:00
8b73ec8d64
Florian Boor <florian.boor@kernelconcepts.de> fixes a segfault executing commands from the web interface using the "Run Command" tab.
oharboe
2009-08-21 06:22:01 +00:00
afae28fb2c
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.
oharboe
2009-08-20 08:55:34 +00:00
ef30f22fd3
- remove enable-ft2232-highspeed configure option, high speed ftdi support is now detected during the configure stage - warning now issued if high speed ftdi device found and openocd was built using an old driver
ntfreak
2009-08-20 07:54:49 +00:00
1b092a27f0
Brian Findlay <findlaybrian@gmail.com> Board support for mini2440 (friendlyARM) samsung s3c2440 based board
oharboe
2009-08-18 17:57:19 +00:00
bb5086b83e
Jonas Horberg [jhorberg@sauer-danfoss.com] Change jtag_rclk behaviour so it can be called before the interface init function
ntfreak
2009-08-18 12:14:01 +00:00
7b4428df97
David Brownell <david-b@pacbell.net> Cleanup the Stellaris target configs:
oharboe
2009-08-18 10:27:24 +00:00
ed22097a55
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.
oharboe
2009-08-18 10:25:28 +00:00
a4c7e2dd96
David Brownell <david-b@pacbell.net> Clean up ARM7/ARM9 EmbeddedICE register handling ... don't use parallel arrays (error prone) or assume all registers are 32-bits wide (they can have fewer bits); don't use spaces in register names, so they can be passed more easily to the "reg" command.
oharboe
2009-08-18 10:22:44 +00:00
5badd9b29a
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.
oharboe
2009-08-18 10:20:25 +00:00
35e5e07127
Piotr Ziecik <kosmo@semihalf.com> Due to errors in chipselect management in davinci_nand driver OpenOCD was able to access only to chips attached to first EMIF chipselect. This patch fixes chipselect management code and allows OpenOCD to access to NAND devices attached to any EMIF CS line.
oharboe
2009-08-18 10:18:18 +00:00
1d96a84f06
Xiaofan Chen <xiaofanc@gmail.com> Split LM3S811 config file into target file and board file
oharboe
2009-08-16 12:08:35 +00:00
b747da2663
added note w/reference to discussion on whether or not arm11 code is broken or not.
oharboe
2009-08-16 11:49:21 +00:00
59b295dbbe
Audrius Urmanavičius [didele.deze@gmail.com]: Add flash programming support for NXP LPC1700 cortex_m3 based family
ntfreak
2009-08-13 13:54:53 +00:00
720c39ba2f
David Brownell <david-b@pacbell.net>: Warn about anyone using "jtag_speed" commands; that command is obsolete, and will someday be removed.
ntfreak
2009-08-07 09:37:59 +00:00
732df6fea0
David Brownell <david-b@pacbell.net>: Better explanation for the TAP "-ircapture" parameter.
ntfreak
2009-08-07 09:29:41 +00:00
ad800b1c02
Ferdinand Postema [ferdinand@postema.eu] - fix vector catch issues with certain ARM9 cores - AT91SAM9260 and STR9
ntfreak
2009-08-07 09:19:06 +00:00
d40fd9e0f4
Gary Carlson [gcarlson@carlson-minot.com]: - revert patch from rev1507 as it was causing reset issues with arm9 cores
ntfreak
2009-08-06 23:34:34 +00:00
1ee32a8fa1
- Bring all the ftdi names inline in the cfg scripts. scripts will now work for either ftd2xx or libftdi drivers.
ntfreak
2009-08-06 21:44:18 +00:00
67dbf35896
David Brownell <david-b@pacbell.net> More instruction decoding fixes based on test cases, covering ARMv7-M arch manual:
oharboe
2009-07-24 16:49:44 +00:00
ad3a24f944
David Brownell <david-b@pacbell.net> Bugfix some instruction decoding ... I've crafted asm files with testcases covering several new encodings in these sections of the ARMv7-M arch manual:
oharboe
2009-07-24 16:48:12 +00:00
431925a452
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.
oharboe
2009-07-24 05:42:45 +00:00
50aa561796
David Brownell <david-b@pacbell.net> thumb2 disassembly for Load halfword
oharboe
2009-07-23 15:35:16 +00:00
31b520c379
David Brownell <david-b@pacbell.net> thumb2 disassembly for Load byte, memory hints
oharboe
2009-07-23 15:34:03 +00:00
7986ed5ac2
Jonathan Cameron <jic23@cam.ac.uk> fix regression from 1836 when the reset_config command was removed from pxa270.cfg
oharboe
2009-07-22 19:35:23 +00:00