]>
git.sur5r.net Git - openocd/log
duane [Sun, 21 Jun 2009 03:22:10 +0000 (03:22 +0000)]
C99 printf() -Werror fixes
git-svn-id: svn://svn.berlios.de/openocd/trunk@2344
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
duane [Sun, 21 Jun 2009 03:22:04 +0000 (03:22 +0000)]
C99 printf() -Werror fixes
git-svn-id: svn://svn.berlios.de/openocd/trunk@2343
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
duane [Sun, 21 Jun 2009 03:21:59 +0000 (03:21 +0000)]
C99 printf() -Werror fixes
git-svn-id: svn://svn.berlios.de/openocd/trunk@2342
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
duane [Sun, 21 Jun 2009 03:21:55 +0000 (03:21 +0000)]
C99 printf() -Werror fixes
git-svn-id: svn://svn.berlios.de/openocd/trunk@2341
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
duane [Sun, 21 Jun 2009 03:21:50 +0000 (03:21 +0000)]
C99 printf() -Werror fixes
git-svn-id: svn://svn.berlios.de/openocd/trunk@2340
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
duane [Sun, 21 Jun 2009 03:20:46 +0000 (03:20 +0000)]
C99 printf() -Werror fixes
git-svn-id: svn://svn.berlios.de/openocd/trunk@2339
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
duane [Sun, 21 Jun 2009 03:20:41 +0000 (03:20 +0000)]
C99 printf() -Werror fixes
git-svn-id: svn://svn.berlios.de/openocd/trunk@2338
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
duane [Sun, 21 Jun 2009 03:20:35 +0000 (03:20 +0000)]
C99 printf() -Werror fixes
git-svn-id: svn://svn.berlios.de/openocd/trunk@2337
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
duane [Sun, 21 Jun 2009 03:20:31 +0000 (03:20 +0000)]
C99 printf() -Werror fixes
git-svn-id: svn://svn.berlios.de/openocd/trunk@2336
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
duane [Sun, 21 Jun 2009 03:20:26 +0000 (03:20 +0000)]
C99 printf() -Werror fixes
git-svn-id: svn://svn.berlios.de/openocd/trunk@2335
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
duane [Sun, 21 Jun 2009 03:20:17 +0000 (03:20 +0000)]
C99 printf() -Werror fixes
git-svn-id: svn://svn.berlios.de/openocd/trunk@2334
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
duane [Sun, 21 Jun 2009 03:20:12 +0000 (03:20 +0000)]
C99 printf() -Werror fixes
git-svn-id: svn://svn.berlios.de/openocd/trunk@2333
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
duane [Sun, 21 Jun 2009 03:20:06 +0000 (03:20 +0000)]
C99 printf() -Werror fixes
git-svn-id: svn://svn.berlios.de/openocd/trunk@2332
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
duane [Sun, 21 Jun 2009 03:20:00 +0000 (03:20 +0000)]
C99 printf() -Werror fixes
git-svn-id: svn://svn.berlios.de/openocd/trunk@2331
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
duane [Sun, 21 Jun 2009 03:19:55 +0000 (03:19 +0000)]
C99 printf() -Werror fixes
git-svn-id: svn://svn.berlios.de/openocd/trunk@2330
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
duane [Sun, 21 Jun 2009 03:19:51 +0000 (03:19 +0000)]
C99 printf() -Werror fixes
git-svn-id: svn://svn.berlios.de/openocd/trunk@2329
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
duane [Sun, 21 Jun 2009 03:17:52 +0000 (03:17 +0000)]
C99 printf() -Werror fixes
git-svn-id: svn://svn.berlios.de/openocd/trunk@2328
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
duane [Sun, 21 Jun 2009 03:17:46 +0000 (03:17 +0000)]
C99 printf() -Werror fixes
git-svn-id: svn://svn.berlios.de/openocd/trunk@2327
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
duane [Sun, 21 Jun 2009 03:17:40 +0000 (03:17 +0000)]
C99 printf() -Werror fixes
git-svn-id: svn://svn.berlios.de/openocd/trunk@2326
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
duane [Sun, 21 Jun 2009 03:17:33 +0000 (03:17 +0000)]
C99 printf() -Werror fixes
git-svn-id: svn://svn.berlios.de/openocd/trunk@2325
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
duane [Sun, 21 Jun 2009 03:17:28 +0000 (03:17 +0000)]
C99 printf() -Werror fixes
git-svn-id: svn://svn.berlios.de/openocd/trunk@2324
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
duane [Sun, 21 Jun 2009 03:17:23 +0000 (03:17 +0000)]
C99 printf() -Werror fixes
git-svn-id: svn://svn.berlios.de/openocd/trunk@2323
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
duane [Sun, 21 Jun 2009 03:17:16 +0000 (03:17 +0000)]
C99 printf() -Werror fixes
git-svn-id: svn://svn.berlios.de/openocd/trunk@2322
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
duane [Sun, 21 Jun 2009 03:17:10 +0000 (03:17 +0000)]
C99 printf() -Werror fixes
git-svn-id: svn://svn.berlios.de/openocd/trunk@2321
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
duane [Sun, 21 Jun 2009 03:17:03 +0000 (03:17 +0000)]
C99 printf() -Werror fixes
git-svn-id: svn://svn.berlios.de/openocd/trunk@2320
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
duane [Sun, 21 Jun 2009 03:16:52 +0000 (03:16 +0000)]
C99 printf() -Werror fixes
git-svn-id: svn://svn.berlios.de/openocd/trunk@2319
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
duane [Sun, 21 Jun 2009 03:16:46 +0000 (03:16 +0000)]
C99 printf() -Werror fixes
git-svn-id: svn://svn.berlios.de/openocd/trunk@2318
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
duane [Sun, 21 Jun 2009 03:16:38 +0000 (03:16 +0000)]
C99 printf() -Werror fixes
git-svn-id: svn://svn.berlios.de/openocd/trunk@2317
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
duane [Sun, 21 Jun 2009 03:16:29 +0000 (03:16 +0000)]
C99 printf() -Werror fixes
git-svn-id: svn://svn.berlios.de/openocd/trunk@2316
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
duane [Sun, 21 Jun 2009 03:16:22 +0000 (03:16 +0000)]
C99 printf() -Werror fixes
git-svn-id: svn://svn.berlios.de/openocd/trunk@2315
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
duane [Sun, 21 Jun 2009 03:16:18 +0000 (03:16 +0000)]
C99 printf() -Werror fixes
git-svn-id: svn://svn.berlios.de/openocd/trunk@2314
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
duane [Sun, 21 Jun 2009 03:16:14 +0000 (03:16 +0000)]
C99 printf() -Werror fixes
git-svn-id: svn://svn.berlios.de/openocd/trunk@2313
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
duane [Sun, 21 Jun 2009 03:16:09 +0000 (03:16 +0000)]
C99 printf() -Werror fixes
git-svn-id: svn://svn.berlios.de/openocd/trunk@2312
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
duane [Sun, 21 Jun 2009 03:16:05 +0000 (03:16 +0000)]
C99 printf() -Werror fixes
git-svn-id: svn://svn.berlios.de/openocd/trunk@2311
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
duane [Sun, 21 Jun 2009 03:15:59 +0000 (03:15 +0000)]
C99 printf() -Werror fixes
git-svn-id: svn://svn.berlios.de/openocd/trunk@2310
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
duane [Sun, 21 Jun 2009 03:15:51 +0000 (03:15 +0000)]
C99 printf() -Werror fixes
git-svn-id: svn://svn.berlios.de/openocd/trunk@2309
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
duane [Sun, 21 Jun 2009 03:15:47 +0000 (03:15 +0000)]
C99 printf() -Werror fixes
git-svn-id: svn://svn.berlios.de/openocd/trunk@2308
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
duane [Sun, 21 Jun 2009 03:15:42 +0000 (03:15 +0000)]
C99 printf() -Werror fixes
git-svn-id: svn://svn.berlios.de/openocd/trunk@2307
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
duane [Sun, 21 Jun 2009 03:15:36 +0000 (03:15 +0000)]
C99 printf() -Werror fixes
git-svn-id: svn://svn.berlios.de/openocd/trunk@2306
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
duane [Sun, 21 Jun 2009 03:15:32 +0000 (03:15 +0000)]
C99 printf() -Werror fixes
git-svn-id: svn://svn.berlios.de/openocd/trunk@2305
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
duane [Sun, 21 Jun 2009 03:15:28 +0000 (03:15 +0000)]
C99 printf() -Werror fixes
git-svn-id: svn://svn.berlios.de/openocd/trunk@2304
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
duane [Sun, 21 Jun 2009 03:15:24 +0000 (03:15 +0000)]
C99 printf() -Werror fixes
git-svn-id: svn://svn.berlios.de/openocd/trunk@2303
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
duane [Sun, 21 Jun 2009 03:15:16 +0000 (03:15 +0000)]
C99 printf() -Werror fixes
git-svn-id: svn://svn.berlios.de/openocd/trunk@2302
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
duane [Sun, 21 Jun 2009 03:15:10 +0000 (03:15 +0000)]
C99 printf() -Werror fixes
git-svn-id: svn://svn.berlios.de/openocd/trunk@2301
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
duane [Sun, 21 Jun 2009 03:15:03 +0000 (03:15 +0000)]
C99 printf() -Werror fixes
git-svn-id: svn://svn.berlios.de/openocd/trunk@2300
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
duane [Sun, 21 Jun 2009 03:14:58 +0000 (03:14 +0000)]
C99 printf() -Werror fixes
git-svn-id: svn://svn.berlios.de/openocd/trunk@2299
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
duane [Sun, 21 Jun 2009 03:01:21 +0000 (03:01 +0000)]
C99 printf() -Werror fixes
git-svn-id: svn://svn.berlios.de/openocd/trunk@2298
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
duane [Sun, 21 Jun 2009 03:00:43 +0000 (03:00 +0000)]
C99 printf() -Werror fixes
git-svn-id: svn://svn.berlios.de/openocd/trunk@2297
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
duane [Sun, 21 Jun 2009 02:59:39 +0000 (02:59 +0000)]
C99 Type updates, include inttypes.h - it is catagorically required
git-svn-id: svn://svn.berlios.de/openocd/trunk@2296
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
mifi [Sat, 20 Jun 2009 18:19:21 +0000 (18:19 +0000)]
Set default for want_ftd2xx_highspeed to "no" instead of "maybe"
git-svn-id: svn://svn.berlios.de/openocd/trunk@2295
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
zwelch [Fri, 19 Jun 2009 23:56:52 +0000 (23:56 +0000)]
Remove editor preferences from source files.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2294
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
duane [Fri, 19 Jun 2009 23:15:58 +0000 (23:15 +0000)]
printf() warning fixes due to uint32_t change-over
git-svn-id: svn://svn.berlios.de/openocd/trunk@2293
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
zwelch [Fri, 19 Jun 2009 22:39:35 +0000 (22:39 +0000)]
Paulius Zaleckas <paulius.zaleckas@gmail.com>:
This is minimal patch to support FA526 ARMv4 compatible core.
Since it is very similar to ARM920T I tried to reuse as much
code as possible.
CPU and board configs will follow soon.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2292
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Fri, 19 Jun 2009 09:09:25 +0000 (09:09 +0000)]
less warnings
git-svn-id: svn://svn.berlios.de/openocd/trunk@2291
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Fri, 19 Jun 2009 08:18:36 +0000 (08:18 +0000)]
fix jtag_add_callback() args. The first argument is nothing special, it's just another generic argument.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2290
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
duane [Fri, 19 Jun 2009 06:05:46 +0000 (06:05 +0000)]
commit test from Duane
git-svn-id: svn://svn.berlios.de/openocd/trunk@2289
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Thu, 18 Jun 2009 13:40:38 +0000 (13:40 +0000)]
less warnings
git-svn-id: svn://svn.berlios.de/openocd/trunk@2288
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Thu, 18 Jun 2009 13:35:18 +0000 (13:35 +0000)]
less warnings
git-svn-id: svn://svn.berlios.de/openocd/trunk@2287
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
zwelch [Thu, 18 Jun 2009 10:42:40 +0000 (10:42 +0000)]
Oyvind Harboe <oyvind.harboe@zylin.com>:
Ecos uses sys/types.h not stdint.h.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2286
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
zwelch [Thu, 18 Jun 2009 10:40:33 +0000 (10:40 +0000)]
Cast 64-bit trace hit_counter to long long; fixes format warning.
What is the correct way to handle this?
git-svn-id: svn://svn.berlios.de/openocd/trunk@2285
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
zwelch [Thu, 18 Jun 2009 07:11:55 +0000 (07:11 +0000)]
Update Style Guide documentation to explain basic type rules.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2284
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
zwelch [Thu, 18 Jun 2009 07:11:48 +0000 (07:11 +0000)]
Remove redundant typedefs in types.h; include stdint.h unconditionally.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2283
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
zwelch [Thu, 18 Jun 2009 07:11:40 +0000 (07:11 +0000)]
Transform 'u64' to 'uint64_t'
- Replace '\([^_]\)u64' with '\1uint64_t'.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2282
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
zwelch [Thu, 18 Jun 2009 07:11:11 +0000 (07:11 +0000)]
Finish transforming 'u32' to 'uint32_t'.
- Replace '\([^_]\)u32' with '\1uint32_t'.
- Replace '^u32' with 'uint32_t'.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2281
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
zwelch [Thu, 18 Jun 2009 07:10:25 +0000 (07:10 +0000)]
Transform 'u32' to 'uint32_t' in src/flash.
- Replace '\([^_]\)u32' with '\1uint32_t'.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2280
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
zwelch [Thu, 18 Jun 2009 07:09:35 +0000 (07:09 +0000)]
Transform 'u32' to 'uint32_t' in src/target
- Replace '\([^_]\)u32' with '\1uint32_t'.
- Replace '^u32' with 'uint32_t'.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2279
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
zwelch [Thu, 18 Jun 2009 07:08:52 +0000 (07:08 +0000)]
Transform 'u32' to 'uint32_t' in src/target/arm*
- Replace '\([^_]\)u32' with '\1uint32_t'.
- Replace '^u32' with 'uint32_t'.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2278
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
zwelch [Thu, 18 Jun 2009 07:07:59 +0000 (07:07 +0000)]
Transform 'u16' to 'uint16_t'
- Replace '\([^_]\)u16' with '\1uint16_t'.
- Replace '^u16' with 'uint16_t'.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2277
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
zwelch [Thu, 18 Jun 2009 07:07:12 +0000 (07:07 +0000)]
Transform 'u8' to 'uint8_t'
- Replace '\([^_]\)u8' with '\1uint8_t'.
- Replace '^u8' with 'uint8_t'.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2276
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
zwelch [Thu, 18 Jun 2009 07:06:25 +0000 (07:06 +0000)]
Transform 'u8' to 'uint8_t' in src/flash
- Replace '\([^_]\)u8' with '\1uint8_t'.
- Replace '^u8' with 'uint8_t'.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2275
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
zwelch [Thu, 18 Jun 2009 07:04:08 +0000 (07:04 +0000)]
Transform 'u8' to 'uint8_t' in src/target
- Replace '\([^_]\)u8' with '\1uint8_t'.
- Replace '^u8' with 'uint8_t'.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2274
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
zwelch [Thu, 18 Jun 2009 04:08:51 +0000 (04:08 +0000)]
David Brownell <david-b@pacbell.net>:
The PLD stuff hasn't been documented yet. It's just Virtex2 for now,
but it looks like adding others would be easy.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2273
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
zwelch [Thu, 18 Jun 2009 00:29:45 +0000 (00:29 +0000)]
David Brownell <david-b@pacbell.net>:
Clean up the PLD files:
- Get rid of some extraneous whitespace
- Make various functions static
- Wrap overlong lines
git-svn-id: svn://svn.berlios.de/openocd/trunk@2272
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
zwelch [Thu, 18 Jun 2009 00:29:39 +0000 (00:29 +0000)]
David Brownell <david-b@pacbell.net>:
Various bits of cleanup, mostly to match the style hints
I just got around to writing up.
- Various @cindex improvements
- Cross reference the command line options in a few spots,
notably for @command{debug_level}
- Clean the config file guidelines a bit:
* They're for all users, not just integrators
* Reference the interface config chapter
* Don't emphasize command line usage here
* Tweak board and target config introductory text
Plus two minor bits of cleanup: remove most date references,
and refer to the reader as "you" not "the user".
git-svn-id: svn://svn.berlios.de/openocd/trunk@2271
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
zwelch [Thu, 18 Jun 2009 00:29:33 +0000 (00:29 +0000)]
David Brownell <david-b@pacbell.net>:
Take a whack at providing some texinfo style docs.
Mostly it's just basic "how 2 write sane dox" stuff.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2270
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Wed, 17 Jun 2009 20:49:55 +0000 (20:49 +0000)]
Freddie Chopin <freddie_chopin@op.pl> makes lpc2478.cfg file more "standard" and - what is most important - correct (it's working [; ). I've also added some comments which try to clarify the meaning of all that's in there.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2269
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Wed, 17 Jun 2009 10:51:34 +0000 (10:51 +0000)]
dummy driver now works under eCos
git-svn-id: svn://svn.berlios.de/openocd/trunk@2268
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
zwelch [Wed, 17 Jun 2009 06:44:29 +0000 (06:44 +0000)]
David Brownell <david-b@pacbell.net>:
Update the Beagle setup:
- OMAP3530 updates:
* split ICEpick TAP enable support to its own file, for
reuse and eventually for storing other utility code
like emulation reset
* clean up, including labeling the tap as for DAP not
for the Cortex-A8 and making endianness non-variable
* add a few FIXMEs
- BeagleBoard cleanup: there's no SRST, "endstate" is gone, etc
I'm not sure I'd say it's further than "barely limping" just yet.
Key issues remain lack of Cortex-A8 support, and more complete
support for resetting.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2267
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
zwelch [Wed, 17 Jun 2009 06:41:05 +0000 (06:41 +0000)]
David Brownell <david-b@pacbell.net>:
Fix for a goofy "board" config ... reuse target/pxa270.cfg
instead of using a private copy.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2266
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
zwelch [Wed, 17 Jun 2009 06:40:58 +0000 (06:40 +0000)]
David Brownell <david-b@pacbell.net>:
DM6446 config updates:
- List two more TAPs, as disabled, mostly for doc purposes
- Included basic ICEpick support, still disabled by default
- Shorten line lengths
- Use $_TARGETNAME to configure the ETM and ETB
- This ARM core don't support endianness overriding
For now, boards that can't jumper EMU0/EMU1 will need to tweak
a variable's setting.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2265
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
zwelch [Wed, 17 Jun 2009 06:40:50 +0000 (06:40 +0000)]
David Brownell <david-b@pacbell.net>:
Let jtag_call_event_callbacks() behave when the callback removes itself.
Oddly, this crashed on x86_32 but not x86_64.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2264
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
zwelch [Wed, 17 Jun 2009 06:40:39 +0000 (06:40 +0000)]
David Brownell <david-b@pacbell.net>:
Fix parsing bugs for "$target_name mww addr data [count]" ... it was
always requiring the count, instead of just defaulting it to one.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2263
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
zwelch [Wed, 17 Jun 2009 06:10:10 +0000 (06:10 +0000)]
Fix compilation for Ubuntu 9.04 on x86-64 when using --enable-httpd.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2262
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
zwelch [Wed, 17 Jun 2009 01:59:59 +0000 (01:59 +0000)]
Set svn:eol-style native on ZY1000 minidriver header file.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2261
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
zwelch [Wed, 17 Jun 2009 00:31:06 +0000 (00:31 +0000)]
Ensure range errors are reported only when errno indicates one occurred.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2260
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
zwelch [Wed, 17 Jun 2009 00:30:52 +0000 (00:30 +0000)]
Change parse_type macros to be sed-friendly.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2259
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
zwelch [Wed, 17 Jun 2009 00:30:44 +0000 (00:30 +0000)]
Add argument parsing errors in command.h, use in parse_type routines.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2258
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
zwelch [Wed, 17 Jun 2009 00:30:36 +0000 (00:30 +0000)]
Move definition of parse_type helpers to command.c:
- Add declarations in header file.
- Improve wrapper implementations to check for underflow.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2257
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
zwelch [Wed, 17 Jun 2009 00:30:29 +0000 (00:30 +0000)]
Convert core parse_type implementations to check for underflow errors.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2256
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
zwelch [Wed, 17 Jun 2009 00:30:20 +0000 (00:30 +0000)]
Add improved support for parsing signed integers.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2255
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
zwelch [Wed, 17 Jun 2009 00:30:11 +0000 (00:30 +0000)]
Update parse_type macro definitions to allow re-use with signed types.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2254
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
zwelch [Wed, 17 Jun 2009 00:29:56 +0000 (00:29 +0000)]
Improve definitions of parse_ulong and parse_ullong:
- Use macro to eliminate duplicate body definitions.
- Rename okay as is_okay; add parenthesis to help "clarify" logic.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2253
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
zwelch [Tue, 16 Jun 2009 12:17:26 +0000 (12:17 +0000)]
David Brownell <david-b@pacbell.net>:
Fix a bug preventing ICEpick "enable that TAP" code from working:
the "runtest" command wrongly finished with a JTAG reset, discarding
the work the TAP enable handler just finished! Instead, JTAG should
stay in RUN/IDLE state.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2252
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
zwelch [Tue, 16 Jun 2009 12:17:18 +0000 (12:17 +0000)]
David Brownell <david-b@pacbell.net>:
Extend the internal JTAG event handlers to cover enable/disable,
and use those events to make sure that targets get "examined" if
they were disabled when the scan chain was first set up:
- Remove "enum jtag_tap_event", merge with "enum jtag_event",
so C code can now listen for TAP enable/disable events.
- Report those events so they can trigger callbacks.
- During startup, make target_examine() register a handler to
catch ENABLE events for any then-disabled targets.
This fixes bugs like "can't halt target after enabling its TAP".
One class of unresolved bugs: if the target has an ETM hooked
up to an ETB, nothing activates the ETB. But starting up the
ETM without access to the ETB registers fails...
git-svn-id: svn://svn.berlios.de/openocd/trunk@2251
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
zwelch [Tue, 16 Jun 2009 12:17:12 +0000 (12:17 +0000)]
David Brownell <david-b@pacbell.net>:
Tighten error handling on TAP enable/disable paths a bit:
- Don't enable/disable unless it's necessary. Those event
handlers could have nasty side effects...
- Don't *succeed* enables/disables if there was no code which
could have implemented that action. This prevents bugs like
wrongly acting as if the scan chain changed.
- Minor whitespace cleanup in enable/disable command code.
The big problem is still the lack of code to verify scan chains
were actually updated as requested; this adds a comment on that.
I suspect the best we can do near term will be to verify IDCODE.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2250
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
zwelch [Tue, 16 Jun 2009 00:23:32 +0000 (00:23 +0000)]
David Brownell <david-b@pacbell.net>:
Fix bug in a warning. It warned about "huge IRlength" for an
older JRC with a two bit instruction register ... wrong!
git-svn-id: svn://svn.berlios.de/openocd/trunk@2249
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
zwelch [Tue, 16 Jun 2009 00:23:22 +0000 (00:23 +0000)]
David Brownell <david-b@pacbell.net>:
Distributing FTDI's "ftd2xx" library with OpenOCD violates the
OpenOCD license (GNU GPLv2 with no exceptions).
Make that clear where that build option is presented, and don't
describe the FTDI libraries as an option for any packager. (It's
fine for personal use, of course.)
Plus some related clarifications: libftdi version 0.16 for the
new FT2232H chips (for RTCK and high speed USB); the Amontec
drivers are just ftd2xx variants.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2248
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
zwelch [Tue, 16 Jun 2009 00:23:13 +0000 (00:23 +0000)]
David Brownell <david-b@pacbell.net>:
Fix some polling issues:
- Don't background-poll disabled TAPs ... this was just a bug
waiting to happen. (And then it happened!)
- Don't fail command line polls of disabled taps; that's not any
kind of error, it's just that you can't do much. But do show
that tap-disabled status.
- Spell "continuous" correctly in the variable name. ;)
Not resolved by this patch: the need for an interlock whereby
other code (like the JTAG layer) can block all other access to
the JTAG layer, e.g. while enabling or disabling TAPs. And
that interlock needs to be timer-safe...
git-svn-id: svn://svn.berlios.de/openocd/trunk@2247
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
zwelch [Tue, 16 Jun 2009 00:23:00 +0000 (00:23 +0000)]
David Brownell <david-b@pacbell.net>:
Doc update: say "jtag newtap ... -disable" records the
state after exiting the RESET state, matching the only
implementation we're working with so far (TI ICEpick-C).
Matching code updates. Now we can be sure that the
"enabled" flag value is correct after JTAG resets.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2246
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
zwelch [Tue, 16 Jun 2009 00:22:52 +0000 (00:22 +0000)]
David Brownell <david-b@pacbell.net>:
Fix a memory leak in jtag_tap_free(): unregister the event
callback too.
Also fix the associated conceptual bug in unregistering JTAG
event callbacks: since the same callback procedure is used
many times with different callback data (a TAP handle), that
data must be considered when unregistering any callback.
This could fix some crashes after TAP registration errors,
by making sure the reset event handler doesn't scribble over
memory that's now used by something else.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2245
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60