Arduino 1.8.9 Pluggable Discovery

Development environment specific, Arduino, Eclipse, VS2013,Em::Blocks etc
Post Reply
User avatar
Squonk42
Posts: 75
Joined: Wed Feb 27, 2019 5:17 pm
Location: Boredaux, France
OS: Linux
IDE: Arduino, Sloeber, Emacs
Core: Roger's, STM official, bare metal
Board: All
Contact:

Arduino 1.8.9 Pluggable Discovery

Post by Squonk42 » Wed May 08, 2019 8:15 pm

Paul Stoffregen did it:
https://www.pjrc.com/arduino-pluggable-discovery/

It is part of the Arduino 1.8.9, available since March.

That could be VERY USEFUL for the STM32 HID Bootloader :idea:

User avatar
Vassilis
Posts: 174
Joined: Wed Feb 27, 2019 5:09 pm
Answers: 2
Location: Thessaloniki, Greece
OS: Linux, Win10, MacOS
IDE: Arduino 1.8.9
Core: Roger, STM official
Board: Bluepill, Maple mini, STM32F4xx
Contact:

Re: Arduino 1.8.9 Pluggable Discovery

Post by Vassilis » Thu May 09, 2019 8:22 am

Paul Stoffregen did again his "magic" in coding !

The Pluggable Discovery feature is a really good addition to the Arduino IDE. It could be applied to the HID Bootloader as well.

IMHO, this addition has meaning in case we want to reboot to the HID Bootloader from a USB Serial (CDC) or HID or MIDI or any other USB device supports the STM32 core.

The problem is the STM32 MCUs and Core variants. There are too many to be covered easily. I think it is time to get focused on only one Core and develop the HID Bootloader on it. I vote for STM Official Core that is the most complete from all other cores.
-Vassilis Serasidis

User avatar
Vassilis
Posts: 174
Joined: Wed Feb 27, 2019 5:09 pm
Answers: 2
Location: Thessaloniki, Greece
OS: Linux, Win10, MacOS
IDE: Arduino 1.8.9
Core: Roger, STM official
Board: Bluepill, Maple mini, STM32F4xx
Contact:

Re: Arduino 1.8.9 Pluggable Discovery

Post by Vassilis » Fri May 10, 2019 3:48 pm

Pluggable Discovery to STM32 Official Core

Step 1 :D

PluggableDiscovery_01.jpg
-Vassilis Serasidis

User avatar
Vassilis
Posts: 174
Joined: Wed Feb 27, 2019 5:09 pm
Answers: 2
Location: Thessaloniki, Greece
OS: Linux, Win10, MacOS
IDE: Arduino 1.8.9
Core: Roger, STM official
Board: Bluepill, Maple mini, STM32F4xx
Contact:

Re: Arduino 1.8.9 Pluggable Discovery

Post by Vassilis » Sat May 18, 2019 4:49 pm

The windows version
PluggableDiscovery_02.jpg
PluggableDiscovery_02.jpg (92.63 KiB) Viewed 663 times
-Vassilis Serasidis

ag123
Posts: 210
Joined: Thu Mar 07, 2019 6:15 am
OS: linux
IDE: eclipse, arduino 1.8.5
Core: Roger's
Board: Maple mini, Bluepill

Re: Arduino 1.8.9 Pluggable Discovery

Post by ag123 » Tue Jun 18, 2019 9:57 am

this seemed pretty cool, pluggable discovery is probably most useful on the windows platforms.
in linux udev (creates /dev/maple on plug in) does all the magic and linux folks had it easier for a long while

for boards and boot loaders unfortunately, we may need to develop a 'comm protocol' so that the host can query the board and query some thing like what board are you? that won't be easy till we make differentiated boot loaders so that the boot loaders literally embed details about the board.
identifying mcu alone is useful but won't be adequate for boards as you could imagine a board led can be placed at any one of the PAxx and it could be either active high or active low, doubling the permutations

linux tried to manage the chaos with the device tree
https://events.static.linuxfound.org/si ... ummies.pdf

with mcus and boards where io can goto just about any pins, and add fpga we have transited to a world where 'hardware is software'

Post Reply