[Libre-soc-dev] daily kan-ban update 10oct2020

Cole Poirier colepoirier at gmail.com
Sun Oct 11 23:45:14 BST 2020


On Sun, Oct 11, 2020 at 3:12 PM Luke Kenneth Casson Leighton
<lkcl at lkcl.net> wrote:
> excellent.  you forgot --sys-clk-freq=55 but that's ok.  now you can
> try modifying the script to specify a device of ulx3s instead.  look
> through litex for ulx3s.py files.

Oops! Working on that now.

> > ./versa_ecp5 --load has some hardcoded vid, pid,
>
> yep this is from litex.  litex copies an openocd file from some target
> directory somewhere (because you asked it to by specifying
> "device=LFE5UM")

Ah makes sense. running into a weird loop in trying to get this to work:

```
Traceback (most recent call last):
  File "./ulx3s85f.py", line 66, in <module>
    main()
  File "./ulx3s85f.py", line 57, in main
    **soc_sdram_argdict(args))
  File "./ulx3s85f.py", line 32, in __init__
    **kwargs)
TypeError: __init__() got multiple values for argument 'device'
```

This is with `device      = "LFE5U-85F",` if I comment out that line I get:
```
Traceback (most recent call last):
  File "./ulx3s85f.py", line 66, in <module>
    main()
  File "./ulx3s85f.py", line 57, in main
    **soc_sdram_argdict(args))
  File "./ulx3s85f.py", line 32, in __init__
    **kwargs)
  File "/home/colepoirier/workspace/litex-boards/litex_boards/targets/ulx3s.py",
line 85, in __init__
    platform = ulx3s.Platform(device=device, toolchain=toolchain)
  File "/home/colepoirier/workspace/litex-boards/litex_boards/platforms/ulx3s.py",
line 119, in __init__
    assert device in ["LFE5U-25F", "LFE5U-45F", "LFE5U-85F"]
AssertionError
```

> > Warn : Transport "jtag" was already selected
> > Error: no device found
> > Error: unable to open ftdi device with vid 0403, pid 6010, description
>
> yup.  do you have a VERSA ECP5 connected?  no you do not.  therefore
> why are you expecting this - which is a build for a VERSA ECP5 - to
> succeed?

lol oops... Was confused because both are ECP5...

Cole



More information about the Libre-soc-dev mailing list