[casper] Booting problem

2009-09-09 Thread C-H Cheng
Hello

I set usbboot following this webpage:
http://casper.berkeley.edu/wiki/Roach_getting_started

of course, I save the changes to non-volatile flash:
"saveenv"

Now I meet a problem is I want to update the new version 
uImage-rmon-20090904.
Due to saveenv for usbboot automatically, I can't type anything and ROACH 
has no interrupt booting process.
How should I do to stop the automatic booting process and update the new 
version of uImage?
Thanks.

Regards C-H Cheng 



Re: [casper] ROACH file copy failure (Laura Spitler)

2009-09-15 Thread C-H Cheng
Hello Laura

I also had the same experience with this problem.
The first, I assume you set all environment variables are OK.
Then, you can change the documation path of libraries.
For example, I set my path as "C:\casper\mlib_devel_10_1\... ".
Previous setting is "C:\Program Files\MATLAB...", this setting will occur the 
problem for copying XPS_ROACH_base files.

Regards C-H Cheng

[casper] PowerPC U-Boot Configuration

2009-09-16 Thread C-H Cheng
Hello

I had erased/corrupted the flash memory during updating and I used OCD 
commander to program PPC's uboot over USBWiggler. Of course I had the 
macro(program.mac), too. 
I follow the web page:
http://casper.berkeley.edu/wiki/ROACH_Bringup#PowerPC_U-Boot_Configuration

When I execute the OCD commander with macro, OCD commander show me a lot of 
messages and the last line is "word 0x71000ffc = 0x4bfff004". Then, OCD 
commander stop working
At the same time, I try to transfer uboot file to ROACH over serial port but no 
reponse.
How could I do to complete the configuration?

Regards C-H Cheng


Re: [casper] PowerPC U-Boot Configuration

2009-09-16 Thread C-H Cheng

Hello David

I try the mac file
http://casper.berkeley.edu/svn/trunk/roach/production/test_software/roach_testing/macraigor_macros/loadram_rinit_auto.mac
it works.
But the ROACH can't complete the whole uboot process.
The screen only shows the message as follows:
---
U-Boot 2008.10-svn2226 (Aug  7 2009 - 16:06:44)

CPU:   AMCC PowerPC 440EPx Rev. A at 660 MHz (PLB=165, OPB=82, EBC=82 MHz)
  No Security/Kasumi support
  Bootstrap Option H - Boot ROM Location I2C (Addr 0x52)
  32 kB I-Cache 32 kB D-Cache
Board: Roach
I2C:   ready
DTT:   1 is 30 C
DRAM:  (spd v1.2)  1 GB
---
What's happened?

Regards C-H Cheng



- Original Message - 
From: "David George" 

To: "C-H Cheng" 
Cc: 
Sent: Wednesday, September 16, 2009 6:31 PM
Subject: Re: [casper] PowerPC U-Boot Configuration



Hi.

Hello
I had erased/corrupted the flash memory during updating and I used OCD
commander to program PPC's uboot over USBWiggler. Of course I had the
macro(program.mac), too.
I follow the web page:
http://casper.berkeley.edu/wiki/ROACH_Bringup#PowerPC_U-Boot_Configuration

When I execute the OCD commander with macro, OCD commander show me a
lot of messages and the last line is "word 0x71000ffc = 0x4bfff004".
Then, OCD commander stop working

It looks like you have the correct macro - you would typically get that
macro from the roach production files at:
http://casper.berkeley.edu/svn/trunk/roach/production/test_software/roach_testing/macraigor_macros/loadram_rinit_auto.mac

The final command that the macro runs is 'exit', which closes OCD
commander. So OCD commander closing unexpected is a feature not a bug!
Once OCD commander quits you should start seeing activity on the serial
port. Wait a while (more than 10s I think) until a character starts
repeating (it looks like an S in hyperterminal). When this happens you
are ready to transfer. Use XMODEM (not YMODEM) to xfer the u-boot.bin
file. You'll find the latest file in:
http://casper.berkeley.edu/svn/trunk/roach/sw/binaries/uboot/

You should have uboot running after the xmodem transfer completes.

Cheers.

--
David George
Digital Design Engineer
Karoo Array Telescope
Tel: +27 21 531-7282
Fax: +27 21 531-9761
Email:   david.geo...@ska.ac.za
Web: www.ska.ac.za 





[casper] Telnet error

2009-09-21 Thread C-H Cheng
Hello

I follow the ROACH 10GbE tutorial:
http://casper.berkeley.edu/wiki/ROACH_10GbE_tutorial
and I get some error message:
--
Connecting to server 140.109.176.237 on port 7147...  ERROR connecting to 
server 140.109.176.237 on port 7147.

FAILURE DETECTED. Log entries:
140.109.176.237: Starting thread Thread-1
None
FAILURE DETECTED. Log entries:
140.109.176.237: Starting thread Thread-1
140.109.176.237: Stopping thread Thread-1
None
Traceback (most recent call last):
  File "10gbe_demo.py", line 272, in 
exit_fail()
  File "10gbe_demo.py", line 33, in exit_fail
fpga.stop()
  File "/usr/local/lib/python2.6/dist-packages/corr/katcp_wrapper.py", line 
