Search found 466 matches

by Mattias Norlander
Fri Oct 12, 2018 8:55 am
Forum: TrueSTUDIO for STM32 discussions
Topic: Missing "GNU C++" in Properties->C/C++ General->Paths and Symbols->Symbols.
Replies: 4
Views: 532

Re: Missing "GNU C++" in Properties->C/C++ General->Paths and Symbols->Symbols.

File > New > Convert to C/C++ project.
There are some more threads on the forum on this topic which may give you additional hints
by Mattias Norlander
Fri Oct 12, 2018 6:47 am
Forum: Atollic TrueSTUDIO announcements
Topic: Atollic TrueSTUDIO for STM32 v.9.1.0 is released
Replies: 0
Views: 703

Atollic TrueSTUDIO for STM32 v.9.1.0 is released

Atollic TrueSTUDIO for STM32 9.1.0 is released Atollic TrueSTUDIO for STM32 version 9.1.0 is a major release for ST-Link GDB-server users, but also adds some new device support and fixes some bugs. The changes are: ⋅ ST-Link GDB-server no longer implements flash operation logic. Instead i...
by Mattias Norlander
Tue Oct 09, 2018 11:38 am
Forum: TrueSTUDIO for STM32 discussions
Topic: Can't trigger interrupts while executing code from RAM
Replies: 3
Views: 384

Re: Can't trigger interrupts while executing code from RAM

Well at which code line / instruction do you get the crash MMFAR/BFAR weird values, is it before you end up in main?
Debug the startup code by modifying the startup script: #continue
by Mattias Norlander
Tue Oct 09, 2018 11:30 am
Forum: TrueSTUDIO for STM32 discussions
Topic: How can I create a STM32 project using HAL driver?
Replies: 3
Views: 1754

Re: How can I create a STM32 project using HAL driver?

Pretty much only thing that will happen, when using the File > New > Convert to a C/C++ project, is that ccnature will be added to the project file metadata. When ccnature is added the C++ Compiler and the C++ Linker will show up in the Tool options in the build settings GUI. You will need to config...
by Mattias Norlander
Tue Oct 09, 2018 11:25 am
Forum: Atollic TrueSTUDIO tool discussions
Topic: Compiler optimization STM32F070
Replies: 5
Views: 499

Re: Compiler optimization STM32F070

OK, -Og does not always allow source code stepping.
Try setting -Os for the HAL-drivers and use -O0 for your own application code. You can set it individually per file or folder...
by Mattias Norlander
Tue Oct 09, 2018 11:23 am
Forum: TrueSTUDIO for STM32 discussions
Topic: STM32F401RE - Target is not responding
Replies: 12
Views: 4180

Re: STM32F401RE - Target is not responding

We know that SWV does not work with ST-Link firmware version: V2.J30.M19. In general make sure that the application does not re-initialize the 3 I/O pins related to Serial Wire to some alternate function. Is your application code manipulating the clock sources? Using any low-power states? Do you hav...
by Mattias Norlander
Mon Oct 08, 2018 4:28 pm
Forum: Atollic TrueSTUDIO tool discussions
Topic: Compiler optimization STM32F070
Replies: 5
Views: 499

Re: Compiler optimization STM32F070

Hi,

Unfortunately this is how it is. With optimization -O0, GCC produces significantly larger code then some other compilers. With - Os you cannot really debug properly. Try - Og, that could be the sweetspot for you.
by Mattias Norlander
Mon Oct 08, 2018 3:57 pm
Forum: Atollic TrueSTUDIO tool discussions
Topic: Restart button
Replies: 2
Views: 298

Re: Restart button

Hi,

This seem to be the "problem of the month". There are many threads about it. We will fox this in next version. Hopefully in two weeks.
by Mattias Norlander
Mon Oct 08, 2018 9:48 am
Forum: TrueSTUDIO for STM32 discussions
Topic: Can't trigger interrupts while executing code from RAM
Replies: 3
Views: 384

Re: Can't trigger interrupts while executing code from RAM

Check the SystemInit() function. Here you can change where VTOR is supposed to be located. #ifdef VECT_TAB_SRAM SCB->VTOR = SRAM_BASE | VECT_TAB_OFFSET; /* Vector Table Relocation in Internal SRAM. */ #else SCB->VTOR = FLASH_BASE | VECT_TAB_OFFSET; /* Vector Table Relocation in Internal FLASH. */ #e...
by Mattias Norlander
Mon Oct 08, 2018 9:45 am
Forum: TrueSTUDIO for STM32 discussions
Topic: How can I create a STM32 project using HAL driver?
Replies: 3
Views: 1754

Re: How can I create a STM32 project using HAL driver?

Hi, OK - so here are some issues as to what you try to do. 1. We recommend using CubeMx to generate HAL drivers. The TS old project wizards does for some boards provide the StdPeriph, but almost never HAL. 2. The issue is that CubeMx only generated C code and project files for C compilation. You can...

Go to advanced search