Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
boards:stm32vl [2015/03/23 02:18] – darron | boards:stm32vl [2023/12/01 04:40] (current) – [Issues] darron | ||
---|---|---|---|
Line 47: | Line 47: | ||
</ | </ | ||
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 === | ||
Install [[: | Install [[: | ||
+ | |||
+ | == STLink == | ||
+ | |||
+ | NB STLink no longer operates with this board' | ||
Install [[: | Install [[: | ||
Line 72: | Line 134: | ||
</ | </ | ||
- | Alternatively, | + | == STM32Flash == |
+ | |||
+ | As an alternative to [[: | ||
< | < | ||
- | STM32 | + | STM32 CP2102 |
- | ===== | + | ===== ====== |
- | 3V3 ---------+ | + | 3V3 ---------- |
- | BOOT ---220R--+ | + | BOOT ---220R--- |
- | PA10 ---470R--- RX | + | PA10 RX ---------- RXD (TX) |
- | PA9 ---470R--- TX | + | PA9 |
- | GND ---------- GND | + | GND |
</ | </ | ||
Line 110: | Line 174: | ||
=== Resources === | === Resources === | ||
- | [[http:// | ||
+ | [[http:// | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | [[https:// |