Re: [Balloon] Fw: Re: Fw: FPGA file

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Wookey
Date:  
To: Chris Jones
CC: Balloon
New-Topics: Re: [Balloon] Fw: Re: Fw: FPGA file
Subject: Re: [Balloon] Fw: Re: Fw: FPGA file
+++ Chris Jones [2009-11-09 13:25 +0000]:
> Wookey wrote:
>> The FPGA variant of balloon has not been getting much attention
>> recently so it's not much of a surprise that 'latest' build from
>> balloonboard SVN seems to be broken.
> > ...
> >
>>
>> Looks loading the image is not in fact not working. Anyone care to
>> guess why (CJ?)
>
> It's extremely likely that the .bin file in Subversion is out of date. I
> wouldn't expect the FPGA version to work without being rebuilt from
> source. The FPGA and CPLD versions are both built from (mostly) the same
> source. I've been keeping the CPLD .jed file up to date with the source
> as far as possible, but the FPGA .bin file is likely to have fallen far
> behind.
>
> Strictly speaking, the .bin and .jed files shouldn't be in svn at all,
> since they're built files, not source, but they're there as a
> convenience to those who haven't allowed their hard drives to be swamped
> by gigabytes of Xilinx tools.
>
> If you've got Xilinx ISE 9.2i to hand, try opening the FPGA project file
> and rebuilding it.


That's what we did, after changing the tcl-specific pinko serial port
mapping back (possibly not correctly - is this right?):
--- balloon3-tcl.vhd    2009-11-05 18:58:29.000000000 +0000
+++ balloon3.vhd    2009-11-05 18:59:44.000000000 +0000
@@ -743,15 +743,15 @@


-- On tcl board com1 goes on to pinko
-- connect pinko wiring up. CTS is bit 2 of general control register.
-pinko_txd <= com1_bttxd;
-com1_btrxd <= pinko_rxd;
-pinko_cts <= control_latch(2);
+--pinko_txd <= com1_bttxd;
+--com1_btrxd <= pinko_rxd;
+--pinko_cts <= control_latch(2);

 -- On other boards com1 is not copied to pinko
---pinko_txd    <=  '0';
---pinko_cts    <=  '1';
+pinko_txd    <=  '0';
+pinko_cts    <=  '1';
 ---- allow external devices to talk to COM1
---com1_btrxd    <=  'Z';
+com1_btrxd    <=  'Z';


--DEBUG
--green_led <= nand_select;

So the fpga.bin file Paul tested should be up to date at least.

I've also discovered that openocd 0.3.0-rc0-tcl isn't happy with
combined-chain pxa+fpga. Config file is checked in and appears
congruent with the BSDL file, and works in single-chain mode. Not sure
what's going on there but I suspect someone hardwarier needs to take a
look. Edit balloon3-amontec(2).cfg to select CPLD/FPGA at the moment.
Smarter config to autodetect would be good there.

We don't need the FPGA JTAG port for anything other than ignoring it
whilst programming the CPU/flash, but it does need to do at least that.

Tiresomely, I can't get ISE 9.2i to run on adm64 linux anymore,
although I think it used to, and 10.1 wouldn't install. So we used
windows.

Wookey
--
Principal hats: iEndian - Balloonboard - Toby Churchill - Emdebian
http://wookware.org/