[Openocd-development] field.in_value = NULL - general question

2011-04-07 Thread Drasko DRASKOVIC
Hi all, I have one general question regarding OpenOCD scans. What happens when we set some field.in_value = NULL, and in reality there are some bits that re shifted out on the scan chain ? Are they just ignored ? Does that pose the problem ? To give a concrete example, in the mips_ejtag.c we

Re: [Openocd-development] field.in_value = NULL - general question

2011-04-07 Thread Øyvind Harboe
On Thu, Apr 7, 2011 at 11:14 AM, Drasko DRASKOVIC drasko.drasko...@gmail.com wrote: Hi all, I have one general question regarding OpenOCD scans. What happens when we set some field.in_value = NULL, and in reality there are some bits that re shifted out on the scan chain ? Are they just

Re: [Openocd-development] field.in_value = NULL - general question

2011-04-07 Thread Drasko DRASKOVIC
On Thu, Apr 7, 2011 at 11:21 AM, Øyvind Harboe oyvind.har...@zylin.com wrote: On Thu, Apr 7, 2011 at 11:14 AM, Drasko DRASKOVIC drasko.drasko...@gmail.com wrote: Hi all, I have one general question regarding OpenOCD scans. What happens when we set some field.in_value = NULL, and in reality

Re: [Openocd-development] field.in_value = NULL - general question

2011-04-07 Thread Laurent Gauch
/ drasko.draskovic at gmail.com https://lists.berlios.de/mailman/listinfo/openocd-development wrote: // Hi all, // I have one general question regarding OpenOCD scans. // // What happens when we set some field.in_value = NULL, and in reality // there are some bits that re shifted out on the

Re: [Openocd-development] field.in_value = NULL - general question

2011-04-07 Thread Drasko DRASKOVIC
On Thu, Apr 7, 2011 at 1:09 PM, Laurent Gauch laurent.ga...@amontec.com wrote: / drasko.draskovic at gmail.com https://lists.berlios.de/mailman/listinfo/openocd-development wrote: // Hi all, // I have one general question regarding OpenOCD scans. // // What happens when we set some

Re: [Openocd-development] field.in_value = NULL - general question

2011-04-07 Thread Laurent Gauch
Drasko DRASKOVIC wrote: On Thu, Apr 7, 2011 at 1:09 PM, Laurent Gauch laurent.ga...@amontec.com wrote: / drasko.draskovic at gmail.com https://lists.berlios.de/mailman/listinfo/openocd-development wrote: // Hi all, // I have one general question regarding OpenOCD scans. // // What

Re: [Openocd-development] field.in_value = NULL - general question

2011-04-07 Thread Drasko DRASKOVIC
On Thu, Apr 7, 2011 at 1:48 PM, Laurent Gauch laurent.ga...@amontec.com wrote: Whoops, sorry... Without reading in SPrAcc bit (fields[0].in_value = NULL) I can obtain up to : 182.220215s (1.938 KiB/s). However, when I read it in (fields[0].in_value = spracc_in) I get : downloaded 361540

[Openocd-development] Actual configure file corrupted

2011-04-07 Thread Laurent Gauch
Last GIT has configure file corrupted. ; at line 14208 - 14245 - 14315 - 14348 - 14698 - 14726 do you need patch ? Regards, Laurent http://www.amontec.com http://www.amontec.com/jtagkey.shtml Amontec JTAGkey-2 : low-cost High-Speed USB JTAG cable interface

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

2011-04-07 Thread Laurent Gauch
/ 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.net/attachment/51828/ULink.pdf Keil is just using the

Re: [Openocd-development] Actual configure file corrupted

2011-04-07 Thread Peter Stuge
Laurent Gauch wrote: Last GIT has configure file corrupted. ; at line 14208 - 14245 - 14315 - 14348 - 14698 - 14726 do you need patch ? If you send a patch you are contributing more efficiently. You never have to ask if a change should be sent as a patch, just send the patch directly. :) If

Re: [Openocd-development] Actual configure file corrupted

