Skip to main content
Visitor II
October 1, 2021
Question

Tx_Thread_Creation example other than described

  • October 1, 2021
  • 3 replies
  • 1342 views

Hi there!

I installed the tools for the workshop just as in the 00-Azure-RTOS-WS-prerequisities-homework.pdf. I am able to create the Tx_Thread_Creation example, i can download and start it on the Nucleo board. I can even debug it. But: LD1 does not blink - i do not even find any code in the project for the LED.

Furthermore, there is no code for ThreadX, nothing like tx_thread_create or similar. Based on the example name, I would have expected to have a TX thread created in the project (maybe in main.c) which toggles the LED - but there is just an empty while loop at the end of main().

Could it be related to the flow ofthe example creation in the STM32CubeIDE? The dialogues were slightly different to the screenshots in the PDF - i had to select whether or not i would like to have a library rather than en executable and if i would like to have the peripheryls initialized to default values...

Best regards,

Ralf Kosse

    This topic has been closed for replies.

    3 replies

    ST Employee
    October 4, 2021

    Hello Ralf,

    Could you please try again and make sure you have exact same dialog boxes ?

    I suspect you missed one click somewhere. There is no point is asking for library or executable in the normal flow.

    Best regards

    Jocelyn

    RKoss.1Author
    Visitor II
    October 4, 2021

    Hi Joycelyn,

    Thanks for your help!

    Although i already unsuccesfully tried twice to get it work, i did it once again - and now it's OK! The reason is the link in the Target Selection screen of Cube IDE (see screenshot). I must have clicked on the blue link to the board which then offers a slightly dfferent GUI for the next steps in the project generation wizard. When selecting the table line in the Example list rather than the link to the board, i have the ThreadX sources in the project and LD1 is also flashing as expected.

    Thanks again,

    Ralf

     0693W00000FBMz3QAH.png 

    ST Employee
    October 4, 2021

    Hi Ralf,

    OK thank you for your explanation, this may help others !

    Best regards

    Jocelyn