RE: S1 - snprintf does not work with float.
Sorry, in an SSP 1.1.x project the heap is set to 0KB for an S1 project by default.
View ArticleRE: S1 - snprintf does not work with float.
I would also make sure the stack size for the caller thread is set to at least 1k when using newlib-nano (2k with default newlib). If you're running out of memory you can push "main stack" on the BSP...
View ArticleRE: fx_file_open fails to open file
Hello Laser,What is the value of the status variable - it usually gives away what is wrong with the function call. Once you pause the project when it's trapped at while(1), you can hover over "status"...
View ArticleRE: Some errors during compilation with NetX + USBX project
Hello Alex,You do not need to include bsp_api, tx_port & etc. - they are included through xxx_thread.h file. ux_utility.h is also not necessary to implement on the application level. The errors you...
View ArticleRE: Suggestion for Synergy Configuration enhancement
Hello Laboratori,This limitation is imposed by the framework, not the driver. Framework has a dependency on the driver, but not on its specific setup (I'm not sure this can be implemented in the...
View ArticleSuggestion for Synergy Configuration enhancement
Two days ago I had a problem when configuring the ADC Periodic Framework using the Synergy Configuration tool. I tried to acquire simultaneously some normal analog channels plus the internal...
View ArticleRE: S1 - snprintf does not work with float.
"Merging" your replies I have been able to solve the problem :-).Sergey: Yes, you are right. My mistake. However the problem was still present.Jeremy: Enabling the newlib-nano with floating support...
View ArticleRE: S1 - snprintf does not work with float.
For a GNU project, synergy provides it own _sbrk() function, that is called by the C runtime library when memory from the heap needs to be allocated. This is located in...
View ArticleS1 - snprintf does not work with float.
Hello, i am working with a project on a S1 MCU and I figured out that the "snprintf" function does not work with float.Try this dummy code:#include "new_thread0.h"#include "stdio.h"void...
View ArticleRE: Some errors during compilation with NetX + USBX project
Hi Karol,First, thank you for your reply. I deleted bsp_api, tx_port and ux_utility, then I rebuild the project but I already have the same errors and another likes "redefinition of '_fxe_file_read'",...
View ArticleRE: fx_file_open fails to open file
Hello Laser,24 decimal is FX_PTR_ERROR (pointer error). You'll have to check that &g_fx_media0 and &g_my_file are valid pointers and that media is opened and initialized before calling...
View ArticleRE: Some errors during compilation with NetX + USBX project
Hello Alex,This happens because even though you've specified NX_HTTP_NO_FILEX to use filex_stub.h, the ux_host_class_storage.h still pulls in fx_api.h, providing new prototypes for the functions...
View ArticleSome errors during compilation with NetX + USBX project
Hi all,I have a projet with a NetX Webserver with which I display live video streaming by the camera of the Synergy DK card, and all of this works fine.Now, I would like to use USBX to add some...
View ArticleRE: fx_file_open fails to open file
They are defined as follows:extern FX_FILE g_my_file;and g_fx_media0 is the name given to the FileX block:The strange is that the first time I create the file, then I am able to open successfully,...
View ArticleRE: fx_file_open fails to open file
Hello Laser,What does the g_my_file link to? In the most examples it's creates as static variable. If you're linking it externally it should be present somewhere else. Also, are you closing the file...
View Articlefx_file_open fails to open file
Hi,in my application I have a file.dat stored on the eMMC. Sometimes I need to update the records inside that file, but the fx_file_open operations fails. My code is:UINT status;char fileName[] =...
View ArticleThreadX Defines You Might be Wondering About
Here are three ThreadX Defines you might find if you did deep into the code.Two of the three defines are tool related and specific to IAR and GHS tools. They are documented in the associated...
View ArticleRE: Enable NetX Socket ADDR_REUSE Flag
I am having the same issue. Once in a while I can connect, send a packet, get the response, and close the connection. When it works, I can repeat this every 10 seconds for a while, then suddenly I...
View Article