Search found 8 matches

by LeeT
Thu Apr 11, 2019 12:23 pm
Forum: Embedded target code development discussions
Topic: Reset doesn't seem to put the IVT MSP value into the MSP
Replies: 0
Views: 38

Reset doesn't seem to put the IVT MSP value into the MSP

I'm using the STM32L152 processor. I just noticed that on a reset the value at IVT slot 0, which should be the MSP value, doesn't get put into the MSP. I see another value there on a reset. I added "ldr sp, =_estack" at the start of Reset_Handler, and that seems to work, but I'm curious wh...
by LeeT
Fri Mar 29, 2019 5:48 pm
Forum: TrueSTUDIO for STM32 discussions
Topic: Hard coded path in True Studio make file
Replies: 0
Views: 48

Hard coded path in True Studio make file

Hi. I converted my project from a CDT to a make file build, so I could modify the make file. I've noticed that there's a hard coded path for the java utility: "C:\Program Files (x86)\Atollic\TrueSTUDIO for STM32 9.2.0\ide\jre\bin\java" -jar "C:\Program Files (x86)\Atollic\TrueSTUDIO f...
by LeeT
Tue Mar 19, 2019 8:18 pm
Forum: Atollic TrueSTUDIO tool discussions
Topic: Startup script for dual bank debugging
Replies: 0
Views: 47

Startup script for dual bank debugging

I'm working with the STM32L152RE, which has dual flash banks. Each bank has a binary file image loaded. I'm trying to start the debugger in Bank 1 (0x08000000), have it stop at main() (or some specific address) and debug in assembly. I haven't been able to get the debugger to stop at a known address...
by LeeT
Thu Feb 14, 2019 6:21 pm
Forum: Atollic TrueSTUDIO tool discussions
Topic: Conversion of project from CDT to make file
Replies: 0
Views: 51

Conversion of project from CDT to make file

True Studio gives you the option of creating a project as either a CDT project or a make file project. Is it possible to convert an existing project to a make file project? Thanks.
by LeeT
Fri Feb 01, 2019 3:13 pm
Forum: Atollic TrueSTUDIO tool discussions
Topic: Running multiple builds sequentially
Replies: 0
Views: 42

Running multiple builds sequentially

I'd like to find out if there's a way to run multiple builds sequentially. At the moment, when I build a project, I run the build command, wait for it to complete, then make some modifications to the .ld file and run the build again. Everything but the linker file is the same for both builds. I'd li...
by LeeT
Thu Jan 24, 2019 4:35 pm
Forum: Atollic TrueSTUDIO tool discussions
Topic: Entering multiple post-build commands in TrueStudio
Replies: 0
Views: 172

Entering multiple post-build commands in TrueStudio

I've worked with other IDEs that allow entering multiple lines in the post-build command field and I've run into a situation where it would come in handy. Is there any way that I can enter multiple lines for post-build commands? Thanks.
by LeeT
Thu Jan 17, 2019 3:40 pm
Forum: Atollic TrueSTUDIO tool discussions
Topic: Setting VTOR in startup script
Replies: 0
Views: 67

Setting VTOR in startup script

I'm using an ST part that has 2 banks of flash memory. I've built a code image for the second bank and downloaded it through the debugger. I've changed the startup script to set the VTOR register to the value needed for the second bank, with the line: set *0xe000ed08 = (0x08040000) however VTOR stil...
by LeeT
Thu Jan 10, 2019 6:21 pm
Forum: Atollic TrueSTUDIO tool discussions
Topic: read contents of program counter in C
Replies: 0
Views: 55

read contents of program counter in C

Hi. I'm trying to determine which flash bank running code resides in. I'm planning on reading the program counter and use that to determine which bank I'm in. Both GCC and the Arm compiler have some variant of a __current_pc() intrinsic. I haven't been able to find anything like that in TrueStudio (...

Go to advanced search