solved it. it was another program using port 4444. but i added this
code into the /server/server.c code at line 237
if (bind(c->fd, (struct sockaddr *)&c->sin, sizeof(c->sin)) ==
-1) {
LOG_ERROR("couldn't bind to socket: %s",
strerror(errno));
LOG_ERROR("debug message portnumber: %lu",
portnumber);
exit(-1);
}
and when running it, shows that it was port 4444, using
sudo netstat -ap
found that it was java and it listed the PID, using sudo kill (PID)
then relaunching the program now it took off and has other errors,
Debug: 771 487796 target.c:1359 target_call_event_callbacks(): target
event 0 (gdb-halt)
User : 772 491000 target.c:2321 handle_target(): Polling target
arm.cpu1 failed, GDB will be halted. Polling again in 6300ms
Debug: 773 491000 target.c:1359 target_call_event_callbacks(): target
event 0 (gdb-halt)
User : 774 494204 target.c:2321 handle_target(): Polling target
arm.cpu failed, GDB will be halted. Polling again in 6300ms
Debug: 775 494204 target.c:1359 target_call_event_callbacks(): target
event 0 (gdb-halt)
but the screen updates every couple seconds or so
>
>
>> am new at subscribing, hope this goes thru...
>>
>>
>>
>>
>>> Hi
>>>
>>> ive been trying to setup openOCD for about a week now; got past
>>> problems with prerequisites, and here is what happens when trying
>>> to launch:
>>>
>>> gps2@ubuntu:~/openocd$ ./src/openocd -f gw16042.cfg -f gw2388.cfg
>>> Open On-Chip Debugger 0.8.0-dev-00193-gff12044-dirty (2013-09-26-12:34)
>>> Licensed under GNU GPL v2
>>> For bug reports, read
>>> http://openocd.sourceforge.net/doc/doxygen/bugs.html
>>> Info : only one transport option; autoselect 'jtag'
>>> adapter speed: 1000 kHz
>>> trst_and_srst separate srst_gates_jtag trst_push_pull
>>> srst_open_drain connect_deassert_srst
>>> jtag_init
>>> Error: couldn't bind to socket: Address already in use
>>> gps2@ubuntu:~/openocd$
>>>
>>>
>>> the jtag pod is a gw16042 and the target board is a gw2388
>>>
>>> thanks for any advice
>>>
>>
>>
>>
>
>
>
>
> ------------------------------------------------------------------------------
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
> the latest Intel processors and coprocessors. See abstracts and register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
> _______________________________________________
> OpenOCD-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/openocd-devel
>
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel