I am having some problems with IAR 5.4 and the Jlink box programing some
of our boards that use the LPC2366.
I can program the parts by using ISP serial mode, but not JTAG. Funny thing is
that some of our boards work fine. Doesn't appear to be a CRP issue
because I can erase the parts otherwise.
The messages that I get from IAR are this, mostly...
Warning: Write failed (target is running) at Memory address 0xE01FC10C
Warning: Write failed (target is running) at Memory address 0xE01FC000
Warning: Write failed (target is running) at Memory address 0xE01FC004
Warning: Write failed (target is running) at Memory address 0xE01FC000
Also, I can get these messages many times even AFTER I unplug the JLink box from
the PCs USB port before it figures out it isn't there.
I did find ONE of my parts had 125 Ohms to ground on its reset pin, but
otherwise, things look fairly normal.
Any ideas or experience here ??
Thanks,
boB
IAR and JTAG problem programming ~some~ LPC2366 parts
Started by ●November 27, 2009
Reply by ●November 27, 20092009-11-27
--- In l..., "bobtransformer" wrote:
> I am having some problems with IAR 5.4 and the Jlink box programing some
> of our boards that use the LPC2366.
>
> I can program the parts by using ISP serial mode, but not JTAG. Funny thing is that some of our boards work fine. Doesn't appear to be a CRP issue because I can erase the parts otherwise.
>
> The messages that I get from IAR are this, mostly...
>
> Warning: Write failed (target is running) at Memory address 0xE01FC10C
> Warning: Write failed (target is running) at Memory address 0xE01FC000
> Warning: Write failed (target is running) at Memory address 0xE01FC004
> Warning: Write failed (target is running) at Memory address 0xE01FC000
> Also, I can get these messages many times even AFTER I unplug the JLink box from the PCs USB port before it figures out it isn't there.
>
> I did find ONE of my parts had 125 Ohms to ground on its reset pin, but otherwise, things look fairly normal.
>
> Any ideas or experience here ??
>
> Thanks,
> boB
>
Nevermind on this one... Looks like I had a bad cable assembly.
These boards are small and I have created a 50 mil spacing 9 pin
connector system to use instead of the typical JTAG connector.
It's nice and small, but makes cable plug in kind of a pain.
boB
> I am having some problems with IAR 5.4 and the Jlink box programing some
> of our boards that use the LPC2366.
>
> I can program the parts by using ISP serial mode, but not JTAG. Funny thing is that some of our boards work fine. Doesn't appear to be a CRP issue because I can erase the parts otherwise.
>
> The messages that I get from IAR are this, mostly...
>
> Warning: Write failed (target is running) at Memory address 0xE01FC10C
> Warning: Write failed (target is running) at Memory address 0xE01FC000
> Warning: Write failed (target is running) at Memory address 0xE01FC004
> Warning: Write failed (target is running) at Memory address 0xE01FC000
> Also, I can get these messages many times even AFTER I unplug the JLink box from the PCs USB port before it figures out it isn't there.
>
> I did find ONE of my parts had 125 Ohms to ground on its reset pin, but otherwise, things look fairly normal.
>
> Any ideas or experience here ??
>
> Thanks,
> boB
>
Nevermind on this one... Looks like I had a bad cable assembly.
These boards are small and I have created a 50 mil spacing 9 pin
connector system to use instead of the typical JTAG connector.
It's nice and small, but makes cable plug in kind of a pain.
boB