Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
boards:stm32vl [2022/11/19 10:18] – [Pinout] darron | boards:stm32vl [2023/12/01 04:40] (current) – [Issues] darron | ||
---|---|---|---|
Line 50: | Line 50: | ||
===Issues=== | ===Issues=== | ||
- | This device is recognised as a mass storage device which doesn' | + | This device is recognised as a mass storage device which doesn' |
- | so in Linux add this on the RPi to cmdline.txt | + | |
+ | On the RPi add the following | ||
< | < | ||
- | usb-storage.quirks=483: | + | usb-storage.quirks=483: |
</ | </ | ||
- | Similar modprobe options are: | + | With ARMBIAN, update / |
< | < | ||
- | # Prevent ST-LINK from showing up as a USB disk | + | usbstoragequirks=0x2537: |
- | options usb-storage quirks=483: | + | </ |
+ | |||
+ | Similar modprobe options are used if mass storage is a module. | ||
+ | |||
+ | < | ||
+ | options usb-storage quirks=483: | ||
+ | </ | ||
+ | |||
+ | When the device is plugged in, something like this is logged: | ||
+ | |||
+ | < | ||
+ | usb-storage 1-1.2.1: | ||
+ | usb-storage 1-1.2.1: | ||
</ | </ | ||
This will stop mass storage using the device, however, it | This will stop mass storage using the device, however, it | ||
doesn' | doesn' | ||
- | a number of probes until it operates. | + | a number of probes until it operates |
+ | |||
+ | A solution is as follows | ||
+ | < | ||
+ | #! /bin/sh | ||
+ | # | ||
+ | # ON DEVICE ERROR | ||
+ | # RUN THIS SCRIPT | ||
+ | # UNPLUG STM32 VL Discovery | ||
+ | # PLUG IN STM32 VL Discovery | ||
+ | # CTRL-C | ||
+ | # | ||
+ | while test 1; do | ||
+ | openocd -f " | ||
+ | sleep 0.1 | ||
+ | done | ||
+ | </ | ||
+ | |||
+ | ===Clocks=== | ||
+ | |||
+ | < | ||
+ | HSE 8000000 X2 ESA8.00000F20D25F | ||
+ | HSI 8000000 | ||
+ | LSE 32768 X3 MC306-G-06Q-32.768 | ||
+ | LSI 40000 | ||
+ | </ | ||
=== LED demo === | === LED demo === | ||
Line 71: | Line 110: | ||
== STLink == | == STLink == | ||
+ | |||
+ | NB STLink no longer operates with this board' | ||
Install [[: | Install [[: | ||
Line 140: | Line 181: | ||
[[https:// | [[https:// | ||
+ | [[https:// |