我的網誌清單

2024年5月26日星期日

Single Board Computer ( SBC)

Dashboard 

Yes — for something as resource-constrained as a Raspberry Pi 1 and an STM32 Nucleo board, you’ll want a dashboard solution that’s extremely lightweight, can run on minimal RAM/CPU, and ideally supports serial or simple network communication.

Here are some good options:


1. PiDashboard (Custom Python + Flask + Lightweight JS)

  • Why: You can run a minimal Flask server on the Pi 1, serving a very basic HTML/JS dashboard.
  • How:
  • Pi reads data from STM32 via UART, USB CDC, or SPI.
  • Flask serves a static HTML page with minimal JavaScript (e.g., Chart.js or even plain SVG).
  • No heavy frameworks — keeps CPU usage low.
  • Pros: Fully customizable, very low footprint, works offline.
  • Cons: Requires some coding.

2. Node-RED (with minimal nodes)

  • Why: Node-RED can run on Pi 1 if you strip it down — disable unused nodes and avoid heavy dashboards.
  • How:
  • Use serial node to read STM32 data.
  • Use ui dashboard nodes for simple charts and gauges.
  • Pros: Visual programming, quick to prototype.
  • Cons: Still heavier than pure Python, so you must optimize.

https://mischianti.org/waveshare-rp2040-zero-high-resolution-pinout-and-specs/#google_vignette


3. Kiosk-style Static Dashboard (HTML + Auto-refresh)

  • Why: The lightest possible — no backend logic on Pi except a script writing JSON/CSV to disk.
  • How:
  • STM32 sends data to Pi.
  • Pi writes it to a file.
  • A static HTML page (opened in a lightweight browser like Midori) reads the file and updates via JavaScript.
  • Pros: Almost zero CPU load, works even on Pi Zero.
  • Cons: No fancy interactivity unless you add it manually.

💡 Tip for STM32 side: You can use STM32CubeProgrammer or a simple UART printf to send sensor data in CSV/JSON format — makes parsing on the Pi trivial.

If you want, I can sketch you a minimal Python+Flask dashboard that will run on a Pi 1 and display live STM32 data without stressing the CPU. Would you like me to do that?


Build a Simple Custom Raspberry Pi Dashboard for Your Desk - Geeky Gadgets

https://github.com/TechTalkies/Pi-Dashboard/.       codes here. Pi + 3.5" touch screen

Build Interactive Dashboards with Flask and Plotly | Step-by-Step Guide | Codez Up

How to Build a Real-Time Data Dashboard with Python and Flask in 2025 | by mimo | Medium

Creating Interactive Dashboards With Flask And Sqlalchemy – peerdh.com   comprehensive guide


Intel Edison Sensor Dashboard Using Freeboard/Python/Flask (minimal Programming Necessary) : 8 Steps (with Pictures) - Instructables

https://www.geeksforgeeks.org/javascript/charts-js-installation-guide/.       how to chart.js

GitHub - giampaolo/psutil: Cross-platform lib for process and system monitoring in Python

Building and mon­i­tor­ing Flask Application - Notch

GitHub - ivl02/monitoring-quote-application: Monitoring Quote application with Prometheus and GrafanaFlask 

https://github.com/ivl02/monitoring-quote-application

https://github.com/ivl02/monitoring-quote-application.   quote + Prometheus+flask+grafana


Tutorial - GeeksforGeeks


How to Add Graphs to Flask apps - GeeksforGeeks

Flask HTML CSS Template - Volt Dashboard

Dashboard

https://github.com/AashiDutt/Arduino_Python_Flask_Dashboard.  lack of html , notebook page only

https://learn.sparkfun.com/tutorials/iot-weight-logging-scale/all

https://blog.arduino.cc/2023/11/03/5-ways-to-visualize-your-arduino-or-esp-sensor-data/

https://randomnerdtutorials.com/esp32-websocket-server-sensor/.  websocket with esp32

https://forum.arduino.cc/t/how-to-create-the-serial-connection-to-arduino-in-flask/943615

https://www.geeksforgeeks.org/python/how-to-add-graphs-to-flask-apps/


https://www.electronicsforu.com/electronics-projects/graphical-data-display-arduino-html5.   HTML5

https://github.com/chillibasket/processing-grapher    using processing

https://hackaday.com/2021/01/31/serial-studio-easily-visualise-and-log-serial-data/.  using QT framework

https://github.com/Serial-Studio/Serial-Studio.        create dashboard without writing codes

QT creator for embedded

https://hackaday.com/2016/07/08/join-the-gui-generation-qtcreator/.       qt creator

https://openc3.com/.      open source canvas creator

https://docs.openc3.com/docs/getting-started/gettingstarted

https://hackaday.io/project/5334-serialplot-realtime-plotting-software.   serial plot qt

https://github.com/hyOzd/serialplot.   no arm64 only amd64 candidate ,  i compiled aach64 myself

https://kst-plot.kde.org/.  app in form of standlone running version.   no arm6


https://github.com/farrellf/TelemetryViewer

http://www.farrellf.com/TelemetryViewer/

https://x-io.co.uk/serial-oscilloscope/.        serial oscilloscope

https://github.com/xioTechnologies/Serial-Oscilloscope.     12yrs ago


https://www.youtube.com/watch?v=o458gSr9m3I

https://projecthub.arduino.cc/ansh2919/serial-communication-between-python-and-arduino-663756

https://github.com/swharden/SeriPlot

https://github.com/swharden/ADC-10-F103C. 10 ADC channels.    windows only

modified hardware increased baudrate 

https://deltafabri.wordpress.com/2024/03/05/adc-10-f103c-modify-stm32f103c8t6-firmware-for-time-and-frequency-measurements/

amazon sells it at $10

https://www.amazon.com/dp/B093WLWNK1/ref=sspa_dk_detail_5?psc=1&pd_rd_i=B093WLWNK1&pd_rd_w=xo21D&content-id=amzn1.sym.953c7d66-4120-4d22-a777-f19dbfa69309&pf_rd_p=953c7d66-4120-4d22-a777-f19dbfa69309&pf_rd_r=EKKM9WJ8A9J00073K377&pd_rd_wg=u6vS2&pd_rd_r=176dcbba-adf5-44f4-8a8d-10afa07b4b51&sp_csd=d2lkZ2V0TmFtZT1zcF9kZXRhaWwy


https://www.instructables.com/Plotting-and-Graphing-Live-Data-from-Arduino-using/  metplotlib 

https://github.com/di3go-sona/aws-iot-sensors.   flask json boto3 db api

https://medium.com/@diego.sonaglia/build-an-iot-system-with-arduino-aws-and-flask-f3b787f263d5

https://gist.github.com/brandoncurtis/33a67d9d402973face8d.   codes . but don't work.view on notebook


https://medium.com/@amelie_yeh/data-visualization-on-the-web-with-flask-11a3b1f7a476

https://github.com/hsuanyuyeh/StockInvest-realtime-dashboard


https://matt-popovic-2.medium.com/chart-js-flask-create-beautiful-interactive-charts-with-python-9568edfd10fc     not much to get

https://github.com/crysthianzaar/FlaskSerialIO.    pretty simple flask using the library.  -- stop---

https://github.com/iskandarputra/Real-Time-Py-Serial-Plotter. simple enough, may take a look later

https://www.tinkerassist.com/blog/arduino-data-gui

https://pythonspot.com/flask-and-great-looking-charts-using-chart-js/

https://peerdh.com/blogs/programming-insights/integrating-plotly-with-flask-for-web-based-data-visualization-applications


https://github.com/hase3b/Flask-Dash-Interactive-Dashboard

