This commit is contained in:
folkert van heusden 2023-04-08 16:53:34 +02:00
parent 9bf367bb51
commit 976cf32631
Signed by untrusted user who does not match committer: folkert
GPG key ID: 6B6455EDFEED3BD1
2 changed files with 39 additions and 14 deletions

View file

@ -1,4 +1,5 @@
KEK KEK
---
Kek is a DEC PDP-11 (11/70) emulator capable of running UNIX-v6. Kek is a DEC PDP-11 (11/70) emulator capable of running UNIX-v6.
To build for e.g. linux: To build for e.g. linux:
@ -31,6 +32,8 @@ To run a tape image:
./kek -T filename.bin -b 2> /dev/null ./kek -T filename.bin -b 2> /dev/null
ESP32
-----
The ESP32 version needs platformio to be build. The ESP32 version needs platformio to be build.
cd ESP32 cd ESP32
@ -50,10 +53,42 @@ Wiring of the MAX232 connection:
* RX : 16 * 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) ![(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) [![running on a Linux laptop](images/KEK-linux-frame.jpg)](https://youtu.be/MPaGmVli8NA)
Released under MIT license. Released under MIT license.
Folkert van Heusden Folkert van Heusden

View file

@ -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.