On 06/06/2011 12:01, Mateusz Baran wrote:
Hello!
I trying program PIC32 by openOCD 0.5.0 and jtagkey but i have some
problem:/
I run openOCD: openocd.exe -f interface/jtagkey.cfg -f target/pic32mx.cfg
and that is effect:
http://obrazki.elektroda.pl/1329039700_1306928501.jpg
Info: JTAG Tap: pic32mx.cpu tap/device found: 0x0430e053 <mfg: 0x029,
part: 0x430e, ver: 0x0>
Warn: JTAG Tap: pic32mx.cpu unexpected: 0x0430e053 <mfg: 0x029, part:
0x430e, ver: 0x0>
Error: JTAG Tap: pic32mx.cpu expected 1 of 1: 0x30938053 <mfg: 0x029,
part: 0x430e, ver: 0x0>
Error: Trying to use configured scan chain anyway...
Warn: Bypassing JTAG setup events due to errors
I use PIC32MX795F512H and ID of this device is 0x0430E053 so openocd
read it correctly.
In latest source code from
git://openocd.git.sourceforge.net/gitroot/openocd/openocd in file
pic32mx.c is line:
{0x0430E053, "795F512H"},
Why it doesn't work?
you need to have look at board/microchip_explorer16.cfg and change the
CPUTAPID to match your target, eg.
# TAPID for PIC32MX795F512H
set CPUTAPID 0x0430e053
# use 32k working area
set WORKAREASIZE 32768
source [find target/pic32mx.cfg]
Cheers
Spen
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development