Quantcast
Channel: Renesas Synergy Platform
Viewing all articles
Browse latest Browse all 23645

Forum Post: NETX with S7G2 - Stuck on _nxe_tcp_socket_create

$
0
0
Hi all, I got some problem writing a code using NETX. I wrote a multiple thread with display and rtc, both working fine. But I need to put a TCP server on it, and there i got error. I using the tcp server code passed by Karol on the forum thread listed by [1] below. Its compiles fine, but when I run, all freezes. Running in debug i see it going fine until the function _nxe_tcp_socket_create, inside nx_tcp_socket_create. Again, I just take the code provided, inclusive that problematic part. The netx related components Im using: nx, nx_bsd, nx_bsd_src, nx_src and sf_el_nx. The Eth Thread: NetX Source --------- g_nx0 NetX on nx ----g_sf_el_nx NetX Port ETHER on sf_el_nx       |------ThreadX Source. This thread has 1 semaphore, as others threads. I had two others questions, by the way.  1) How can I set the TCP Port number? 2) just the display semaphore has a handling: void g_lcd_spi_callback(spi_callback_args_t * p_args) { (void)p_args; tx_semaphore_ceiling_put(&g_my_gui_semaphore, 1); } There's right? If not, how can I set up or down semaphore for ethernet? Said that, I ask help for anyone.   Thanks for all. forum post mentioned: http://renesasrulz.com/synergy/f/206/t/7095.aspx

Viewing all articles
Browse latest Browse all 23645

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>