From 976cf3263143f83aef49c39ba14ba23a39e45008 Mon Sep 17 00:00:00 2001 From: folkert van heusden Date: Sat, 8 Apr 2023 16:53:34 +0200 Subject: [PATCH] meta --- README.md | 41 +++++++++++++++++++++++++++++++++++++++-- SHA2017-badge.md | 12 ------------ 2 files changed, 39 insertions(+), 14 deletions(-) delete mode 100644 SHA2017-badge.md diff --git a/README.md b/README.md index 571a573..5172983 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ KEK +--- Kek is a DEC PDP-11 (11/70) emulator capable of running UNIX-v6. To build for e.g. linux: @@ -31,6 +32,8 @@ To run a tape image: ./kek -T filename.bin -b 2> /dev/null +ESP32 +----- The ESP32 version needs platformio to be build. cd ESP32 @@ -50,10 +53,42 @@ Wiring of the MAX232 connection: * RX : 16 -See SHA2017-badge.md if you want to flash your SHA20127 badge with this software. +Raspberry PI PICO / RP2040 +-------------------------- +Wiring of SDCARD: +* MISO: 16 +* MOSI: 19 +* SCK : 18 +* SS : 17 +* and of course connect VCC/GND of the SD-card + +The RP2040 version needs platformio to be build. + + cd RP2040 + pio run + +Then copy RP2040/.pio/build/BUILD\_FOR\_RP2040/firmware.uf2 to the PICO. -Some pictures: +SHA2017-badge +------------- +This procedure will remove the default micropython environment. +Maybe you can undo that, but I have not tried that. + +* esptool.py erase\_flash + +* pio run -e SHA2017-badge + +* esptool.py --chip esp32 --port /dev/ttyUSB0 --baud 921600 --before default\_reset --after hard\_reset write\_flash -z --flash\_mode dio --flash\_freq 80m --flash\_size detect 0x1000 ./.pio/build/ESP32-wemos/bootloader.bin + +* pio run -e SHA2017-badge -t upload + +After this, you can connect a serial terminal to /dev/ttyUSB0 at 115k2 bps. + + + +pictures +-------- ![(running on a regular ESP32 connected to a VT510 terminal)](images/KEK-ESP32-VT510.jpg) @@ -63,6 +98,8 @@ Click on the following picture to see it running (opens a youtube link): [![running on a Linux laptop](images/KEK-linux-frame.jpg)](https://youtu.be/MPaGmVli8NA) + + Released under MIT license. Folkert van Heusden diff --git a/SHA2017-badge.md b/SHA2017-badge.md deleted file mode 100644 index ab8aa4e..0000000 --- a/SHA2017-badge.md +++ /dev/null @@ -1,12 +0,0 @@ -This procedure will remove the default micropython environment. -Maybe you can undo that, but I have not tried that. - -* esptool.py erase\_flash - -* pio run -e SHA2017-badge - -* esptool.py --chip esp32 --port /dev/ttyUSB0 --baud 921600 --before default\_reset --after hard\_reset write\_flash -z --flash\_mode dio --flash\_freq 80m --flash\_size detect 0x1000 ./.pio/build/ESP32-wemos/bootloader.bin - -* pio run -e SHA2017-badge -t upload - -After this, you can connect a serial terminal to /dev/ttyUSB0 at 115k2 bps.