Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: [lpc2000] JTAG Programmer Confusion - Noob Question

2005-12-05 by Bertrik Sikken

Leon Heller wrote:
> ----- Original Message -----
> From: "Bertrik Sikken" <bertrik@...>
> 
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Dominic Rath wrote:
>>> Hello,
>>>
>>> gdb-jtag-arm doesn't support ARM7 targets, only ARM9TDMI. The ARM9 code
>>> has
>>> bugs, and I wouldn't count on its operation.
>>
>> How hard would it be to make it work? Something like this:
>> * fix existing bugs (what bugs do you know of?)
>> * replace pp.c (linux parallel port io) with a windows equivalent
>> * add support for LPC specific registers
>> ?
>>
>>> Macraigor (the company that sells the original "Wiggler") allows you to
>>> download their on-chip debug software for free. I used it with an Amontec
>>> Chameleon in its Wiggler configuration, but only on windows, the wiggler
>>> isn't supported by their linux version.
>>
>> I got my wiggler clone today (an olimex arm-jtag cable, the "new model"
>> with pin 8 and 15 connected on the PC side) and here what I found out
>> so far:
>>
>> I tried both ocdcommander and ocdremote and as far as I understand now,
>> the big problem with these is that they cannot set breakpoints in flash.
>> Besides, these programs and some wiggler clones don't seem to be
>> completely compatible with each other (my cable only works at the lowest
>> speed setting, 4 kHz, unless I perform some tricks.)
> 
> My interface works at full speed, perhaps I have a better PCB design. I
> wasn't very impressed by the layout on the genuine Wiggler I have, and mine
> is faster than that.

The weird thing is, getting ocdremote to recognise the cable is the
hard part, once that works it seems to run fine.
The trick I mentioned is to first tell ocdcommander that a raven cable
is connected, let it fail, then tell it to look for a wiggler. If I do
that, the wiggler is recognised fine, even at the highest speed.

Regards,
Bertrik

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.