Questions tagged [truestudio]

Atollic TrueSTUDIO is a C/C++ IDE dedicated for STM32 microcontrollers.

IDE specific for STM32 microcontrollers, especially STM32 and is based on the Eclipse IDE.

Website: Atollic TrueSTUDIO

47 questions
1
vote
2 answers

Truestudio atollic (an IDE based on eclipse) creates empty binary file despite of not empty elf file and a lot of code

I am trying to create a binary file for flashing a bluetooth board. Unfortunately, there is an error in compiling, because for some reasons my binary file is empty. I've a lot of code, which is correctly linked. Any suggestions as to why I am…
Ertu Boz
  • 21
  • 1
  • 3
1
vote
2 answers

Eclipse: Serial terminal: Treat /n as /n/r

I am using Eclipse variant called Atollic TrueSTUDIO version 9.2.0 for the STM32 platform. When I do printf("Hello World\n"); from the microcontroller, is it possible to configure the Eclipse terminal to treat the \n as a newline? Without the…
Maxim Blinov
  • 886
  • 9
  • 33
1
vote
1 answer

STM32F411, FreeRTOS and CubeMX HardFault_Handler() after connecting to port

I need help with my project. I'm using Atollic TrueSTUDIO, CubeMX and FreeRTOS. I have project in which I recived data from ADC and I'm trying to send it by USB. Everything works fine until I open port at PC (I'm trying HTerm, RealTerm, etc), after…
B. Pieta
  • 21
  • 3
1
vote
1 answer

Error in initializing ST-Link device. Reason: ST-Link DLL error

I'm trying to run one of the sample projects from Atollic's Getting Started Youtube tutorial. At the debugging stage, the captioned error shows up. I'm at a loss since my board is connected and the video doesn't mention anything about the hardware…
db18
  • 21
  • 1
  • 2
1
vote
2 answers

[Atollic Truestudio][STM32] "Load Failed" while GDB download/debug using CMSIS-pack/Components

I am trying to use CMSIS-pack with my new F103 project. Until now, I was using auto-generated project structure, just moving some files elsewhere and everything worked fine. Now with CMSIS-pack, although the code is successfully compiled, I get some…
mopsiok
  • 575
  • 1
  • 10
  • 19
0
votes
0 answers

To a path that does not exist, "No source file named..."\Scr/main.c" on TrueSTUDIO

I am studying STM32F407 with CubeMX and TrueSTUDIO. But when i make a project with CubeMX and turn it over to TrueSTUDIO and debug it, gdb refers to the main.c where I made the first project. No source file named C:\Users\cloud47\OneDrive -…
nunanunna
  • 1
  • 2
0
votes
0 answers

Atollic trueSTUDIO/Eclipse passing build variables as arguments in external tools CLI

I ran into a unexpected problem when trying to pass build variable value as argument when calling external tool on CLI; the IDE throws an error saying that the variable is undefined. Well, it is defined, for sure, but for some reason, it is not…
0
votes
1 answer

Pointer casting problem in C with Atollic TrueSTUDIO for STM32 IDE

Working on STM32H7 in Atollic TrueSTUDIO for STM32 IDE. Only C coding. Using FreeRTOS. Ui08 *pointerSomething; Ui64 localVariable; pointerSomething=&addressOfSomething; localVariable = *(Ui64*)(pointerSomething); These code is generally…
mryldz
  • 95
  • 2
  • 9
0
votes
1 answer

Copy a file in Post Build of Eclipse/Truestudio

I was using arm-objcopy but it doesn't work with my .h file I need to copy to another project. xcopy "../${project_loc}/src/folder/file.h" "....\OtherProject\folder\folder2\file.h" /Y The error I get is "Invalid number of parameters". Earlier it was…
ConductedForce
  • 194
  • 2
  • 14
0
votes
0 answers

STM32F105RB GPIO PB8 PB15 PB9 and PB3 Toggles together

please. I am having weird behavior with STM32F105RB (64pins) board, the issue is on GPIO PB8, PB15, PB9 and PB3. GPIO_InitTypeDef BOARDPINS; RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOB,…
avong
  • 21
  • 4
0
votes
2 answers

Error: multiple definition of `SysTick_Handler' compiling truestudio IDE

Please wish to request for help. Trying to use STM32F1 syst_tick interrupt. I am using Atollic truestudio 9.3.0. I have c++ file (tasks.cpp), i declared the interrupts handler in this file and hoping it will overide the default handler since default…
avong
  • 21
  • 4
0
votes
0 answers

global scoped variables in c++ not properly initialized

I ported my code from stm32f072 to stm32f105. Since then I have an issue with global variables, it seems they don't get initialized. I use Atollic TrueStudio and their compile and build tools. For the new platform I tried converting the existing…
Fritz
  • 831
  • 7
  • 23
0
votes
0 answers

Using Jenkins with Eclipse and C - Lack of Examples

I'm trying to use Jenkins as a CI/CB system (unit testing included) using headless Eclipse/TrueStudio for embedded C. There doesn't seem to be many examples for this, and even the Jenkins site itself doesn't have an example Jenkins file. I've used a…
ConductedForce
  • 194
  • 2
  • 14
0
votes
2 answers

STM32CUBEIDE st link gdb debug error in final launch sequence

So, I am learning stm32 mcus, using a nucleo f4 board. Everything was working fine and now debug launch fails. Actually, I was doing one debug, closed it and next debug session won't launch. It starts debug on Linux or on Windows with OpenOCD, but…
Knee Caps
  • 181
  • 2
  • 9
0
votes
1 answer

trying to get data from MAX144 external ADC using STM32L452RE micro controller but no success :(

I m quite new with using ADC. I am using an external ADC MAX144 to get sensor data using STM32L452RE. I am using both channels of this ADC for two sensors. ADC is continuously sending data and I want to read it. datasheet of ADC is here what I am…