Skip to main content
AD�?b
Senior
April 21, 2020
Question

STM32F746G-DISCO, TouchGFX 4.13.0, STM32CubeIDE 1.3.0., FreeRTOS

  • April 21, 2020
  • 2 replies
  • 1952 views

Hi!

I set CubeIDE as in the tutorial https://www.youtube.com/watch?v=12KXreXaLp0&t=3s

I set FreeRTOS.

In main.c I have

void secondTask (void const * argument) {

for (;;) {

xQueueSend (messageQ1, & poster, 0);

osDelay (1);

}

}

The program runs to this function but stops there.

Why?

I'm sending Model.cpp

Andrzej

This topic has been closed for replies.

2 replies

Karan 123
Senior
April 21, 2020

Hi,

Did you able to work on Hardware STM32F746G-DISCO with proper tool chain configuration ?

If Not, Please check attachment .

--

Karan

AD�?b
AD�?bAuthor
Senior
April 22, 2020

Thank you!

I will check and answer

Andrzej

chaaalyy
Senior II
April 21, 2020

Hi =) If you follow the steps from the video, everything should be fine. Does it run, if you comment out the "xQueueSend..." ? Anyway: You send the Message far more often, than you can handle it... You send every 1ms (more or less) and in model::tick() usually gets called with 60Hz ... I´m not used to XQueue, but i don´t see any external declaration of "poster" in model.cpp ...

AD�?b
AD�?bAuthor
Senior
April 22, 2020

Hi!

I changed the time but it did nothing.

The ( uint8_t poster ) declaration is in the Model.hpp file. Is that enough

Earlier I uncommented xQueueSend the program did not crash.

Now the program compiles without errors but there is a bad picture.

I have to start again. I'll write if I manage.

Thank you

Andrew