https://github.com/grebtsew/Visualize-Realtime-Data-Stream-Chart-in-Flask.    5yrs ago.    seems ok

https://www.youtube.com/watch?v=fEowPL9zZYs.   Arduino data go into excel with data streamer 

https://github.com/TechTalkies/Pi-Dashboard/.      Pi + 3.5" touch screen

https://medium.com/@jannelson36/build-engaging-and-interactive-charts-using-flask-and-d3-js-7652a3647ee4.                 flask and d3.js

https://www.learnrobotics.org/blog/arduino-data-logger-csv/.     codes available

https://github.com/ifsvivek/Plot-Arduino-Data-in-Real-Time.     

https://github.com/HighVoltages/Python-arduino-realtime-graph

plotted using matplotlib

RealtimePlotter.   use processing gui

https://github.com/Nirvan007/Smart_Health_Monitoring_System?tab=readme-ov-file#Software-Requirements.       mobile app flutter, firebase,  arduino

https://github.com/Tornado025/Real-time-Data-Plotting-with-Arduino/.   matplotlib + arduino

https://github.com/MSZ98/serial-readline.    serial.readline()


filesystem - Not enough space on /tmp - Ask Ubuntu      increase /tmp 

sudo mount -t tmpfs -o size=1G,mode=1777 overflow /tmp 


https://www.instructables.com/Controlling-Arduino-with-python-based-web-API-No-p. pyduino

https://www.instructables.com/Controlling-Arduino-with-python-based-web-API-No-p/   flask

https://github.com/hamzashaikh8/Arduino-serial

https://github.com/ramanakshay/arduino-greenhouse-monitoring/tree/main.     this one suits my taste


Dakboard

How to build a Wall Mounted Family Calendar and Dashboard with a Raspberry Pi and cheap monitor - Scott Hanselman's Blog

Does Dakboard run on a Raspberry Pi Zero 2? YES! Here is a little guide, how I got it working : r/dakboard

A Complete Step-by-Step Guide to Setting Up DAKboard on a Raspberry Pi using your Web Browser – TheLinuxCode

GitHub - mtalcott/pi-home-dash: A utility that displays a grayscale DAKboard screenshot on a Waveshare e-ink display via SPI, powered by a Raspberry Pi Zero 2 W. Uses headless Chromium, Pillow for image processing, and a Python IT8951 driver. Low-power, standalone smart home display.

https://www.airdroid.com/mdm/minimal-kiosk-browser/.    kweb kiosk web browser  2025 article

https://github.com/ekapujiw2002/raspberry_pi_arch_linux_how_to/blob/master/en/33-kweb%20kiosk%20browser.md?plain=1.                        kweb in loop howto

https://forums.raspberrypi.com/viewtopic.php?t=40860

https://studylib.net/doc/18445597/minimal-kiosk-browser.    user manual pdf

https://piaustralia.com.au/blogs/news/launching-a-browser-in-raspbian-without-the-full-window-environment-a-step-by-step-guide simple setup without openbox and other desktop managers

Setup a Raspberry Pi to run a Web Browser in Kiosk Mode


https://core-electronics.com.au/guides/raspberry-pi-kiosk-mode-setup/.    newer setup for pi 4

Raspberry Pi Zero Dashboard Using DAKBoard : 5 Steps - Instructables   kiosk mode

Setup a Raspberry Pi to run a Web Browser in Kiosk Mode     Kiosk mode  on Pi zero

Setup a Raspberry Pi Zero W to run a Web Browser in Kiosk Mode as a free personal Dashboard

Install packages in a virtual environment using pip and venv - Python Packaging User Guide   VENV

Setup a Raspberry Pi Zero W to run a Web Browser in Kiosk Mode with Dakboard : r/dakboard

https://forums.raspberrypi.com/viewtopic.php?t=267939.    enable GPU

GitHub - DanTappan/Pi-Kiosk: Yet another simple Raspberry Pi based kiosk   512mb ram

GUIDE: Install GNOME 48 Ubuntu-like on Raspberry Pi OS Lite (NO SNAP) Debian 13 Trixie - Raspberry Pi Forums

https://reelyactive.github.io/diy/pi-kiosk/.   use matchbox

https://forums.raspberrypi.com/viewtopic.php?t=87719.  refresh key

https://forums.raspberrypi.com/viewtopic.php?t=87719.   midori

https://forums.raspberrypi.com/viewtopic.php?t=267939.   enable gpu

https://hackaday.com/2022/04/28/a-real-gpu-on-the-raspberry-pi-barely/

https://www.raspberrypi.com/documentation/computers/config_txt.html.  important config doc for pi

https://www.raspberrypi.com/documentation/computers/legacy_config_txt.html.  likely for pi one

sudo apt-get install --no-install-recommends xserver-xorg x11-xserver-utils xinit openbox -y
sudo apt-get install xfonts-base

midori -a "https://example.com" --inactivity-reset=1800 -e Fullscreen.         refresh screen

cooktop design:

Nucleo F401re

Mbed os end of life at july 2026

Mbed CE is still active.  CE means Community Edition.

lastest links here:

https://mischianti.org/stm32-ethernet-enc28j60-with-plain-http-and-ssl-https/#google_vignette


https://shawnhymel.com/1795/getting-started-with-stm32-nucleo-usb-virtual-com-port/.  USB

https://community.simplefoc.com/t/pin-configuration-to-enable-spi-on-stm32-nucleo/1259.   SPI

https://github.com/stm32duino/Arduino_Core_STM32/wiki/Upload-methods/fe6c84b4d67b1b06db6b7b1378828cc67a920bd3.                          upload methods.

nucleo_f401re.html.     PlatformIO setup

https://github.com/mbed-ce

usb virtual port

https://os.mbed.com/teams/ST/wiki/Use-of-D0D1-Arduino-pins

flash boot loader

https://myembeddedsystems.com/how-to-tutorials/how-to-implement-stm32-uart-bootloader-for-

firmware-updates-on-nucleo-boards/

https://nextw.com.tw/public/downloads/STM32%20Setup%20Instruction(NUCLEO-F401RE).pdf cube

https://www.instructables.com/Quick-Start-to-STM-Nucleo-on-Arduino-IDE/. it may suit my board

f401re_map came from here.


micropython

https://github.com/leosok/mp_builder/.     mp compressor ?

https://docs.micropython.org/en/latest/reference/filesystem.html

reduce modules and save flash space.

https://docs.micropython.org/en/latest/develop/optimizations.html.      optimization, memory allocation

https://github.com/orgs/micropython/discussions/11612  a lot of info for rebuilding custom firmwares

https://docs.micropython.org/en/latest/reference/manifest.html.   manifest frozen python codes


https://github.com/glenn20/mp-image-tool-esp32

docker builds custom micropython firmware:

https://github.com/leosok/mp_builder/


https://deepwiki.com/shariltumin/esp32-cam-micropython/3.3-build-configuration

https://www.horan.hk/blog/micropythonesp32/


https://github.com/george-hawkins/micropython-notes/blob/master/tools-filesystem-and-repl.md

Setup and Using MicroPython for Beginners - SparkFun Learn    good tutorial

sparkfun-python/examples/mpy_tmp117_web_server at main · sparkfun/sparkfun-python   *socket*

joewez/MPRemoteEditor: A simple Windows IDE for developing with MicroPython MPRemote devices       mpremote for windows

Try Jupyter!      jupyter notebook online

Intro.ipynb - Try Jupyter!

MicroPython remote control: mpremote — MicroPython 1.18 documentation

Some use cases and small talk for the mpremote tool. · micropython · Discussion #9096  cheat sheet

