]> git.sur5r.net Git - openocd/log
openocd
13 years agoRevert "cortex_m3: add auto maskisr"
Spencer Oliver [Mon, 4 Jul 2011 10:19:19 +0000 (11:19 +0100)]
Revert "cortex_m3: add auto maskisr"

This reverts commit ff640f197a9a343b2f3ed10e9174e35282334e8c.

Original patch reverted as Author's name was incorrectly set.

13 years agomips_m4k : Fix soft breakpoint endianess handling
Drasko DRASKOVIC [Fri, 1 Jul 2011 19:12:54 +0000 (21:12 +0200)]
mips_m4k : Fix soft breakpoint endianess handling

In order to compare data read from the target with some marcros or data
defined on the host, we must transform this read data from target
endianess to host endianess.
target_read_memory() gets bytes from target to the host, but keeps them in _target_
endianess. This is OK if we just want to temporary keep this data on the
host, like keeping breakpoint->orig_instr. But if we want to use this
data for any ispections and comparisons on the host side, we must
transform it to _host_ endianess, by using target_buffer_get_u32()
function.
Currently this transformation is missing, and check current_instr ==
MIPS32_SDBBP will never pass if target and host endianess differ,
because current_instr will be kept in _target_ endianess and
MIPS32_SDBBP will be kept in _host_ endianess,

The patch fix this issue by using target_buffer_get_u32() to transform current_instr to
_host_ endianess before comparison.

13 years agojimtcl: update to 0.71 based release
Spencer Oliver [Wed, 29 Jun 2011 15:01:54 +0000 (16:01 +0100)]
jimtcl: update to 0.71 based release

The actual release is 411e92fea9621630eb350e0c2bb43543e553b84f as we
had a few issues relating to its use within openocd.

Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
13 years agodsp5680xx: disable for now, it generates warnings
Øyvind Harboe [Tue, 28 Jun 2011 16:35:34 +0000 (18:35 +0200)]
dsp5680xx: disable for now, it generates warnings

Use "git revert <commit>" to revert this commit, then build and
repair and post patch to the mailing list.

Warnings generated with:

nios2-elf-gcc (GCC) 3.4.6 (Altera Nios II 9.1 b222)

openocd/src/target/dsp5680xx.c: In function 'eonce_rx_upper_data':
openocd/src/target/dsp5680xx.c:252: warning: cast increases required
alignment of target type
openocd/src/target/dsp5680xx.c: In function 'eonce_rx_lower_data':
openocd/src/target/dsp5680xx.c:268: warning: cast increases required
alignment of target type
openocd/src/target/dsp5680xx.c: In function 'eonce_pc_store':
openocd/src/target/dsp5680xx.c:508: warning: dereferencing type-punned
pointer will break strict-aliasing rules
openocd/src/target/dsp5680xx.c: In function 'dsp5680xx_read':
openocd/src/target/dsp5680xx.c:736: warning: cast increases required
alignment of target type
openocd/src/target/dsp5680xx.c:737: warning: cast increases required
alignment of target type
openocd/src/target/dsp5680xx.c: In function 'dsp5680xx_write_8':
openocd/src/target/dsp5680xx.c:823: warning: cast increases required
alignment of target type
openocd/src/target/dsp5680xx.c: In function 'dsp5680xx_write':
openocd/src/target/dsp5680xx.c:938: warning: cast increases required
alignment of target type
openocd/src/target/dsp5680xx.c:941: warning: cast increases required
alignment of target type
openocd/src/target/dsp5680xx.c: In function 'dsp5680xx_f_wr':
openocd/src/target/dsp5680xx.c:1355: warning: cast increases required
alignment of target type

13 years agomips4k: fix big-endian hosts and host alignment problems
Øyvind Harboe [Tue, 28 Jun 2011 16:22:32 +0000 (18:22 +0200)]
mips4k: fix big-endian hosts and host alignment problems

the code was making assumptions about the endianness of the host.

13 years agodsp5680xx: fix compilation problems
Øyvind Harboe [Tue, 28 Jun 2011 16:09:48 +0000 (18:09 +0200)]
dsp5680xx: fix compilation problems

use a more specific global variable name than "context", which
can easily conflict with other things.

