sinara-hw / Urukul

4 channel 1GS/s DDS (AD9910 or AD9912 variant)
14 stars 8 forks source link

`xc2c256.map` for flashing urukul rev 1.4 #62

Closed lriesebos closed 3 years ago

lriesebos commented 3 years ago

When flashing an urukul rev 1.4 (without xilinx installed) I get an error message that I need the file xc2c256.map instead of the provided xc2c128.map available on the wiki. see the message below. Where can I find this file, or am I doing something else wrong? @gkasprow @jbqubit

leon@tokachi:~/urukul$ xc3sprog -c jtaghs2 -m map -v urukul.jed:w
XC3SPROG (c) 2004-2011 xc3sprog project $Rev$ OS: Linux
Free software: If you contribute nothing, expect nothing!
Feedback on success/failure/enhancement requests:
    http://sourceforge.net/mail/?group_id=170565 
Check Sourceforge for updates:
    http://sourceforge.net/projects/xc3sprog/develop

Using built-in device list
Using built-in cable list
Cable jtaghs2 type ftdi VID 0x0403 PID 0x6014 Desc "Digilent USB Device" dbus data e8 enable eb cbus data 00 data 60
Using Libftdi, Using JTAG frequency   6.000 MHz from undivided clock
JTAG chainpos: 0 Device IDCODE = 0x16d4e093 Desc: XC2C256_FT256
Mapfile map/xc2c256.map not found: No such file or directory
No mapfile available -- only bitfile (not JEDEC) operations will be supported.
Reading style BIT
Ignoring unknown field '1'
Ignoring unknown field '1'
Ignoring unknown field '1'
Ignoring unknown field '1'
Ignoring unknown field '7'
Ignoring unknown field '1'
Ignoring unknown field '1'
Ignoring unknown field '9'
Ignoring unknown field '1'
Ignoring unknown field '1'
Ignoring unknown field '
'
Unknown error
Probably no Bitfile, aborting
USB transactions: Write 6 read 3 retries 3

OS: Ubuntu 20.04 (xc3sprog installed from Ubuntu repositories)

jordens commented 3 years ago

Are you allowed to redistribute that file?

lriesebos commented 3 years ago

Ok I found xc2c256.map in my own Xilinx files and attached it for other users that need it: xc2c256.zip. Feel free to add it to the wiki, I can't edit it.

A couple of other things that might need an update in the wiki:

  1. In the wiki, xc3sprog is often spelled differently.
  2. I installed xc3sprog on Ubuntu 20.04, it is available through the Ubuntu repositories.
  3. For flashing, the map file needs to be in a directory and the flash command actually refers to that directory, not directly to the file. So I stored the map file in a directory ./map/ and the command to flash was xc3sprog -c jtaghs2 -m map -v -p 0 urukul.jed. The action :w is not required in the command as this is the default action.

Fair point. I kind of assumed that it would be fine as the other map file is already in your repo, but tbh I do not know for sure, so I guess the answer is no. I just removed the link to that file. So that basically means flashing without Xilinx tools is not possible without access to these map files.

The other points still hold though.

jordens commented 3 years ago

It's not my repo. The person responsible for adding that file to the repo is the same one responsible for the other points.

Would you be interested in editing the wiki directly? In that case, @gkasprow could you add them?

lriesebos commented 3 years ago

Sure, if you give me access I can update the wiki.

lriesebos commented 3 years ago

closed by 945f099