Ping Testmcauser/awesome-micropython: A curated list of awesome MicroPython libraries, frameworks, software and resources. -         a collection of micropython libraries


Raspberry Pi Forums    ping test script

W5100S-EVB-Pico | WIZnet Document System   wiznet examples for pico micropython

Networking-for-Arduino/EthernetENC: Ethernet library for ENC28J60. This is a modern version of the UIPEthernet library. EthernetENC library is compatible with all Arduino architectures with Arduino SPI library with transactions support. Only include EthernetENC.h instead of Ethernet.h

more likely the above library can be adopted to Mbed nucleo-f401re

yeranosyanvahan/micronet: Micronet Micropython library for networking   micronet too


ljanyst/pico-enc28j60: A RaspberryPi Pico driver for the ENC28J60 controller    pico with pictures

Raspberry Pi Pico ethernet Over Esp12 and Enc28j60 - Raspberry Pi Forums    esp12+enc28j60


In Nucleo F401RE has multiple SPI pins which are: In CN7: In CN10: In CN5: There are multiple pins for I 2 C protocol. It is based on two pins with a clock and a data pin. These pins can communicate with external I 2 C modules. In STM32 Nucleo F401RE both types of headers support I 2 …

likely the pin information listed on below:

STM32-Nucleo-F411RE-MicroPython-Quick-Start/README.md at master · RoanFourie/STM32-Nucleo-F411RE-MicroPython-Quick-Start    

https://github.com/lime7git/flash-loader-example-stm32f4.      GUI bootloader for f401re

https://www.sgbotic.com/index.php?dispatch=pages.view&page_id=49

repeated post,  but a lot of good information

https://mobilewill.blogspot.com/2015/06/stm32-nucleo-and-dfu-usb-bootloading.html

Keil IDE tutorial

https://microcontrollerslab.com/led-blinking-tutorial-stm32f4-discovery-board-gpio-hal-library/

class Pin – control I/O pins — MicroPython latest documentation     get pin information on REPL

micropython/ports/stm32/boards/NUCLEO_F401RE/pins.csv at master · micropython/micropython

micropython's pin.csv table

stm32-enc28j60

stm32-community/stm32-enc28j60: An ENC28J60 (cheap ethernet module) library for STM32 projects

Arduino_STM32/STM32F1/libraries/Serasidis_EtherCard_STM at master · rogerclarkmelbourne/Arduino_STM32   ethercard ported to stm32 F1

rogerclarkmelbourne/Arduino_STM32: Arduino STM32. Hardware files to support STM32 boards, on Arduino IDE 1.8.x including LeafLabs Maple and other generic STM32F103 boards   may go this

Home · rogerclarkmelbourne/Arduino_STM32 Wiki       read the wiki

https://mischianti.org/stm32-ethernet-enc28j60-with-plain-http-and-ssl-https/#google_vignette  etherENC

https://mischianti.org/stm32-programming-stm32f1-stm32f4-via-usb-with-hid-boot-loader-3/.  HID bl

https://github.com/microtechnics-main/stm32-ethernet-1-enc28j60


enc28j60

Juddling/pi-pico-enc28j60: Bring Ethernet to the Pi Pico via SPI    with stack

https://www.carminenoviello.com/2015/08/28/adding-ethernet-connectivity-stm32-nucleo/

http://blog.boochow.com/article/453856306.html.   links talking about tcp

https://gist.github.com/nebelgrau77/62916ed8d52007991f9be3eb6c5b09e2.   flash micropython

https://github.com/Nastrawww/STM32F401RE/blob/main/NUCLEO-F401RE_Schematic.pdf

https://techtutorialsx.com/2017/05/23/esp32-micropython-parsing-json/.      parsing json

https://github.com/prfraanje/edukit-micropython.      micropython project

https://github.com/yeranosyanvahan/micronet.      mcronet

https://github.com/tai/micropy-ENC28J60.      library for micropython

https://forums.raspberrypi.com/viewtopic.php?t=339067.   ping test using above

https://github.com/ljanyst/pico-enc28j60.    for pico

https://github.com/Juddling/pi-pico-enc28j60.   brings ethernet to pico.   c cmake

https://github.com/tai/micropy-ENC28J60.   python micropython

https://randomnerdtutorials.com/raspberry-pi-pico-microsd-card-micropython/

https://randomnerdtutorials.com/raspberry-pi-pico-files-directories-micropython/.  files and directories

https://docs.micropython.org/en/latest/esp8266/tutorial/filesystem.html

https://os.mbed.com/users/hudakz/code/WebSwitch_ENC28J60/

http://www.tuxgraphics.org/electronics/200611/embedded-webserver.shtml.   atmega 8

https://www.14core.com/wiring-the-enc28j60-ethernet-module-on-arduino-with-relay/#google_vignette

https://www.youtube.com/watch?v=vJdbZcbCRiI.   youtube

https://github.com/MahmoudNasser127/Real-Time-Clock-and-Voltage-Monitor-Using-NUCLEO-F401RE-Arduino-Shield.        MBED.  C

https://github.com/Networking-for-Arduino/ENC28J60-EMAC.  arduino

https://github.com/turicas/Ethernet_ENC28J60

.    arduino c c++

https://github.com/Wiznet/Loopback_LPC11E36_LPCXpresso.   iot http ftp c c++

ADC

https://community.st.com/t5/others-stm32-mcus-related/configuring-adc-on-nucleo-f401re-in-arduino-ide-gives-erratic/td-p/328148

https://os.mbed.com/users/hudakz/code/TcpServer. _ENC28J60/file/60ca1737aa47/main.cpp/. MBED


https://github.com/SimoneMaragliulo/NucleoF401RE_HighAccuracyPWMreader.   PWM read

https://github.com/RoanFourie/STM32-Nucleo-F411RE-MicroPython-Quick-Start.  micropy quick

https://github.com/sriksh9/STM-Nucleo-ADC.      uvision keil

https://blog.embeddedexpert.io/?p=172.      stm32duino  ultrasonic sensor

https://github.com/topics/enc28j60.    github searches

https://github.com/khoih-prog/EthernetWebServer.  great amount of information

https://github.com/Nastrawww/STM32F401RE/blob/main/NUCLEO-F401RE_Schematic.pdf

https://os.mbed.com/platforms/ST-Nucleo-F401RE/.      pinout diagrams

https://danieleff.github.io/STM32GENERIC/board_Nucleo_F401RE/.  pinout lists out spi i2c uarts



GitHub - embedded34/STM32_NUCLEO_F411RE_Projects: This repository contains a collection of simple yet educational projects for the STM32 NUCLEO-F411RE development board. These projects are designed to help users learn and understand the fundamentals of embedded systems and microcontroller programming.

https://github.com/hase3b/Flask-Dash-Interactive-Dashboard


https://github.com/kiranj26/STM32-Nucleo-F401RE-Projects.      cube IDE

https://maker.wiznet.io/scott/projects/nucleo-f401re-ethernet-w5100-micropython%E3%81%A7%E3%82%A4%E3%83%B3%E3%82%BF%E3%83%BC%E3%83%8D%E3%83%83%E3%83%88%E6%8E%A5%E7%B6%9A/.   Japanese does it with wz5100

https://docs.cirkitdesigner.com/component/f991d0d6-9a3d-4ff1-b0b4-e54015685a4f/stm-32-nucleo-f401re

https://docs.zephyrproject.org/latest/boards/st/nucleo_f401re/doc/index.html.   diagrams and pinouts

https://github.com/zephyrproject-rtos/zephyr/tree/main.   zephyr is a RTOS plot

