[solved] Need help with RV901T as MESA 7i90: SPI isn't working

More
2 years 7 months ago #296841 by PCW
SI stands for Signal Integrity

Note that adding the logic analyser
(if it does not have resistors in the actual probe clips)
will cause major SI issues by itself

You might try with the LA disconnected
Another possibility is adding a series termination
resistor to the clock line source end (say 47 Ohm)
The following user(s) said Thank You: ago_tm

Please Log in or Create an account to join the conversation.

More
2 years 7 months ago #296846 by ago_tm

Did you change the values for he DCM sections to take into account the 25MHz clock ?

I just looked at my sources...

Hello cornholio,

I would be grateful if you could share your sources for 7i81. I will try to compare with the original to doublecheck the places I have changed already.

Please Log in or Create an account to join the conversation.

More
2 years 7 months ago #296850 by Cant do this anymore bye all
I think I recall you were powering the board from 3.5v I’d check the output from the voltage regs, just to make sure everything is as it should be.

I noticed that in your card file you changed the clock values from constants to integer values, that wasn’t needed, neither was changing the card name values, but that should be neither here nor there.

For some reason I can’t find the SPI sources for the rv901t, tho I do have EPP but These are for 7c81 as my poor board has a couple of issues with the knuckle dragger who desoldered 2 chips, yeah a broken track per chip.

At this stage it might well worth loading a led flasher type bitstream just to confirm operation of the board.

Also Pete’s suggestion about disconnecting the logic analyser would be an idea. All I used was a multimeter just to check that the power rails were good.

With clocks 8 has to become 16 and 4 has to become 8, so there’s only 2 values to change.

During my experiments I was only using a single GND. Mesaflash worked fine, but wasn’t so great when communicating with the driver, I had to limit the clock speed.
The following user(s) said Thank You: ago_tm

Please Log in or Create an account to join the conversation.

More
2 years 7 months ago #296940 by ago_tm
Guys, thanks a lot! Looks like there was my bad with the not very qualified soldering. I desoldered all the pads and cleaned the mask from them. Then returned all back and it start working! even with analyzer.

Still had to find the place of checking the crystal in mesaflash to avoid this:
Code:
sudo ./mesaflash --device 7i90 --spi --addr /dev/spidev0.0 --fallback --write ~/Downloads/topgcspihostmot2.bit Checking file... OK File type: Xilinx bit file Error: wrong bitfile destination device: 6slx16ftg256, should be 6slx9tqg144

But this is the minor thing. Thanks again!
Code:
sudo ./mesaflash --device 7i90 --spi --addr /dev/spidev0.0 --readhmid --verbose unable to set bpw32, fallback to bpw8 Configuration Name: HOSTMOT2 General configuration information: BoardName : MESA7I90 FPGA Size: 16 KGates FPGA Pins: 256 Number of IO Ports: 3 Width of one I/O port: 24 Clock Low frequency: 100.0000 MHz Clock High frequency: 200.0000 MHz IDROM Type: 3 Instance Stride 0: 4 Instance Stride 1: 64 Register Stride 0: 256 Register Stride 1: 256

Added [solved] to header!

Please Log in or Create an account to join the conversation.

More
2 years 7 months ago #296942 by ago_tm
Sorry, removed [solved] for a while...

Code:
sudo ./mesaflash --device 7i90 --spi --addr /dev/spidev0.0 --fallback --write ~/Downloads/topgcspihostmot2.bit Checking file... OK File type: Xilinx bit file Error: wrong bitfile destination device: 6slx16ftg256, should be 6slx9tqg144 But this is the minor thing. Thanks again!

Hmmm... I easily changed the following line
Code:
board->llio.fpga_part_number = "6slx16ftg256";
but now I faced with the BootBlock...
Code:
$ sudo ./mesaflash --device 7i90 --spi --addr /dev/spidev0.0 --fix-boot-block --fallback --write ~/Downloads/topgcspihostmot2.bit unable to set bpw32, fallback to bpw8 Checking file... OK File type: Xilinx bit file Erasing sector 0 for boot block BootBlock installed Failed to write valid boot sector

Is it possible to write the fallback bitstream to the flash using mesaflash in my case?

Please Log in or Create an account to join the conversation.

More
2 years 7 months ago #296947 by PCW
what does:

sudo ./mesaflash --device 7i90 --spi --addr /dev/spidev0.0 --verbose

report?

Please Log in or Create an account to join the conversation.

Moderators: PCW, jmelson
Time to create page: 0.188 seconds
Powered by Kunena Forum