Search found 1656 matches

by ag123
Mon May 30, 2022 6:48 am
Forum: General discussion
Topic: Linux serial_posix vs. Windows serial_w32
Replies: 37
Views: 6880

Re: Linux serial_posix vs. Windows serial_w32

While you make the variant there are quite a few dependencies I'd suggest take a look at how others did it with the custom boards here is an entry in boards.txt for Piconomix PX-HER0 board https://github.com/stm32duino/Arduino_Core_STM32/blob/main/boards.txt#L4184 their specific variant files are fo...
by ag123
Sun May 29, 2022 2:46 pm
Forum: General discussion
Topic: How exactly to compile a new variant?
Replies: 2
Views: 1093

Re: How exactly to compile a new variant?

you could start with a 'generic' variant. the art of making a variant is, make a copy of the structure all the files in the variant. e.g. use generic as example then make something similiar and update boards.txt similarly. then one of the more important things is if you want to use HSE - your extern...
by ag123
Thu May 26, 2022 8:53 am
Forum: General discussion
Topic: Has anyone got a STM32F411CE Blackpill working as a USB Host?
Replies: 7
Views: 5321

Re: Has anyone got a STM32F411CE Blackpill working as a USB Host?

I'm not familiar with the requirements of USB host, i think host is 'a lot more difficult' vs being a device. among the things, it needs to enumerate buses/devices, poll the buses/devices, power the buses etc. nevertheless someone has done something, it isn't yet committed, but you could probably pu...
by ag123
Wed May 25, 2022 8:25 am
Forum: General discussion
Topic: Linux serial_posix vs. Windows serial_w32
Replies: 37
Views: 6880

Re: Linux serial_posix vs. Windows serial_w32

copy out that tools folder, that you found, that stm32flash utility and script can still be used for manual firmware install. install your core base on this https://github.com/stm32duino/wiki/wiki/Getting-Started this is the 'official' stm32duino core. you would need to select your board (it won't b...
by ag123
Wed May 25, 2022 7:39 am
Forum: General discussion
Topic: Linux serial_posix vs. Windows serial_w32
Replies: 37
Views: 6880

Re: Linux serial_posix vs. Windows serial_w32

install putty from your distribution source e.g. for debian based distributions (e.g. ubuntu) apt-cache search putty one of the entry should be putty - Telnet/SSH client for X apt-get install putty you would likely need to add a sudo in front of that that /dev/$1 you can try patching it to your actu...
by ag123
Wed May 25, 2022 7:10 am
Forum: General discussion
Topic: Linux serial_posix vs. Windows serial_w32
Replies: 37
Views: 6880

Re: Linux serial_posix vs. Windows serial_w32

you did not compile with USB (CDC) Serial selected. USB Serial from your board did not appear in dmesg you can actually disconnect the FTDI dongle and just connect your stm32 board to usb. a USB Serial connection should appear in dmesg My only option is to compile using FTDI dongle. I'm using a cus...
by ag123
Wed May 25, 2022 5:03 am
Forum: General discussion
Topic: Linux serial_posix vs. Windows serial_w32
Replies: 37
Views: 6880

Re: Linux serial_posix vs. Windows serial_w32

you did not compile with USB (CDC) Serial selected.
USB Serial from your board did not appear in dmesg

you can actually disconnect the FTDI dongle and just connect your stm32 board to usb.
a USB Serial connection should appear in dmesg
by ag123
Mon May 23, 2022 10:30 am
Forum: STM boards (Discovery, Eval, Nucleo, ...)
Topic: can power be supplied into 5v pin while USB is also attached?
Replies: 7
Views: 3639

Re: can power be supplied into 5v pin while USB is also attached?

in a normal PC, the 5v USB supply is normally from the SMPS (switch mode power supply), in some cases it comes from batteries e.g. notebooks. most other power sources are SMPS as well, some don't provide 5v outputs, and they use a linear regulator to remove part of that excess voltage to give you 5v...
by ag123
Mon May 23, 2022 5:18 am
Forum: STM boards (Discovery, Eval, Nucleo, ...)
Topic: can power be supplied into 5v pin while USB is also attached?
Replies: 7
Views: 3639

Re: can power be supplied into 5v pin while USB is also attached?

technically it shouldn't be done, but that it still works having both of them connected as both of them are 5v
by ag123
Sat May 21, 2022 4:05 am
Forum: General discussion
Topic: Linux serial_posix vs. Windows serial_w32
Replies: 37
Views: 6880

Re: Linux serial_posix vs. Windows serial_w32

in Linux run dmesg look for the vid/pid when your stm32duino or libmaple (roger's core) device is connected. That same vid/pid needs to be in the udev config file. you can have multiple different definitions for different vid/pids. restart udev or restart your pc and make sure you have selected USB ...

Go to advanced search