Skip to content
Snippets Groups Projects
  1. Mar 04, 2021
  2. Mar 03, 2021
  3. Feb 25, 2021
  4. Feb 24, 2021
  5. Feb 23, 2021
  6. Feb 22, 2021
  7. Feb 20, 2021
  8. Feb 18, 2021
  9. Feb 16, 2021
  10. Feb 12, 2021
  11. Feb 10, 2021
  12. Feb 09, 2021
  13. Feb 08, 2021
  14. Feb 04, 2021
  15. Feb 03, 2021
  16. Feb 02, 2021
  17. Feb 01, 2021
    • Florent Kermarrec's avatar
      tec0117: get SDRAM working and increase sys_clk_freq to 25MHz. · 7c48af9b
      Florent Kermarrec authored
      ./tec0117.py --build --load
      
      Still some FIXMEs but validate use of the embedded SDRAM with LiteDRAM/LiteX:
      
              __   _ __      _  __
             / /  (_) /____ | |/_/
            / /__/ / __/ -_)>  <
           /____/_/\__/\__/_/|_|
         Build your hardware, easily!
      
       (c) Copyright 2012-2020 Enjoy-Digital
       (c) Copyright 2007-2015 M-Labs
      
       BIOS built on Feb  1 2021 13:09:35
       BIOS CRC passed (5abceb2e)
      
       Migen git sha1: 40b1092
       LiteX git sha1: f324f953
      
      --=============== SoC ==================--
      CPU:		VexRiscv_Lite @ 25MHz
      BUS:		WISHBONE 32-bit @ 4GiB
      CSR:		32-bit data
      ROM:		24KiB
      SRAM:		4KiB
      L2:		0KiB
      SDRAM:		8192KiB 16-bit @ 25MT/s (CL-2 CWL-2)
      
      --========== Initialization ============--
      Initializing SDRAM @0x40000000...
      Switching SDRAM to software control.
      Switching SDRAM to hardware control.
      Memtest at 0x40000000 (2MiB)...
        Write: 0x40000000-0x40200000 2MiB
         Read: 0x40000000-0x40200000 2MiB
      Memtest OK
      Memspeed at 0x40000000 (2MiB)...
        Write speed: 5MiB/s
         Read speed: 6MiB/s
      
      --============== Boot ==================--
      Booting from serial...
      Press Q or ESC to abort boot completely.
      sL5DdSMmkekro
      Timeout
      No boot medium found
      
      --============= Console ================--
      
      litex> mem_list
      
      Available memory regions:
      ROM       0x00000000 0x6000
      SRAM      0x01000000 0x1000
      SPIFLASH  0x80000000 0x1000000
      MAIN_RAM  0x40000000 0x800000
      CSR       0x82000000 0x10000
      
      litex> mem_test 0x40000000 0x800000
      
      Memtest at 0x40000000 (8MiB)...
        Write: 0x40000000-0x40800000 8MiB
         Read: 0x40000000-0x40800000 8MiB
      Memtest OK
      
      litex>
      7c48af9b
Loading