November 28, 2020

STM32H743 "horse pill" first power up

The board arrived today from Digikey. I pried it out of its clamshell packaging, found a micro USB cable and plugged it in to my linux system.

Three LED's are lit as follows:

All this is as it should be.

Looking at my linux side logs, I see:

Dec 28 20:20:03 trona kernel: usb 3-1.1: USB disconnect, device number 9
Dec 28 20:20:09 trona kernel: usb 3-1.1: new high-speed USB device number 14 using xhci_hcd
Dec 28 20:20:09 trona kernel: usb 3-1.1: config 1 interface 2 altsetting 0 endpoint 0x84 has an invalid bInterval 255, changing to 11
Dec 28 20:20:09 trona kernel: usb 3-1.1: New USB device found, idVendor=0483, idProduct=374e, bcdDevice= 1.00
Dec 28 20:20:09 trona kernel: usb 3-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Dec 28 20:20:09 trona kernel: usb 3-1.1: Product: ST-LINK/V3
Dec 28 20:20:09 trona kernel: usb 3-1.1: Manufacturer: STMicroelectronics
Dec 28 20:20:09 trona kernel: usb 3-1.1: SerialNumber: 003Fxxxx...
Dec 28 20:20:09 trona kernel: usb-storage 3-1.1:1.1: USB Mass Storage device detected
Dec 28 20:20:09 trona kernel: scsi host9: usb-storage 3-1.1:1.1
Dec 28 20:20:09 trona kernel: cdc_acm 3-1.1:1.2: ttyACM1: USB ACM device
Dec 28 20:20:10 trona kernel: scsi 9:0:0:0: Direct-Access     STM      Product          0.01 PQ: 0 ANSI: 2
Dec 28 20:20:10 trona kernel: sd 9:0:0:0: Attached scsi generic sg8 type 0
Dec 28 20:20:10 trona kernel: sd 9:0:0:0: [sdh] 4168 512-byte logical blocks: (2.13 MB/2.04 MiB)
Dec 28 20:20:10 trona kernel: sd 9:0:0:0: [sdh] Write Protect is off
Dec 28 20:20:10 trona kernel: sd 9:0:0:0: [sdh] Asking for cache data failed
Dec 28 20:20:10 trona kernel: sd 9:0:0:0: [sdh] Assuming drive cache: write through
Dec 28 20:20:10 trona kernel: sd 9:0:0:0: [sdh] Attached SCSI removable disk
This is interesting. I appears as two USB devices (which is something I suspected and was hoping for based on what I was reading about ST-Link V3). One is a serial console device as /dev/ttyACM1 and the other is mass storage as /dev/sdh. I run fdisk on /dev/sdh and see:
fdisk /dev/sdh
The device contains 'vfat' signature and it will be removed by a write command. See fdisk(8) man page and --wipe option for more details.

Device does not contain a recognized partition table.
Created a new DOS disklabel with disk identifier 0x480985f9.

Command (m for help): p
Disk /dev/sdh: 2.4 MiB, 2134016 bytes, 4168 sectors
Disk model: Product
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x480985f9
I look at this VFAT filesystem via:
[root@trona tom]# mount /dev/sdh /mnt
[root@trona tom]# ls /mnt
DETAILS.TXT  MBED.HTM
[root@trona tom]# cd /mnt
[root@trona mnt]# more DETAILS.TXT
Version: 0221
Build:   Sep 18 2018 11:11:30

Feedback? Questions? Drop me a line!

Tom's Computer Info / [email protected]