Jumping to random file after pressing Run button
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-06-25 6:27 AM
Hello. When I press to Run (Run main.c) button, STM32CubeIDE opens random file, possibly, from current repository, for example: startup_stm32l452xx.s, core_cm4.h etc...
Code is loading successful, but this side effect bothers me.
I would like to disable this function. How can I do it?
If you need more information about this behavior please, ask.
Thank you for reading.
- Labels:
-
STM32CubeIDE
-
STM32L4 series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-11-06 5:26 AM
It is no the 0x800128 file it is the startup*.s file or other random
existing .c files.
If you have only open your "app_main.cpp" and you press "debug"
it opens the "startup*.s" file or other files. And this is what we talking about.
paddawan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-11-06 5:29 AM
>> If you have only open your "app_main.cpp" and you press "debug"
it opens the "startup*.s" file or other files.
It does not.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-11-06 5:43 AM
Hm
your preferences tip is for "source not found".
it makes the random jump mostly after the second debug sesson.
If you have a new project, the first run is ok. After this it is mostly optening the .S
or other files.
Iam at the moment on 1.14.1. i tested it with 1.15. and 1.16.1,
but after there are the same issue i go back to 1.14.1
padawan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-11-06 6:20 AM
Ah, Only now I see this is a thread from 2020 and CubeIDE 1.14.1. Interesting you have problems with latest release.
and unfortunate you are not able to move to the latest version. Maybe if you reinstall OS. Might be some broken link to system settings.
I do not experience any problems with 1.16.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-11-06 6:27 AM - edited ‎2024-11-06 6:30 AM
This helped with my reset not working, could help resolving your problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-11-06 6:56 AM - edited ‎2024-11-06 7:16 AM
@ferro wrote:This helped with my reset not working, could help resolving your problem
It now seems to consistently jump to the reset handler (though it's impossible to rule it out). However the problem is that it jumps there before flashing is finished and it also enables the continue button. If I click continue then the flashing crashes. So it only solves half the problem for me. I don't want the IDE to jump to any file and disable clicking on continue before flashing has finished and before it has started. If I set it to break in main I don't want the s file opened at all.
Click "Accept as Solution" if a reply solved your problem. If no solution was posted please answer with your own.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-11-06 7:06 AM
>> "it jumps there before flashing is finished and it also enables the continue button"
So CubeIDE (can) randomly interrupt the flashing process ?
>> "If I click continue then the flashing crashes."
Why would you want to run the program when it is not fully flashed yet. I miss some part of the picture.
>>"I don't want the IDE to jump to any file"
There are few places in IDE where you set 'jump to function'. Maybe these should be empty.
>>"and disable clicking on continue before flashing has finished."
Dont understand this part.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-11-06 7:09 AM
>> "it jumps there before flashing is finished and it also enables the continue button"
Ah, I think I got it - so IDE shows active 'run' button even though the flashing is still in the progreess, in the background. That's not good.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-11-06 7:23 AM
When I disable 'Set breakpoint at' my program does not stop after flashing, I think that is what you are after
[Debug Configurations > Startup ]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-11-06 7:29 AM - edited ‎2024-11-06 7:29 AM
Only now I noticed that 'Run' button indeed flips from incactive to active during flashing process/debug session launch, but I am not able to click it as there is a modal window showing progress of the flashing progress
Maby I enabled that modal progress window somewhere.
