Hi Magnus

On 4/28/09, Magnus Lundin <[email protected]> wrote:
> I have now tested JLink against my standard targets,
>
> the good is  I have found no problems, the bad is that I not found any
> causes of reported problems.
>
> I have checked Michael Fishers STR 711 program, I can connect to target,
> write and read momory, use gdb
>
> LPC_H2124 board, good connections, good debug connection,  domp, load
> and verify images to RAM
>
> STM32 board, connect ok, erase, program flash no problems, gdb OK.
>
> The STM32 is quite sensitive to the JLink speed, I seems we get more
> frequent OVERRUN errors than with a FT2232 adapter. This might be
> because the JLInk is faster and can saturate the DAP - Memory bus link
> more easy. We really need some way for the low level arm_adi driver to
> handle overrun errors, retry transactions and/or adapt the JTag speed,
> perhaps insert extra jtag clocks between scans. This is only necessary
> for transactions  going thruogh the target memory bus, and especially
> for reads, not when talking to the DAP controller.
>

I am getting a compilation error:

gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/helper
-I../../src/target     -g -O2 -Wall -Wstrict-prototypes
-Wformat-security -Wextra -Wno-unused-parameter -Wbad-function-cast
-Wcast-align -Werror -MT jlink.o -MD -MP -MF .deps/jlink.Tpo -c -o
jlink.o jlink.c
cc1: warnings being treated as errors
jlink.c: In function ‘usb_bulk_write_ex’:
jlink.c:893: warning: passing argument 1 of ‘usb_bulk_with_retries’
from incompatible pointer type
make[2]: *** [jlink.o] Error 1
make[2]: Leaving directory `/home/alan/openocd/openocd/src/jtag'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/alan/openocd/openocd/src'
make: *** [install-recursive] Error 1

> Best regards,
> Magnus
>

Best Regards,

Alan
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to