From: CeDeROM <tom...@gm...> - 2010-01-31 22:14:42
|
Hello world! Did anyone manage to program Intel S33 SPI Flash, or BPI Flash memory on Xilinx's Spartan 3A-DSP board? Why usb cablel is not available by default on windows version? Anyone knows good/any solution to build Verilog/VHDL code into bitfile on FreeBSD? Best regards, Tomek Cedro -- CeDeROM, http://www.tomek.cedro.info |
From: Uwe B. <bo...@el...> - 2010-02-01 09:31:49
|
>>>>> "CeDeROM" == CeDeROM <tom...@gm...> writes: CeDeROM> Hello world! Did anyone manage to program Intel S33 SPI Flash, CeDeROM> or BPI Flash memory on Xilinx's Spartan 3A-DSP board? Why usb CeDeROM> cablel is not available by default on windows version? Anyone CeDeROM> knows good/any solution to build Verilog/VHDL code into bitfile CeDeROM> on FreeBSD? Well, I tested reading the ADSP board when adapting the SPI code. There is no BPI code yet, but contributions are welcome. I did not test write the S33 on the ADSP, but i think I tested on other boards. What did you do? What didn't work as expected? The DLC9/10 needs firmware that is installed when the impact driver is installed. Bye -- Uwe Bonnes bo...@el... Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt --------- Tel. 06151 162516 -------- Fax. 06151 164321 ---------- |
From: CeDeROM <tom...@gm...> - 2010-02-01 22:39:18
|
Hello Uwe! On Mon, Feb 1, 2010 at 9:31 AM, Uwe Bonnes <bo...@el...> wrote: > I tested reading the ADSP board when adapting the SPI code. There is no BPI > code yet, but contributions are welcome. I did not test write the S33 on > the ADSP, but i think I tested on other boards. What did you do? What didn't > work as expected? I was trying to generate bitstream of my project with ISE (most recent one 11.4 i think), but no S33 is on the list - Xilinx sux ass in this matter - I have chosen M25P64 as a replacement from Numonyx, then generated SVF file and then played that SVF file with UrJTAG. Loading file into Flash takes a long time and fails. Uploading bitstream directly into FPGA works fine, and project works until power is on. I am wondering if the prom file is wrong, or programming the flash fails. I think that there is no communication with flash, as its content remains after playing SVF containing "erase-write-verify" cycle... so I am lookins some other tools to program that S33 memory, or BPI memory instead :-) I could use my JTAG adapter as ISP programmer directly on the Flash Chip, but using FPGA-JTAG seems more versatile, especialy if no SPI pinout is available on the PCB... Maybe the core uploaded into FPGA for programming the flash use some different programming algorithm, but as I have seen on the M25P64 document page thet are almost compatibile, except the mass/block erase available on S33. > The DLC9/10 needs firmware that is installed when the impact driver is > installed. Im using FT2232 and FT2232H based cables - none of them was detected on the binary for win32. Are they supported off the box or I must recompile? Has anyone managed to run xc3sprogs on FreeBSD? Best regards, Tomek -- CeDeROM, http://www.tomek.cedro.info |
From: Wojciech A. K. <wk...@Fr...> - 2010-02-01 22:51:22
|
On Mon, Feb 01, 2010 at 10:39:10PM +0000, CeDeROM wrote: > Hello Uwe! > > On Mon, Feb 1, 2010 at 9:31 AM, Uwe Bonnes > <bo...@el...> wrote: > > I tested reading the ADSP board when adapting the SPI code. There is no BPI > > code yet, but contributions are welcome. I did not test write the S33 on > > the ADSP, but i think I tested on other boards. What did you do? What didn't > > work as expected? [..] > > > The DLC9/10 needs firmware that is installed when the impact driver is > > installed. > > Im using FT2232 and FT2232H based cables - none of them was detected > on the binary for win32. Are they supported off the box or I must > recompile? > Has anyone managed to run xc3sprogs on FreeBSD? With Spartan 3E Starter Kit it works with its internal USB JTAG stuff on FreeBSD-9 CURRENT. I have FTDI-based ARM JTAG debugger, which is Amontec cable clone, and since Amontec advertises possibility of replaying SVFs via their device, it might be possible here as well. There were some problems with parallel cable and I've sent a report to this list. Hopefully we'll be able to see it shortly, as it's waiting for a moderator. -- Wojciech A. Koszek wk...@Fr... http://FreeBSD.czest.pl/~wkoszek/ |
From: CeDeROM <tom...@gm...> - 2010-02-01 23:18:41
|
Hello (Czesc) Wojciech! :-) 2010/2/1 Wojciech A. Koszek <wk...@fr...>: > With Spartan 3E Starter Kit it works with its internal USB JTAG stuff > on FreeBSD-9 CURRENT. Mmm, good to know another low level BSD user! :-) Im working on 8.0-RELEASE, did not try to compile xc3sprog as I need to finish some other work before, but Ive modified a bit PONG demo from Spartan 3E to test my Spartan 3A-DSP. What kind of memory resides on 3E board - it it S33 SPI Intel Flash? Did you manage to generate prom file and upload it into that flash memory? How about port for xc3sprog? :-) Sorry for the question, but is xc3sprog mentioned to be standalone application? Wouldn't be more convenient to add its functinoality into UrJTAG? ;P > I have FTDI-based ARM JTAG debugger, which is Amontec cable clone, and since > Amontec advertises possibility of replaying SVFs via their device, it might be > possible here as well. Yes, Ive got both of them - Amontec JTAGkey2P and ARM-USB-OCD. There are some issues with JTAGkey2P and FreeBSD as it uses FT2232H and our system still use 0.14 libftdi - Ive noticed maintainer for update :-) Ive managed to play SVF with both cables under win32. > There were some problems with parallel cable and I've sent a report > to this list. Hopefully we'll be able to see it shortly, as it's > waiting for a moderator. Parallel cables are simple to build and so it is nice to have them, however almost no modern computer have them onboard anymore - this is why Ive switched to USB and most generic FT2232 ones. Best regards, Tomek Cedro -- CeDeROM, http://www.tomek.cedro.info |
From: Uwe B. <bo...@el...> - 2010-02-02 09:51:02
|
>>>>> "CeDeROM" == CeDeROM <tom...@gm...> writes: CeDeROM> Hello (Czesc) Wojciech! :-) 2010/2/1 Wojciech A. Koszek CeDeROM> <wk...@fr...>: >> With Spartan 3E Starter Kit it works with its internal USB JTAG stuff >> on FreeBSD-9 CURRENT. CeDeROM> Mmm, good to know another low level BSD user! :-) Im working on CeDeROM> 8.0-RELEASE, did not try to compile xc3sprog as I need to CeDeROM> finish some other work before, but Ive modified a bit PONG demo CeDeROM> from Spartan 3E to test my Spartan 3A-DSP. What kind of memory CeDeROM> resides on 3E board - it it S33 SPI Intel Flash? Did you manage CeDeROM> to generate prom file and upload it into that flash memory? It's nice to see discussion on this mailing list CeDeROM> How about port for xc3sprog? :-) CeDeROM> Sorry for the question, but is xc3sprog mentioned to be CeDeROM> standalone application? Wouldn't be more convenient to add its CeDeROM> functinoality into UrJTAG? ;P xc3sprog is standalone, controlled by the commandline and easily usable in makefiles. Urjtag has abother scope. xc3sprog provides the programming algos for known devices, while urjtag plays SVF produces in some other way. >> I have FTDI-based ARM JTAG debugger, which is Amontec cable clone, >> and since Amontec advertises possibility of replaying SVFs via their >> device, it might be possible here as well. Tomek: Your report isn't exact. You don't tell - what version of xc3sprog you use - who you invoked xc3sprog - how the dongle or it's USB device is recognized by the OS - whether you checked user access to the device - what output you got - what you expected - what you didn't like/understand with that output - what Readme you have reads - whether you loaded the bscan_spi bitmap before writing to the SPI flash ... Pleasetry the examples given in .../trunk/README and give annotated feedback. CeDeROM> Yes, Ive got both of them - Amontec JTAGkey2P and CeDeROM> ARM-USB-OCD. There are some issues with JTAGkey2P and FreeBSD CeDeROM> as it uses FT2232H and our system still use 0.14 libftdi - Ive CeDeROM> noticed maintainer for update :-) Ive managed to play SVF with CeDeROM> both cables under win32. SVF player can only report that something got wrong, a real programmer can give more hints. Bye -- Uwe Bonnes bo...@el... Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt --------- Tel. 06151 162516 -------- Fax. 06151 164321 ---------- |
From: Uwe B. <bo...@el...> - 2010-02-02 09:56:27
|
>>>>> "Wojciech" == Wojciech A Koszek <wk...@Fr...> writes: Wojciech> On Mon, Feb 01, 2010 at 10:39:10PM +0000, CeDeROM wrote: >> Hello Uwe! >> >> On Mon, Feb 1, 2010 at 9:31 AM, Uwe Bonnes >> <bo...@el...> wrote: > I tested reading >> the ADSP board when adapting the SPI code. There is no BPI > code >> yet, but contributions are welcome. I did not test write the S33 on >> > the ADSP, but i think I tested on other boards. What did you do? >> What didn't > work as expected? Wojciech> [..] >> > The DLC9/10 needs firmware that is installed when the impact >> driver is > installed. >> >> Im using FT2232 and FT2232H based cables - none of them was detected >> on the binary for win32. Are they supported off the box or I must >> recompile? Has anyone managed to run xc3sprogs on FreeBSD? Wojciech> With Spartan 3E Starter Kit it works with its internal USB Wojciech> JTAG stuff on FreeBSD-9 CURRENT. Wojciech> I have FTDI-based ARM JTAG debugger, which is Amontec cable Wojciech> clone, and since Amontec advertises possibility of replaying Wojciech> SVFs via their device, it might be possible here as well. Wojciech> There were some problems with parallel cable and I've sent a Wojciech> report to this list. Hopefully we'll be able to see it Wojciech> shortly, as it's waiting for a moderator. The list maintainer didn't answer yet. Probably I'll have to make an takeover, but give us some timne... Wojciech, as I told Tomek your reports aren't very exact. Please tell Tomek: Your report isn't exact. You don't tell - what version of xc3sprog you use - who you invoked xc3sprog - how the dongle or it's USB device is recognized by the OS - whether you checked user access to the device - what output you got - what you expected - what you didn't like/understand with that output - what Readme you have reads - whether you loaded the bscan_spi bitmap before writing to the SPI flash ... Bye -- Uwe Bonnes bo...@el... Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt --------- Tel. 06151 162516 -------- Fax. 06151 164321 ---------- |
From: Wojciech A. K. <wk...@Fr...> - 2010-02-02 10:42:31
|
On Tue, Feb 02, 2010 at 10:56:03AM +0100, Uwe Bonnes wrote: > >>>>> "Wojciech" == Wojciech A Koszek <wk...@Fr...> writes: > > Wojciech> On Mon, Feb 01, 2010 at 10:39:10PM +0000, CeDeROM wrote: > >> Hello Uwe! > >> > >> On Mon, Feb 1, 2010 at 9:31 AM, Uwe Bonnes > >> <bo...@el...> wrote: > I tested reading > >> the ADSP board when adapting the SPI code. There is no BPI > code > >> yet, but contributions are welcome. I did not test write the S33 on > >> > the ADSP, but i think I tested on other boards. What did you do? > >> What didn't > work as expected? > > Wojciech> [..] > >> > The DLC9/10 needs firmware that is installed when the impact > >> driver is > installed. > >> > >> Im using FT2232 and FT2232H based cables - none of them was detected > >> on the binary for win32. Are they supported off the box or I must > >> recompile? Has anyone managed to run xc3sprogs on FreeBSD? > > Wojciech> With Spartan 3E Starter Kit it works with its internal USB > Wojciech> JTAG stuff on FreeBSD-9 CURRENT. > > Wojciech> I have FTDI-based ARM JTAG debugger, which is Amontec cable > Wojciech> clone, and since Amontec advertises possibility of replaying > Wojciech> SVFs via their device, it might be possible here as well. > > Wojciech> There were some problems with parallel cable and I've sent a > Wojciech> report to this list. Hopefully we'll be able to see it > Wojciech> shortly, as it's waiting for a moderator. > > The list maintainer didn't answer yet. Probably I'll have to make an > takeover, but give us some timne... > > Wojciech, as I told Tomek your reports aren't very exact. Please tell > Tomek: Your report isn't exact. You don't tell > - what version of xc3sprog you use > - who you invoked xc3sprog > - how the dongle or it's USB device is recognized by the OS > - whether you checked user access to the device > - what output you got > - what you expected > - what you didn't like/understand with that output > - what Readme you have reads > - whether you loaded the bscan_spi bitmap before writing to the SPI flash > ... I don't know which report do you refer to here. My report mailed to you privately contains all this information. Have you read it? -- Wojciech A. Koszek wk...@Fr... http://FreeBSD.czest.pl/~wkoszek/ |
From: Wojciech A. K. <wk...@Fr...> - 2010-02-08 02:25:05
|
On Sun, Jan 31, 2010 at 10:14:35PM +0000, CeDeROM wrote: > Hello world! > > Did anyone manage to program Intel S33 SPI Flash, or BPI Flash memory > on Xilinx's Spartan 3A-DSP board? > Why usb cablel is not available by default on windows version? > Anyone knows good/any solution to build Verilog/VHDL code into bitfile > on FreeBSD? Don't you want to use Xilinx ISE IDE? -- Wojciech A. Koszek wk...@Fr... http://FreeBSD.czest.pl/~wkoszek/ |
From: CeDeROM <tom...@gm...> - 2010-02-08 08:05:00
|
Hello Wojciech! 2010/2/8 Wojciech A. Koszek <wk...@fr...>: >> Did anyone manage to program Intel S33 SPI Flash, or BPI Flash memory >> on Xilinx's Spartan 3A-DSP board? > > Don't you want to use Xilinx ISE IDE? 1. I dont have Xilinx platform cable, but FT2232C/H, so I cannot use it directly from ISE... 2. Official Xilinx IDE called ISE does not and will not support SPI S33 Flash memory that resides on this Xilinx DevelKit - their solution is to replace chip into a Numonyx one. 3. I cannot program BPI because there is no support in Xilinx ISE for BPI :\ 4. I have managed to produce SVF file and upload it into RAM configuration memory in FPGA devoce (XC3SD1800A). I think I have to write my own IP-Core to support both of these memories and add this functionality to UrJTAG - just wanted to ask in here to make sure. But first I have to verify if PROM file produced for M25P64 is the same as it would be for S33... otherwise there is no way to produce S33 PROM file from Xilinx ISE to program official Xilinx DevelKit :-( Best regards, Tomek -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info |
From: Uwe B. <bo...@el...> - 2010-02-08 11:55:07
|
>>>>> "CeDeROM" == CeDeROM <tom...@gm...> writes: CeDeROM> Hello Wojciech! 2010/2/8 Wojciech A. Koszek CeDeROM> <wk...@fr...>: >>> Did anyone manage to program Intel S33 SPI Flash, or BPI Flash >>> memory on Xilinx's Spartan 3A-DSP board? >> Don't you want to use Xilinx ISE IDE? CeDeROM> 1. I dont have Xilinx platform cable, but FT2232C/H, so I CeDeROM> cannot use it directly from ISE... 2. Official Xilinx IDE CeDeROM> called ISE does not and will not support SPI S33 Flash memory CeDeROM> that resides on this Xilinx DevelKit - their solution is to CeDeROM> replace chip into a Numonyx one. 3. I cannot program BPI CeDeROM> because there is no support in Xilinx ISE for BPI :\ 4. I have CeDeROM> managed to produce SVF file and upload it into RAM CeDeROM> configuration memory in FPGA devoce (XC3SD1800A). CeDeROM> I think I have to write my own IP-Core to support both of these CeDeROM> memories and add this functionality to UrJTAG - just wanted to CeDeROM> ask in here to make sure. But first I have to verify if PROM CeDeROM> file produced for M25P64 is the same as it would be for CeDeROM> S33... otherwise there is no way to produce S33 PROM file from CeDeROM> Xilinx ISE to program official Xilinx DevelKit :-( For me and some coworkers, xc3sprog works with SPI flash and S33. I tested with FT2232 cable and on windows too. So if you have an error report or enhancement request, please, be explicit. For me it looks like people didn't notice the bscan_bpi subdirectory and the need to load the bscan_bpi bitmap first. -- Uwe Bonnes bo...@el... Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt --------- Tel. 06151 162516 -------- Fax. 06151 164321 ---------- |
From: CeDeROM <tom...@gm...> - 2010-02-08 20:11:33
|
Hello Uwe! On Mon, Feb 8, 2010 at 11:54 AM, Uwe Bonnes <bo...@el...> wrote: > For me and some coworkers, xc3sprog works with SPI flash and S33. I tested > with FT2232 cable and on windows too. So if you have an error report or > enhancement request, please, be explicit. > > For me it looks like people didn't notice the bscan_bpi subdirectory and > the need to load the bscan_bpi bitmap first. Uwe, this is good information that S33 flashing works - could you please send me your full commandline invocation of the Intel S33 programming via FT2232 cable? My version of xc3sprogs (fresh win32 binary downloaded from the project site) did not recognise any usable cable... but I have no time right now to doublecheck it (university rush, next week Ill get to it). The documentation says that I need libusb to crompile the software, there are some cable specific switches in help list, but I could not find any switch to select my FT2232 cable - are there any, or it should be defected automaticaly? I am a bit confised :-) If you send me and example invocation I will know what is working. Thank you in advance! Best regards, Tomek -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info |
From: Uwe B. <bo...@el...> - 2010-02-08 20:31:56
|
>>>>> "CeDeROM" == CeDeROM <tom...@gm...> writes: CeDeROM> Hello Uwe! On Mon, Feb 8, 2010 at 11:54 AM, Uwe Bonnes CeDeROM> <bo...@el...> wrote: >> For me and some coworkers, xc3sprog works with SPI flash and S33. I >> tested with FT2232 cable and on windows too. So if you have an error >> report or enhancement request, please, be explicit. >> >> For me it looks like people didn't notice the bscan_bpi subdirectory >> and the need to load the bscan_bpi bitmap first. CeDeROM> Uwe, this is good information that S33 flashing works - could CeDeROM> you please send me your full commandline invocation of the CeDeROM> Intel S33 programming via FT2232 cable? My version of xc3sprogs CeDeROM> (fresh win32 binary downloaded from the project site) did not CeDeROM> recognise any usable cable... but I have no time right now to CeDeROM> doublecheck it (university rush, next week Ill get to it). The CeDeROM> documentation says that I need libusb to crompile the software, CeDeROM> there are some cable specific switches in help list, but I CeDeROM> could not find any switch to select my FT2232 cable - are there CeDeROM> any, or it should be defected automaticaly? I am a bit confised CeDeROM> :-) If you send me and example invocation I will know what is CeDeROM> working. Thank you in advance! Tomek, did you read trunk/README, README.Win32 and the other READMEs? ... but I have no time right now to doublecheck it ( work rush ...) Do you have libusb-win32 installed? Does libusb recognise the FT2232? B.t.w. didn't you start with FreeBSD? Why did you switch? Bye -- Uwe Bonnes bo...@el... Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt --------- Tel. 06151 162516 -------- Fax. 06151 164321 ---------- |
From: CeDeROM <tom...@gm...> - 2010-02-08 20:58:57
|
On Mon, Feb 8, 2010 at 8:31 PM, Uwe Bonnes <bo...@el...> wrote: > did you read trunk/README, README.Win32 and the other READMEs? > ... but I have no time right now to doublecheck it ( work rush ...) > > Do you have libusb-win32 installed? Does libusb recognise the FT2232? > B.t.w. didn't you start with FreeBSD? Why did you switch? Yes, I have read readmes, I can read ;] Yes, I do have libusb0.dll in my windows directory installed with libusb-win32-filter-bin-0.1.12.2.exe installer. Yes, the TestLibUsb-win program shows my cable as bus-0/\\.\libusb0-002-0x0403-0xcff8 0403/CFF8 Yes, I have my cable Amontec JTAGkey2P installed and working with UrJTAG. No, my cable is not detected with xc3sprogs, what I get is: "(...) No dongle found Could not open parallel port (null)" This is why I was asking you for a working invocation of the xc3sprog on your machine - to exclude possibility that I have missed some commandline switch. If you need any additional information please let me know :-) If you ask why do I use win32 version not FreeBSD, even through I use FreeBSD commonly on my desktop in everyday life - the answer is simple - because Xilinx did not release their ISE toolset for FreeBSD, linux binaries does not work with my fbsd's linux emulation (yet), and what is most important - I want have proved working configuration to start messing with emulation or virtual machines on my FreeBSD workstation :-) I dont like windows, and how things are done in here, I just want to check what is working, what is not working, why, then create my working environment on FreeBSD. Best regards, Tomek -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info |
From: Uwe B. <bo...@el...> - 2010-02-08 21:21:39
|
>>>>> "CeDeROM" == CeDeROM <tom...@gm...> writes: CeDeROM> On Mon, Feb 8, 2010 at 8:31 PM, Uwe Bonnes CeDeROM> <bo...@el...> wrote: >> did you read trunk/README, README.Win32 and the other READMEs? >> ... but I have no time right now to doublecheck it ( work rush ...) >> >> Do you have libusb-win32 installed? Does libusb recognise the FT2232? >> B.t.w. didn't you start with FreeBSD? Why did you switch? CeDeROM> Yes, I have read readmes, I can read ;] Yes, I do have But I still have not seen the exact commandline you use. >From what I understand you try to use a JtagKey with VID=0x0403 PID=0xCFF8. I have not yet done any coding for ID 403/cff8, so no wonder that it doesn't work yet. I'll try to code a path for ID 403/cff8 the next days. Bye -- Uwe Bonnes bo...@el... Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt --------- Tel. 06151 162516 -------- Fax. 06151 164321 ---------- |
From: Wojciech A. K. <wk...@Fr...> - 2010-02-08 22:40:34
|
On Mon, Feb 08, 2010 at 08:58:50PM +0000, CeDeROM wrote: > On Mon, Feb 8, 2010 at 8:31 PM, Uwe Bonnes > <bo...@el...> wrote: > > did you read trunk/README, README.Win32 and the other READMEs? > > ... but I have no time right now to doublecheck it ( work rush ...) > > [..] > If you ask why do I use win32 version not FreeBSD, even through I use > FreeBSD commonly on my desktop in everyday life - the answer is simple > - because Xilinx did not release their ISE toolset for FreeBSD, linux > binaries does not work with my fbsd's linux emulation (yet), and what > is most important - I want have proved working configuration to start > messing with emulation or virtual machines on my FreeBSD workstation > :-) I dont like windows, and how things are done in here, I just want > to check what is working, what is not working, why, then create my > working environment on FreeBSD. http://wiki.freebsd.org/FreeBSD_Xilinx -- Wojciech A. Koszek wk...@Fr... http://FreeBSD.czest.pl/~wkoszek/ |