Category Archives: Uncategorized

STM32 Crystal Oscillator (8MHz or 25MHz?)

High-speed external (HSE) clock

  • 25MHz: A 25Mhz crystal is an advantage for designs that use the MII MAC ethernet interface because it’s possible to chain the clock out from STM32 and into the PHY (an MII PHY requires a 25Mhz clock input).
  • 8 MHZ: These may come in slightly larger packages than the 25 MHz crystals.

AN5096 – Getting started with STM32G0 Series hardware development
The 4 to 48 MHz external oscillator has the advantage of producing a very accurate rate on the main clock.

What is the difference between using a 8MHz and a 25 MHz quartz ?

Crystal Oscillator Choices (STM32F4)

STM32 g-code Parser (grbl/CNC/3D Printing)

grbl

github.com/Schildkroet/GRBL-Advanced
github.com/usbcnc/grbl
github.com/dungjk/grbl-stm32

Marlin

github.com/MarlinFirmware/Marlin
github.com/Rejdok/STM32-Marlin-Port (old?)
github.com/MakerLabMe/Marlin_STM32 (old?)

Super Gerbil, the STM32 based Gcode controller
STM32 grbl
GRBL STM32duino?

G-Code

Marlin G-code Index
G Codes
G0 vs G1 Gcode

ST

STEVAL-3DP001V1: Reference design for FDM 3D printing
UM2067 User manual: Getting started with the 3D printer board
STEVAL-3DP001V1: Plug-n-play solution for 3D printers

YouTube

Basic Movements with G-Code
3d Printers G-Code Explored and Explained with Examples
Creating a custom GCODE command – Extending Marlin Firmware

Original AVR

github.com/grbl/grbl
github.com/gnea/grbl/wiki
ARM discussion #67

Qt

github.com/Denvi/Candle

ownClound / SWITCHdrive

CSync unspecified error

c:\Program Files (x86)\switchdrive>switchdrive.exe --logfile c:\Users\andreas\switchdrive_2021_05_28_2.txt

[...]
05-28 09:44:50:164 [ warning sync.database.sql ]:	Sqlite step statement error: 11 "database disk image is malformed" in "SELECT path, inode, modtime, type, md5, fileid, remotePerm, filesize,  ignoredChildrenRemote, contentchecksumtype.name || ':' || contentChecksum FROM metadata  LEFT JOIN checksumtype as contentchecksumtype ON metadata.contentChecksumTypeId == contentchecksumtype.id WHERE phash=?1"
05-28 09:44:50:164 [ warning sync.database ]:	No journal entry found for  "ZHAW_Assistent/FotoFinder/BA19_bmat_02_CoolingStation/2.Recherche/files/104/icon-instagram.svg" Error:  "database disk image is malformed"
05-28 09:44:50:164 [ info sync.database ]:	Closing DB "C:/Users/andreas/switchdrive/._sync_1f3ce89cbf1f.db"
05-28 09:44:50:166 [ warning sync.engine ]:	ERROR during  csync_update :  "CSync unspecified error."
05-28 09:44:50:182 [ info sync.database ]:	Closing DB "C:/Users/andreas/switchdrive/._sync_1f3ce89cbf1f.db"
05-28 09:44:50:182 [ info sync.engine ]:	CSync run took  7183 ms
05-28 09:44:50:182 [ info gui.socketapi ]:	Sending SocketAPI message --> "STATUS:OK:C:\\Users\\andreas\\switchdrive" to QLocalSocket(0x93bb298)
05-28 09:44:50:182 [ info gui.folder ]:	Client version 2.5.4daily20190604 (build 1865)  Qt 5.11.2  SSL  OpenSSL 1.1.1  11 Sep 2018
05-28 09:44:50:182 [ warning gui.folder ]:	SyncEngine finished with ERROR
05-28 09:44:50:182 [ info gui.folder ]:	Folder sync result:  2
05-28 09:44:50:182 [ info gui.folder ]:	the last 3 syncs failed
05-28 09:44:50:182 [ info gui.socketapi ]:	Sending SocketAPI message --> "STATUS:OK:C:\\Users\\andreas\\switchdrive" to QLocalSocket(0x93bb298)
05-28 09:44:50:183 [ info gui.socketapi ]:	Sending SocketAPI message --> "UPDATE_VIEW:C:\\Users\\andreas\\switchdrive" to QLocalSocket(0x93bb298)

ownCloud Client Manual – Appendix C: Troubleshooting
Owncloud Datenbank-Probleme

Download sqlite3: SQLite Download Page, sqlite-tools-win32-x86-3350500.zip

SQLite Commands
Command Line Shell For SQLite

C:\Users\andreas\switchdrive>c:\sqlite-tools-win32-x86-3350500\sqlite3.exe C:/Users/andreas/switchdrive/._sync_1f3ce89cbf1f.db
SQLite version 3.35.5 2021-04-19 18:32:05
Enter ".help" for usage hints.

sqlite> PRAGMA integrity_check;
row 39975 missing from index sqlite_autoindex_metadata_1

sqlite> reindex;

sqlite> PRAGMA integrity_check;
ok

sqlite> .exit

Windows Subsystem for Linux (WSL)

Windows Subsystem for Linux Installation Guide for Windows 10

What is the Windows Subsystem for Linux?
Frequently Asked Questions about Windows Subsystem for Linux
Run Linux GUI apps on the Windows Subsystem for Linux (Windows 11 Build 22000 or later)
Running WSL GUI Apps on Windows 10

WSL2 Ubuntu GUI (with RDP)
How to install Linux GUI apps with WSL 2 on Windows 10 (Windows 10 Build 21364)
WSL2 soll Linux-GUIs anzeigen können (Wayland Display Server)
GUI-Anwendungen ausführen im Windows Subsystem für Linux (WSL)
Windows Subsystem for Linux GUI startet grafische Linux-Programme

github.com/microsoft/wslg, Enabling the Windows Subsystem for Linux to include support for Wayland and X server related scenarios (Windows 11)

Announcing Windows 10 Insider Preview Build 21364, April 21, 2021
Windows 11 on Unsupported Hardware

How to set up working X11 forwarding on WSL2 [closed]
WSL: Running Graphical Applications