openocd.git
12 years agobootstrap: Various code improvements
Tormod Volden [Wed, 1 Jun 2011 18:59:52 +0000 (20:59 +0200)]
bootstrap: Various code improvements

- Do not specify -e twice.
- Use "which" instead of calling commands that might not exist.
- Fix bashism ("==" is C not sh)
- Carefully quote potentially empty variables
- Check command arguments before doing anything
- Rewrite argument checking to be more easily extensible
- Consistent indentation
- UNIX style error messages

12 years agomips: fixup fastdata
Stefan Mahr [Tue, 31 May 2011 07:33:01 +0000 (09:33 +0200)]
mips: fixup fastdata

fixup fastdata

12 years agomips: fix some more endian madness
Stefan Mahr [Mon, 30 May 2011 14:21:04 +0000 (16:21 +0200)]
mips: fix some more endian madness

12 years agobootstrap: fix argument handling
Laurent Charpentier [Tue, 31 May 2011 08:52:50 +0000 (01:52 -0700)]
bootstrap: fix argument handling

- no argument => run submodule init
- "nosubmoudle" => do not run submodule
- other values => error message

12 years agoBoard definition for mini6410/tiny6410 (ARM1176)
Damjan Marion [Sun, 29 May 2011 21:41:02 +0000 (23:41 +0200)]
Board definition for mini6410/tiny6410 (ARM1176)

The following mini6410/tiny6410 functions are available:
init_6410 - initialize clock, timer, DRAM
init_6410_flash - initializes NAND flash support
install_6410_uboot - copies u-boot image into RAM and runs it

12 years agomips: fix swapping if running on big endian host
Stefan Mahr [Sun, 29 May 2011 20:50:40 +0000 (22:50 +0200)]
mips: fix swapping if running on big endian host

12 years agoSMDK6410 is not target, move file to board
Damjan Marion [Sun, 29 May 2011 16:59:08 +0000 (18:59 +0200)]
SMDK6410 is not target, move file to board

12 years agoFixed values for Samung NAND chips
Damjan Marion [Sat, 28 May 2011 16:58:06 +0000 (18:58 +0200)]
Fixed values for Samung NAND chips

12 years agoImprove NAND flash detection
Damjan Marion [Mon, 23 May 2011 11:25:28 +0000 (13:25 +0200)]
Improve NAND flash detection

Detect based on both manufacturer id and chip id
if manufacturer id is defined in table

12 years agoReorganize NAND flash table
Damjan Marion [Mon, 23 May 2011 11:25:27 +0000 (13:25 +0200)]
Reorganize NAND flash table

- added manufacturer field
- name moved to the end for better text alignment

12 years agomips: fix swapping if openocd is running on big endian host
Stefan Mahr [Wed, 25 May 2011 13:49:21 +0000 (15:49 +0200)]
mips: fix swapping if openocd is running on big endian host

12 years agoReport actual current thread
Alan Bowman [Mon, 23 May 2011 19:37:58 +0000 (20:37 +0100)]
Report actual current thread

12 years agoAdd eCos/Cortex RTOS support
Alan Bowman [Mon, 23 May 2011 19:32:00 +0000 (20:32 +0100)]
Add eCos/Cortex RTOS support

12 years agoadd support for spansion flash on mindspeed c300 eval board
Stefan Mahr [Tue, 24 May 2011 12:58:03 +0000 (14:58 +0200)]
add support for spansion flash on mindspeed c300 eval board

Signed-off-by: Stefan Mahr <stefan.mahr@sphairon.com>
12 years agodsp5680xx: whitespace cleanup
Spencer Oliver [Mon, 23 May 2011 09:23:34 +0000 (10:23 +0100)]
dsp5680xx: whitespace cleanup

Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
12 years agoFix build issue under cygwin
Spencer Oliver [Mon, 23 May 2011 09:22:12 +0000 (10:22 +0100)]
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>
12 years agoflashing speed improved using queued jtag. error propagation improved.
Rodrigo L. Rosa [Thu, 19 May 2011 03:11:04 +0000 (20:11 -0700)]
flashing speed improved using queued jtag. error propagation improved.

12 years agoGet register value if it's invalid in cache.
Jie Zhang [Tue, 3 May 2011 18:35:40 +0000 (14:35 -0400)]
Get register value if it's invalid in cache.

