Commit Graph

  • c1c0ac35f4
    Fix off-by-one UART bitrate counter value that will make the RX sampling and TX sending drift. The impact gets higher as the baudrate increases and the bitrate counter value gets smaller. cth Jonas Thörnblad 2024-12-16 13:05:36 +0100
  • c4eda3ff8e
    Update clock frequency to 24 MHz and UART baudrate to 500000. Jonas Thörnblad 2025-01-09 15:15:16 +0100
  • 3ccdf8fc0f
    Add incoming and outgoing CTS (Clear To Send) signals for the CH552 Jonas Thörnblad 2024-12-17 17:33:14 +0100
  • aaec7bbc3e
    Add incoming and outgoing CTS (Clear To Send) signals for the FPGA to let the CH552 and FPGA signal each other that it is OK to send UART data. The CTS signals indicate "OK to send" if high. If an incoming CTS signal goes low, the receiver of that signal should immediatly stop sending UART data. Jonas Thörnblad 2024-12-17 17:18:45 +0100
  • 0213d64039
    FPGA: Increase UART baud rate to 500k Mikael Ågren 2024-10-09 09:45:29 +0200
  • 7862ad4415
    fw: Minimal CDC implementation of new framing protocol Mikael Ågren 2024-09-16 14:26:12 +0200
  • f1b19cb56e
    Wrap accesses to UART output buffers Mikael Ågren 2024-09-17 13:36:39 +0200
  • 25716a7c69
    WIP: Add USB HID and framing support over UART Jonas Thörnblad 2024-07-04 18:24:07 +0200
  • 28c81a17f7
    Move usb_strings.h for ch552_fw to the include directory Jonas Thörnblad 2024-07-04 18:19:02 +0200
  • f2a3d8b23c
    Add complete checks for invalid memory accesses Jonas Thörnblad 2024-12-20 10:38:17 +0100
  • 7550819aad
    Merge e7531dab7c into 66888a3756 Jonas Thörnblad 2024-12-20 12:20:39 +0000
  • e7531dab7c
    Add complete checks for invalid memory accesses mem_access Jonas Thörnblad 2024-12-20 10:38:17 +0100
  • eef6513421
    Merge 8eade9933c into 66888a3756 Jonas Thörnblad 2024-12-18 10:40:26 +0000
  • 8eade9933c
    Add incoming and outgoing CTS (Clear To Send) signals for the CH552 ch552_hid_cdc Jonas Thörnblad 2024-12-17 17:33:14 +0100
  • 32ce04f96d
    Merge 6023d97ba3 into 66888a3756 Mikael Ågren 2024-12-17 17:16:45 +0000
  • 6023d97ba3
    PoC: Remove IRQ30 from fw/irqpoc_c_example syscall_picorv32_irq Mikael Ågren 2024-12-17 14:38:01 +0100
  • c9ae734aab
    PoC: Remove IRQ30 from fw/irqpoc_with_app Mikael Ågren 2024-12-17 13:40:31 +0100
  • a7c9250166
    PoC: Remove IRQ30 from fw/irqpoc_led_toggle Mikael Ågren 2024-12-17 13:09:24 +0100
  • 5638969f4f
    PoC: Remove IRQ30 from fw/irqpoc Mikael Ågren 2024-12-17 12:45:48 +0100
  • b45da9bf0c
    PoC: Make sensitive assets only readable/writable before system_mode is set Daniel Jobson 2024-11-15 11:19:40 +0100
  • 48cbb55d6e
    Add incoming and outgoing CTS (Clear To Send) signals for the FPGA to let the CH552 and FPGA signal each other that it is OK to send UART data. The CTS signals indicate "OK to send" if high. If an incoming CTS signal goes low, the receiver of that signal should immediatly stop sending UART data. Jonas Thörnblad 2024-12-17 17:18:45 +0100
  • 1475a38d52
    PoC: Remove low privilege syscall Mikael Ågren 2024-12-16 13:00:54 +0100
  • 9ffd7bc0f7
    PoC: Deny access to the SPI master in app mode Daniel Jobson 2024-11-13 16:13:16 +0100
  • 6ae73a3067
    PoC: Add example firmware with embedded that calls syscalls implemented in C Mikael Ågren 2024-12-13 15:41:59 +0100
  • cef5c904b1
    PoC: Control access to FW RAM Mikael Ågren 2024-12-11 14:29:04 +0100
  • a593d7b834
    PoC: Add basic syscall example firmware Mikael Ågren 2024-12-11 12:02:42 +0100
  • 9ebd186354
    PoC: Trap when executing from ROM in app mode Mikael Ågren 2024-12-11 11:49:41 +0100
  • fd57fd4055
    Merge 3389d7ebf3 into 66888a3756 Jonas Thörnblad 2024-12-17 10:50:41 +0000
  • 3389d7ebf3
    Fix off-by-one UART bitrate counter value that will make the RX sampling and TX sending drift. The impact gets higher as the baudrate increases and the bitrate counter value gets smaller. uart_fix Jonas Thörnblad 2024-12-16 13:05:36 +0100
  • 1f94b396c1
    PoC: Remove Blake2s register Mikael Ågren 2024-12-10 19:08:55 +0100
  • 4fb5198871
    PoC: Automatically control system_mode in hardware Daniel Jobson 2024-11-14 14:02:53 +0100
  • 0300a8674c
    PoC: Add LED toggling interrupt example Mikael Ågren 2024-12-06 16:45:24 +0100
  • 29c90fece4
    PoC: PicoRV32 interrupts Mikael Ågren 2024-12-03 17:33:59 +0100
  • 5d138ef45b
    FPGA: Increase UART baud rate to 500k Mikael Ågren 2024-10-09 09:45:29 +0200
  • d2a9100412
    fw: Minimal CDC implementation of new framing protocol Mikael Ågren 2024-09-16 14:26:12 +0200
  • 8c7059155f
    Wrap accesses to UART output buffers Mikael Ågren 2024-09-17 13:36:39 +0200
  • a0910e25c3
    WIP: Add USB HID and framing support over UART Jonas Thörnblad 2024-07-04 18:24:07 +0200
  • f6c0501db9
    Move usb_strings.h for ch552_fw to the include directory Jonas Thörnblad 2024-07-04 18:19:02 +0200
  • fa7ed4a214
    Merge 80e18a7edc into 66888a3756 Daniel Jobson 2024-12-11 11:43:54 +0100
  • 5f108e5dd6
    Merge c7e44d3575 into 66888a3756 Daniel Jobson 2024-12-11 11:43:54 +0100
  • e7edd526e0
    Merge 1651a1a666 into 66888a3756 Jonas Thörnblad 2024-12-10 08:40:38 +0100
  • 66888a3756
    tb: Make uart selftesting main Daniel Jobson 2024-11-21 15:32:26 +0100
  • c637c745cc
    tb: Make trng selftesting Daniel Jobson 2024-11-21 15:28:20 +0100
  • ac853c87ec
    tb: Make touch_sense selftesting Daniel Jobson 2024-11-21 15:23:39 +0100
  • c547042553
    tb: Make tb_tk1_spi_master.v selftesting Daniel Jobson 2024-11-21 15:07:27 +0100
  • c7e44d3575
    Update tk1/README and fpga README regarding system mode syscall_jmp_to_address_to_enable_fw_mode_persist Daniel Jobson 2024-11-21 13:24:04 +0100
  • 04eefe01fa
    Fix tb_tk1.v tests broken when implementing hw controlled system mode Mikael Ågren 2024-11-21 08:46:49 +0100
  • 2abe93cf06
    Make sensitive assets only readable/writable before system_mode is set Daniel Jobson 2024-11-15 11:19:40 +0100
  • 09c3d9b58e
    tb: Make tb_tk1.v selftesting Daniel Jobson 2024-11-21 14:21:36 +0100
  • 690bb53267
    Introduce new bit to mark ROM as non-executable Daniel Jobson 2024-11-15 09:28:01 +0100
  • 9062b49804
    Deny access to the SPI master in app mode Daniel Jobson 2024-11-13 16:13:16 +0100
  • 8c6ab6902d
    Automatically control system_mode in hardware Daniel Jobson 2024-11-14 14:02:53 +0100
  • 31708a39d3
    Add API for syscall Daniel Jobson 2024-11-07 13:10:10 +0100
  • 8c073c3d01
    fw: adapt fw syscall to hw syscall implementation persistant_storage_fw_ Daniel Jobson 2024-11-13 15:55:29 +0100
  • a65eddbb00
    temp: add define to toggle the use of fw RAM Daniel Jobson 2024-11-11 12:39:36 +0100
  • a57178f9d9
    fw: add workaround so objdump can disassemble compressed rv32 instructions Daniel Jobson 2024-10-16 16:02:54 +0200
  • e21961ca0d
    fw: simplify switch to FW_RAM Daniel Jobson 2024-10-16 16:02:27 +0200
  • 027978f4d4
    fw: switch to FW RAM when executing a syscall. Daniel Jobson 2024-10-04 13:11:33 +0200
  • 290f826e76
    storage: add erase command Daniel Jobson 2024-09-30 14:16:02 +0200
  • 6ac874584d
    Optimize SPI functions, lowering ROM usage by 70 bytes. Daniel Jobson 2024-09-30 11:29:08 +0200
  • 9fabff90cb
    Increase ROM to 8K Daniel Jobson 2024-09-19 08:57:17 +0200
  • e046b7ad0f
    Implement preload_store Daniel Jobson 2024-09-19 08:52:42 +0200
  • c300718c9c
    Temporarily override the blake2s trampoline Daniel Jobson 2024-09-17 14:54:57 +0200
  • d22d9b8392
    Wip syscall function. Daniel Jobson 2024-09-17 14:54:19 +0200
  • 150cf2977f
    WIP app storage calls Daniel Jobson 2024-09-12 15:43:38 +0200
  • e9d93e22ae
    Merge cc0621f983 into 5b49d80891 Daniel Jobson 2024-11-28 16:13:59 +0100
  • 07dec8b8dc
    Add make target for testbench simulation and simulation firmware. Jonas Thörnblad 2024-11-25 16:57:59 +0100
  • ede92af2c1
    Updated application_fpga_verilator.cc to match module application_fpga_sim. Jonas Thörnblad 2024-11-25 16:54:48 +0100
  • 48c9709164
    Set APP_SIZE if not defined. Jonas Thörnblad 2024-11-25 16:52:26 +0100
  • a99e69f33e
    Remove non-working make targets for "post-synthesis functional simulation" and "post-place and route functional simulation". Jonas Thörnblad 2024-11-25 15:49:19 +0100
  • 15ce2c438b
    Add needed changes to firmware for simulation. Jonas Thörnblad 2024-11-25 15:37:19 +0100
  • fe9055ea23
    Add script to split app into simulation ram Jonas Thörnblad 2024-11-25 15:28:13 +0100
  • 3cd902f792
    Add top level testbench for application_fpga_sim.v Jonas Thörnblad 2024-11-25 15:16:42 +0100
  • 4260e1d5ac
    Update application_fpga_sim.v to match application_fpga.v Jonas Thörnblad 2024-11-25 15:15:01 +0100
  • a330aa15ec
    Add verilog file for TRNG simulation Jonas Thörnblad 2024-11-25 15:11:32 +0100
  • d3b9660180
    Align module name with its file name. Jonas Thörnblad 2024-11-25 15:01:34 +0100
  • e54045a4dd
    Add APP_SIZE parameter to tk1 block to set size of application when simulating. Jonas Thörnblad 2024-11-25 14:58:17 +0100
  • 5b49d80891
    tb: make timer core testbench selftesting Daniel Jobson 2024-11-22 13:40:43 +0100
  • c735c6fdde
    tb: make tb_timer.v selftesting Daniel Jobson 2024-11-22 13:21:25 +0100
  • 6bdedf4f86
    Fix bug in timer core, where it misses clock cycles Daniel Jobson 2024-11-22 13:03:45 +0100
  • 3d7a97ecbc
    fpga: remove the API for configuring the UART core Daniel Jobson 2024-11-11 14:15:54 +0100
  • 0445c8f993
    Add nextpnr flag '--exit-on-failed-target-frequency' Jonas Thörnblad 2024-11-22 14:36:38 +0100
  • 08a204dfa6
    Minimize number of Dockerfile RUN commands to lower number of used layers in the image. Too many layers will give an error. Jonas Thörnblad 2024-11-22 14:24:32 +0100
  • ff495f0015
    WIP: Add tests for new access restrictions syscall_jmp_to_address_to_enable_fw_mode_persist_tests Mikael Ågren 2024-11-22 14:27:14 +0100
  • 1a450cfddb
    Display errors in tb_tk1 even if DEBUG is 0 Mikael Ågren 2024-11-22 14:21:54 +0100
  • 97b1ea6df2
    Write data only once per call to write_word() in tb_tk1 test bench Mikael Ågren 2024-11-22 14:16:50 +0100
  • 221d673895
    Update tk1/README and fpga README regarding system mode Daniel Jobson 2024-11-21 13:24:04 +0100
  • 0dc1abc048
    Fix tb_tk1.v tests broken when implementing hw controlled system mode Mikael Ågren 2024-11-21 08:46:49 +0100
  • 2cfd80dd8e
    Make sensitive assets only readable/writable before system_mode is set Daniel Jobson 2024-11-15 11:19:40 +0100
  • 1500fe3c8e
    Introduce new bit to mark ROM as non-executable Daniel Jobson 2024-11-15 09:28:01 +0100
  • b3af50dffa
    Deny access to the SPI master in app mode Daniel Jobson 2024-11-13 16:13:16 +0100
  • 6aa01f2d8c
    Automatically control system_mode in hardware Daniel Jobson 2024-11-14 14:02:53 +0100
  • 34aeefe350
    Add API for syscall Daniel Jobson 2024-11-07 13:10:10 +0100
  • cc0621f983
    fw: adapt fw syscall to hw syscall implementation Daniel Jobson 2024-11-13 15:55:29 +0100
  • 2bd235f477
    temp: add define to toggle the use of fw RAM Daniel Jobson 2024-11-11 12:39:36 +0100
  • 4ee1d744b8
    fw: add workaround so objdump can disassemble compressed rv32 instructions Daniel Jobson 2024-10-16 16:02:54 +0200
  • 7a84776c2a
    fw: simplify switch to FW_RAM Daniel Jobson 2024-10-16 16:02:27 +0200
  • 02f9f9f079
    fw: switch to FW RAM when executing a syscall. Daniel Jobson 2024-10-04 13:11:33 +0200
  • c6000e4e2a
    storage: add erase command Daniel Jobson 2024-09-30 14:16:02 +0200
  • 5ed0df0b8d
    Optimize SPI functions, lowering ROM usage by 70 bytes. Daniel Jobson 2024-09-30 11:29:08 +0200