Search found 36 matches

by hyur
Fri Aug 26, 2022 3:11 am
Forum: General discussion
Topic: STM32duino Change VendorId
Replies: 7
Views: 12243

Re: STM32duino Change VendorId

Yes, it is. Those bootloaders are open-source, so you have to download source code, edit VID and PID, compile it and flash to board. Then, if you want to use it to upload programs to board, you have to change those in files used to flash programs. It might be just editing some files, but it might a...
by hyur
Thu Aug 25, 2022 3:48 am
Forum: General discussion
Topic: STM32duino Change VendorId
Replies: 7
Views: 12243

Re: STM32duino Change VendorId

ag123 GonzoG After changing VID:1EAF to 1EBF among the contents of boards.txt and executing compiling, I can clearly see that the IDE searches for a device of 1EBF. This fact helps me, but there is another problem that I want to solve fundamentally. I uploaded the bootloader using generic_boot20_pc...
by hyur
Tue Aug 23, 2022 11:54 pm
Forum: General discussion
Topic: STM32duino Change VendorId
Replies: 7
Views: 12243

Re: STM32duino Change VendorId

@GonzoG

I want to change the vendor ID, but I can't find the root.

Could you please tell me the route?
by hyur
Tue Aug 23, 2022 7:00 am
Forum: General discussion
Topic: STM32duino Change VendorId
Replies: 7
Views: 12243

STM32duino Change VendorId

Can I edit vendorID or productID of stm32duino?

If go to "tool -get Board Info" in the Arduino IDE,
You can get board information related to STM32.

Can the Vendor ID or Product ID be modified through ST's software?

Please let me know if there is a way
by hyur
Thu Aug 18, 2022 6:04 am
Forum: General discussion
Topic: STM32F103 DTR
Topic: STM32F103 DTR
Replies: 8
Views: 2309

Re: STM32F103 DTR

GonzoG ag123 It seems that I did not understand well or explain it incorrectly because of the lack of hardware or communication concepts. I am using serial communication, not USB communication. So, I am using NoflowControl and send and receive messages by connecting QT and STM32. That's why the DTR...
by hyur
Wed Aug 17, 2022 1:47 am
Forum: General discussion
Topic: STM32F103 DTR
Topic: STM32F103 DTR
Replies: 8
Views: 2309

STM32F103 DTR

I am using the STM32F103C8T6 board. I am sending/receiving protocol by raising DTR to HIGH for serial communication. (with middleware) I wanted to temporarily stop protocol transmission and reception by lowering the DTR line to LOW without unplugging the USB cable, but the protocol is still transmit...
by hyur
Wed Aug 17, 2022 1:44 am
Forum: General discussion
Topic: Device initialization when serial port is connected
Replies: 10
Views: 2395

Re: Device initialization when serial port is connected

It won't be that easy. Hardware USB support works different. On Arduino boards it's done in bootloader. It reboots board in different mode and the connection between main MCU and USB MCU is established even if there is no connection with PC, so for your program connection is "always-on". ...
by hyur
Tue Aug 16, 2022 6:34 am
Forum: General discussion
Topic: Device initialization when serial port is connected
Replies: 10
Views: 2395

Re: Device initialization when serial port is connected

you can call HAL_NVIC_SystemReset(). one way is to write your own serial command processor I looked up the content related to NVIC_SystemReset(). I expect this function to achieve what I want, but The board I'm using is Roger's, so I can't use the function. Can I get a hint about the registers used...
by hyur
Tue Aug 16, 2022 2:18 am
Forum: General discussion
Topic: Device initialization when serial port is connected
Replies: 10
Views: 2395

Re: Device initialization when serial port is connected

It's true, but mostly false. Some Arduino boards are reset when you initialize USB-serial communication. But it is needed as those boards do not have USB support in MCU and use additional MCU for USB. It's not a feature, it's mostly a problem. Arduino boards with USB support in MCU do not reset whe...
by hyur
Tue Aug 16, 2022 12:25 am
Forum: General discussion
Topic: Device initialization when serial port is connected
Replies: 10
Views: 2395

Re: Device initialization when serial port is connected

@GonzoG

Thank you for answer.

Q 2 : It is said that the Arduino board is automatically reset whenever the serial monitor is opened through the DTR signal line.
Does the STM32duino also have this feature?

Go to advanced search