12 years agoCorrected test for invalid current_threadid
Alan Bowman [Sun, 15 May 2011 20:20:21 +0000 (21:20 +0100)]
Corrected test for invalid current_threadid

12 years agoflash support (only full erase/write) for 568013 and 568037
Rodrigo L. Rosa [Wed, 18 May 2011 02:41:21 +0000 (19:41 -0700)]
flash support (only full erase/write) for 568013 and 568037

12 years agopartial support for 568013 and 568037, target integration.
Rodrigo L. Rosa [Wed, 18 May 2011 02:40:29 +0000 (19:40 -0700)]
partial support for 568013 and 568037, target integration.

12 years agoCorrect stacking direction and use of address offset
Alan Bowman [Wed, 11 May 2011 11:12:07 +0000 (12:12 +0100)]
Correct stacking direction and use of address offset

12 years agocortex a : smp doc update
Michel Jaouen [Mon, 9 May 2011 15:30:55 +0000 (17:30 +0200)]
cortex a : smp doc update

12 years agobeagleboard: add support for various icepick versions
Øyvind Harboe [Wed, 4 May 2011 05:14:06 +0000 (07:14 +0200)]
beagleboard: add support for various icepick versions

The beagleboard icepick jtag tap id's vary.

12 years agoat91rm9200-ek: add low default communication speed
Jonas Hoerberg [Thu, 5 May 2011 08:02:21 +0000 (08:02 +0000)]
at91rm9200-ek: add low default communication speed

12 years agoAdd support for the lpc2460 target
Alexandre Pereira da Silva [Wed, 27 Apr 2011 12:21:40 +0000 (09:21 -0300)]
Add support for the lpc2460 target

12 years agoMake the lpc2xxx generic driver support romless parts
Alexandre Pereira da Silva [Wed, 27 Apr 2011 12:19:55 +0000 (09:19 -0300)]
Make the lpc2xxx generic driver support romless parts

12 years agoRemove useless MIPS code in avr32_ap7k.c.
Jie Zhang [Tue, 3 May 2011 18:43:22 +0000 (14:43 -0400)]
Remove useless MIPS code in avr32_ap7k.c.

12 years agoadapter speed: require init script setting and centralize activation from drivers...
Jonas Hörberg [Thu, 28 Apr 2011 07:17:57 +0000 (09:17 +0200)]
adapter speed: require init script setting and centralize activation from drivers to core.c

Signed-off-by: Jonas Hörberg <jhorberg@sauer-danfoss.com>
12 years agoecos: add 64 bit types for sprintf/sscanf
Øyvind Harboe [Thu, 28 Apr 2011 20:17:48 +0000 (22:17 +0200)]
ecos: add 64 bit types for sprintf/sscanf

12 years agou8500.cfg : ste u8500 support
Michel Jaouen [Tue, 19 Apr 2011 07:39:21 +0000 (09:39 +0200)]
u8500.cfg : ste u8500 support

12 years agogdb_server : 'R' command replied by OK
Michel Jaouen [Tue, 19 Apr 2011 07:36:41 +0000 (09:36 +0200)]
gdb_server : 'R' command replied by OK

12 years agocortex_a : smp support
Michel Jaouen [Tue, 19 Apr 2011 06:50:00 +0000 (08:50 +0200)]
cortex_a : smp support

Conflicts:

src/target/cortex_a.c

12 years agosmp : infra for smp minimum support
Michel Jaouen [Tue, 19 Apr 2011 06:43:33 +0000 (08:43 +0200)]
smp : infra for smp minimum support

12 years agocfi: leave check on whether target is running to target_write_memory()
Øyvind Harboe [Wed, 27 Apr 2011 21:02:28 +0000 (23:02 +0200)]
cfi: leave check on whether target is running to target_write_memory()

there was a check in clearing the status register that
called exit() if the target was running. target_write_memory()
has such a check and will report the error correctly.

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
12 years agoadd STM32F2 revY
SimonQian [Sun, 24 Apr 2011 15:35:27 +0000 (23:35 +0800)]
add STM32F2 revY

12 years agoremove read of flash_size in STM32F2
SimonQian [Sun, 24 Apr 2011 15:33:53 +0000 (23:33 +0800)]
remove read of flash_size in STM32F2

12 years agobuspirate: fix building on some OSes
Damjan Marion [Thu, 21 Apr 2011 20:07:03 +0000 (22:07 +0200)]
buspirate: fix building on some OSes

