Hi Manuel,

First i appologize any inconvinience i made when im using this mailing
list.This is very first time of using developers mailing list.
Im going to perform boundary scanning operations on a CPLD or FPGA with
OpenOCD. Actually Open ocd has some good properties thats why i have
selected this.Its free and opensource. support JTAG etc...
What im doing is running boundaryscannings with a above PLDs.Thats why im
talking about different topic again and again.If OpenOCD support for CPLD
degugging it will be a powerful tool.That is my view.

Thank you so much for the answer. Your advice is correct. i didnt defined a
target that was the problem.Now i can communicated with GDB.

While im defining a target, there is no target type is available for CPLD
or FPGA families.There i have strugguled. so i have configured XC9536XL
which is im using as CotexM3 target. But polling error is occured with
nearly 6 seconds durations.( the problem was there is no specific target
type).Could you please give your advice on this?

Im discusing about a different topic other than the topics discussed among
the developers.Is it a disturbance to the community? Because im doing a
different work. Im sorry if i made any mistake here.Thank you so much for
the valuble help given at the mailing list.Thank you



Nuwan



>
> On Mon, Aug 20, 2012 at 5:42 AM, Manuel Borchers <[email protected]>wrote:
>
>> Hi Nuwan,
>>
>> Note: please keep the list CC'ed, so that everyone has the ability to
>> follow the discussion.
>>
>> It's actually not very clear what you are trying to achieve here. Again:
>> GDB is for debugging software that runs on a microprocessor or
>> -controller. A CPLD in itself isn't a processor and therefore GDB
>> doesn't fit in your scenario. I guess that you could connect at some
>> point because you had some target config, which was faking a processor.
>>
>> I guess (I actually don't know exactly, because I'm not into the
>> internals of OpenOCD) the GDB port is not opened and available (->
>> timeout when you try to connect to it), because you have no target
>> configured in your config files (we can only guess, as you didn't show
>> your condig file). This is correct, as the CPLD is no processor and
>> therefore has no target configuration.
>>
>> As Freddie pointed out, you can only send SVF files to the CPLD:
>> -- snip --
>> # first define a interface and speed
>>
>> jtag newtap LC4032ZE tap -irlen 8 -expected-id  0x01806043
>> init
>> svf some_file.svf
>> sleep 200
>> shutdown
>> -- snap --
>>
>> (This is untested by me, I currently don't use OpenOCD for CPLDs/FPGAs).
>>
>> I don't think that you should go on trying to get GDB working, as it is
>> not intended to be used for CPLDs/FPGAs. The telnet interface (on port
>> 4444) should be what you are looking for to send commands or SVF files.
>>
>> Cheers,
>> Manuel
>>
>>
>> Am Montag, den 20.08.2012, 06:07 -0400 schrieb Nuwan Jayasekara:
>> > I want to connect to CPLD with GDB to have boundary scans.i have
>> > execute them previously.by typing gdb at terminal
>> > then
>> > target remote localhost:3333
>> > then i executed some commands.but nwo this command following error
>> > (gdb) target remote localhost:3333
>> > localhost:3333: Connection timed out.
>> > (gdb)
>> >
>> > what will be the reson? for this i need a help to get rid of this.
>> >
>> > Thanks
>>
>> --
>> Manuel Borchers
>>
>> Web: http://www.matronix.de
>> eMail: [email protected]
>>
>>
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to