Search found 7 matches

by kejuqeju
Wed May 13, 2020 10:35 am
Forum: General discussion
Topic: How to transmit and receive data over USB composite Serial
Replies: 11
Views: 9758

Re: How to transmit and receive data over USB composite Serial

thank you for your suggestions, steve and ag123. i think that arduino IDE is formerly purposed for beginners to "learn to program microcontroller in easy way" (CMIIW), so i doubt about its capability to compile complex code for such powerful and sophisticated controller like ARMs i know th...
by kejuqeju
Sun May 10, 2020 2:07 pm
Forum: General discussion
Topic: How to transmit and receive data over USB composite Serial
Replies: 11
Views: 9758

Re: How to transmit and receive data over USB composite Serial

just do that in loop(), there isn't anything else running, arduino is bare metal codes unlike desktop pcs. interrupts etc isn't necessary ok, got it. i used to create code for AVR family using CVAVR, i am quite new with arduino IDE. I like using CVAVR because i think i can control almost all the pr...
by kejuqeju
Sun May 10, 2020 1:52 pm
Forum: General discussion
Topic: How to transmit and receive data over USB composite Serial
Replies: 11
Views: 9758

Re: How to transmit and receive data over USB composite Serial

i tested it, and it worked fine. thank you.
i tried Serial1, Serial2, Serial3 and they worked fine too.
i assume that each hardware serial port has 256 bytes receive buffer too, same as USB serial?
by kejuqeju
Sun May 10, 2020 9:19 am
Forum: General discussion
Topic: How to transmit and receive data over USB composite Serial
Replies: 11
Views: 9758

How to transmit and receive data over USB composite Serial

Hello there... i succeeded to install roger's bootloader for bluepill, and succeeded to upload compiled sketch code via bluepill's USB (maple serial). Now i need to receive and send byte data over USB (maple serial) the receive must be interrupt type, so i dont need to poll for new data. Can anyone ...
by kejuqeju
Sun May 10, 2020 9:10 am
Forum: USB bootloader
Topic: Unknown USB device
Replies: 11
Views: 31195

Re: Unknown USB device

There are two different bootloaders. If you set BOOT0 to 1, then the integrated ROM bootloader will be activated, address 0x1fff0000 I think If you leave BOOT0 on 0, then the FLASH bootloader will be active at 0x08000000, but this bootloader only stays in this state if BOOT1 is set or there is no u...
by kejuqeju
Sun May 10, 2020 4:11 am
Forum: USB bootloader
Topic: Unknown USB device
Replies: 11
Views: 31195

Re: Unknown USB device

If you use the bootloader, then the appropriate upload method (step 14) to select in Arduino IDE is "Stm32duino bootloader", and not serial. i changed the upload method to stm32duino bootloader, the result was the same. i think the problem is that windows cannot detect the device (unknown...
by kejuqeju
Sat May 09, 2020 12:03 pm
Forum: USB bootloader
Topic: Unknown USB device
Replies: 11
Views: 31195

Re: Unknown USB device

Hello there..i am quite new with bluepill STM32F103 board. Here what i've done 1. i bought 4 bluepill board (china), and changed the 10K resistor to 1K5 resistor 2. i bought 2 STLINK downloader 3. i have 2 USB cable 4. download Roger Clark's Arduino_STM32-master, copied and unzipped it to Documents\...

Go to advanced search