
SaintconMinibadgeDisplay10x10
compukidmike/Saintcon2019
There is also a video of my badge talk at Saintcon https://www.youtube.com/watch?v=MAhJ2WoN14

There is also a video of my badge talk at Saintcon https://www.youtube.com/watch?v=MAhJ2WoN14
Saintcon2019TopBoard is an open-source printed circuit board by compukidmike, from the compukidmike/Saintcon2019 repository on GitHub. It is a 4-layer board of 148.3 × 147.3 mm with 1,120 parts on 343 nets, routed with 10,470 tracks and 2,459 vias.
It is built around the ICE40HX1K-TQ144, SIL2301-TP and AP2112K-3.3, with the MIC5504-1.2YM5-TR among its other parts. Its parts include 1,025 diodes, 32 resistors, 31 capacitors, 23 ICs and 1 connector. It belongs with the FPGA and CPLD boards of this library.
There is a writeup available at https://mkfactor.com/?p=100
There is also a video of my badge talk at Saintcon https://www.youtube.com/watch?v=MAhJ2W_oN14
Since you probably don't have 26 badges and a Hut 6 "teleprinter" at your house, it will be difficult to complete the challenge. I have created a modified version of the badge firmware that will allow you to complete the challenge at home! You'll need to complete the steps for reprogramming your badge below. Once that's done, grab the Saintcon2019BadgeChallenge.pdf file from this repository. It has all the intercepted messages for you to decode. Be sure to decode them in order! Your badge should say "LEVELED UP" after successfully decoding a message. Good luck! If you get stuck, feel free to reach out on the SaintComms slack, or via twitter @compukidmike or even email compukidmike @ gmail.
Note: This will completely erase the memory on your badge. Any progress in the challenge, as well as custom messages will be lost.
You will need the STM32CubeProgrammer software from https://www.st.com/en/development-tools/stm32cubeprog.html to reprogram your badge. It's cross-platform, though I've only tested it on Windows 10. Unfortunately ST requires you to create a login to download software :(
You'll also need the 2 hex files called Saintcon2019.hex and fpga.hex from this repository as well as a micro USB cable and one of the plugboard jumper wires from your badge.
Programming Steps:
The badge code can be found in the Firmware folder. It was written using the STM32CubeIDE. It's cross-platform and works reasonably well. You'll need an ST-Link V2 USB adapter to program and debug your badge. They can be had for ~$10 from Amazon or even less from Aliexpress if you're willing to wait for shipping. The IDE can be downloaded from ST here: https://www.st.com/en/development-tools/stm32cubeide.html
The FPGA code was written using Icestudio https://icestudio.io/ It's a cross-platform IDE for Lattice ICE40 FPGAs
The FPGA code is in SaintconFPGA.ice
| Qty | Value | Footprint | References |
|---|---|---|---|
| 1024 | LED_ARGB | RGB_LED_0402_1mm:LTSN-B28JEGBB | D1, D10, D100, D101, D1000, D1001, D1002, D1003, D1004, D1005, D1006, D1007, D1008, D1009, D1010, D1011 +1008 |
| 28 | 1K | Resistors_SMD:R_0603 | R10, R11, R12, R13, R14, R15, R16, R17, R18, R19, R20, R21, R22, R23, R24, R25 +12 |
| 26 | 0.1uF | Capacitors_SMD:C_0603 | C1, C2, C10, C15, C16, C17, C18, C20, C21, C22, C23, C24, C25, C26, C27, C28 +10 |
| 12 | 16BitLEDShiftReg | Housings_SSOP:SSOP-24_3.9x8.7mm_Pitch0.635mm | U5, U6, U7, U8, U9, U10, U11, U12, U13, U14, U15, U16 |
| 8 | SIL2301 | TO_SOT_Packages_SMD:SOT-23-6 | U17, U18, U19, U20, U21, U22, U23, U24 |
| 4 | 1uF | Capacitors_SMD:C_0603 | C11, C12, C13, C14 |
| 3 | 10k | Resistors_SMD:R_0603 | R1, R2, R3 |
| 1 | 100 | Resistors_SMD:R_0603 | R4 |
| 1 | 10uF | Capacitors_SMD:C_0603 | C9 |
| 1 | AP2112K-3.3 | TO_SOT_Packages_SMD:SOT-23-5 | U2 |
| 1 | Conn_02x10_Counter_Clockwise | BergStakBTBConnectors:BergStak_20Pin_0.5mm_Male_2.7mm | J1 |
| 1 | D | Diodes_SMD:D_SOD-323 | D1025 |
| 1 | ICE40HX1K-TQ144 | Housings_QFP:TQFP-144_20x20mm_Pitch0.5mm | U1 |
| 1 | LOGO | BashNinjaLogo | G*** |
| 1 | LOGO | MKFactorLogo | G*** |
| 1 | LOGO | PCBWayLogo | G*** |
| 1 | MIC5504-1.2YM5 | TO_SOT_Packages_SMD:SOT-23-5 | U3 |
| 1 | Val** | Saintcon2019TopBoardArtworkFinal | Ref** |
The 1,116 most common of 1,120 parts.

compukidmike/Saintcon2019
There is also a video of my badge talk at Saintcon https://www.youtube.com/watch?v=MAhJ2WoN14

compukidmike/Saintcon2019
There is also a video of my badge talk at Saintcon https://www.youtube.com/watch?v=MAhJ2WoN14

compukidmike/Saintcon2019
There is also a video of my badge talk at Saintcon https://www.youtube.com/watch?v=MAhJ2WoN14




FPGAwars/icezum
:star2: IceZUM Alhambra: an Arduino-like Open FPGA electronic board

ironsteel/apple-ice
Apple II expansion prototyping board based on the ICE40 FPGA


mokus0/m2-ice40
A M.2 3042 B-key card with an ICE40 FPGA. Currently intended for a specific application, but could easily be used for more general purposes.

It measures 148.3 × 147.3 mm and has 4 copper layers, 1.6 mm thick.
1,120 parts, built around the ICE40HX1K-TQ144, SIL2301-TP, AP2112K-3.3 and MIC5504-1.2YM5-TR. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
From the compukidmike/Saintcon2019 repository on GitHub, at the commit this page was made from: the board is Hardware/KiCad Files/Saintcon2019TopBoard/Saintcon2019TopBoard.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
Its repository states no licence, so its author keeps all rights: ask compukidmike before reusing the design.