https://docs.zephyrproject.org/latest/samples/index.html.   examples and demos

https://github.com/thunderace/NUCLEO-F401RE-W5100-ioLibrary_Driver.  wz5100

https://www.open-electronics.org/lets-code-with-stm32-nucleo/.   what you can do

https://github.com/jomaway/nucleo-f401re-examples.   setup examples

https://microcontrollerslab.com/stm32-nucleo-arduino-ide-tutorial/.    getting stm32duino

https://www.hackster.io/nucleo/projects.      projects on Hacker.io

https://os.mbed.com/forum/helloworld/topic/5343/.   two links telling successful Mqtt on w5100

posts.  codes   https://os.mbed.com/users/highroads/code/Embedded_web_wiznet/

https://os.mbed.com/users/hillkim7/notebook/ibmiotclientethernetexample_w5200/


https://github.com/topics/stm32f401re.     projects on GitHub


RP2040 zero  pico/pico2 like



https://files.waveshare.com/upload/4/4c/RP2040_Zero.pdf.      schematic

https://www.waveshare.com/wiki/RP2040-Zero#FAQ

a shared project called justusb

https://files.waveshare.com/upload/9/9d/Hardware_design_with_rp2040.pdf.  hareware manual



installing pico-sdk, follow the steps below:

1. https://github.com/pimoroni/pimoroni-pico/blob/main/setting-up-the-pico-sdk.md

2.  https://piers.rocks/2023/09/05/installing-pico-sdk-and-picotool.htmlhttps://github.com/mars-low/scoppy-pico.  pico tool  here

https://hackaday.io/project/202576/instructions

scoopy front end,, a series of articles --------

https://www.makeriot2020.com/index.php/2022/11/27/rp2040-scoppy-oscilloscope-analog-front-end-shield/

https://www.pcbway.com/project/shareproject/Analog_Frontend_for_Scoppy_Scope_RP2040_c53564f4.html.     pcbway has the frontend project.

https://www.pcbway.com/project/shareproject/RP2040_Logic_analyser_shield_for_use_with_Scoppy_and_the_MakerIOT2020_Raspberry_45145ea3.html

https://github.com/zaheeroz/scoppy-pico-Oscilloscope.  3yrs ago.

Portable-Oscilloscope-using-Raspberry-Pi-pico  no codes, just introduction

https://github.com/Saltybukket/scoppy-pico-Oscilloscope.  another fork. cited v10

https://forums.raspberrypi.com/viewtopic.php?t=329015  important thread about assert errors.

https://pip-assets.raspberrypi.com/categories/610-raspberry-pi-pico/documents/RP-008354-DS-1-raspberry-pi-pico-c-sdk.pdf?disposition=inline.           here is the doc

https://vanhunteradams.com/Pico/Setup/PicoCSDK.pdf.  sdk v1.0~1.2. the present version is 2.2

https://github.com/dgatf/oscilloscope_rp2040.  amperage does not wok in my Debian vm 

https://github.com/dgatf/OpenHantek6022.   source code for compilation on linux

https://github.com/xrip/RP2040-OpenHantek6022/tree/main.   that one may be the real deal

https://www.eevblog.com/forum/testgear/six-software-apps-to-use-with-the-hantek-6022be/  android too

https://www.eevblog.com/forum/testgear/saintsmart-dds120-software-download/.  DDS120

https://andykong.org/blog/rp2040_bringup/.       hardware hack

https://github.com/raspberrypi/usb-pid.     pico usb pid listings

https://github.com/benjaminaigner/Joystick.    joystick

https://github.com/sm00th/rp2040-oled.   oled



Factory reset after uf2 uploaded badly.

https://electrocredible.com/how-to-reset-raspberry-pi-pico-w/#Steps_to_Factory_Reset_Raspberry_Pi_Pico

https://gist.github.com/DeflateAwning/cfc26095d25390fcd3c619176c7bf23e  vscode setup

https://www.waveshare.com/wiki/RP2040-Zero.       official waveshare documentation

https://www.pythontutorials.net/blog/waveshare-rp2040-zero-micropython/

Testing onboard RGB python codes:-

--------------------------------------------------------------------

import time

from machine import Pin

import rp2

max_lum =100

r=0

g=0

b=0

@rp2.asm_pio(sideset_init=rp2.PIO.OUT_LOW, out_shiftdir=rp2.PIO.SHIFT_LEFT, autopull=True, pull_thresh=24)

def ws2812():

    T1 = 2

    T2 = 5

    T3 = 3

    wrap_target()

    label("bitloop")

    out(x, 1)               .side(0)    [T3 - 1]

    jmp(not_x, "do_zero")   .side(1)    [T1 - 1]

    jmp("bitloop")          .side(1)    [T2 - 1]

    label("do_zero")

    nop()                   .side(0)    [T2 - 1]

    wrap()

# Create the StateMachine with the ws2812 program, outputting on Pin(4).

sm = rp2.StateMachine(0, ws2812, freq=8_000_000, sideset_base=Pin(16))

# Start the StateMachine, it will wait for data on its FIFO.

sm.active(1)

# Color change

while True:

    for i in range(0,max_lum):

        r=i

        b=max_lum-i

        rgb =(g<<24) | (r<<16) | (b<<8)

        sm.put(rgb)

        time.sleep_ms(10)

    time.sleep_ms(300)

    for i in range(0,max_lum):

        g=i

        r=max_lum-i

        rgb =(g<<24) | (r<<16) | (b<<8)

        sm.put(rgb)

        time.sleep_ms(10)

    time.sleep_ms(300)

    for i in range(0,max_lum):

        b=i

        g=max_lum-i

        rgb =(g<<24) | (r<<16) | (b<<8)

        sm.put(rgb)

        time.sleep_ms(10)

    time.sleep_ms(300)

------------------------------------------------------------------------

https://github.com/Alwinator/JustUSB.    custom keyboard using rp2 zero

https://github.com/raspberrypi/pico-playground/tree/master?tab=readme-ov-file#sleep.    playground

https://www.instructables.com/Raspberry-Pi-Pico-200Khz-Digital-Oscilloscope/

https://how2electronics.com/diy-smartphone-oscilloscope-using-raspberry-pi-pico/.   playground

https://github.com/waveshareteam/Pico_MircoPython_Examples.       game examples

https://makerhardware.net/knowledge-base/projects/interfacing-a-2004lcd-screen-using-a-rp2040-and-micropython/.              LCD 2004

https://github.com/MakerBotics/RP2040.      Arduino IDE OLed library

https://github.com/rppicomidi/rp2040-mcp4728-lib.      mcp4728 library


https://wiki.seeedstudio.com/XIAO-RP2040-with-MicroPython/.   seed studio demo

https://docs.arduino.cc/tutorials/nano-rp2040-connect/rp2040-data-logger/   adc data logger

https://github.com/openmv/openmv/.    very powerful vision platform micropython

https://github.com/openmv/openmv-boards

https://docs.arduino.cc/tutorials/portenta-h7/getting-started-openmv-micropython/

https://github.com/openmv.     open mv GitHub 

https://github.com/Finomnis/circuitpython-waveshare-rp2040-zero.  CircuitPython support

https://github.com/adafruit/awesome-circuitpython.    CircuitPython education

https://learn.adafruit.com/circuitpython-libraries-on-micropython-using-the-raspberry-pi-pico/installing-blinka-and-libraries.    upload circuitpython library to Thonny.

https://www.instructables.com/Digital-Watch-Display-MicroPython/.   colorful watch display

https://spotpear.com/index/study/detail/id/636.html.     example codes

