Search found 1909 matches

by ag123
Sat Jun 21, 2025 3:10 am
Forum: USB bootloader
Topic: USB enumeration not working with custom F103C8 board
Replies: 3
Views: 221

Re: USB enumeration not working with custom F103C8 board

USB enumeration is triggered by a *usb reset*
which is a single-ended-zero (i.e. both d- d+ low ) > 2.5 uS
https://www.engineersgarage.com/signal-and-encoding-of-usb-system-part-5-6/

many times when things don't work, it could be a defective usb cable (more common)

to proof if it is after all ...
by ag123
Mon Jun 16, 2025 11:14 am
Forum: Off topic
Topic: IR remote control project
Replies: 2
Views: 1385

Re: IR remote control project

I've not tried it out but
it may be 'easier' with the library
https://github.com/Arduino-IRremote/Arduino-IRremote
the ir receivers:
https://github.com/Arduino-IRremote/Arduino-IRremote?tab=readme-ov-file#irreceiver-pinouts
for transmit, I'd guess a regular ir led would do
if you are using the ...
by ag123
Fri Jun 13, 2025 11:44 am
Forum: General discussion
Topic: Issue with STM32 Core: Board Not Detected After Upload / Red SYS LED
Replies: 2
Views: 7739

Re: Issue with STM32 Core: Board Not Detected After Upload / Red SYS LED

Provide the board details, stm32 chip used etc.
there are a large number of stm32 soc all with different features, capabilities.
board details is also important, if it is well known board, a board on the list
https://github.com/stm32duino/Arduino_Core_STM32
mention it, otherwise provide more details ...
by ag123
Tue Jun 10, 2025 11:46 am
Forum: STM boards (Discovery, Eval, Nucleo, ...)
Topic: mini STM32F103C8T6 CH340 Serial pins
Replies: 9
Views: 9132

Re: mini STM32F103C8T6 CH340 Serial pins

fpiSTM is correct

it is a bit surprising that they put a usb-uart (ch340n) at pa9 / pa10 which is in turn connected to usb, as normally stm32f103 has its own usb.
stm32f103mini_sch.jpg
in this case, you'd need to use the normal uart option for Serial in your sketch

and it use buttons instead ...
by ag123
Tue Jun 10, 2025 1:52 am
Forum: STM boards (Discovery, Eval, Nucleo, ...)
Topic: mini STM32F103C8T6 CH340 Serial pins
Replies: 9
Views: 9132

Re: mini STM32F103C8T6 CH340 Serial pins

To program stm32f103c8t6 blue pill via uart you need to set boot0
and you need stm32cubeprogrammer (or some such programming util)
https://www.st.com/en/development-tools/stm32cubeprog.html
^^ this is from ST (you can consider that an official programming tool)

and a google search leads to various ...
by ag123
Fri May 30, 2025 4:17 am
Forum: General discussion
Topic: Procedure to change EEPROM default sector/base address using STM32Duino?
Replies: 7
Views: 4501

Re: Procedure to change EEPROM default sector/base address using STM32Duino?

it involves messing with ldscripts and codes to place codes / functions in different addresses / sections

https://ftp.gnu.org/old-gnu/Manuals/ld-2.9.1/html_node/ld_21.html
https://www.rkoucha.fr/tech_corner/gcc_sections.html

so that you have a flash memory layout like

0x8000000 Sector 0 16 kb ...
by ag123
Wed May 28, 2025 2:17 pm
Forum: General discussion
Topic: Playing with Weact STM32H562RGT6
Replies: 10
Views: 7726

Re: Playing with Weact STM32H562RGT6

To build with a com port, select from the menu Tools > USB support > CDC generic supersede U(S)ART.
Then build the sketch.
note that normally the FPU is 32 bits and in usual cases at most 2 x 32 bits FP ops in parallel. This is normally handled by -O2 or -O3.
I'm not too sure if in ESP32 the ...
by ag123
Wed May 28, 2025 1:48 pm
Forum: General discussion
Topic: Playing with Weact STM32H562RGT6
Replies: 10
Views: 7726

Re: Playing with Weact STM32H562RGT6

if you tried my sketch in the zip file, it blinks the led when you run the whetstone benchmark. did it blink?
and you should see the whetstone benchmark on the serial console when it runs

oh and that sketch can't be 474,784 bytes, the bin file bundled in my zip file is only 44.9 kB.
you only need ...
by ag123
Tue May 20, 2025 11:31 am
Forum: Let us know a bit about you and your projects
Topic: Introduction post
Replies: 3
Views: 6801

Re: Introduction post

oops I'm off-topic in the prior comment
but that apparently the HSE crystal frequency is apparently not indicated on the schematic itself
https://github.com/makerbase-mks/MKS-Monster8/blob/main/hardware/MKS%20Monster8%20V2.0_003/MKS%20Monster8%20V2.0_003%20SCH.pdf

using the 'Generic' variant ...
by ag123
Tue May 20, 2025 10:47 am
Forum: Let us know a bit about you and your projects
Topic: Introduction post
Replies: 3
Views: 6801

Re: Introduction post

Welcome,
I've not actually build Marlin from source, but that it is a complex set of codes given the large number of features it support particularly for 3d printing and the large number of platforms it support.
If you specifically want to use Marlin, Marlin web
https://marlinfw.org/
and its ...

Go to advanced search