despotovic.zivadin

TrueStudio Target Software StartUp Scripts

Discussion created by despotovic.zivadin on May 13, 2018
Latest reply on May 16, 2018 by despotovic.zivadin

Hello,

 

I have installed Atollic True Srudio 9.0.1, STM32CubeMX and ST-Link V2 driver. My OS is windows 8.1 x64. I have a STM32F103 BluePill board. I have created a new program using CubeMX inside TrueStudio and uild it all, it passed. When I tried to debug it I got a message error in "load" line i Target Software StartUp Scripts. By default the script looks like this:

 

# Set flash parallelism mode to 32, 16, or 8 bit when using STM32 F2/F4 microcontrollers
# 2=32 bit, 1=16 bit and 0=8 bit parallelism mode
monitor flash set_parallelism_mode 2

# Load the program executable
load


# Enable Debug connection in low power modes (DBGMCU->CR)
set *0xE0042004 = (*0xE0042004) | 0x7
# Set a breakpoint at main().
tbreak main

# Run to the breakpoint.
continue

 

I have searched ineternet by couldn't find the solution. 

 

Can enyone help me with this issue. Or can you send me link where I can find step by step manul for preparing evironment with TrueStudio.

 

Best regards

Outcomes