Ethernet Example Getting Started [.md].     go ethernet with wiz5000

https://www.instructables.com/Ternary-RGB-LED-Clock-With-RP2040-Matrix-and-Micro/

https://forums.pimoroni.com/t/tiny-2040-rgb-led-control-tutorial/16604/8

pico-circuitpython-examples.  project examples

https://www.whypi.org/raspberry-pi-pico-micropython-examples/.      project examples

https://www.digikey.com/en/maker/projects/raspberry-pi-pico-and-rp2040-micropython-part-2-i2c-sensor-and-module/b43e7958153f41fc9e7403df4d626ba5?msockid=1a6045923f41620905a956a13e0d63b1

rp2040-examples.   quite a lot 

https://www.analog.com/en/resources/technical-articles/how-to-create-an-oscilloscope-using-python-and-adalm2000.html examples.    analog device has a software called scope free download

It should use the hardware called adalm200 worth $210 sold on DigiKey, mouser, etc

https://analogdevicesinc.github.io/scopy/user_guide/build_instructions/linuxBuild.html.                  source codes available

https://www.reddit.com/r/diyelectronics/comments/16qqwd3/scoppy_sourcecode/

https://www.pcbway.com/project/shareproject/Scoppy_Front_End_Mostly_Through_Hole_0575305f.html

https://oshwlab.com/fruitloop57/scoppy-oscilloscope-analog-front-end-5

https://github.com/analogdevicesinc/scopy-android-deps.   analog device

 


weather api 16a1818b32b87f72928286aba06dd71c


https://github.com/jklomp/pico-RP2040-oscilloscope. also 4 yrs old.  zip and uf2 available.

https://github.com/Ansem-SoD/Picofly.     2yrs old  may have some good info.

https://www.hackster.io/sandy-roberts2/quadrupling-the-sample-rate-of-an-rp2040-oscilloscope-5f9a74

https://github.com/AgainPsychoX/picOOscilloscope.   it sounds like more robust

https://github.com/ela-project/elascope/.      software not scoppy but datascope


https://github.com/AV-Martinez/PicoScope.   Arduino?

https://github.com/AV-Martinez/PicoScope/wiki.   wiki


https://hackaday.com/2022/03/02/need-a-logic-analyzer-use-your-pico/.   logic analyzer with pulseview

https://github.com/fhdm-dev/scoppy/discussions/150  firmware v18 with gpis setting in Scoppy

https://forums.raspberrypi.com/viewtopic.php?t=330316.     pico with sigrok


https://github.com/pico-coder/sigrok-pico.   it seems like mainstream

https://stackoverflow.com/questions/15223779/cmake-when-to-use-add-definitions-instead-of-set-target-propertiestarget-prope.     good post about Cmake errors,... 

https://stackoverflow.com/questions/71365643/how-to-properly-use-cmake-in-embedded-rp2040-project-structure.     proper cmakefile.txt 

https://jondleary.github.io/jekyll/update/2025/01/18/testing-jekyll-github-pages.html code snippets

 https://forum.lvgl.io/t/100-msps-oscilloscope-with-rp2040-and-lvgl-complete-documentation/10100

https://github.com/MaJerle/stm32-cube-cmake-vscode  develop stm32 in vscode

https://github.com/vxj9800/bareMetalRP2040.   a proof of concept ?

https://www.martinloren.com/hs10x-diy-oscilloscopes/ openhantek for android  example diy

master.  HScope GitHub  source codes are there


https://oscilloscope.fhdm.xyz/app-help/rp2040-max-sample-rate-setting

https://oscilloscope.fhdm.xyz/wiki/firmware-versions  firmware downloads

https://www.hackster.io/sandy-roberts2/quadrupling-the-sample-rate-of-an-rp2040-oscilloscope-5f9a74

https://forums.raspberrypi.com/viewtopic.php?p=2194037. overclock the rasp

https://oscilloscope.fhdm.xyz/wiki/Installation-&-Getting-Started.  installation guide

https://hackaday.com/2022/03/02/need-a-logic-analyzer-use-your-pico/.  pico logic analyzer


https://github.com/fhdm-dev/scpdl1/tree/master/a.   official fw download links

https://www.waveshare.com/wiki/RP2040-Zero

https://docs.zephyrproject.org/latest/boards/waveshare/rp2040_zero/doc/index.html

https://github.com/topics/rp2040-zero

https://www.instructables.com/Air-Monitor-With-RP2040-Zero-SSD1306-Oled-Screen-a/

https://github.com/hongloan/

https://docs.cirkitdesigner.com/component/ce870f67-a9d7-4fff-910e-6083773a1ab1/rp2040-zero-Zero-air-monitor

https://github.com/kiranj26/Raspberry-Pi-Pico-RP2040-Projects

https://hackaday.com/tag/rp2040/

https://www.libhunt.com/topic/rp2040

https://pico.nxez.com/2023/08/06/raspberry-pi-pico-200khz-digital-oscilloscope.html

https://github.com/jklomp/pico-RP2040-oscilloscope  this one has a zip and a uf2

https://github.com/AV-Martinez/PicoScope?tab=readme-ov-file   200k bandwidth




ESP32 Oscilloscope

https://github.com/BojanJurca/Esp32_oscilloscope/

https://github.com/BojanJurca/Esp32_oscilloscope

https://circuitdigest.com/microcontroller-projects/diy-esp32-oscilloscope

https://circuitdigest.com/microcontroller-projects/esp32-power-meter-for-measuring-power-conversion-efficiency

https://easyvolts.com/other-projects/espscope-opensource-esp32-wireless-oscilloscope/

https://easyvolts.com/2018/08/14/esp32-40msps-oscilloscope-project-is-closed-and-here-is-why/   dead

https://www.hackster.io/MakerIoT2020/rp2040-oscilloscope-analog-front-end-ec443a

https://oscilloscope.fhdm.xyz/wiki/front-end-design-3

https://github.com/fhdm-dev/scoppy/discussions

https://github.com/hrvach/deskhop  mouse and keyboard hopped to 2 computers.r

raspberry-pi-rp2040-features-boards-projects

https://all3dp.com/2/raspberry-pi-pico-projects/#google_vignette

https://github.com/fhdm-dev/scoppy/discussions/150   scoopy frontend


STM-32 Ocilloscope

DIY STM32 Scope Is Simple, Cheap, And Featureful | Hackaday

GitHub - tvlad1234/pillScopePlus: Oscilloscope based around the STM32F401 Black Pill and a color LCD screen  

Raspberry Pi Pico Oscilloscope | Hackaday   android app called scoppy

https://github.com/fhdm-dev/scoppy

Building A Pocket Sized Arduino Oscilloscope | Hackaday

GitHub - Seeed-Studio/DSO_Nano

GitHub - diegoherranz/steppenprobe: Open Source Hardware JTAG/SWD/UART/SWO interface board

fpga4fun.com - JTAG    doc

Extracting firmware from devices using JTAG - sergioprado.blog   nice tutorial

The Newbie’s Guide To JTAG | Hackaday   introduction with links



More  JTAG stuffs

Wireless Programming and Debugging with STM32 and RPi | by Marcin Twardak | Medium




J-link

https://www.segger.com/products/debug-probes/j-link/models/other-j-links/st-link-on-board/

official j-link to st boards.  a lot of options.


https://github.com/RusikOk/-BluePill-to-J-Link-OB-v1.0/tree/main/4_firmware

https://github.com/jamesy0ung/STM32-BluePill-JLink

https://github.com/rbaron/b-parasite/issues/43.     a whole lot of information

https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/flashing-and-debugging-nrf5152-with-a-cheap-blackm

