2012/3/18 Franck Jullien <franck.jull...@gmail.com>:
> 2012/3/17 Peter Stuge <pe...@stuge.se>:
>> Hi Franck,
>>
>> Franck Jullien wrote:
>>> I'd like to know if someone as ever worked with the USB-Blaster,
>>> used this patch or create his own patch.
>>
>> A complete rewrite of the USB Blaster driver is being worked on.
>> You can assist or just follow the progress at
>>
>> http://openocd.zylin.com/#/c/467/
>>
>>
>> //Peter
>>
>> ------------------------------------------------------------------------------
>> This SF email is sponsosred by:
>> Try Windows Azure free for 90 days Click Here
>> http://p.sf.net/sfu/sfd2d-msazure
>> _______________________________________________
>> OpenOCD-devel mailing list
>> OpenOCD-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/openocd-devel
>
> Hi Peter,
>
> Thank you for the info. I'll take a look at the current work and see
> if I can help.
>
> Franck.

For your information,

I did test the current patch available and it doesn't work for me. I
have a test platform using an USB-Blaster (built-in my DE1 board) and
an OpenRISC cpu.

If I use the old usb_blaster.c it works (very slowly).

Debug: 165 56 core.c:1435 jtag_init_inner(): Init JTAG chain
Debug: 166 56 core.c:329 jtag_call_event_callbacks(): jtag event: TAP reset
Debug: 167 62 core.c:1055 jtag_examine_chain(): DR scan interrogation
for IDCODE/BYPASS
Debug: 168 62 core.c:329 jtag_call_event_callbacks(): jtag event: TAP reset
Info : 169 11919 core.c:955 jtag_examine_chain_display(): JTAG tap:
altera.cpu tap/device found: 0x020b30dd (mfg: 0x06e, part: 0x20b3,
ver: 0x0)
Debug: 170 11919 core.c:1219 jtag_validate_ircapture(): IR capture
validation scan
Debug: 171 12116 core.c:1280 jtag_validate_ircapture(): altera.cpu: IR
capture 0x155
Debug: 172 12116 openocd.c:150 handle_init_command(): Examining targets...
Debug: 173 12116 or1k_jtag.c:76 or1k_jtag_init():  Initialising
OpenCores JTAG TAP for Mohor Debug Interface
Debug: 174 12116 core.c:329 jtag_call_event_callbacks(): jtag event: TAP reset
.....

If I take the usb_blaster directory from the new implementation (and
changes the Makefile.am to compile the new files) it doesn't work....


Info : 170 95 core.c:955 jtag_examine_chain_display(): JTAG tap:
altera.cpu tap/device found: 0xffffffff (mfg: 0x7ff, part: 0xffff,
ver: 0xf)
Warn : 171 95 core.c:955 jtag_examine_chain_display(): JTAG tap:
altera.cpu       UNEXPECTED: 0xffffffff (mfg: 0x7ff, part: 0xffff,
ver: 0xf)
Error: 172 95 core.c:955 jtag_examine_chain_display(): JTAG tap:
altera.cpu  expected 1 of 1: 0x020b30dd (mfg: 0x06e, part: 0x20b3,
ver: 0x0)
Warn : 173 95 core.c:993 jtag_examine_chain_end(): Unexpected idcode
after end of chain: 608 0x00ffffff
Error: 174 95 core.c:1167 jtag_examine_chain(): double-check your JTAG
setup (interface, speed, missing TAPs, ...)
Error: 175 95 core.c:1479 jtag_init_inner(): Trying to use configured
scan chain anyway...
Debug: 176 95 core.c:1219 jtag_validate_ircapture(): IR capture validation scan
Error: 177 124 core.c:1274 jtag_validate_ircapture(): altera.cpu: IR
capture error; saw 0x1ff not 0x1
Debug: 178 124 core.c:329 jtag_call_event_callbacks(): jtag event: TAP reset
Warn : 179 127 core.c:1503 jtag_init_inner(): Bypassing JTAG setup
events due to errors
Debug: 180 127 openocd.c:150 handle_init_command(): Examining targets...
Debug: 181 127 or1k_jtag.c:76 or1k_jtag_init():  Initialising
OpenCores JTAG TAP for Mohor Debug Interface
Debug: 182 127 core.c:329 jtag_call_event_callbacks(): jtag event: TAP reset
Warn : 183 157 core.c:782 jtag_check_value_inner(): Bad value '01FF'
captured during DR or IR scan:
Warn : 184 157 core.c:783 jtag_check_value_inner():  check_value: 0x0001
Warn : 185 157 core.c:792 jtag_check_value_inner():  check_mask: 0x0003
Warn : 186 188 core.c:782 jtag_check_value_inner(): Bad value '01FF'
captured during DR or IR scan:
Warn : 187 188 core.c:783 jtag_check_value_inner():  check_value: 0x0001
Warn : 188 188 core.c:792 jtag_check_value_inner():  check_mask: 0x0003
.......

Franck.

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to