Hello, when using CubeMX + STM32WB + BLE, I noticed that if the BLE feature is enabled in CubeMX, a file called freertos_port.c is created in the project. This file includes the functions void vPortSuppressTicksAndSleep(TickType_t xExpectedIdleTime) ...
Hello, I use the original StLink V3 set, along with STM32CubeProgrammer via cmd. Sometimes I encounter an error where ST-Link jumps into Error: ST-LINK error (DEV_USB_COMM_ERR).I don't know how to resolve it. The only solution that works for me is to...
Hi,I use STM32H7+LWIP+FreeRTOS. With using STM32IDE and this forum I can now ping to my board from PC and get answer - perfect.Now I want to send and recieve some UDP packets - I can browse the code and try to understand how it all works (how to TX/R...
Hi,I use ST-Link V2 and CubeProgrammer_CLI.exe for programming STM32. Unfortunatelly sometimes during programming the connection between MCU and ST-Link is lost. If this happen there is a high probability the ST-Link stays in some weird stuck state a...
Hi,I use STM32_Programmer_CLI.exe on windows. I can use it from python like that:process = subprocess.Popen(
["STM32_Programmer_CLI.exe","-l"],
text = True,shell=True, cwd=self.cubeProgPath,stdout=subprocess.PIPE)How c...
I understand, however, if the processor/tasks have a lot of work, then a 1 ms tick interval is not harmful. Main clock is still running, so adding a 1 ms tick doesn't cause any issues.In case the work is done, tickless mode is activated and the 1 ms ...
Hi @Sarra.S Thank you for the comment. I am actually using tickless mode in FreeRTOS. My system is set up with the Systick timer (1 ms period) as the HAL base timer, with the highest possible IRQ priority (configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY...