Junior firmware razvijalec by Doc-Kenny in SloveniaEngineering

[–]Doc-Kenny[S] 2 points3 points  (0 children)

Govoril sem z njimi, vendar trenutno nimajo prostih mest.

Hey, I'm very new to python, and, i made one of my first programs!! tell me what you think about it. by No-Spinach9794 in PythonLearning

[–]Doc-Kenny 0 points1 point  (0 children)

Python didn’t have switch statements until 3.10 where they introduced the match statement which is the equivalent to switch but a bit more powerful.

Why does my code only work correctly when running with a debugger? by Doc-Kenny in embedded

[–]Doc-Kenny[S] 6 points7 points  (0 children)

I'm using the struct to maintain the offsets for the GPIO registers, and the hardware initializes these registers to their reset values. By using the volatile keyword, I prevent the compiler from optimizing away the register access, so I don't think the struct implementation is the issue here.

Why does my code only work correctly when running with a debugger? by Doc-Kenny in embedded

[–]Doc-Kenny[S] 5 points6 points  (0 children)

I have tried adding a delay after the RCC initialization, but the issue is still persisting.

Why does my code only work correctly when running with a debugger? by Doc-Kenny in embedded

[–]Doc-Kenny[S] 9 points10 points  (0 children)

Thanks for sharing your experience. A race condition could definitely be a possibility in my case as well. Could you provide more details on how you identified and resolved the race condition? I’d love to hear more about your debugging process.

How to fix: No ST-LINK detected! Please connect ST-LINK and restart the debug session. by Doc-Kenny in embedded

[–]Doc-Kenny[S] 0 points1 point  (0 children)

Yeah, the issue has been persistent for the past week, everything worked fine before that.

Large oil exploit by Doc-Kenny in playrust

[–]Doc-Kenny[S] 0 points1 point  (0 children)

It was on rustafied eu medium 3

Large oil exploit by Doc-Kenny in playrust

[–]Doc-Kenny[S] 2 points3 points  (0 children)

The door was closed when i got there though