Not having Xilinx Impact tool on the Rpi (or anywhere
at the moment), I found a tutorial on setting up
OpenOCD for jtag on the Rpi.  I have installed OpenOCD 
on my RPi 3B+ and connected the gpio to the JTAG pins 
on the 7i90HD, following this tutorial:

https://movr0.com/2016/09/02/use-raspberry-pi-23-as-a-jtagswd-adapter/

The last step seems to be to make a configuration
file for the target device.  The EEPROMs are WInbond
25Q16JVNIQ as best I can read the chip labels.  OpenOCD
doesn't have anything that looks directly applicable.
I also don't know where the two chips are in the jtag
chain.

Am I heading down a rat hole, or getting close to success?

Thanks again.
-- Ralph
________________________________________
From: Peter C. Wallace [p...@mesanet.com]
Sent: Thursday, January 7, 2021 3:47 PM
To: Enhanced Machine Controller (EMC)
Subject: Re: [Emc-users] Rpi 3b+ to 7i90hd

CAUTION: This email originated from outside the Walla Walla University email 
system.


On Thu, 7 Jan 2021, Ralph Stirling wrote:

> Date: Thu, 7 Jan 2021 23:37:03 +0000
> From: Ralph Stirling <ralph.stirl...@wallawalla.edu>
> Reply-To: "Enhanced Machine Controller (EMC)"
>     <emc-users@lists.sourceforge.net>
> To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net>
> Subject: Re: [Emc-users] Rpi 3b+ to 7i90hd
>
> I assumed that the 7i90hd would recognize SPI
> directly, like the 7c81 does.  Do I have to go
> dig up a parallel port computer from somewhere
> and get at least mesaflash running on it just
> so I can get spi working for the pi?  That is an
> unfortunate hurdle.  I don't see anything in the
> manual about needing to load the correct bitstream
> over parallel in order to use spi.  In fact, I read
> this in the manual:

Yep, you need to have SPI firmware loaded in the 7I90HD
default 7I90HD firmware is EPP, so a device with a EPP
interface is needed to load the SPI configuration
I would suggest loading the SPI interface into the
secondary flash leaving the primary as EPP for a fallback

That is, power the 7I90 with the flash jumper in the "P" position
them move the jumper to "S" before loadin the SPI firmware


>
> "Linux and Windows utility programs mesaflash and mesaflash.exe are provided 
> to
> write configuration files to the 7I90HD EEPROM via the RS-422 interface and 
> LBP16. The
> linux utility can also write configuration files via the EPP interface. These 
> files depend on
> a simple SPI interface built into both the standard user FPGA bitfiles and 
> the fallback
> bitfile."


Well there are 2 SPI interfaces, the HM2 compatible host interface (which needs
specific SPI firmware) and the SPI Flash memory interface (which is in HM2
memory space and allows access to the SPI flash chip)

>
> I can tack on a pullup to SDO.  I have put four
> scope probes on the four signals, and see data
> when interrogating the 7c81, but not the 7i90hd.
> The clock from the pi is correct.
>
> Thanks again.
> -- Ralph
> ________________________________________
> From: Peter C. Wallace [p...@mesanet.com]
> Sent: Thursday, January 7, 2021 3:18 PM
> To: Enhanced Machine Controller (EMC)
> Subject: Re: [Emc-users] Rpi 3b+ to 7i90hd
>
>
> Looks right
>
> 2 layer should be fine as long as the ground is solid (wide)
> between the 7I90 and the RPI (and lo longer than a couple of
> inches
>
> You might try adding a pullup to SDO (7I90 15) to see if you read
> 0xFFFFFFFF which would indicate the the 7I90 is not driving SDO
>
> Sure you have a SPI config in the 7I90?
>
>
> Peter Wallace
> Mesa Electronics
>
> (\__/)
> (='.'=) This is Bunny. Copy and paste bunny into your
> (")_(") signature to help him gain world domination.
>
>
>
> _______________________________________________
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Femc-users&amp;data=04%7C01%7Cralph.stirling%40wallawalla.edu%7C5c8bbaf5f3984eec51d008d8b366a9bc%7Cd958f048e43142779c8debfb75e7aa64%7C0%7C0%7C637456600811311135%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=m8smz8GxQR83SZ5IKfEacp6Rr12LQnmpghFS5H0l1JM%3D&amp;reserved=0
>
>
> _______________________________________________
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Femc-users&amp;data=04%7C01%7Cralph.stirling%40wallawalla.edu%7C5c8bbaf5f3984eec51d008d8b366a9bc%7Cd958f048e43142779c8debfb75e7aa64%7C0%7C0%7C637456600811311135%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=m8smz8GxQR83SZ5IKfEacp6Rr12LQnmpghFS5H0l1JM%3D&amp;reserved=0
>

Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination.



_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Femc-users&amp;data=04%7C01%7Cralph.stirling%40wallawalla.edu%7C5c8bbaf5f3984eec51d008d8b366a9bc%7Cd958f048e43142779c8debfb75e7aa64%7C0%7C0%7C637456600811311135%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=m8smz8GxQR83SZ5IKfEacp6Rr12LQnmpghFS5H0l1JM%3D&amp;reserved=0


_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to