13 years agortos : compilation error on amd64
Michel Jaouen [Mon, 18 Apr 2011 15:43:51 +0000 (17:43 +0200)]
rtos : compilation error on amd64

13 years agoFix non cfi x16 nor flash connected to x8 bus. The ids in the table should be masked...
Alexandre Pereira da Silva [Tue, 12 Apr 2011 15:56:28 +0000 (12:56 -0300)]
Fix non cfi x16 nor flash connected to x8 bus. The ids in the table should be masked before comparison.

13 years agoMake the LPC32xx nand driver support up to 5 address cycles. This will only work...
Alexandre Pereira da Silva [Tue, 12 Apr 2011 16:06:13 +0000 (13:06 -0300)]
Make the LPC32xx nand driver support up to 5 address cycles. This will only work in the SLC driver.

13 years agoMake the LPC32xx slc nand driver the default
Alexandre Pereira da Silva [Tue, 12 Apr 2011 13:56:56 +0000 (10:56 -0300)]
Make the LPC32xx slc nand driver the default

13 years agojtag: clarify jtag->init() and jtag->quit() definitions
Øyvind Harboe [Wed, 13 Apr 2011 19:51:42 +0000 (21:51 +0200)]
jtag: clarify jtag->init() and jtag->quit() definitions

only set jtag global pointer if jtag->init() succeeds. Less code,
more clear what the rules are.

Fix nit that error value from init() was not propagated unmodified.

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
13 years agoRTOS Thread awareness support wip
Broadcom Corporation (Evan Hunter) [Thu, 14 Apr 2011 08:25:01 +0000 (10:25 +0200)]
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.

13 years agopic32: update pic32mx flash driver
Spencer Oliver [Wed, 13 Apr 2011 16:04:34 +0000 (17:04 +0100)]
pic32: update pic32mx flash driver

Update devices as per the latest programming manual.

We now use the full DEVID to identify the target. Previously we used
a 8bit id but that has now been changed in the manual.

Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
13 years agoReplace byte-access to memory with faster word-access
Luca Ellero [Wed, 13 Apr 2011 18:55:19 +0000 (18:55 +0000)]
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>
13 years agoAdd opcodes for load/store registers words immediate post-indexed
Luca Ellero [Wed, 13 Apr 2011 18:55:18 +0000 (18:55 +0000)]
Add opcodes for load/store registers words immediate post-indexed

Signed-off-by: Luca Ellero <lroluk@gmail.com>
13 years agoAdd preliminary support for Freescale iMX53
Luca Ellero [Wed, 13 Apr 2011 18:55:17 +0000 (18:55 +0000)]
Add preliminary support for Freescale iMX53

Signed-off-by: Luca Ellero <lroluk@gmail.com>
13 years agoAdd the REV A tap id to the LPC3250 configuration
Alexandre Pereira da Silva [Wed, 13 Apr 2011 14:50:53 +0000 (11:50 -0300)]
Add the REV A tap id to the LPC3250 configuration

13 years agocortex_a :apb mem read/write working with mmu_on
Michel JAOUEN [Tue, 12 Apr 2011 14:48:22 +0000 (16:48 +0200)]
cortex_a :apb mem read/write working with mmu_on

Conflicts:

src/target/cortex_a.c

13 years agocortex_a : multiple target on the same dap
Michel JAOUEN [Tue, 12 Apr 2011 16:24:50 +0000 (18:24 +0200)]
cortex_a : multiple target on the same dap

13 years agocortex_a : use dap ref from armv4_5common
Michel JAOUEN [Tue, 12 Apr 2011 16:09:18 +0000 (18:09 +0200)]
cortex_a : use dap ref from armv4_5common