250, in stop
super(FpgaClient,self).stop()
  File 
"/usr/local/lib/python2.6/dist-packages/katcp-0.1.4-py2.6.egg/katcp/client.py", 
line 449, in stop
raise RuntimeError("Attempt to stop client that wasn't running.")
RuntimeError: Attempt to stop client that wasn't running.

I use the uboot : 20090811-uboot-nohack
  kernel : uImage-rmon-20090904
filesystems: ROACH_filesystem_etch_2009_08_14
Also the telnet in ROACH setup OK and I can telnet to ROACH. (port 23, and 7147 
are opened in ROACH)
Any idea?

Regards, 
C-H Cheng

[casper] Error in PhysDesignRules

2009-10-19 Thread C-H Cheng
Hello

I use ISERDES to receive data over Black Box.
Simulation in Simulink is OK.
But while I generate the bof file over bee_xps, the error occurs!
The error message is as follows:
---
ERROR:PhysDesignRules:1242 - Invalid connection used for ISERDES. The ISERDES 
   comp 
   
roach_iserdes_6bit_XSG_core_config/roach_iserdes_6bit_XSG_core_config/roach_i 
   serdes_6bit_x0/iserdes_6bit/Iserdes_master D pin signal 
   roach_iserdes_6bit_gpio_gateway is not driven from an IO. 
ERROR:Pack:1642 - Errors in physical DRC. 
---

I also find some information about this error.
http://www.xilinx.com/support/answers/31620.htm

Should I fix the UCF file? or other idea?

Regards,
C-H Cheng

[casper] Error in PhysDesignRules

2009-10-20 Thread C-H Cheng
Hello

I update the error information.
While the output of ISERDES (build over Black Box) connects to shared bram of 
CASPER library, reinterpret, soft register of CASPER library and snap, the 
error still occurs.
Only one situation the error disappears that is the output of ISERDES connects 
nothing or connects to scope over gateway out.
This is very confused me!
The simulation in Simulink is OK, but during generateing bof file, the error 
will occur at mapping stage.
And I can get the error message:
ERROR:PhysDesignRules:1242 - Invalid connection used for ISERDES.
Also the error appears in the "input" of ISERDES.
Any idea?

Regards,
C-H Cheng

[casper] ISERDES in ROACH

2009-10-28 Thread C-H Cheng
Dear All,

I want to use ISERDES in ROACH.
I also use Black Box to impletement but there is error in mapping process 
during generating bof file.
Any good idea?

Regards,
C-H CHeng



[casper] program ROACH over JTAG

2009-11-03 Thread C-H Cheng
Hello All

If I want to simulate a design in ISE and generate a bit file to download to 
ROACH over JTAG.
A problem I meet is the FPGA pin number assignment.
For example, in ISE I select the device is vxs95t and the FPGA pin assignment 
in ucf file is according to my desing.
But ROACH has a lot of FPGA pins which are not in my design but needed for 
ROACH, sys_clk_n, sys_clk_p, aux0_clk_p, aux_clk_n, ppc_irq_n, ...etc.
Hence, I can't add these FPGA pins which ROACH is needed into the ucf file of 
my design.
Otherwise, I will meet error in mapping process.
How could I simulate my design and program ROACH over JTAG?

Regards,
C-H Cheng

Re: [casper] program ROACH over JTAG

2009-11-04 Thread C-H Cheng

Hello Suraj

Thanks for you explanation.
Maybe I don't describe clearly.
I mean if I want program the FPAG on ROACH over JTAG.
Also, the bit file is generated by Xilinx ISE not CASPER toolflow.
In this moment, the ucf file of my design is only included the IO pins of my 
design.

But a lot of pins that ROACH are needed are not included in my design.
How could I program the FPGA of ROACH with my bit file?

Thanks,
C-H Cheng


Hello,

On Nov 3, 2009, at 6:39 PM, C-H Cheng wrote:


Hello All

If I want to simulate a design in ISE and generate a bit file to 
download to ROACH over JTAG.
You can do this using the .bit generated by the CASPER toolflow, 
available in the same location as the .bof.  bof files are generated  from 
.bit files using the script 'mkbof' distributed in  'XPS_ROACH_BASE'.



A problem I meet is the FPGA pin number assignment.
For example, in ISE I select the device is vxs95t and the FPGA pin 
assignment in ucf file is according to my desing.
But ROACH has a lot of FPGA pins which are not in my design but  needed 
for ROACH, sys_clk_n, sys_clk_p, aux0_clk_p, aux_clk_n,  ppc_irq_n, 
...etc.
Part of the magic of the toolflow is that it adds the necessary IO  pins 
to the .ucf depending on which IO blocks you have selected to use  (10gbe, 
adc, etc.).  It's part of the reason that IO blocks get  special 
designation as "yellowblocks", as they are processed  differently for each 
block.


Hence, I can't add these FPGA pins which ROACH is needed into the  ucf 
file of my design.
It would definitely be faster to just put the I/O blocks you want to  use 
into a blank model file, and use the CASPER toolflow to generate  the 
.ucf, by un-checking the boxes for 'update system design', 'system 
generator', and 'ISE/EDK/bitgen' in the 'bee_xps' dialog.  This should 
take about a minute to complete.


-Suraj