From 5acf15b4b557394fd86ea80a32009837c70649cd Mon Sep 17 00:00:00 2001 From: Sean Cross Date: Mon, 19 Aug 2019 15:32:43 +0800 Subject: [PATCH] index: add more aside notes Signed-off-by: Sean Cross --- index.html | 76 +++++++++++++++--------------------------------------- 1 file changed, 21 insertions(+), 55 deletions(-) diff --git a/index.html b/index.html index da75dcd..ccb98f4 100644 --- a/index.html +++ b/index.html @@ -100,7 +100,9 @@

A whirlwind introduction to Fomu; a workshop in three levels

Sean "xobs" Cross - https://xobs.io/ - @xobs - Tim "mithro" Ansell - https://github.com/timvideos/litex-buildenv/wiki/ - @mithro + Tim "mithro" Ansell - https://github.com/timvideos/litex-buildenv/wiki/ + - @mithro

@@ -156,7 +158,7 @@

What is an FPGA?

SB_LUT4 -
@@ -338,11 +344,13 @@
  • USB implemented in HDL
  • Fits in your USB port
  • - + Unlike many other PCBs, Fomu does not have a separate USB controller chip. This means that any + projects that want to use the USB port must include a USB softcore. +
    @@ -350,48 +358,6 @@ Fomu block diagram
    -
    -

    What is this PCB?

    - Fomu EVT1 -

    Fomu EVT1

    - -
    - -
    -

    Misleading Datasheets

    - Footprint from Crystal -
    - -
    -

    What modifications does it have?

    -
      -
    • Shorting out two zero-ohm resistors (R7, PU)
    • -
    • Programming SPI flash
    • -
    • Bending SPI flash pins inward (U4)
    • -
    • Mounting crystal on its side (U7)
    • -
    • Attaching power to crystal
    • -
    -
    -

    Fomu SPI Flash Layout

    Fomu memory layout @@ -426,15 +392,15 @@

    "fail safe" bootloader

    Device Firmware Update - DFU
    +
    -

    Updating Fomu

    +

    Uploading Code

    $ dfu-util -l
    -Found DFU: [1209:5bf0] name="Fomu DFU Bootloader v1.7.2"
    -$ dfu-util -D evt-installable.dfu
    +Found DFU: [1209:5bf0] name="Fomu Hacker running DFU Bootloader v1.8.8"
    +$ dfu-util -D program.bin
     Download        [=========                ]  36%   38912 bytes
     Download done.
     $ dfu-util -l
    -Found DFU: [1209:5bf0] name="Fomu DFU Bootloader v1.8.1"
     $
    @@ -452,7 +418,7 @@ $

    Loading Programs onto Fomu

    
     $ dfu-util -l
    -Found DFU: [1209:5bf0] name="Fomu DFU Bootloader v1.8.1"
    +Found DFU: [1209:5bf0] name="Fomu DFU Bootloader v1.8.8"
     $ dfu-util -e                  # Boot current program
     $ dfu-util -D new-image.dfu    # Load new program

    u5b f0mu