https://www.eevblog.com/forum/microcontrollers/segger-j-link-edu-alternative/

https://github.com/VDowbensky/DAPlink/tree/main/J-Link%20Bluepill%20compatible

https://github.com/VDowbensky/DAPlink



CK Link

https://www.elektroda.com/rtvforum/topic4120455.html


FPGA  jtag  tutorials using dirtyjtag pico and openFPGA

https://deepbluembedded.com/openfpgaloader-dirtyjtag-pi-pico-jtag-tutorial-windows/?t=381559

https://github.com/ThisIsCheez/J-Runner-with-Extras-DirtyPico360.   dirtyjtag pico with Irunner

https://github.com/f3nter/HardBreak/blob/main/hardware-hacking/basics/firmware-extraction-methods.md.    debugging jtag

https://riverloopsecurity.com/blog/2021/07/hw-101-jtag-part3/

https://sergioprado.blog/2020-02-20-extracting-firmware-from-devices-using-jtag/.  use urjtag

dirtyjtag pico with I-runner forum with video

https://www.se7ensins.com/forums/threads/j-runner-with-extras-dirtypico360-program-timing-files-to-glitch-chips-using-a-pico.1844370/

Versalon with openOCD to troubleshoot openwWRT Tplink ar17 router

https://forum.openwrt.org/t/tp-link-archer-c7-v1-v2-jtag-u-boot-recovery-using-st-link-v2-usb-adapter-clone-known-as-baite/39582

https://github.com/aalm/stlinkswim.        for flashing and debugging stm8

blue pill projects

https://gojimmypi.blogspot.com/2017/07/BluePill-STM32F103-to-BlackMagic-Probe.html  blackmagic

https://github.com/dohack/STM32F103C8-Blue-Pil-Projects

troubleshooting TDO stuck to 0 or 1

https://github.com/tigard-tools/tigard/issues/55

a long blog about debugging esp32 no good, black magic to stm32 is fine

https://satoshinm.github.io/blog/171223_jtagswdpillblink_jtagswd_debugging_via_black_magic_probe_on_an_stm32_blue_pill_and_blinking_a_led_using_stm32cubemx_libopencm3_and_bare_metal_c.html.          a lot of information  bluepill jtag and programming

http://www.dangerousprototypes.com/docs/Bus_Blaster_urJTAG_guide.    urJTAG guide

https://www.bsdl.info/index.htm.    BSDL library https://urjtag.sourceforge.io/book/_jtag_commands.html        JTAG commands overview

https://urjtag.sourceforge.io/book/_usage.html.       Usage : some useful examples

https://sergioprado.blog/2020-02-20-extracting-firmware-from-devices-using-jtag/  detailed steps

https://github.com/tomverbeure/jtag_gpios.     need further readings. unfinished writing, not much use

https://wrongbaud.github.io/posts/jtag-hdd/.  great blog,,, excellent demonstration.GitHub - jeanthom/openocd-dirtyjtag: OpenOCD fork with DirtyJTAG support (WIP)  openocd for dirtyjtag

openFPGALoder has a lot of information on how to use jtag

Troubleshooting — openFPGALoader: universal utility for programming FPGA latest documentation

dirtyJTAG usb not found in accordance to udev rules      usb issues

unable to open ftdi device: -4 (usb_open() failed) · Issue #245 · trabucayre/openFPGALoader





Segger J-link bluepill writeup

https://kb.segger.com/Blue_Pill

https://www.segger.com/downloads/jlink/.         J-link download

sagger provides j-link functions on ST-link boards. this is a good one.

https://www.segger.com/products/debug-probes/j-link/models/other-j-links/st-link-on-board/ 


https://github.com/jbilander/JTAG-Connect.    DIY pogo pin jig, clip on pcb,

https://github.com/blinkinlabs/jtag_hat

https://shop.blinkinlabs.com/collections/development-tools/products/jtag-hat.  Pi add-on Jtag header bd

https://sysprogs.com/VisualKernel/tutorials/raspberry/jtagsetup/   Pi 1 setup diy hat

https://www.segger.com/products/debug-probes/j-link/      Segger is also a great game player

https://github.com/mschwingen/hardware/tree/master/JTAG_hat.   for pi 1-4 , suitable for my case

https://www.schwingen.org/jtag-hat/.     writer's website. . J1 is the connector for 26pins plugin.

https://shop.blinkinlabs.com/collections/development-tools/products/jtag-hat $28.50 plus shipping

https://github.com/antijn/jtaghat.   pi 1 HAT diy route

https://forums.raspberrypi.com/


https://www.openocd.org/doc/html/Debug-Adapter-Hardware.html.  some good hardware info

https://github.com/dirtyjtag/DirtyJTAG.      revisit for the stlinkv2 dag Jtag clone Ditry Jtag


flashing using usb serial adapter

https://github.com/dirtyjtag/DirtyJTAG/blob/master/docs/install-bluepill.md.     this is the usb flashing


https://stm32-base.org/guides/connecting-your-debugger.html. stink v2 hookup for stm32 bd.

https://hackaday.com/2022/04/11/need-a-jtag-adapter-use-your-pico/.   pico Jtag xilinux

https://github.com/kholia/xvc-pico/.      repo

https://blog.inoki.cc/2022/02/22/My-journey-on-raspberrypi-jtag-debugging/index.html pi experience




GitHub - cyphunk/JTAGenum: Given an Arduino compatible microcontroller or Raspberry PI (experimental), JTAGenum scans pins[] for basic JTAG functionality and can be used to enumerate the Instruction Register for undocumented instructions. Props to JTAG scanner and Arduinull which came before JTAGenum and forwhich much of the code and logic is based on. Feel free to branch and modify religiously (readme, credits, whatever)

Grand Idea Studio: JTAGulator   voltage level shifter

Embedded Analysis · cyphunk/JTAGenum Wiki · GitHub   useful doc on JTAG scanning

https://elinux.org/JTAG_Finder



6 parts tutorials

https://www.fpga4fun.com/JTAG2.html   JTAG explanation

https://medium.com/@aliaksandr.kavalchuk/diving-into-jtag-protocol-part-1-overview-fbdc428d3a16

https://medium.com/@aliaksandr.kavalchuk/diving-into-jtag-protocol-part-2-debugging-56a566db3cf8 

https://medium.com/@aliaksandr.kavalchuk/diving-into-jtag-part-3-boundary-scan-17f9975ecc59

https://medium.com/@aliaksandr.kavalchuk/diving-into-jtag-protocol-part-4-bsdl-29fc4081502c

https://medium.com/@aliaksandr.kavalchuk/diving-into-jtag-part-5-usage-scenarios-6fd8eda00e08

https://medium.com/@aliaksandr.kavalchuk/diving-into-jtag-part-6-security-d40f1e84e6ba


Clone disassembly:

GitHub - Zelmoghazy/st-link-v2-clone: How to Program and Recover Chinese Clone of the st-link v2 and reflash it to segger j-link

GitHub - devanlai/dap42: CMSIS-DAP debugger firmware for STM32F042Fx and STM32F103xx

JTAG/SWD debugging via Black Magic Probe on an STM32 blue pill and blinking a LED using STM32CubeMX, libopencm3, and bare metal C | blog

GitHub - mike-pittelko/stlink-v2-repair-and-toolkit: How to recover stlinkv2, or make a new one, plus misc tools.

Dumping the original firmware/bootloader · Issue #1 · RadioOperator/CMSIS-DAP_for_STLINK-V3MINICustom ST-Link V2.0 &#x2F; V2.1 &#x2F; V3.0 | Details | Hackaday.io

