Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
boards:stm32vl [2022/11/15 17:52] – [Resources] darron | boards:stm32vl [2023/12/01 04:40] (current) – [Issues] darron | ||
---|---|---|---|
Line 48: | Line 48: | ||
CN3 is used to configure either internal or external programming. | CN3 is used to configure either internal or external programming. | ||
+ | ===Issues=== | ||
+ | |||
+ | This device is recognised as a mass storage device which doesn' | ||
+ | |||
+ | On the RPi add the following to / | ||
+ | |||
+ | < | ||
+ | usb-storage.quirks=483: | ||
+ | </ | ||
+ | |||
+ | With ARMBIAN, update / | ||
+ | |||
+ | < | ||
+ | usbstoragequirks=0x2537: | ||
+ | </ | ||
+ | |||
+ | 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 | ||
+ | doesn' | ||
+ | a number of probes until it operates and may never work. | ||
+ | |||
+ | 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 53: | Line 110: | ||
== STLink == | == STLink == | ||
+ | |||
+ | NB STLink no longer operates with this board' | ||
Install [[: | Install [[: | ||
Line 80: | Line 139: | ||
< | < | ||
- | STM32 | + | STM32 CP2102 |
- | ===== | + | ===== ====== |
- | 3V3 ---------+ | + | 3V3 ---------- |
- | BOOT ---220R--+ | + | BOOT ---220R--- |
- | PA10 ---------- | + | PA10 RX ---------- |
- | PA9 ---------- | + | PA9 |
- | GND ---------- GND | + | GND |
</ | </ | ||
Line 122: | Line 181: | ||
[[https:// | [[https:// | ||
+ | [[https:// |