13 years agocortex_m3: add auto maskisr v0.5.0-rc1
Spencer Oliver [Tue, 28 Jun 2011 13:16:48 +0000 (14:16 +0100)]
cortex_m3: add auto maskisr

This patch extends the cortex_m3 maskisr command by a new option 'auto'.
The 'auto' option handles interrupts during stepping in a way they are
processed but don't disturb the program flow during debugging.

Before one had to choose to either enable or disable interrupts. The former
steps into interrupt handlers when they trigger. This disturbs the flow during
debugging, making it hard to follow some piece of code when interrupts occur
often.

When interrupts are disabled, the flow isn't disturbed but code relying on
interrupt handlers to be processed will stop working. For example a delay
function counting the number of timer interrupts will never complete, RTOS
task switching will not occur and output I/O queues of interrupt driven
I/O will stall or overflow.

Using the 'maskisr' command also typically requires gdb hooks to be supplied
by the user to switch interrupts off during the step and to enable them again
afterward.

The new 'auto' option of the 'maskisr' command solves the above problems. When
set, the step command allows pending interrupt handlers to be executed before
the step, then the step is taken with interrupts disabled and finally interrupts
are enabled again. This way interrupt processing stays in the background without
disturbing the flow of debugging. No gdb hooks are required. The 'auto'
option is the default, since it's believed that handling interrupts in this
way is suitable for most users.

The principle used for interrupt handling could probably be used for other
targets too.

Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
13 years agocortex_m3: add BKPT_TYPE_BY_ADDR define
Peter Horn [Tue, 28 Jun 2011 13:08:22 +0000 (14:08 +0100)]
cortex_m3: add BKPT_TYPE_BY_ADDR define

Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
13 years agobuild: cleanup jimtcl generated configure.gnu
Spencer Oliver [Mon, 27 Jun 2011 15:08:56 +0000 (16:08 +0100)]
build: cleanup jimtcl generated configure.gnu

We use configure.gnu to pass options to the jimtcl submodule.
Make sure a distclean removes any generated files

Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
13 years agoAdd description for configure argument "--enable-ulink" to README file
Martin Schmölzer [Mon, 20 Jun 2011 17:52:33 +0000 (19:52 +0200)]
Add description for configure argument "--enable-ulink" to README file

13 years agoAdd OpenULINK driver files generated by SDCC to .gitignore
Martin Schmölzer [Mon, 20 Jun 2011 17:52:17 +0000 (19:52 +0200)]
Add OpenULINK driver files generated by SDCC to .gitignore

13 years agoAdd -DPKGLIBDIR to AM_CPPFLAGS.
Martin Schmölzer [Mon, 20 Jun 2011 17:51:46 +0000 (19:51 +0200)]
Add -DPKGLIBDIR to AM_CPPFLAGS.

This is required so the OpenULINK driver knows the install location of the OpenULINK
firmware image.

13 years agoInclude ULINK driver in src/jtag/drivers/Makefile.am
Martin Schmölzer [Mon, 20 Jun 2011 17:51:16 +0000 (19:51 +0200)]
Include ULINK driver in src/jtag/drivers/Makefile.am

A new variable "nobase_dist_pkglib_DATA" is introduced to install
the OpenULINK firmware image to $PREFIX/lib/openocd/OpenULINK/ulink_firmware.hex

Also, the variable "EXTRA_DIST" is used to include the OpenULINK firmware source
in the OpenOCD source distribution.

13 years agoInclude ULINK driver in src/Makefile.am
Martin Schmölzer [Mon, 20 Jun 2011 17:50:54 +0000 (19:50 +0200)]
Include ULINK driver in src/Makefile.am

13 years agoInclude ULINK driver in configure.in
Martin Schmölzer [Mon, 20 Jun 2011 17:50:35 +0000 (19:50 +0200)]
Include ULINK driver in configure.in

13 years agoAdd ULINK interface script
Martin Schmölzer [Mon, 20 Jun 2011 17:50:18 +0000 (19:50 +0200)]
Add ULINK interface script

13 years agoInclude ULINK driver in src/jtag/interfaces.c
Martin Schmölzer [Mon, 20 Jun 2011 17:49:24 +0000 (19:49 +0200)]
Include ULINK driver in src/jtag/interfaces.c

13 years agoAdd OpenULINK firmware
Martin Schmölzer [Mon, 20 Jun 2011 17:49:49 +0000 (19:49 +0200)]
Add OpenULINK firmware

Build requires SDCC, the Small Device C Compiler.

13 years agoAdd source code for new ULINK driver
Martin Schmölzer [Mon, 20 Jun 2011 17:48:40 +0000 (19:48 +0200)]
Add source code for new ULINK driver

13 years agoFix load_image for ELF with all p_paddr set to zero
Drasko DRASKOVIC [Wed, 22 Jun 2011 10:45:21 +0000 (12:45 +0200)]
Fix load_image for ELF with all p_paddr set to zero

So far image_load command tries to load ELF binaries to address
discovered by reading p_paddr member of a Program header of an ELF
segment.

However, ELF specifications says for p_paddr : ...Because System V
ignores physical addressing for application programs, this member has
unspecified contents for executable files and shared objects.

ARM ELF specifiaction goes even further, demanding that this member
be set to zero, using the p_vaddr as a segment load address.

To avoid the cases to wrong addr where p_paddr is zero,
we are now using p_vaddr to as a load destination in case that *all*
p_paddr == 0. Basically, this patch re-implements the approach present in
BDF's elf.c, which is used by GDB also (so that we can be consistent).

13 years agobuild: do not included generated files in distribution
Spencer Oliver [Fri, 17 Jun 2011 11:22:37 +0000 (12:22 +0100)]
build: do not included generated files in distribution

We have to use this method as automake seems to ignore nodist_ on libs.

Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
13 years agobuild: add missing files to make dist
Spencer Oliver [Fri, 17 Jun 2011 11:21:01 +0000 (12:21 +0100)]
build: add missing files to make dist

Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
13 years agobuild: pass correct flags to jimtcl during make distcheck
Spencer Oliver [Fri, 17 Jun 2011 08:28:02 +0000 (09:28 +0100)]
build: pass correct flags to jimtcl during make distcheck

This is only for the case of a make distcheck.
During a normal release build these flags will be created by configure.gnu

Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
13 years agobuild: add missing files from dist release
Spencer Oliver [Fri, 17 Jun 2011 08:26:18 +0000 (09:26 +0100)]
build: add missing files from dist release

Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
13 years agoADAPTER: Fixed transport selection mechanism to support transports other than jtag...
Tomek CEDRO [Thu, 16 Jun 2011 06:54:58 +0000 (06:54 +0000)]
ADAPTER: Fixed transport selection mechanism to support transports other than jtag (if defined).

13 years agoOPENOCD: Renamed ambiguous main2() into openocd_thread() to show possible solution...
Tomek CEDRO [Thu, 16 Jun 2011 07:09:41 +0000 (07:09 +0000)]
OPENOCD: Renamed ambiguous main2() into openocd_thread() to show possible solution for thread support in future.

13 years agoAdded Olimex STM32 {H,P}107.cfg board
Dale Lukas Peterson [Wed, 15 Jun 2011 22:12:54 +0000 (15:12 -0700)]
Added Olimex STM32 {H,P}107.cfg board

13 years agotransport: move files over to transport folder
Øyvind Harboe [Mon, 13 Jun 2011 13:42:46 +0000 (15:42 +0200)]
transport: move files over to transport folder

as we introduce swd and jtag as two transports, we want
to start up with a new transport folder to organize the
code a bit.

13 years agoHACKING: add tip on how to write comments
Øyvind Harboe [Sun, 12 Jun 2011 09:33:37 +0000 (11:33 +0200)]
HACKING: add tip on how to write comments

13 years agoadded minimodule interface
rlrosa [Fri, 10 Jun 2011 20:26:47 +0000 (13:26 -0700)]
added minimodule interface

13 years agodoxy more
Rodrigo L. Rosa [Fri, 10 Jun 2011 19:24:55 +0000 (12:24 -0700)]
doxy more

13 years agodoxy & cleanup
Rodrigo L. Rosa [Fri, 10 Jun 2011 19:24:27 +0000 (12:24 -0700)]
doxy & cleanup

13 years agofix protection behavior
Rodrigo L. Rosa [Fri, 10 Jun 2011 19:23:52 +0000 (12:23 -0700)]
fix protection behavior

