Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
boards:stm32vl [2022/11/19 10:49]
darron [Issues]
boards:stm32vl [2023/12/01 04:40] (current)
darron [Issues]
Line 50: Line 50:
 ===Issues=== ===Issues===
  
-This device is recognised as a mass storage device which doesn't actually work +This device is recognised as a mass storage device which doesn't actually work. 
-so in Linux add this on the RPi to cmdline.txt and reboot.+ 
 +On the RPi add the following to /boot/cmdline.txt and reboot. 
 + 
 +<code> 
 +usb-storage.quirks=483:3744:i,483:374b:i,483:374e:
 +</code> 
 + 
 +With ARMBIAN, update /boot/armbianEnv.txt and reboot.
  
 <code> <code>
-usb-storage.quirks=483:3744:i,483:374e:i+usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u,0x0483:0x3744:i,0x0483:0x374b:i,0x0483:0x374e:i
 </code> </code>
  
Line 60: Line 67:
  
 <code> <code>
-# Prevent ST-LINK from showing up as a USB disk +options usb-storage quirks=483:3744:i,483:374b:i,483:374e:i
-options usb-storage quirks=483:3744:i,483:374e:i+
 </code> </code>
  
Line 75: Line 81:
 a number of probes until it operates and may never work. a number of probes until it operates and may never work.
  
-A solution is as follow+A solution is as follows
 <code> <code>
 #! /bin/sh #! /bin/sh
 # #
-UNPLUG STM32 VL Discovery+ON DEVICE ERROR
 # RUN THIS SCRIPT # RUN THIS SCRIPT
 +# UNPLUG STM32 VL Discovery
 # PLUG IN STM32 VL Discovery # PLUG IN STM32 VL Discovery
 # CTRL-C # CTRL-C
Line 88: Line 95:
         sleep 0.1         sleep 0.1
 done done
 +</code>
 +
 +===Clocks===
 +
 +<code>
 +HSE 8000000 X2 ESA8.00000F20D25F
 +HSI 8000000
 +LSE 32768   X3 MC306-G-06Q-32.768
 +LSI 40000
 </code> </code>
 === LED demo === === LED demo ===
Line 94: Line 110:
  
 == STLink == == STLink ==
 +
 +NB STLink no longer operates with this board's firmware.
  
 Install [[:tools:stlink|STLink]] programmer. Install [[:tools:stlink|STLink]] programmer.
Line 163: Line 181:
 [[https://www.st.com/resource/en/reference_manual/rm0041-stm32f100xx-advanced-armbased-32bit-mcus-stmicroelectronics.pdf|MCU reference manual]] [[https://www.st.com/resource/en/reference_manual/rm0041-stm32f100xx-advanced-armbased-32bit-mcus-stmicroelectronics.pdf|MCU reference manual]]
  
 +[[https://www.st.com/resource/en/errata_sheet/es093-stm32f100x4-stm32f100x6-stm32f100x8-and-stm32f100xb-low-and-mediumdensity-value-line-device-errata-stmicroelectronics.pdf|MCU errata]]