2022-03-15 12:01 PM
ldr sp,=_stack /* Set stack pointer */
It is this code that I am always brought back, it is in the file: startup_stm2l476rgtx.s
Solved! Go to Solution.
2022-03-15 12:25 PM
What IF you Run (Play, Go ?) from that point onward?
Strikes me that it's just breakpointed at the CPU entry point, and you just need to start execution.
After it initializes the statics, and constructors, etc it should then get to your main() function.
2022-03-15 12:25 PM
What IF you Run (Play, Go ?) from that point onward?
Strikes me that it's just breakpointed at the CPU entry point, and you just need to start execution.
After it initializes the statics, and constructors, etc it should then get to your main() function.
2022-03-15 12:27 PM
2022-03-15 12:31 PM
I understand but how to avoid stops at this point?
2022-03-15 12:45 PM
Hard to decipher what the actual question is here.
The startup_stm2l476rgtx.s file will always be opened when starting a debug session. There is no way around that.
You are not currently debugging anything in the screenshot you provided. You just have the startup file open with the cursor on a line.
2022-03-15 12:49 PM
Yes you are right, my question is not very well explained... but when I got my answer, In my first program the file did not open when I ran the code it was because I did not understand.
I understand ar I have code to make del blink that works
2022-03-15 12:51 PM
This is my code to read in i2c the data on a sensor that does not work, maybe the address I have is wrong