On Tue, 21 Jun 2011 18:34:16 +0200, Martin Schmölzer
<[email protected]> wrote:
Hi,
my ULINK driver for OpenOCD is finally in a usable state. Attached is
a patch
set that adds this driver + the custom firmware for the ULINK
adapter.
Currently, this is only tested with an Olimex STM32-P103 development
board
(STM32F103RBT6). "stm32x mass_erase" and "flash write_image erase"
both work.
The driver/firmware uses one USB bulk endpoint and is designed to
queue
several commands into one packet for better throughput. The first
version of
the driver used the "naive" approach of one packet per command which
(of
course) had horrible performance (~ 800 Byte/sec flash speed for the
STM32).
The current implementation reaches about 4.5 kB/sec, which seems to
be the
maximum I can get out of the Cypress EZ-USB MCU that is used in the
ULINK
adapter.
Some features are still incomplete:
- Pathmove commands
- TCK speed: Currently, the ULINK only works at its maximum TCK
frequency
(about 150 kHz, measured using a digital storage oscilloscope).
I'm planning to complete these features and further testing by
early/mid july.
Feedback is highly appreciated!
Best regards,
Martin
Hi Martin,
I've got a ulink at home with an MCB board (I forgot the exact number),
so this is exciting news for me.
I've been wanting to lean the internals of OCD and Jtag for a while,
could anybody suggest some technical jtag/gdb/arm documents? I am also
curious, how did you figure out the format of the data in the packets
you're sending to the Ulink?
thanks,
-Chris
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development