GitHub - Santaclowns/St-toJ-Link: Convert your ST-LINK/V2 (STM8/STM32 v2) CLONE into a Segger J-Link

STLink V3-MINIE | David Albert

DIY STM32 Programmer (ST-Link/V2-1) - Stm32World Wiki

Making ST-Link V2.1 from Chinese ST-Link V2 / Sudo Null IT News

GitHub - User420t/V2_1    achieved v2-1

Jolt Connect - STM32 Programmer (ST-Link/V2-1) - Stm32World Wiki

GitHub - currentmakers/blackmagic: In-application debugger for ARM Cortex and RISC-V processors.

Jolt Connect - STM32 Programmer (ST-Link/V2-1) - Stm32World Wiki

Black Magic Probe - Stm32World Wiki  j connect one  how to compile bmp

https://stm32world.com/wiki/Main_Page



JTAG Diagnostic blogs:

https://blog.oxplot.com/debrick-wrt54gl-raspberrypi/

https://github.com/oxplot/tjtag-pi

https://wiki.dd-wrt.com/wiki/index.php/Recover_from_a_Bad_Flash#Recovery_by_JTAG_cable

https://www.segger.com/products/debug-probes/j-link/technology/interface-description/


 toy for small gadgets:

https://wiki.postmarketos.org/wiki/Devices


STM32F103C8T6  clone playground  aka  Bull Pill

project examples

https://github.com/stm32duino/STM32Examples/blob/main/examples/Peripherals/ADC/Internal_channels/Internal_channels.ino

https://controllerstech.com/stm32-tutorials/#google_vignette

https://embetronicx.com/tutorials/microcontrollers/stm32/bootloader/simple-stm32-bootloader-implementation-bootloader-tutorial/#google_vignette.         bootloader 

https://embeddedthere.com/stm32-adc-tutorial-using-dma-with-hal-code-example/.    cube IDE

https://simple-circuit.com/blue-pill-stm32-ssd1306-oled-i2c-mode-interface/

https://circuitdigest.com/microcontroller-projects/stm32-spi-communication-tutorial.    SPI. look

https://hackaday.com/2023/02/27/diy-stm32-scope-is-simple-cheap-and-featureful/



stm32duino dfu flashing write up

https://github.com/rogerclarkmelbourne/STM32duino-bootloader/issues/135.    bootloader issue

STM32 Blue Pill Board - A Complete Guide.          bluepill

STM32duino-bootloader/binaries/generic_boot20_pc13.bin at master · rogerclarkmelbourne/STM32duino-bootloader · GitHub

Upload STM32F103C8T6 USB Bootloader | Program STM32 via USB Port

STM32 Blue Pill USB bootloader DFU - Stack Overflow   outdated

STM32 BluePill - USB SOFTWARE IDENTIFIER ISSUE and FEW QUESTIONS... - Page 1

usb bootloader problem 

STM32 BluePill - USB SOFTWARE IDENTIFIER ISSUE and FEW QUESTIONS... - Page 1

30KB Blue-Pill USB Binary testing image. - Page 1

https://mecrisp-stellaris-folkdoc.sourceforge.io/projects/bluepill-bmp/README.html


Bluepill Diagnostics — Mecrisp Stellaris Unofficial 1.0 documentat

Bluepill Diagnostics V1.6 User Guide — Mecrisp Stellaris Unofficial 1.0 documentation

user guide:

Bluepill Diagnostics V1.6 User Guide — Mecrisp Stellaris Unofficial 1.0 documentation

download page:

Mecrisp-Stellaris Unofficial User Doc - Browse Files at SourceForge.net

Bluepill Diagnostics V1.6 User Guide — Mecrisp Stellaris Unofficial 1.0 documentation

Projects list:

Mecrisp is a play on words, it comes from MSP and french "écris", 
which means "you write", in the sense of "you write to the MSP430".

Special projects included here:

mecrisp-ice... runs on Lattice HX1K and HX8K FPGAs.

mecrisp-across... is a new still highly experimental Forth cross compiler
                  for small MSP430 targets featuring global optimisations.

Target literature package for... contains a collection of necessary and
                  useful datasheets for your favourite target chip.

loran-c... contains an experimental software defined Loran-C 
           longwave radio navigation receiver running on STM32F407.

mecrimus-b-0.5.tar.gz is the latest bit-bang USB code for MSP430.

wuseldraht-scurrywire-0.1.tar.gz is an implementation of a
           field bus for combined power and data transmission
           over long, high capacitance wires.

GitHub - libopencm3/libopencm3-examples: Simple example projects showing how to use libopencm3.



GRBLl for controlling 3axis step motors. 3d printer

grbl stm32f103c8 · djabi/grbl_stm32f103c8 Wiki · GitHub

