Sylvain Munaut f69146d035 projects/riscv_usb: Update fw/ gitignore il y a 5 ans
..
data 7c7e120a84 projects: Update constraints for bitsy v0 and v1 il y a 4 ans
fw f69146d035 projects/riscv_usb: Update fw/ gitignore il y a 4 ans
rtl cb358304ff projects/riscv_usb: Adapt to allow 64k/128k of SPRAM il y a 4 ans
sim f560755b26 projects/riscv_usb: Add support for the user button il y a 5 ans
Makefile cb358304ff projects/riscv_usb: Adapt to allow 64k/128k of SPRAM il y a 4 ans
README.md 9cf400b9ad projects/riscv_usb: Import RISCV + USB prototype il y a 6 ans

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