2011-04-07 Thread Drasko DRASKOVIC
On Thu, Apr 7, 2011 at 5:19 PM, Peter Stuge pe...@stuge.se wrote: Laurent Gauch wrote: Last GIT has configure file corrupted. ; at line 14208 - 14245 - 14315 - 14348 - 14698 - 14726 do you need patch ? If you send a patch you are contributing more efficiently. You never have to ask if a

Re: [Openocd-development] Actual configure file corrupted

2011-04-07 Thread Peter Stuge
Drasko DRASKOVIC wrote: If you send a patch yourself you increase the chances that the change is included sooner. I did not look, but I had an impression from e-mail that Laurent thought that the file needs revert (being correct in previous revisions). If correct version is already

Re: [Openocd-development] Actual configure file corrupted

2011-04-07 Thread Laurent Gauch
On Thu, Apr 7, 2011 at 5:19 PM, Peter Stuge peter at stuge.se https://lists.berlios.de/mailman/listinfo/openocd-development wrote: / Laurent Gauch wrote: // Last GIT has configure file corrupted. // ; at line 14208 - 14245 - 14315 - 14348 - 14698 - 14726 // // do you need patch ? // // If you

Re: [Openocd-development] Actual configure file corrupted

2011-04-07 Thread Drasko DRASKOVIC
On Thu, Apr 7, 2011 at 5:51 PM, Laurent Gauch laurent.ga...@amontec.com wrote: We cannot patch this file, since the 'configure' is generated at compilation :-)! Well, it's generated from autotools (during bootstrap), so patch can be sent to these... BR, Drasko

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

2011-04-07 Thread Michael Schwingen
Laurent Gauch wrote: So, ULINK hardware is only used as board platform :-) So, you have your own protocol. I hope you have your own USB VID/PID too. Why should he? The hardware comes with a valid VID/PID combination - since he only loads a different firmware into the RAM of the ULINK, I do

Re: [Openocd-development] Actual configure file corrupted

2011-04-07 Thread Øyvind Harboe
Try: make distclean sh bootstrap ./configure --enable-maintainer-mode make if that doesn't work, upgrade various autoconf packages, etc. -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 87 40 27

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

2011-04-07 Thread simon qian
Is Schematics of ULINK available? Does it support SWD? I can check if it's suitable for Versaloon's USB_TO_XXX protocol. 2011/4/8 Michael Schwingen rincew...@discworld.dascon.de Laurent Gauch wrote: So, ULINK hardware is only used as board platform :-) So, you have your own protocol. I

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

2011-04-07 Thread Peter Stuge
simon qian wrote: Is Schematics of ULINK available? http://www.mikrocontroller.net/attachment/51828/ULink.pdf I can check if it's suitable for Versaloon's USB_TO_XXX protocol. That's a brilliant idea! //Peter ___ Openocd-development mailing list

[Openocd-development] mdh - 16bit memory

2011-04-07 Thread Rodrigo Rosa
hi! i do not understand how this code (from target.c) works. i'm working with a dsp568013. each memory address holds 16 bits. when i run mdh someaddress count with count over 16, openocd's output does not match what i would expect. the first 16 words are displayed in a line with address

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

2011-04-07 Thread simon qian
It seems that ULINK doesn't support SWD, because TMS pin is output only. But if use another pin for SWDIO input, ULINK can support TMS. Simply connect TMS pin to another input pin eg. J-TRAP. 2011/4/8 Peter Stuge pe...@stuge.se simon qian wrote: Is Schematics of ULINK available?

Re: [Openocd-development] mdh - 16bit memory

2011-04-07 Thread Rodrigo Rosa
another question: i haven't been able to find a way to make load_image and verify_image work with my target, any clues? to implement resume for example, i added .resume=my_resume_function to my target. is there something similar for load_image? i got this part, had to add .write_buffer and

Re: [Openocd-development] cygwin: git head jimsh compilation failed

2011-04-07 Thread Steve Bennett
On 05/04/2011, at 4:08 PM, Steve Bennett wrote: On 05/04/2011, at 3:53 PM, Mathias K. wrote: I was able to link openocd against libjim. There is only a problem to link jimsh against libjim. Strange. Perhaps you can send me libjim.a and I'll take a look. For the benefit of the list,