ST-Link/V2 (or clone) to Black Magic conversion [philpem.me.uk - Phil Pemberton's website]

https://mjoldfield.com/atelier/2018/08/nucleo-bmp.html  openOCD nuclear


JTAG




https://acassis.wordpress.com/2012/01/25/converting-a-stm32vldiscover-on-versalon-programmer/

https://acassis.wordpress.com/2012/02/21/getting-stlink-with-versalon-firmware-working-with-openocd/


jtag [CuVoodoo]

https://github.com/hasaranga/STM32-Blue-Pill-Guide

https://github.com/jsnyder/stm32loader

https://medium.com/@paramaggarwal/converting-an-stm32f103-board-to-a-black-magic-probe-c013cf2cc38c

some instructions to burn black magic probe into ST link clone




ST-Link/V2 (or clone) to Black Magic conversion [philpem.me.uk - Phil Pemberton's website]

https://wiki.philpem.me.uk/elec/stlink-blackmagic

https://ciesie.com/post/black_magic_probe_stlink/

https://andy-preston.github.io/blue-pill-black-magic-probe/.   a good one

https://www.elektroda.com/rtvforum/topic4120455.html#google_vignette

https://www.elektroda.com/rtvforum/topic4123724.html  flash tool for small cam A9

https://www.tindie.com/products/johnnywu/cklink-lite-debugger-probe/

cklink-lite-fw-convertor.   CK-Link debugger for sky ... something

a cheap one, buy better make

Blackmagic probe

https://slemi.info/2018/08/14/making-your-own-st-link-v2/

Black magic probe out of cheap STLink programmers     clone convert

IDing STM32 Clones, and Setting Up a Black Magic Probe – Andy Makovec – Hardware Engineer in San Francisco, CA   good recommendations 

GitHub - mmoskal/blackmagic-bluepill   ready compiled for bluebill this one is I'm using


STM32

Using formal stm32 tools

https://www.ampheo.com/blog/what-is-the-difference-between-stm32cubemx-and-stm32cubeide

https://controllerstech.com/interface-sd-card-with-stm32-via-spi-dma/#google_vignette

https://onlinedocs.microchip.com/oxy/GUID-F9FE1ABC-D4DD-4988-87CE-2AFD74DEA334-en-US-3/GUID-48879CB2-9C60-4279-8B98-E17C499B12AF.html.   microchip waveforms illustrate

https://lastminuteengineers.com/arduino-micro-sd-card-module-tutorial/.    MISO 12, MOSI 11

For st-link v2 and blue pillHow to flash

---- make a note here

https://alexbirkett.github.io/microcontroller/2019/03/30/flash_bluepill_using_ST_link.html

https://forum.level1techs.com/t/diy-guide-flashing-bluepill-stm32duino-bootloader-qmk-on-linux-for-m-star-model-m-keyboard-kit/197474

https://github.com/zoobab/versaloon/blob/master/README.md. Versaloon flashing guide

https://d1.amobbs.com/bbs_upload782111/files_29/ourdev_553638.pdf.  versaloon pdf

blackmagic/src/platforms/stlink at main · blackmagic-debug/blackmagic · GitHub

flash stm32duino for Arduino IDE.  usb id leaf maple as comport

https://circuitdigest.com/microcontroller-projects/programming-stm32f103c8-board-using-usb-port

OpenOCD usb rules problem see below: pi forum

https://forums.raspberrypi.com/viewtopic.php?t=312867

https://www.electronicshub.org/getting-started-with-stm32f103c8t6-blue-pill/

OpenOCD + Versaloon  example config file

https://acassis.wordpress.com/2012/02/21/getting-stlink-with-versalon-firmware-working-with-openocd/

JTAG FINDER - what the heck is that.  I guess pin by pin guessing which is Jtag probe

https://elinux.org/JTAG_Finder#The_Hardware

Black Magic Probe

Getting Started - Black Magic Debug

https://black-magic.org/getting-started.html. important startup

Black Magic Debug

Supported Hardware - Black Magic Debug

build firmware and app on windows

Compiling on Windows - Black Magic Debug

LibOpenCM3 by libopencm3

https://esden.net/2014/12/29/black-magic-discovery/ modify discovery

https://github.com/koendv/blackmagic-firmware?tab=readme-ov-file latest

https://github.com/tkxiong/blackmagic-bluepill

https://jeelabs.org/202x/bmp/.   3 bin files

GitHub - dirtyjtag/DirtyJTAG: JTAG probe 

https://gojimmypi.blogspot.com/2017/07/BluePill-STM32F103-to-BlackMagic-Probe.html    For information purposes.

https://www.youtube.com/watch?v=JqrUAzjJ0tw


GitHub - zoobab/versaloon: JTAG Versaloon firmware for the STM32 Bluepill boardGitHub - ARMinARM/stm32flash: Open source flash program for the STM32 ARM processors using the ST serial bootloader over UART or I2C

How to use the command 'st-flash' (with examples)   st-flash is a linux utility apt-get

Programming STM32 Microcontroller Flash in Windows   

DirtyJTAG/docs/install-bluepill.md at master · dirtyjtag/DirtyJTAG · GitHub full picture tutorial

GitHub - stlink-org/stlink: Open source STM32 MCU programming toolset

DirtyJTAG/docs/install-bluepill.md at master · dirtyjtag/DirtyJTAG · GitHub

Versalon JTAG

https://github.com/zoobab/versaloon?tab=readme-ov-file

https://acassis.wordpress.com/2012/02/21/getting-stlink-with-versalon-firmware-working-with-openocd/

https://acassis.wordpress.com/2012/01/25/converting-a-stm32vldiscover-on-versalon-programmer/


Raspian PI

GPIO

https://discourse.osmc.tv/t/how-to-use-harware-buttons-on-raspberry-pi-zero-with-gpio-key/86594

https://blog.geggus.net/category/raspberry-pi/

https://discourse.osmc.tv/t/how-to-docker-couchpotato/20539

OSMC samba setup

https://discourse.osmc.tv/t/configuring-fstab-based-samba-share-mounts/38167

Docker run couchpotato

https://discourse.osmc.tv/t/how-to-docker-couchpotato/20539

Wifi dongle

https://discourse.osmc.tv/t/install-and-configure-wifi-usb-receiver/87831

Libre computer

Latest forum posts. Libre computer

https://hub.libre.computer/latest


Pogoplug

https://sensepeek.com/.    pictures make sense.




amazon has it..

https://www.amazon.com/Probe-Repair-Debug-Flying-Jumper/dp/B0CWRLPL9K/ref=sr_1_18?crid=3RD779S2GOYHI&dib=eyJ2IjoiMSJ9.0sX8Yr0SIPRpKcduhImtFaUqwIqV0EmXlQwLTVUi10nQxqBmVAOqGxRHkKw7Nkmdkj3ZUrYWq3-bBJCBspQxr3qkbLAh_oDANEUJjG4XeEQSgKmnGLq_L5AHfV6rr6Zce8YgSpeS2zWxMnoBCkB-vj2_qckXU_vsp8u45uB2FZ0Bns36rAhKt70L0OthurMQomzlCRa4OBJ8-5lprCPXhPCKX6fNsjkGh9vzeHS5J7Y.lq2IalsyVQDKVcBJoBsAwf6ZxvJXYNsuDCzhDRaDhAg&dib_tag=se&keywords=fly+wire+probe+kit&qid=1763074308&sprefix=fly+wire+probe+kit%2Caps%2C194&sr=8-18

https://www.printables.com/model/1370439-flywire-probing-tool-pcb-probe. 3d print files

 https://www.aliexpress.us/item/3256808355641394.html?spm=a2g0o.productlist.main.37.40bcm5fwm5fwFO&algo_pvid=1ae818e8-db7c-445e-b40e-b57fd4221180&algo_exp_id=1ae818e8-db7c-445e-b40e-b57fd4221180-36&pdp_ext_f=%7B%22order%22%3A%222%22%2C%22eval%22%3A%221%22%2C%22fromPage%22%3A%22search%22%7D&pdp_npi=6%40dis%21USD%219.85%219.85%21%21%2169.71%2169.71%21%402101f54117630734554628129ec774%2112000045634751796%21sea%21US%210%21ABX%211%210%21n_tag%3A-29910%3Bd%3Adf3b4764%3Bm03_new_user%3A-29895&curPageLogUid=lj7BaRiWVL37&utparam-url=scene%3Asearch%7Cquery_from%3A%7Cx_object_id%3A1005008541956146%7C_p_origin_prod%3A.           fair price 50 bucks.

https://www.aliexpress.us/item/3256802251767769.html?srcSns=sns_More&spreadType=socialShare&bizType=ProductDetail&social_params=20693411562&aff_fcid=529ee2b298e54aa5945d046e4104f092-1763072929993-07181-_mtqUFig&tt=MG&aff_fsk=_mtqUFig&aff_platform=default&sk=_mtqUFig&aff_trace_key=529ee2b298e54aa5945d046e4104f092-1763072929993-07181-_mtqUFig&shareId=20693411562&businessType=ProductDetail&platform=AE&terminal_id=618d4fea9fde4dfd96148cc1b264f6fe&afSmartRedirect=y&gatewayAdapt=glo2usa4itemAdapt

https://www.reddit.com/r/embedded/comments/yhvsqu/how_to_connect_jtag_to_this_pins_without_soldering/

https://www.youtube.com/playlist?list=PL2GALWZIiXOCgRfWSQpIFc4QfINjOvsYr.     video shows

https://forum.doozan.com/read.php?3,21789,139949.      Debrick v4 attempt

https://hackaday.com/2017/04/24/pogoplug-hacking-a-step-by-step-guide-to-owning-the-device/

https://wiki.exploitee.rs/index.php/PogoPlug_Mobile

http://storepeter.dk/linux/home-automation

https://www.ietfng.org/nwf/sysadmin/embcomp/pogo4-hardware.html

https://hackaday.com/2017/04/24/pogoplug-hacking-a-step-by-step-guide-to-owning-the-device/

https://hackaday.com/2014/09/15/hacking-a-pogoplug-into-a-20-pbx/

https://github.com/cellularmitosis/pogoplug_mobile_uboot_installer

https://github.com/ebbes/u-boot-pogoplugv4

https://archlinuxarm.org/forum/viewtopic.php?t=6040

HOW2: Repair Pogo E02 with Raspberry PI (1,2 or 3) JTAG and OpenOCD    jtag pogo




AVR Programmers