Re: [Openocd-development] [PATCH]style: typedefs are evil

2011-08-31 Thread Martin Schmölzer
R(6, '0','0','0','0','0','1'); + +__code struct usb_string_descriptor strConfigDescr = +STR_DESCR(12, 'J','T','A','G',' ','A','d','a','p','t

Re: [Openocd-development] [PATCH]style: typedefs are evil

2011-08-30 Thread Martin Schmölzer
;m the author of the ULINK driver. From a first glance, I think it is possible to fully get rid of all the typedefs in this driver and firmware. Tomorrow I'll take a closer look at the changes and report back. Best regards, Martin Schmölzer ___

Re: [Openocd-development] Request for review: driver for Keil ULINK

2011-06-26 Thread Martin Schmölzer
On Thursday 23 June 2011 00:41:29, Drasko DRASKOVIC wrote: > Wow! Great work, Martin. > > BR, > Drasko Thanks for taking a look at it! Best regards, Martin ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.

Re: [Openocd-development] Request for review: driver for Keil ULINK

2011-06-21 Thread Martin Schmölzer
On Tuesday 21 June 2011 19:11:17 Christopher Harvey wrote: > > 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 technic

Re: [Openocd-development] ULINK driver: firmware license questions

2011-04-06 Thread Martin Schmölzer
On Wed, 2011-04-06 at 20:23 +0200, Mathias K. wrote: > If you use the ATMEL-JTAG interface or the special spi interface with > the reset line as chip select? I'm using the JTAG interface. My ULINK firmware however is not Atmel-specific but implements generic JTAG operations such as "read/write JT

Re: [Openocd-development] ULINK driver: firmware license questions

2011-04-06 Thread Martin Schmölzer
On Wed, 2011-04-06 at 17:45 +0200, Laurent Gauch wrote: > The EZ-USB gives access to USB but not to the ULINK interface. Right ? The ULINK consists of the EZ-USB microcontroller, an SRAM, an EEPROM and level shifters. There's even a schematic floating around the net: http://www.mikrocontroller.ne

[Openocd-development] ULINK driver: firmware license questions

2011-04-06 Thread Martin Schmölzer
Hi! I'm currently working on a driver for the Keil ULINK adapter. I have developed a custom firmware for the ULINK's Cypress EZ-USB microcontroller during the last six months and recently began implementing the OpenOCD driver. Of course, I'd like to contribute both the driver and the custom firmw

Re: [Openocd-development] Firmware download to JTAG adapter from OpenOCD driver

2011-04-04 Thread Martin Schmölzer
On Mon, 2011-04-04 at 00:02 +0200, Michael Schwingen wrote: > > Now I've got another question: where would be the best place to install > > the ULINK's firmware image when 'make install' is executed? > > Look at the IXP42x target: the debug handler binary file is installed on > "make install" and

Re: [Openocd-development] Firmware download to JTAG adapter from OpenOCD driver

2011-04-03 Thread Martin Schmölzer
On Sat, 2011-04-02 at 22:50 -0700, Phil Fong wrote: > I have not used this code myself so I'm not sure how you are supposed > to use it. However, I think it is used by the load_image command so > if it's broken than load image is broken. OK, I got it working. The base_address and/or base_address

Re: [Openocd-development] Firmware download to JTAG adapter from OpenOCD driver

2011-04-02 Thread Martin Schmölzer
Thanks - I tried that, it recognizes the correct amount of sections and their sizes in the ihex file but not the base address - I am getting random values when reading the base_address member in the struct "imagesection". Am I supposed to read the section address from that variable or is there som

[Openocd-development] Firmware download to JTAG adapter from OpenOCD driver

2011-04-01 Thread Martin Schmölzer
Hi! I am currently working on a driver for the Keil ULINK adapter. The microcontroller that is used in this adapter (Cypress EZ-USB, basically an 8051 + a USB core) needs its firmware downloaded over the USB bus after power-up. I am using SDCC to compile my own firmware, the output format is Inte

[Openocd-development] Adding support for Keil Ulink

2011-03-21 Thread Martin Schmölzer
Hi! I am interested in adding support for the Keil Ulink adapter to OpenOCD. I have a working toolchain based on sdcc to compile custom firmware code for the Ulink and already a working firmware to perform some basic JTAG tasks in conjunction with a C++ program that runs on the host PC. Current