what are vid & pid in boards

Cores are the underlying magic that make the Arduino API possible
Post Reply
zmemw16
Posts: 1491
Joined: Wed Jul 08, 2015 2:09 pm
Location: St Annes, Lancs,UK

what are vid & pid in boards

Post by zmemw16 » Sun Apr 23, 2017 1:59 pm

used for ?
0x0483:0x5740 for black F407VE in particular, the ZE & ZG come up the same.
they don't seem to match anything :?:
stephen

stevestrong
Posts: 1829
Joined: Mon Oct 19, 2015 12:06 am
Location: Munich, Germany

Re: what are vid & pid in boards

Post by stevestrong » Sun Apr 23, 2017 4:04 pm

Isn't it .upload.usbID= ... ?
This belongs to the ST-Link probe.

zmemw16
Posts: 1491
Joined: Wed Jul 08, 2015 2:09 pm
Location: St Annes, Lancs,UK

Re: what are vid & pid in boards

Post by zmemw16 » Sun Apr 23, 2017 7:39 pm

nope, boards.txt has

Code: Select all

MapleMini_F103CB.vid.0=0x0483
MapleMini_F103CB.pid.0=0x5740
also

Code: Select all

BLACK_F407VE.vid.0=0x0483
BLACK_F407VE.pid.0=0x5740
platforms.txt has

Code: Select all

# USB Flags
# ---------
build.usb_flags=-DUSBD_VID={build.vid} -DUSBD_PID={build.pid} '-DUSB_MANUFACTURER={build.usb_manufacturer}' '-DUSB_PRODUCT={build.usb_product}'

# Default usb manufacturer will be replaced at compile time using
# numeric vendor ID if available or by board's specific value.
build.usb_manufacturer="Unknown"
that doesn't seem to happen, i tried using STM32GENERIC F407VE/F407ZE/F407ZG.
only two differences so far, the ZG has 1024k, more pins and less alternative peripheral mapping.
last two are what i'm trying to get going using 0x0483:574[123]
but you do need to ensure that SerialUSB is enabled :)

stephen

stevestrong
Posts: 1829
Joined: Mon Oct 19, 2015 12:06 am
Location: Munich, Germany

Re: what are vid & pid in boards

Post by stevestrong » Sun Apr 23, 2017 8:33 pm

Then they must be the DFU values.

zmemw16
Posts: 1491
Joined: Wed Jul 08, 2015 2:09 pm
Location: St Annes, Lancs,UK

Re: what are vid & pid in boards

Post by zmemw16 » Sun Apr 23, 2017 9:11 pm

Code: Select all

dfu-util -d 0483:5740 -l
yields only the program standard header
srp

Post Reply