Quantcast
Channel: Forum - Recent Threads
Browsing all 5781 articles
Browse latest View live
↧

RE: Enable NetX Socket ADDR_REUSE Flag

Update:  I went away overnight, came back and, without changing anything it started working.  It worked for quite a while, through a number of compiles and changes, none of which were related to the...

View Article


Enable NetX Socket ADDR_REUSE Flag

Hi,I am using nx_tcp_client_socket_connect API. I want to set socket address reuse flag, which is possible in linux.Is there any way to do this?Because First when i use nx_tcp_client_socket_connect...

View Article


RE: Enable NetX Socket ADDR_REUSE Flag

If it helps, here is the majority of the code.   LOG() is a message logging routine - mostly just prints to the debug console.  PEND_CHECK() and UPEND_CHECK are just pended and unpended generic status...

View Article

RE: fx_file_open fails to open file

Hi Karol,yes, in the code I reported, the  FX_FILE g_my_file is decleared external, and it is correctly present in another module.I looked at the USBX sample code in your link. In my application, at...

View Article

RE: fx_file_open fails to open file

Hello Laser,If you created a file, written to it and closed it, then you should try using fx_media_flush to make sure that all buffers are flushed and data is actually written to the SD card (I'm not...

View Article


RE: fx_file_open fails to open file

Hi Karol,thank you, the problem was that I call the fx_media_close and then try to open the file again.Now, the second time I open the file to modify it, no error occours. But when I try to open that...

View Article

RE: fx_file_open fails to open file

Hello Laser,In one of the posts above I can see that you enabled "format media during initialization", hence your data is not retained after rebooting the board.Regards

View Article

Image may be NSFW.
Clik here to view.

RE: fx_file_open fails to open file

Yes, I had already change that option to "disabled", so I don't format the media now.When have I to call the fx_media_flush? Every time I write onto it or just before closing the media?It seems I...

View Article


RE: fx_file_open fails to open file

Hello Laser,You should call flush after writing the data and closing the file, and also before unmounting the media or shutting down the device.Regards

View Article


RE: Enable NetX Socket ADDR_REUSE Flag

More information:  This application is a replacement for an existing controller that we have 1500 of deployed and working.  They all work this same exact way - open the socket, send one packet (as seen...

View Article

RE: Enable NetX Socket ADDR_REUSE Flag

I think I found it... I'll let you know.

View Article

RE: GUIX template windows

Hello Lucas,GUIX Studio template windows gather window and its children under single instance that can be easily duplicated. The event handler for each template window is different (just as it would be...

View Article

RE: GUIX template windows

Thank you Karol for your reply.I'll try those alternatives you sugested and see what fits better in my application.Regards,Lucas

View Article


GUIX template windows

Hello everybody,I'm developing an application that has the same header and footer in every window. I'd like to know how to use a template window properly, and how to setup two event handlers in the...

View Article

RE: fx_file_open fails to open file

Hi Karol,sorry, but I still can't understand why in my application I am able to write one time after the creation of a file, and then I can't write on it anymore.Is there any reason why I can write...

View Article


RE: fx_file_open fails to open file

Hello Laser,By default, after opening the file, the read/write pointer is set to the start of the file, meaning you'll overwrite anything that's inside the file so far. You can place the pointer at the...

View Article

RE: fx_file_open fails to open file

Hi Karol,for me is ok to overwrite the whole file, so I don't need to add records at the end.Is it correct to close the file and flush the media at every reading or writing operation on that file?

View Article


RE: fx_file_open fails to open file

Hello Laser,You don't need to flush media after reading, it is only required after writing data. It think your transfer/sdmmc driver may be misconfigured, can you paste your setup? Also, when using...

View Article

Image may be NSFW.
Clik here to view.

RE: fx_file_open fails to open file

Karol,I am using the channel 0, my interrupts settings are:My configuration is:The situation is the following:I create the file:status = fx_file_create(&g_fx_media0, (CHAR *)nomeFile);Write...

View Article

RE: Playing Sound with S3

Hello Pascal,No Synergy device has an on-chip audio decoder, however that shouldn't stop it from playing sounds as you can either handle raw PCM data or implement software decoder. Let me discuss first...

View Article
Browsing all 5781 articles
Browse latest View live


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