Xilinx Setup to edit config for 7i92T

More
1 year 10 months ago #316612 by StoneB
Thanks for your patience - I fixed that and I think I'm one last step from success!

I have been checking at least 5 times now, but I can't find where I have a typo in my pins: it says "mismatch on label in pin_slidersfxg_36...

Here's what I have:
Code:
constant PinDesc : PinDescType :=( --     Base func  sec unit sec func      sec pin                    -- external DB25         IOPortTag & x"00" & NullTag & NullPin,                    -- I/O 00    PIN 1        Output 2 just GPIO         IOPortTag & x"00" & PWMTag & PWMAOutPin,                -- I/O 01    PIN 14      Spindle DAC PWM         IOPortTag & x"00" & StepGenTag & StepGenDirPin,            -- I/O 02    PIN 2        X Dir         IOPortTag & x"00" & NullTag & NullPin,                    -- I/O 03    PIN 15        Fault in just GPIO         IOPortTag & x"00" & StepGenTag & StepGenStepPin,        -- I/O 04    PIN 3        X Step             IOPortTag & x"04" & StepGenTag & StepGenStepPin,        -- I/O 05    PIN 16       Charge Pump (16 KHz)         IOPortTag & x"01" & StepGenTag & StepGenDirPin,            -- I/O 06    PIN 4        Y Dir         IOPortTag & x"00" & NullTag & NullPin,                    -- I/O 07    PIN 17        Output 1 just GPIO         IOPortTag & x"01" & StepGenTag & StepGenStepPin,        -- I/O 08    PIN 5         Y Step         IOPortTag & x"02" & StepGenTag & StepGenDirPin,            -- I/O 09    PIN 6        Z Dir         IOPortTag & x"02" & StepGenTag & StepGenStepPin,        -- I/O 10    PIN 7        Z Step         IOPortTag & x"03" & StepGenTag & StepGenDirPin,            -- I/O 11    PIN 8        A Dir         IOPortTag & x"03" & StepGenTag & StepGenStepPin,        -- I/O 12    PIN 9        A Step         IOPortTag & x"00" & NullTag & NullPin,                    -- I/O 13    PIN 10        Input 1 just GPIO         IOPortTag & x"00" & NullTag & NullPin,                      -- I/O 14    PIN 11        Input 2 just GPIO         IOPortTag & x"00" & NullTag & NullPin,                       -- I/O 15    PIN 12        Input 3 just GPIO         IOPortTag & x"00" & NullTag & NullPin,                        -- I/O 16    PIN 13        Input 4 just GPIO                                                                                              -- 26 HDR    -- IDC DB25             IOPortTag & x"00" & NullTag & NullPin,                    -- I/O 17    PIN 1        PIN 1         Output 2 just GPIO         IOPortTag & x"01" & QCountTag & QCountQAPin,              -- I/O 18     PIN 2        PIN 14        Input 1 (Quad A)         IOPortTag & x"00" & NullTag & NullPin,                    -- I/O 19      PIN 3        PIN 2        Input just GPIO         IOPortTag & x"01" & QCountTag & QCountQBPin,            -- I/O 20    PIN 4        PIN 15        Input 2 (Quad B)         IOPortTag & x"00" & NullTag & NullPin,                    -- I/O 21    PIN 5        PIN 3        Input just GPIO             IOPortTag & x"01" & QCountTag & QCountIdxPin,            -- I/O 22    PIN 6        PIN 16        Input 3 (Quad Idx)         IOPortTag & x"00" & NullTag & NullPin,                    -- I/O 23    PIN 7        PIN 4         Input just GPIO         IOPortTag & x"00" & NullTag & NullPin,                    -- I/O 24    PIN 8        PIN 17        Input just GPIO         IOPortTag & x"00" & NullTag & NullPin,                    -- I/O 25    PIN 9        PIN 5           Input just GPIO         IOPortTag & x"00" & NullTag & NullPin,                    -- I/O 26    PIN 11        PIN 6           Input just GPIO         IOPortTag & x"00" & NullTag & NullPin,                    -- I/O 27    PIN 13        PIN 7        Input just GPIO         IOPortTag & x"00" & NullTag & NullPin,                    -- I/O 28    PIN 15        PIN 8           Input just GPIO         IOPortTag & x"00" & NullTag & NullPin,                    -- I/O 29    PIN 17        PIN 9           Input just GPIO         IOPortTag & x"02" & QCountTag & QCountQAPin,              -- I/O 30    PIN 19        PIN 10        Input 1 (Quad A)         IOPortTag & x"02" & QCountTag & QCountQBPin,              -- I/O 31    PIN 21        PIN 11      Input 2 (Quad B)         IOPortTag & x"02" & QCountTag & QCountIdxPin,            -- I/O 32    PIN 23        PIN 12        Input 3 (Quad Idx)         IOPortTag & x"00" & NullTag & NullPin,                        -- I/O 33    PIN 25        PIN 13        Input 4 just GPIO

Please Log in to join the conversation.

More
1 year 10 months ago #316613 by PCW
Please post the entire PINxxxx file

Please Log in to join the conversation.

More
1 year 10 months ago #316615 by StoneB

You have the old (G540) package name in your pinout file

While copying the file for pasting I noticed that while I had changed the package name at the start of the file, I had forgotten to change it at the end...

It compiles!! I'll flash it tomorrow 
Thank you for all your help!

Please Log in to join the conversation.

More
1 year 10 months ago #317571 by StoneB
Sorry @PCW, I need to request your help once more... I tried flashing the bin file with
Code:
sudo mesaflash --device 7i92T --addre 10.10.10.10 --write 7i92t_slidersfg.bin

and I get 
Error: Wrong bitfile destination device: Trion, should be T20F256

Should I have set somewhere in Efinity the type of board used? I started simply from the 7i92t.zip, taking the 7i92t_G540x2_34 file as basis...

Please Log in to join the conversation.

More
1 year 10 months ago #317572 by PCW
That most likely means you don't have a very recent mesaflash installation.

The bin file header parsing was changed on more recent mesaflash versions
to accommodate longer path-names (the build path-name is embedded in
the .bin file header)

Please Log in to join the conversation.

More
1 year 10 months ago #317577 by StoneB
Victory! (of step 1, now I move on to step 2, building my HAL  )

I am using the Raspi build ( forum.linuxcnc.org/9-installing-linuxcnc...erry-pi-4b-5?start=0 ), but after recompiling mesaflash from git it worked flawlessly!

Thank you so much for guiding me along!

Please Log in to join the conversation.

Time to create page: 0.129 seconds
Powered by Kunena Forum