I don’t understand why you are using uartData_q->Data without initialization of pointer uartData_q (null pointer) 5:49
@Aleexc2000 Жыл бұрын
Would you make one video about the OTA, Over The Air programming for STM32 wireless MCU?
@cherniyosri8669 Жыл бұрын
hello and thanks for the video I'm currently working on multiple screen project... actually 17 screen, each screen receives specific data from uart and displays it , I'm having an issue with modelListener,, when i use the instance to call a specific function in the model::tick, it tells me that the function is undefined in the other screens!! which is what i want! please I've been stuck here for almost two weeks and this is my final year project, i would be grateful for any help ',!
@LunaNLR Жыл бұрын
In the ModelListener.h, declare the function as "virtual void uart_Data (char *data) {}" (notice the change of ; to {}). This way the default implementation will be empty and not undefined.
@cherniyosri8669 Жыл бұрын
@@LunaNLR thanks for the reply! i tried that as first solution but then data won't display on any screen, but as an update i tried something esle and it eventually worked, i define the function as void in the screenpresenter.h of the screen that i won't need the data to be displayed in! yet i don't know if it makes sense or not!
@DridiAbdelkader-n7o Жыл бұрын
Hello , great work one question , i have a project with multiple screens and each screen receives specific data over UART , i tried to implement the same structure of this project on mine and i have issues with the model.cpp ,,, any idea or help on this
@SimonKas112 Жыл бұрын
I tried this with the Riverdi display, but I always get into HardFault Handler after leaving the line modelListener->uart_Data (RData); There's an ErrorMessage: No source available for "touchgfx::HAL::tick() at 0x8021dce"... Found no way to fix this, maybe someone has got an idea?
@ControllersTech Жыл бұрын
seems like a lot of people are getting issues with the Riverdi. I will make 2 3 more videos with the display, so that you guys can get an idea of how to make it work.
@SimonKas112 Жыл бұрын
Thank you very much!!!
@АлександрДаскаль-е6т5 ай бұрын
I also had the same problem. There is some kind of problem with pointers to the uartData_t structure. Instead of pointers, I used the structure itself as an object, and everything became OK! I'm sorry for the poor translation, I don't speak English.
@bedirhankoksoy993 Жыл бұрын
Hi, I am using STM32H735-DK Kit. I configured the touchGFX settings and I generated the code. But when I was open the STM32CubeIde, I didn't see the auto UART configuration. So I wonder why I didn't see the auto UART config. Do you have any solution for this?
@ControllersTech Жыл бұрын
What is auto uart config ?
@bedirhankoksoy993 Жыл бұрын
@@ControllersTech I mean, in the 02:37 minutes of the video you said UART already selected. But when I tried with the STM32H735-DK Kit it's not selected.
@ControllersTech Жыл бұрын
What's the big issue ? You can select it manually. Different boards may enable / disable additional things, it depends on the script ST wrote for the partiular board.
@saeedomidvari6885 Жыл бұрын
I have this error in IAR! Error[Li005]: no definition for "Virtual function table for ModelListener" [referenced from ...\Obj\TouchGFX\gui\screen1_screen\Screen1Presenter.o]
@ControllersTech Жыл бұрын
Remove the word virtual from the function you defined in thr modellistener. And define it as an empty function. Void function (arg) {}
@amorftor Жыл бұрын
strncpy(RData, uartData_r->Data, uartData_r->size); modelListener->uart_Data(RData); is says cannot convert 'int*' to 'const char*' but my all codes same as you what can i do
@ControllersTech Жыл бұрын
Check your uartData_r structure. I guess you have defined “Data” as an integer array instead of character array
@sopandhaye232711 ай бұрын
hello sir I have same board i want to send data through GUI to modbus RTU(rs485) and received on GUI my modbus communication with slave is successfull but i want to print the received data on display and i am trying to add bodbus_CRC file in the project but there is no core with Inc and Src file to add it help me on this
@ControllersTech11 ай бұрын
Its in the main project folder, not inside the cubeide folders.
@Karthikm-hv5ob Жыл бұрын
How to view printf output on display?
@tomaszbartnik19662 ай бұрын
Aby przekazać wskaźnik do struktury przez kolejkę w STM32 z użyciem FreeRTOS, musisz dynamicznie alokować pamięć dla struktury
@tomaszbartnik19662 ай бұрын
wsk_bufor_t = (bufor_t *)malloc(sizeof(bufor_t)); // Alokacja pamięci if (wsk_bufor_t == NULL) { // Obsługa błędu alokacji pamięci Error_Handler(); } } void cleanup_bufor() { if (wsk_bufor_t != NULL) { free(wsk_bufor_t); // Zwolnienie pamięci wsk_bufor_t = NULL; // Ustawienie wskaźnika na NULL po zwolnieniu } }
@rafaldrzewiecki30567 ай бұрын
Riverdi with Stm32Cube is isnt compatibile, when use cube later TouchGfx not working. This display is expensive and support is like children. Not helped
@ControllersTech6 ай бұрын
Riverdi STM32U5 is fully compatible with regeneration from STM32cube. kzbin.info/www/bejne/opnNemWKapdqe9Esi=MR7T5Brh0R1PaFvq
@lehuythanh38823 ай бұрын
I got the error as follow: C:/TouchGFXProjects/SendUARTtoGUI/TouchGFX/gui/src/model/Model.cpp:25:34: error: 'RData' was not declared in this scope 25 | strncpy (RData, uartData_r->Data, uartData_r->size); | ^~~~~ make: *** [Application/User/gui/subdir.mk:30: Application/User/gui/Model.o] Error 1 "make -j6 all" terminated with exit code 2. Build might be incomplete.