On Wed, 9 Jun 2010 14:30:29 +1200
[email protected] wrote:

> 
> Hi Hans,
> 
> I (the author) would be interested in the Snoopy logs :).
> 
> There is a change you might like to try. I has worked for some people
> but I haven't committed it yet as I'm still trying to figure out if it's
> going to break things for others:
> 
> diff --git a/fet.c b/fet.c
> index 0907f87..1c745fd 100644
> --- a/fet.c
> +++ b/fet.c
> @@ -812,7 +812,7 @@ device_t fet_open(transport_t transport, int
> proto_flags, int vcc_mv, /* configure: Spy-Bi-Wire or JTAG */
>         if (xfer(dev, C_CONFIGURE, NULL, 0,
>                  2, FET_CONFIG_PROTOCOL,
> -                (proto_flags & FET_PROTO_SPYBIWIRE) ? 1 : 0) < 0) {
> +                (proto_flags & FET_PROTO_SPYBIWIRE) ? 1 : 2) < 0) {
>                 fprintf(stderr, "fet: configure failed\n");
>                 goto fail;
>         }
> 
> This appears to be a slightly different JTAG mode, and apparently it's
> used by the new IAR software when querying devices on startup.

Hi Daniel,

Thanks, that one seems to do the trick for me. I briefly tested it and now
it starts up and initialises correctly. Haven't been able to do any
further testing due to time contraints.

Regards,

Hans

> 
> - Daniel

Reply via email to