13 years agoat91: add at91sam9263 chip register definition
Jean-Christophe PLAGNIOL-VILLARD [Sat, 9 Apr 2011 04:07:41 +0000 (06:07 +0200)]
at91: add at91sam9263 chip register definition

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
Cc: Patrice Vilchez <patrice.vilchez@atmel.com>
13 years agoat91: add chip register definition and generic init support
Jean-Christophe PLAGNIOL-VILLARD [Sat, 9 Apr 2011 16:06:36 +0000 (18:06 +0200)]
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>
13 years agoadd at91sam9263-ek support
Jean-Christophe PLAGNIOL-VILLARD [Sat, 9 Apr 2011 04:07:42 +0000 (06:07 +0200)]
add at91sam9263-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>
13 years agoadd at91sam9261-ek support
Jean-Christophe PLAGNIOL-VILLARD [Sat, 9 Apr 2011 04:07:40 +0000 (06:07 +0200)]
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>
13 years agoat91: add at91sam9261 chip register definition
Jean-Christophe PLAGNIOL-VILLARD [Sat, 9 Apr 2011 04:07:39 +0000 (06:07 +0200)]
at91: add at91sam9261 chip register definition

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
Cc: Patrice Vilchez <patrice.vilchez@atmel.com>
13 years agojlink: jlink_debug_buffer use inline function when _DEBUG_USB_COMMS_ not define
Jean-Christophe PLAGNIOL-VILLARD [Sat, 9 Apr 2011 04:21:57 +0000 (06:21 +0200)]
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>
13 years agoBuffering for up to 64 bytes in USB Blaster.
Ali Lown [Sun, 3 Apr 2011 21:16:51 +0000 (22:16 +0100)]
Buffering for up to 64 bytes in USB Blaster.

Uses a global buffer.
Add self to acknowledgements.

13 years agoAdd support for LED to USB Blaster code.
Ali Lown [Sun, 3 Apr 2011 20:56:14 +0000 (21:56 +0100)]
Add support for LED to USB Blaster code.

13 years agobuild: correctly use AC_LANG_PROGRAM
Spencer Oliver [Tue, 5 Apr 2011 11:13:48 +0000 (12:13 +0100)]
build: correctly use AC_LANG_PROGRAM

With newer versions of autoconf >= 2.68 we receive warnings about the
incorrect use of AC_LANG_PROGRAM. This fixes those warnings.

Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
13 years agocortex_a : implement jtag console for cortex_a
Michel JAOUEN [Tue, 5 Apr 2011 16:41:32 +0000 (18:41 +0200)]
cortex_a : implement jtag console for cortex_a

13 years agoAdded mips_ejtag_drscan_32_out() for optimization.
Drasko DRASKOVIC [Mon, 4 Apr 2011 13:33:04 +0000 (15:33 +0200)]
Added mips_ejtag_drscan_32_out() for optimization.

13 years agoCorrected waiting on PrAcc in wait_for_pracc_rw(). Added necessary check that PrAcc...
Drasko DRASKOVIC [Mon, 4 Apr 2011 13:24:59 +0000 (15:24 +0200)]
Corrected waiting on PrAcc in wait_for_pracc_rw(). Added necessary check that PrAcc is "1" before FASTDATA access.

13 years agoAdded correct endianess treatment for big endian targets. Now it is possible to use...
Drasko DRASKOVIC [Mon, 4 Apr 2011 11:06:18 +0000 (13:06 +0200)]
Added correct endianess treatment for big endian targets. Now it is possible to use mips_m4k_write_memory() and mips_m4k_read_memory() to correctly set-up SDRAM, as well as bulk data write, which already handled endianess well. Also added correct endianess manipulation in case of fallback from erroneus bulk write to simple write (to avoid byte swapping two times).

13 years agopandaboard: use new -dbgbase option to workaround broken ROM table
Øyvind Harboe [Sat, 2 Apr 2011 07:00:01 +0000 (09:00 +0200)]
pandaboard: use new -dbgbase option to workaround broken ROM table

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
13 years agocortex_a: delete dbgbase hack vestiges
Øyvind Harboe [Fri, 1 Apr 2011 19:00:44 +0000 (21:00 +0200)]
cortex_a: delete dbgbase hack vestiges

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
13 years agocortex_a: fix gaffe in first implementation of -dbgbase
Michel JAOUEN [Fri, 1 Apr 2011 15:54:28 +0000 (17:54 +0200)]
cortex_a: fix gaffe in first implementation of -dbgbase

13 years agoMerge remote branch 'origin/master' into HEAD
Øyvind Harboe [Fri, 1 Apr 2011 11:02:24 +0000 (13:02 +0200)]
Merge remote branch 'origin/master' into HEAD

13 years agomips: fix gaffe in previous commit
Øyvind Harboe [Fri, 1 Apr 2011 10:32:41 +0000 (12:32 +0200)]
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>
13 years agocortex_a: remove broken dbgbase patchup code
Øyvind Harboe [Fri, 1 Apr 2011 07:59:30 +0000 (09:59 +0200)]
cortex_a: remove broken dbgbase patchup code

