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
