No 7C81 board found

More
26 Aug 2022 21:40 #250546 by PCW
Replied by PCW on topic No 7C81 board found
Its a 5abobx3 configuration but with a EPP interface

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

More
26 Aug 2022 21:56 #250547 by Me3
Replied by Me3 on topic No 7C81 board found
So you could configure linuxcnc to use an EPP port with a 7c81 , without requiring a RaspberryPi? Wow, that's what I call versitile!

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

More
24 Aug 2023 15:58 #278873 by MLei
Replied by MLei on topic No 7C81 board found
Hi
I have this similar problem with my 7c81 after writing with my BIT file to wrong area by using --fallback option. Well now all leads are illuminating constantly when powering up and SPI is not connecting. Also same message:

unable to set bpw32, fallback to bpw8
Unexpected cookie at 0100..0110:
00000000 00000000 00000000
No 7C81 board found

Just made this EPP cable and one linuxcnc pc is set up for running mesaflash.
Now I am wondering two things. I am linux beginner really,.
1. If my motherboard integrated parallel port is EPP capable. How to check it?
2. Practical command line to give,.
sudo mesaflash --verbose --epp --device 7c81 --addr /dev/parport0 --fallback --write FILEname.BIT

Is that right way to do it? --addr setting and what actually write and where? 7c81_fallback.bit to fallback area?
Thanks for your help. I am sure this might help also someone else.

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

More
24 Aug 2023 16:38 #278875 by PCW
Replied by PCW on topic No 7C81 board found
If the FPGA is not configured at startup, you will need to JTAG program the FPGA
to bootstrap to the point you can use mesaflash.

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

More
24 Aug 2023 18:24 #278877 by MLei
Replied by MLei on topic No 7C81 board found
Ok, thanks. Now after proper reading card manual,. it is really well said there.
I am still thinking. Can this happen if you write 7c81_5abobx3d.bit file to --fallback area?
Ok, next step is to find JTAG tool then :)

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

More
24 Aug 2023 19:14 #278881 by PCW
Replied by PCW on topic No 7C81 board found
No, writing any 7C81 firmware file to the fallback area should not have caused this

Are you sure there was not a communication issue that corrupted the update?

Do you have the suggested short (2 inches or less) flat cable between the RPI and the 7C81?

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

More
24 Aug 2023 19:48 #278887 by MLei
Replied by MLei on topic No 7C81 board found
Flat cable is well below 2 inches. Its PI3 what I am using here..
INIT led was blinking and DONE led was not illuminated. -> it was at fallback state. It came in this state. Do these have any user configuration on when they are sold?

Tried several times to write user image
sudo mesaflash --device 7C81 --addr /dev/spidev0.0 --spi --fix-boot-block --write 7c81_5abobx3d.bit
sudo mesaflash --device 7c81 --addr /dev/spidev0.0 --spi --readhmid
was printing normally but without pin info.
Then I wrote this same file to fallback area and card jammed. It might have been SPI error or something else.

All JTAG programming tips or links would be nice.

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

More
24 Aug 2023 19:57 #278888 by PCW
Replied by PCW on topic No 7C81 board found
All 7C81s shipped have a user configuration (7c81_5abobx3d.bit) pre-installed so a blinking init light indicates a corrupted user area.

The normal fallback would be a configuration with just GPIO.

Fixing the boot block or writing to the fallback area are not things to be done lightly

Make sure you have the latest mesaflash

To fix via JTAG, you would

1. Program the FPGA via JTAG with any 7C81 SPI bitfile
2. Restore the user and fallback configurations via mesaflash from the RPI

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

More
26 Aug 2023 17:55 #279013 by MLei
Replied by MLei on topic No 7C81 board found
Thanks for your kind help! This case and my mistake is solved now!
In case if someone finds this helpful,. this is what I made:

Didn't use any JTAG cable/adapter but instead installed openOCD to this same PI3. Then some JTAG wiring and successful programming to the Spartan6.
Followed this: catleytech.com/?p=2679

Changing over to 40 pin flat cable,. short enough,..
Then, without powering down the MESA card, wrote bit file to user area.

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

Moderators: PCWjmelson
Time to create page: 0.115 seconds
Powered by Kunena Forum