the patchup code would get false positives when checking
whether a dbgbase had to be corrected.

The solution is to have autodetect default, with manual override
in scripts.

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
13 years agoAdded s19 to (fast_)load_image documentation to match the online help.
Phil [Thu, 31 Mar 2011 23:21:53 +0000 (16:21 -0700)]
Added s19 to (fast_)load_image documentation to match the online help.

13 years agomips: illustrates how to improve performance
Øyvind Harboe [Thu, 31 Mar 2011 22:00:39 +0000 (00:00 +0200)]
mips: illustrates how to improve performance

Do not require unecessary roundtrips for clocking out
data.

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
13 years agotypes: write memory now uses const
Øyvind Harboe [Thu, 31 Mar 2011 16:37:19 +0000 (18:37 +0200)]
types: write memory now uses const

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
13 years agomips: delete kludgy code that modifies data sent to write_memory()
Øyvind Harboe [Thu, 31 Mar 2011 16:42:10 +0000 (18:42 +0200)]
mips: delete kludgy code that modifies data sent to write_memory()

Could this cause confusion as data sent to write would be flipped
and then if the caller subsequently used the data, e.g. a
compare mismatch might happen?

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
13 years agostartup: fix bugs in cleanup upon errors during startup
Øyvind Harboe [Thu, 31 Mar 2011 11:32:28 +0000 (13:32 +0200)]
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>
13 years agomips: mips32_pracc_exec error propagation fixes
Øyvind Harboe [Thu, 31 Mar 2011 21:46:32 +0000 (23:46 +0200)]
mips: mips32_pracc_exec error propagation fixes

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
13 years agomips: mips_ejtag_get_impcode error propagation added
Øyvind Harboe [Thu, 31 Mar 2011 21:39:10 +0000 (23:39 +0200)]
mips: mips_ejtag_get_impcode error propagation added

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
13 years agomips: fix mips_ejtag_set_instr error handling
Øyvind Harboe [Thu, 31 Mar 2011 21:31:37 +0000 (23:31 +0200)]
mips: fix mips_ejtag_set_instr error handling

this fn does not fail, it queues data.

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
13 years agomips: fix error handling for jtag_execute_queue()
Øyvind Harboe [Thu, 31 Mar 2011 21:07:55 +0000 (23:07 +0200)]
mips: fix error handling for jtag_execute_queue()

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
13 years agoxscale: fix gaffe in phys write
Øyvind Harboe [Thu, 31 Mar 2011 16:46:14 +0000 (18:46 +0200)]
xscale: fix gaffe in phys write

it would *read* instead of *write* to memory
when the MMU was disabled.

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
13 years agocortex-a: use -dbgbase option
Øyvind Harboe [Wed, 30 Mar 2011 11:34:50 +0000 (13:34 +0200)]
cortex-a: use -dbgbase option

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
13 years agotarget: add -dbgbase option to target configuration
Øyvind Harboe [Wed, 30 Mar 2011 11:32:47 +0000 (13:32 +0200)]
target: add -dbgbase option to target configuration

Really a Cortex-A specific option, but there is no
system in place to support target specific options
currently and there has been no need for such a system
until now.

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
13 years agoat91sam3: Modified cidr comparisson to ignore version bits
Olivier Schonken [Mon, 28 Mar 2011 17:31:17 +0000 (19:31 +0200)]
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

13 years agodocs: add HACKING file to help users get started with patches
Øyvind Harboe [Wed, 30 Mar 2011 11:08:39 +0000 (13:08 +0200)]
docs: add HACKING file to help users get started with patches

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
13 years agoClarify LPC32XX address cycles message
Alexandre Pereira da Silva [Tue, 29 Mar 2011 19:19:47 +0000 (16:19 -0300)]
Clarify LPC32XX address cycles message

Hi,

This is a more descriptive message about LPC32XX error, when the nand
chip needs 5 address cycles.

Thanks.

13 years agoAdd Micron 2GiB nand
Alexandre Pereira da Silva [Tue, 29 Mar 2011 19:17:11 +0000 (16:17 -0300)]
Add Micron 2GiB nand

Hi,

This will add support for a new nand chip device.

Thanks.

13 years agobugfix for step <address> mips_m4k
Andrew Lyon [Mon, 28 Mar 2011 10:28:13 +0000 (11:28 +0100)]
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 ?

