Others: STM32 MCUs related

Find out more about STM32 implementations with external components, discuss use cases, and discover how to use new tools and ST components.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

How can we decide how much size stack/heap/ and command line argument will take for a project?

I am using #[STM32 MCUs]​ #Cortex-m0​ and IDE i am using is #Iar-embedded-workbench​ I want to know, How can I decide how much size #Stack​ / #Heap​ / and #Command-line​ argument will take for my project ?In *.icf file what size, we supposed to keep?

Debugger *.elf file erase the data.

I use NUCLEO-H743ZI with TrueSTUDIO.I write some datas to flash memory 0x081e 0000 (bank=2,sector=7).This address is separate from the program downloaded,but when I start Debugger, *.elf file erase the data.What's the problem?I confirmed the data is ...

roboSaga by Associate II
  • 1410 Views
  • 6 replies
  • 0 kudos

Performance Optimization of software

I am using STM32F070 controller. Currently, I am in need of improving performance of the software. I tried to do some measures such as optimization of my code itself and raising the optimization level of compiler to -Ofast. However, I need to gain mo...

Vvine by Associate II
  • 774 Views
  • 1 replies
  • 0 kudos

Resolved! STM32F103RB - Linker error when code cize exceed 64k

Hey,According to the datasheet, the stm32f103RB has 128K of Flash memory. If my code exceed 64k I am getting a linker error “L6406E: No space in execution regions with .ANY selector matching …�?Did I have overlooked something ?I'm working wth the Kei...

Avonac by Associate II
  • 2045 Views
  • 9 replies
  • 0 kudos

STM32F427 - Cant get watchpoints to work

I've been trying to use watchpoints to catch a possible bad write.I tried with Atollic TrueSTUDIO, but it doesn't seen to catch anything.Then I tried code, but haven't got it to catch anything either. I'd prefer the code, because GDB doesn't support ...

Error when using vPortFree(ptr) CMSIS-RTOS on STM32F4

I will need to handle dynamic memory using malloc and free. Looking on FreeRTOS documentation, I found pvPortMalloc(size) and vPortFree(ptr) , pvPortMalloc(size) works fine. When try to release memory using vPortFree(ptr) inside a Thread, the code ...

MGado by Associate
  • 767 Views
  • 0 replies
  • 0 kudos