Øyvind Harboe
4e079d18bf
clang: fix malloc() warning with assert
...
Change-Id: I989d2655622a9f11f4a0a2994014e42822587ecd
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com >
Reviewed-on: http://openocd.zylin.com/41
Tested-by: jenkins
Reviewed-by: Øyvind Harboe <oyvindharboe@gmail.com >
2011-10-23 11:55:02 +00:00
Edgar Grimberg
0577ba8331
tms470: removed unnecessary operations
...
This should silence a warning.
Change-Id: Id91a9ebacae836083b1db2654a8e7bf24b2300e9
Signed-off-by: Edgar Grimberg <edgar.grimberg@gmail.com >
Reviewed-on: http://openocd.zylin.com/52
Tested-by: jenkins
Reviewed-by: Øyvind Harboe <oyvindharboe@gmail.com >
2011-10-23 11:34:05 +00:00
Antonio Borneo
811f7d3f7e
FLASH/STMSMI: fix clang "dead store" warning
...
Change-Id: Icfdefdc48432db2057d3fea19dc424571d2385eb
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com >
Reviewed-on: http://openocd.zylin.com/50
Tested-by: jenkins
Reviewed-by: Øyvind Harboe <oyvindharboe@gmail.com >
2011-10-22 11:45:29 +00:00
Øyvind Harboe
8d5e34635c
buspirate: ignore return value and fix warning
...
Perhaps we could do one better and propagate the error?
Change-Id: Idc45f516c26f09de4ee01fe05e8d3475f4b80db3
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com >
Reviewed-on: http://openocd.zylin.com/43
Tested-by: jenkins
Reviewed-by: Øyvind Harboe <oyvindharboe@gmail.com >
2011-10-22 09:01:00 +00:00
Øyvind Harboe
5179738062
warning: fix false positive
...
may be used uninitialized in this function [-Werror=uninitialized]
Change-Id: Ida2cf8efe4e7da6fd9f669b806a20894563ac3d4
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com >
Reviewed-on: http://openocd.zylin.com/49
Tested-by: jenkins
Reviewed-by: Øyvind Harboe <oyvindharboe@gmail.com >
2011-10-22 06:45:55 +00:00
Øyvind Harboe
a093f82bb7
server: remove warning due to dead assignment
...
Change-Id: Idb08aef0c11b3fae92286e8fcea61ab09ab09e74
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com >
Reviewed-on: http://openocd.zylin.com/44
Reviewed-by: Peter Stuge <peter@stuge.se >
Tested-by: jenkins
2011-10-22 06:18:52 +00:00
Spencer Oliver
7fe05ff330
jim: add missing jim license
...
Change-Id: Ib8e34739d92cd54655b9b47d07b856a82ff25f3c
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk >
Reviewed-on: http://openocd.zylin.com/39
Tested-by: jenkins
Reviewed-by: Øyvind Harboe <oyvindharboe@gmail.com >
2011-10-21 09:29:44 +00:00
Andreas Fritiofson
6b209e7489
rtos: remove broken code for handling the deprecated qP packet
...
Change-Id: Icca522c1e2a2877abb20665b171c61079b1d8f48
Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com >
Reviewed-on: http://openocd.zylin.com/37
Tested-by: jenkins
Reviewed-by: Peter Stuge <peter@stuge.se >
2011-10-20 01:45:25 +00:00
Andreas Fritiofson
3d2305f2e6
rtos: return the correct value if the T or H packets are handled
...
Change-Id: Iea31e20ee4e35c1a9cb7b93424c92b3f38081067
Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com >
Reviewed-on: http://openocd.zylin.com/38
Tested-by: jenkins
Reviewed-by: Evan Hunter <evan@ozhiker.com >
Reviewed-by: Peter Stuge <peter@stuge.se >
2011-10-20 01:45:06 +00:00
Freddie Chopin
1c1771ef6c
Unused variables
...
Fix a few errors with set and unused variables detected by GCC 4.7.0
Change-Id: I59b748e18e514ee9f0cde7883b4ed5116198bd4a
Signed-off-by: Freddie Chopin <freddie.chopin@gmail.com >
Reviewed-on: http://openocd.zylin.com/36
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk >
2011-10-19 19:53:00 +00:00
Marc Willam / Holger Wech
9ddb94c1f3
Updated fm3.c, added Flash type 2 support, error handling improved
...
Change-Id: I684aca11c4554290d0e57c6d3318d8082980c1ef
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com >
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net >
Reviewed-on: http://openocd.zylin.com/10
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk >
2011-10-19 11:05:27 +00:00
Matt Reimer
4eca579a6e
xscale: fix bug in xscale_receive()
...
The code in xscale_receive() that tries to skip invalid reads (i.e.
reads that don't have the DBG_SR[0] 'valid' bit set) seems to be
wrong, as it only looks at the first word's valid flag rather than
each word's own valid flag. Am I reading the code correctly? If so,
the attached patch should fix it.
If this looks correct, I'll generate a proper patch and commit message.
Matt
Change-Id: I74ebe2ad7a36d340a9dd3b8487578b6ea7f3cf1e
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com >
Reviewed-on: http://openocd.zylin.com/32
Tested-by: jenkins
Reviewed-by: Øyvind Harboe <oyvindharboe@gmail.com >
2011-10-18 20:32:36 +00:00
Spencer Oliver
0dac042a10
luminary: add new targets
...
update target support from latest SW-DRL 8049
Change-Id: I40aba4d30fe2b79fd955f466c64d99a1dfd63ecf
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk >
Reviewed-on: http://openocd.zylin.com/31
Reviewed-by: Øyvind Harboe <oyvindharboe@gmail.com >
Tested-by: Øyvind Harboe <oyvindharboe@gmail.com >
2011-10-18 06:36:11 +00:00
Attila Kinali
2f6bdac60a
Add the SAM3N familly to the chip_details table
...
Change-Id: Ic122d324eacf6e667ed6008ebb84708be944222c
Signed-off-by: Attila Kinali <attila@kinali.ch >
Reviewed-on: http://openocd.zylin.com/29
Reviewed-by: Øyvind Harboe <oyvindharboe@gmail.com >
Tested-by: Øyvind Harboe <oyvindharboe@gmail.com >
2011-10-17 17:40:25 +00:00
Øyvind Harboe
80c20a186b
target_request: add target_got_message() that can be used to improve DCC performance
...
API change to allow implementing a back-off algorithm for
polling hardware.
Change-Id: I6cbe8b4534c8dfeb8442305171ea96b5481c1f17
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com >
Reviewed-on: http://openocd.zylin.com/26
Reviewed-by: Øyvind Harboe <oyvindharboe@gmail.com >
Tested-by: Øyvind Harboe <oyvindharboe@gmail.com >
2011-10-17 12:32:38 +00:00
Øyvind Harboe
ea295bd694
target: DCC / target message backoff algorithm
...
by immediately polling again when we have received a message from
the target instead of waiting 100ms, we can hope for much better
performance. More than 100x? :-)
Change-Id: Ieaf0c6c8b6e5addc482895670ffbf9a743e07a29
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com >
Reviewed-on: http://openocd.zylin.com/27
Reviewed-by: Øyvind Harboe <oyvindharboe@gmail.com >
Tested-by: Øyvind Harboe <oyvindharboe@gmail.com >
2011-10-17 12:32:11 +00:00
Spencer Oliver
3828b5827d
arm-jtag-ew: whitespace cleanup
...
Change-Id: I8861e825f9c84525e0c09c3adaa3fe300640770d
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net >
Reviewed-on: http://openocd.zylin.com/21
Tested-by: Spencer Oliver <spen@spen-soft.co.uk >
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk >
2011-10-14 13:01:52 +00:00
Spencer Oliver
8c3c5e53e3
flash: fix lpc2000 driver typo
...
Change-Id: I3a759ed98a27fd186c12355b846d5e97dba86c5b
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk >
2011-10-14 14:18:56 +02:00
Spencer Oliver
8cd3832e2b
target: whitespace cleanup
...
Change-Id: I1453f4f3dc0add529da20577e38b8b82d7d00366
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net >
Reviewed-on: http://openocd.zylin.com/18
Reviewed-by: Alex Austin <alex.austin@spectrumdsi.com >
Tested-by: Spencer Oliver <spen@spen-soft.co.uk >
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk >
2011-10-13 20:18:43 +00:00
Michel Jaouen
5a7cff26a5
breakpoint : smp software breakpoint issue
...
Change-Id: Iefe78bad71d4fdb38ae412ab8fe2f6282836c22e
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com >
Reviewed-on: http://openocd.zylin.com/14
Tested-by: Spencer Oliver <spen@spen-soft.co.uk >
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk >
2011-10-13 18:54:04 +00:00
Michel Jaouen
3ab7855d1a
breakpoint : indentation
...
Change-Id: Icdb8f72dbb516cd0dfc612c3d61b6801f6382be6
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com >
2011-10-11 22:04:24 +02:00
Spencer Oliver
cf692abe83
replace berlios url's with sourceforge url's
...
Change-Id: I1c9957bb64df87cee7c5e832f21453eb8934a5fb
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net >
2011-10-11 17:18:05 +01:00
Andreas Fritiofson
92b14f8ca9
stm32f1x: use async algorithm in flash programming routine
...
Let the target algorithm be running in the background and buffer data
continuously through a FIFO. This reduces or removes the effect of latency
because only a very small number of queue executions needs to be done per
buffer fill. Previously, the many repeated target state changes, register
accesses (really inefficient) and algorithm uploads caused the flash
programming to be latency bound in many cases. Now it should scale better
with increased throughput.
Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com >
2011-10-09 00:00:53 +02:00
Andreas Fritiofson
a147563ac1
stm32f1x: use register base instead of register offset
...
Access the different flash banks' registers using a bank specific register
base and a register specific offset. This is equivalent but feels more
natural.
Some accesses were discovered that maybe should not be hard coded to bank0
registers. Add a note about that.
Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com >
2011-10-09 00:00:52 +02:00
Andreas Fritiofson
1163435e19
cortex_m3: use armv7m's async algorithm implementation
...
Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com >
2011-10-09 00:00:52 +02:00