Search found 13 matches

by dipr
Wed Feb 07, 2024 12:45 am
Forum: General discussion
Topic: HELP! ST-Link message "UR connection mode is defined with the HWrst reset mode"
Replies: 10
Views: 17983

(SOLVED) Re: HELP! ST-Link message "UR connection mode is defined with the HWrst reset mode"

Found it. In the STM32CubeProgrammer I have to set: - top right type-dropdown "ST-LINK" - Port "SWD" - Mode "HotPlug" - Reset mode "Software Reset" - Speed "Fast" - Shared "enabled" this is the key setting With the ST-Link not connected to ...
by dipr
Sun Mar 19, 2023 2:37 pm
Forum: General discussion
Topic: HELP! ST-Link message "UR connection mode is defined with the HWrst reset mode"
Replies: 10
Views: 17983

Re: HELP! ST-Link message "UR connection mode is defined with the HWrst reset mode"

So has anyone got an idea what the encountered error message actually wants to tell me ?
by dipr
Mon Mar 13, 2023 9:46 pm
Forum: General discussion
Topic: HELP! ST-Link message "UR connection mode is defined with the HWrst reset mode"
Replies: 10
Views: 17983

Re: HELP! ST-Link message "UR connection mode is defined with the HWrst reset mode"

But whgat does the message say? I've no idea what a "UR connection" and what the HWrst (HerdWare Reset?) mode is. "is defined" where? I want the "hot debug mode", e.g. program is running on the chip, and w/o any reset I'd like to "attach" to the running chip, ...
by dipr
Sun Mar 05, 2023 10:50 am
Forum: General discussion
Topic: HELP! ST-Link message "UR connection mode is defined with the HWrst reset mode"
Replies: 10
Views: 17983

HELP! ST-Link message "UR connection mode is defined with the HWrst reset mode"

ST_link V2 is setup, latest Firmware flashed, but I still get just the weird message "UR connection mode is defined with the HWrst reset mode" when trying to connect, google is almost empty for the search phrase. This message happens when - the WeAct dummy pgm is running after a reset, - a...
by dipr
Sat Mar 04, 2023 8:21 pm
Forum: General discussion
Topic: BlackPill V3.1 Bootmode wrong USB VID/PID
Replies: 19
Views: 4028

Re: BlackPill V3.1 Bootmode wrong USB VID/PID

Even weirder: on my ZOTAC PC WeAct Black Pill conencted to the USB3 Port the simple STM Bootloader activision (holding down boot0 while hitting reset) WORKS! :shock: :shock: :shock: The process is : - hook up WeAct to USB port - fire up STM CubePorgrammer, set to usb in top right corner of the windo...
by dipr
Sat Mar 04, 2023 7:39 pm
Forum: General discussion
Topic: BlackPill V3.1 Bootmode wrong USB VID/PID
Replies: 19
Views: 4028

Re: BlackPill V3.1 Bootmode wrong USB VID/PID

F*$!* different PC, same USB cable, WeAct BlackPill V3.1 autostart pgm cyclically dims and brightens LED,so far so old. Pressing KEY for ~3 Seconds results in LED going off and USB TreeView showing STM Booloader Decive 0x483/0xDF11 appearing, BTDT. But this time the Devices stay accessible, it does ...
by dipr
Sat Mar 04, 2023 6:52 pm
Forum: General discussion
Topic: BlackPill V3.1 Bootmode wrong USB VID/PID
Replies: 19
Views: 4028

Re: BlackPill V3.1 Bootmode wrong USB VID/PID

well if it is a *real* stm32f4xx, then I'd expect USB DFU to be just threre, i.e. that button dance sequence would simply put it in DFU mode ready to update flash using DFU. no need for uart whatsoever. All nice an fine, but the real question is: - which pins of a WeAct F411 BlackPill need pull-dow...
by dipr
Sat Mar 04, 2023 9:28 am
Forum: General discussion
Topic: BlackPill V3.1 Bootmode wrong USB VID/PID
Replies: 19
Views: 4028

Re: BlackPill V3.1 Bootmode wrong USB VID/PID

for f4xx I won't bother with a custom bootloader, it takes flash memory and it takes the traditional 0x8000000 start of flash address. and much less fuss bothering with custom bootloaders e.g. that your sketch is compiled for an incompatible address etc. you would more than likely need a custom ld ...
by dipr
Sat Mar 04, 2023 9:04 am
Forum: General discussion
Topic: BlackPill V3.1 Bootmode wrong USB VID/PID
Replies: 19
Views: 4028

Re: BlackPill V3.1 Bootmode wrong USB VID/PID

Connect PA9 to GND with resistor (eg. 10k) and try to reset it into DFU. Interesting thought! But are you sure about PA9 ? That's USART1 TXD, a serial transmit pin e.g. outgoing pin, right? AN2606 https://www.st.com/resource/en/application_note/cd00167594-stm32-microcontroller-system-memory-boot-mo...
by dipr
Fri Mar 03, 2023 1:32 pm
Forum: General discussion
Topic: BlackPill V3.1 Bootmode wrong USB VID/PID
Replies: 19
Views: 4028

Re: BlackPill V3.1 Bootmode wrong USB VID/PID

Maybe. But the STM bootloader is in ROM. Only ST can fix that and it would only work in new devices.

Go to advanced search