13 years agocommand: fix leak when executing commands
Øyvind Harboe [Sun, 27 Mar 2011 21:50:53 +0000 (23:50 +0200)]
command: fix leak when executing commands

found via valgrind, not observed/reported.

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
13 years agocortex_a: rename cortex_a8.c/h to cortex_a.c/h
Øyvind Harboe [Tue, 22 Mar 2011 10:29:10 +0000 (11:29 +0100)]
cortex_a: rename cortex_a8.c/h to cortex_a.c/h

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
13 years agoomap4430: tried to add in workaround for broken dbgbase query
Øyvind Harboe [Tue, 22 Mar 2011 08:21:16 +0000 (09:21 +0100)]
omap4430: tried to add in workaround for broken dbgbase query

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
13 years agocortex a9: merge cortex a9 and a8 code
Øyvind Harboe [Mon, 21 Mar 2011 13:10:57 +0000 (14:10 +0100)]
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>
13 years agoomap4430: cortex a9 and a8 are now merged again
Øyvind Harboe [Mon, 21 Mar 2011 13:13:09 +0000 (14:13 +0100)]
omap4430: cortex a9 and a8 are now merged again

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
13 years agozy1000: fix bug in ir scan handling
Øyvind Harboe [Mon, 21 Mar 2011 12:30:09 +0000 (13:30 +0100)]
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>
13 years agozy1000: removed JTAG master TCP/IP server
Øyvind Harboe [Fri, 18 Mar 2011 12:47:17 +0000 (13:47 +0100)]
zy1000: removed JTAG master TCP/IP server

Move ZY1000 OpenOCD driver more in the direction of being
a client to simplify code.

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
13 years agodsp563xx_once: fix warning and potential bug
Øyvind Harboe [Sun, 20 Mar 2011 18:44:48 +0000 (19:44 +0100)]
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>
13 years agozy1000: add code to check that SRST asserts
Øyvind Harboe [Thu, 3 Mar 2011 10:00:14 +0000 (11:00 +0100)]
zy1000: add code to check that SRST asserts

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
13 years agotarget: allow targets to override memory alignment
Mathias K [Thu, 3 Mar 2011 10:01:46 +0000 (11:01 +0100)]
target: allow targets to override memory alignment

Targets can implement read/write_buffer to handle
alignment.

13 years agoSYS_WRITE0 fix
John and Tina Peterson [Thu, 17 Mar 2011 06:34:44 +0000 (07:34 +0100)]
SYS_WRITE0 fix

Problem is, trying to print "Hello, world!\n" just prints endless H's, because r1 is never incremented.

One way to fix it would be to add a "++" after "r1".

13 years agoFix a bunch of typos.
Uwe Hermann [Thu, 17 Mar 2011 02:22:12 +0000 (03:22 +0100)]
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.

Linking to existing account procedure

If you already have an account and want to add another login method you MUST first sign in with your existing account and then change URL to read https://review.openocd.org/login/?link to get to this page again but this time it'll work for linking. Thank you.

SSH host keys fingerprints

1024 SHA256:YKx8b7u5ZWdcbp7/4AeXNaqElP49m6QrwfXaqQGJAOk gerrit-code-review@openocd.zylin.com (DSA)
384 SHA256:jHIbSQa4REvwCFG4cq5LBlBLxmxSqelQPem/EXIrxjk gerrit-code-review@openocd.org (ECDSA)
521 SHA256:UAOPYkU9Fjtcao0Ul/Rrlnj/OsQvt+pgdYSZ4jOYdgs gerrit-code-review@openocd.org (ECDSA)
256 SHA256:A13M5QlnozFOvTllybRZH6vm7iSt0XLxbA48yfc2yfY gerrit-code-review@openocd.org (ECDSA)
256 SHA256:spYMBqEYoAOtK7yZBrcwE8ZpYt6b68Cfh9yEVetvbXg gerrit-code-review@openocd.org (ED25519)
+--[ED25519 256]--+
|=..              |
|+o..   .         |
|*.o   . .        |
|+B . . .         |
|Bo. = o S        |
|Oo.+ + =         |
|oB=.* = . o      |
| =+=.+   + E     |
|. .=o   . o      |
+----[SHA256]-----+
2048 SHA256:0Onrb7/PHjpo6iVZ7xQX2riKN83FJ3KGU0TvI0TaFG4 gerrit-code-review@openocd.zylin.com (RSA)