Sylvain Munaut 4f3b887149 Update all no2xxx submodules and adapt as needed to new APIs пре 4 година
..
data 3038fcadf6 projects/riscv_usb: Remove some board support пре 4 година
fw 64cb6025b0 projects/riscv_usb: Update no2usb core and adapt to new API пре 4 година
rtl 4f3b887149 Update all no2xxx submodules and adapt as needed to new APIs пре 4 година
sim f560755b26 projects/riscv_usb: Add support for the user button пре 5 година
Makefile 1a0f4858e8 projects/riscv_usb: Remove all DFU bootloader code пре 4 година
README.md 9cf400b9ad projects/riscv_usb: Import RISCV + USB prototype пре 6 година

README.md

RISC-V + USB core demo

For the icebreaker, the hardware connections are :

  • P1B4: USB DP
  • P1B3: USB DN
  • P1B2: Pull up. Resistor of 1.5 kOhm to USB DP

To run :

  • Build and flash the bitstream

    • This will build fw/boot.hex and include it as the BRAM initial data
  • Flash the main application code in SPI at offset 1M

    • make -C fw prog_fw
  • Connect to the iCEBreaker uart console (ttyUSB1) with a 1M baudrate

    • and then at the Command> prompt, press r for 'run'. This will start the USB detection and device should enumerate