13 years agocleanup trailing whitespaces
Rodrigo L. Rosa [Fri, 10 Jun 2011 19:23:34 +0000 (12:23 -0700)]
cleanup trailing whitespaces

13 years agoflash speed improved
Rodrigo L. Rosa [Fri, 10 Jun 2011 19:23:17 +0000 (12:23 -0700)]
flash speed improved

13 years agoremoved unnecessary actions/controls
Rodrigo L. Rosa [Fri, 10 Jun 2011 19:21:49 +0000 (12:21 -0700)]
removed unnecessary actions/controls

13 years agocleanup flash module command
Rodrigo L. Rosa [Fri, 10 Jun 2011 19:21:22 +0000 (12:21 -0700)]
cleanup flash module command

13 years agofix read for verify_image
Rodrigo L. Rosa [Fri, 10 Jun 2011 19:20:59 +0000 (12:20 -0700)]
fix read for verify_image

13 years agofix read speed improved by queueing commands
Rodrigo L. Rosa [Fri, 10 Jun 2011 19:20:18 +0000 (12:20 -0700)]
fix read speed improved by queueing commands

13 years agofix flash driver size, sector erase
Rodrigo L. Rosa [Fri, 10 Jun 2011 19:19:58 +0000 (12:19 -0700)]
fix flash driver size, sector erase

13 years agoAdded minimodule (ftdi) interface
Rodrigo L. Rosa [Fri, 10 Jun 2011 19:19:32 +0000 (12:19 -0700)]
Added minimodule (ftdi) interface

13 years agoAdded configuration file for STM3220G-EVAL board.
Laurent Charpentier [Mon, 6 Jun 2011 10:47:52 +0000 (12:47 +0200)]
Added configuration file for STM3220G-EVAL board.

13 years agoAdded configuration file for stm32f2xxx.
Laurent Charpentier [Mon, 6 Jun 2011 09:51:38 +0000 (11:51 +0200)]
Added configuration file for stm32f2xxx.

13 years agoSilence -O3 warning
Øyvind Harboe [Tue, 7 Jun 2011 15:58:41 +0000 (17:58 +0200)]
Silence -O3 warning

13 years agoFix "unused variable" warnings (errors) detected with GCC 4.7.0 - leftover changes
Freddie Chopin [Fri, 3 Jun 2011 20:10:03 +0000 (22:10 +0200)]
Fix "unused variable" warnings (errors) detected with GCC 4.7.0 - leftover changes

13 years agomips: add nor flash write from memory block
Stefan Mahr [Fri, 3 Jun 2011 09:10:34 +0000 (11:10 +0200)]
mips: add nor flash write from memory block

13 years agocrc check on flashed data
Rodrigo L. Rosa [Thu, 2 Jun 2011 16:59:18 +0000 (09:59 -0700)]
crc check on flashed data

13 years agocode cleanup
Rodrigo L. Rosa [Thu, 2 Jun 2011 16:52:33 +0000 (09:52 -0700)]
code cleanup

13 years agoFix "unused variable" warnings (errors) detected with GCC 4.7.0 - dubious fixes
Freddie Chopin [Fri, 3 Jun 2011 20:13:35 +0000 (22:13 +0200)]
Fix "unused variable" warnings (errors) detected with GCC 4.7.0 - dubious fixes

13 years agoFix "unused variable" warnings (errors) detected with GCC 4.7.0 - trivial fixes
Freddie Chopin [Fri, 3 Jun 2011 20:10:03 +0000 (22:10 +0200)]
Fix "unused variable" warnings (errors) detected with GCC 4.7.0 - trivial fixes

13 years agouptech2410
Bear [Thu, 2 Jun 2011 10:17:28 +0000 (12:17 +0200)]
uptech2410

13 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

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

fixup fastdata

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

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

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

13 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>
13 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>
13 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>
13 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.

13 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.

13 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

13 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

13 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.

13 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

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

13 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.

13 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

13 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

13 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

13 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.

13 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>
13 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

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

13 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

13 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

13 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

13 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>
13 years agoadd STM32F2 revY
SimonQian [Sun, 24 Apr 2011 15:35:27 +0000 (23:35 +0800)]
add STM32F2 revY

13 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

13 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