move to different port
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 8 Apr 2021 14:03:55 +0000 (15:03 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 8 Apr 2021 14:03:55 +0000 (15:03 +0100)
small_jtag_test/main.cpp
small_jtag_test/openocd.cfg

index f277deecf4c95fe790b6c2b571adbcbe6d343a17..ed7a2a644f2cd473395591ad6bda06af913aa629 100644 (file)
@@ -30,7 +30,7 @@ int setup_socket()
 
        serv_addr.sin_family = AF_INET;
        serv_addr.sin_addr.s_addr = htonl(INADDR_ANY);
-       serv_addr.sin_port = htons(5000);
+       serv_addr.sin_port = htons(44853);
 
        bind(listenfd, (struct sockaddr*)&serv_addr, sizeof(serv_addr));
        listen(listenfd, 1);
index 0f78aa0685d747208d308703d3d7688c80f6697e..a3c7084a01aef9ffed34c1f2a4ba06df4d688a31 100644 (file)
@@ -1,6 +1,6 @@
 
 interface remote_bitbang
-remote_bitbang_port 5000
+remote_bitbang_port 44853
 remote_bitbang_host localhost
 
 # this should be irlen=4