Forum Post: RE: http server compile error: 'g_fx_media0' undeclared (first...
Hello, As an alternative to Ian's method, you can manually initialize the callback function pointer in USBX as soon as you enter your thread: /* Insertion/removal callback */ _ux_system_host-...
View ArticleForum Post: RE: Displaying images from USB storage SK-S7G2
Thanks Karol, now I am able to display JPEG images. However I still have a couple of issues: 1- For some sizes of images the image is not displayed properly (for example a full screen image of 480x800...
View ArticleForum Post: RE: USB Host - Problems with host class instance SSP1.1.3
Hi Jeremy, any ideas/updates on this matter? I've attempted different things (change priorities, change time slicing interval, adding sleeps...) but the only configuration that works as spected is the...
View ArticleForum Post: RE: Displaying images from USB storage SK-S7G2
Hello, Seems like you may have enabled additional screen layer by accident (verify in r_display properties that only background is set to "Used"). If that's not the case, try increasing JPEG buffer...
View ArticleForum Post: RE: USB Host - Problems with host class instance SSP1.1.3
If you are using the UX comms framework, this makes a call to ux_system_initialize() in SF_EL_UX_COMMS_Open() function, which is called after tx_application_define() is called. So, in your...
View ArticleForum Post: what does it mean if the QSPI.open function returns value 6?
err = g_qspi0.p_api- open(g_qspi0.p_ctrl, g_qspi0.p_cfg); if (SSP_SUCCESS != err) // here err is 6 { while(1); }
View ArticleForum Post: RE: what does it mean if the QSPI.open function returns value 6?
Which version of the SSP are you using and on which device? SSP error code 6 corresponds to SSP_ERR_UNSUPPORTED. This could mean that the feature of the QSPI driver you are trying to use is not...
View ArticleForum Post: RE: what does it mean if the QSPI.open function returns value 6?
if you are using the S7-DK board, enusre that the QSPI DIP switch is set to ON (S5 on the top board, switch no. 2)
View ArticleForum Post: RE: Displaying images from USB storage SK-S7G2
Thank you Karol, The image is perfectly shown now. Regarding the canvas drawing, I tried to display the image inside an icon, but the image is not centered inside the widget but in the 0,0 position of...
View ArticleForum Post: RE: USB Host - Problems with host class instance SSP1.1.3
I'm not using the communication framework, but directly the USBX on ux framework, so I have no SF_EL_UX_COMMS_Open() function: So do I have to change this for the Framework Connectivity sf_el_ux_comms...
View ArticleForum Post: Load new fonts from USB
Hello, We are working in an application with a PE-HMI board and we would like to load new fonts to the application dynamically at runtime. Does somebody know whether it is possible to load new .ttf...
View ArticleForum Post: RE: SYNERGY GUIX KEYBOARD EXAMPLE - GX_TYPE_KEYBOARD and Widgets
Hi Karol, We have created a keyboard for our application using the keyboard example delivered with GUIX studio. However there are some topics which are not very clear to us. We would like the user to...
View ArticleForum Post: RE: SYNERGY GUIX KEYBOARD EXAMPLE - GX_TYPE_KEYBOARD and Widgets
Hello, If your keyboard widget generates callback for key press and release, then you should implement sending GX_EVENT_KEY_DOWN and GX_EVENT_KEY_UP events at the widget you'd like to enter characters...
View ArticleForum Post: RE: Displaying images from USB storage SK-S7G2
Hello, Drawing functions in GUIX accept absolute co-ordinates only. This means that if your widget sits at 100,100, you should call gx_canvas_pixelmap_draw(100, 100, p_pixelmap); Moreover, you can use...
View ArticleForum Post: RE: Load new fonts from USB
Hello, All glyph-drawing functions inside GUIX rely on a static font table that's normally initialized from GUIX Studio output. You can create your own array of GX_FONT pointers and apply it to your...
View ArticleForum Post: RE: what does it mean if the QSPI.open function returns value 6?
I changed the qspi chip. now, open is ok, but erase and pageprogram is not functioning. ther all return 0, which is success, but the qspi memory is not erased or re-written. is it because of xip...
View ArticleForum Post: RE: what does it mean if the QSPI.open function returns value 6?
Hello Erkut, Once you open your QSPI driver, "Memory" tab will no longer show valid contents of QSPI (this is because debugger reads it through the CPU and opening the driver takes QSPI out of ROM...
View ArticleForum Post: RE: what does it mean if the QSPI.open function returns value 6?
after all function calls, I check the return value and the return value is success (zero)
View ArticleForum Post: RE: what does it mean if the QSPI.open function returns value 6?
the sequence I follow is, open, erase, write, close. after it there is a breakpoint, and I copy the contents to a string with strcpy(dest,src); the contents of "char dest[32]" is not what I wrote to...
View ArticleForum Post: RE: what does it mean if the QSPI.open function returns value 6?
Are you using statusGet to see whether write/erase is still active? Here's a snippet I use to erase the first 4MB of the QSPI: for (uint32_t i = 0; i (QSPI_SIZE / QSPI_SECTOR); i++) { status =...
View Article