Search found 12 matches

by doctek
Sun Oct 06, 2024 5:30 pm
Forum: General discussion
Topic: Binary mode/ watchdog interrupt for STM32U073 RTC Problems
Replies: 1
Views: 1755

Re: Binary mode/ watchdog interrupt for STM32U073 RTC Problems

Two minor changes made this work!
First, the NAKED attribute should be removed. Regardless of the post I read suggesting its use for interrupt service routines, it keeps things from working.
Second, the statement for setting the binary mode is incorrect. It should be
MODIFY_REG(RTC->ICSR, RTC_ICSR ...
by doctek
Thu Oct 03, 2024 11:02 pm
Forum: IDE's
Topic: gdb on an STM32U073: Misses breakpoints
Replies: 5
Views: 6113

Re: gdb on an STM32U073: Misses breakpoints

The way I debug is to compile code with Arduino, then find the .elf file in /tmp/arduino (check time stamps to find correct file), and use the arm-none-eabi-gdb to debug it. I first start ST-LINK_gdbserver in an Ubuntu command window.

Getting the latest version of the gdbserver seems to get things ...
by doctek
Mon Sep 30, 2024 6:20 pm
Forum: IDE's
Topic: gdb on an STM32U073: Misses breakpoints
Replies: 5
Views: 6113

Re: gdb on an STM32U073: Misses breakpoints

One more detail: I'm actually using the ST-LINK_gdbserver, not openOCD. Not sure if that matters or not.
by doctek
Mon Sep 30, 2024 4:40 pm
Forum: IDE's
Topic: gdb on an STM32U073: Misses breakpoints
Replies: 5
Views: 6113

Re: gdb on an STM32U073: Misses breakpoints

Thanks for the reply!
FWIW, optimize for debug was selected.

But the bigger question is who should I be asking about debug support for the U073 series? Surely, if ST wants a new family to be used, they will support debugging, right?

-jim
by doctek
Mon Sep 30, 2024 1:01 am
Forum: IDE's
Topic: gdb on an STM32U073: Misses breakpoints
Replies: 5
Views: 6113

gdb on an STM32U073: Misses breakpoints

While using gdb to debug my RTC program on an STM32U073KB micro, I am seeing the following behavior:
- Breakpoints are set at loop and at Configure_RTC. When cont is entered after load, the program breaks at loop, not at Configure_RTC. Entering monitor reset halt, then cont, causes a break at ...
by doctek
Mon Sep 30, 2024 12:53 am
Forum: General discussion
Topic: Binary mode/ watchdog interrupt for STM32U073 RTC Problems
Replies: 1
Views: 1755

Binary mode/ watchdog interrupt for STM32U073 RTC Problems

I have looked at lots of STM32 Examples, but have found none for the U0 Series that explain using the RTC in Binary mode and use the LL functions with the wakeup timer.

STM seems to not realize that the RTC in the U0 series is different from that in the other families, even though it is supposedly ...
by doctek
Mon Sep 30, 2024 12:44 am
Forum: General discussion
Topic: [SOLVED] Arduino support for STM32U073?
Replies: 2
Views: 2229

Re: [SOLVED] Arduino support for STM32U073?

This item is solved. Thank you for the excellent support, as detailed in the link you provided.
by doctek
Wed Aug 21, 2024 7:56 pm
Forum: Let us know a bit about you and your projects
Topic: Who's Doctek anyway?
Replies: 1
Views: 6025

Who's Doctek anyway?

Howdy! I'm doctek on the forums,etc. You may also know me as jim.

I'm a long-time fan of STM micros and have a few postings of possible interest.
https://hackaday.io/project/176433-tiny-arduino-for-hackers
https://hackaday.io/project/192562-weact-duino-cheap-and-powerful

These two projects ...
by doctek
Wed Aug 21, 2024 7:44 pm
Forum: General discussion
Topic: [SOLVED] Arduino support for STM32U073?
Replies: 2
Views: 2229

[SOLVED] Arduino support for STM32U073?

Does anyone have any idea when support for the STM32U073 will be added to the stm32duino package for Arduino? I just upgraded to the latest 2.8.1 version, but no U0 support. All I need is a generic board version; I can add the rest.

Any info would be appreciated!

-jim
by doctek
Fri Oct 16, 2020 5:11 am
Forum: STLink
Topic: STLink Install Fails
Replies: 4
Views: 20728

Re: STLink Install Fails

Since I don't seem to be getting anywhere with posting this problem, I decided to try the obvious next step and build from source. I followed the instructions on github.com/stlink-org/stlink. Worked perfectly! I now have that version of st-link running.

Thanks for your attention and response! On to ...

Go to advanced search