5i25 build bit
- grandixximo
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 132
- Thank you received: 5
31 Aug 2013 10:17 #38283
by grandixximo
5i25 build bit was created by grandixximo
I'd like to make a personalized bit file for the 5i25 card.
I have downloaded the source from mesa, i got xilinx ise 14.6 installed on linux, i opened the PlanAhead GUI, opened the fivei25.xise project, and it loads, but when i try to implement i get this error
[HDLCompiler 69] <sssidataaddr> is not declared. ["/home/aitek/5i25/configs/hostmot2/source/PIN_SISVST6_2_3_7I47_48.vhd":77]
and i have no idea how to fix that, any suggestions?
I have downloaded the source from mesa, i got xilinx ise 14.6 installed on linux, i opened the PlanAhead GUI, opened the fivei25.xise project, and it loads, but when i try to implement i get this error
[HDLCompiler 69] <sssidataaddr> is not declared. ["/home/aitek/5i25/configs/hostmot2/source/PIN_SISVST6_2_3_7I47_48.vhd":77]
and i have no idea how to fix that, any suggestions?
Please Log in or Create an account to join the conversation.
- PCW
- Offline
- Moderator
Less
More
- Posts: 17904
- Thank you received: 4774
31 Aug 2013 10:26 - 31 Aug 2013 10:36 #38285
by PCW
Replied by PCW on topic 5i25 build bit
There have been a bunch of changes to the SSI interface lately and few pin files that have a SSI interface included have not been updated.
Try editing PIN_SISVST6_2_3_7I47_48.vhd and changing
SSSIDataAddr to SSSIDataAddr0
I answered without considering if you wanted that particular configuration.
If not, you need to edit TopPCIHostMot2 and change the selected PINXXXX file
Try editing PIN_SISVST6_2_3_7I47_48.vhd and changing
SSSIDataAddr to SSSIDataAddr0
I answered without considering if you wanted that particular configuration.
If not, you need to edit TopPCIHostMot2 and change the selected PINXXXX file
Last edit: 31 Aug 2013 10:36 by PCW.
Please Log in or Create an account to join the conversation.
- grandixximo
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 132
- Thank you received: 5
31 Aug 2013 10:42 #38286
by grandixximo
Replied by grandixximo on topic 5i25 build bit
Yes that did it! Thank you!
Do you know here are the bit files saved?
Do you know here are the bit files saved?
Please Log in or Create an account to join the conversation.
- PCW
- Offline
- Moderator
Less
More
- Posts: 17904
- Thank you received: 4774
31 Aug 2013 11:33 #38288
by PCW
Replied by PCW on topic 5i25 build bit
Normally in the source directory, in this case: TopPCITargetHostMot2.bit
Please Log in or Create an account to join the conversation.
- grandixximo
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 132
- Thank you received: 5
31 Aug 2013 11:58 #38289
by grandixximo
Replied by grandixximo on topic 5i25 build bit
Found it, it was in the project folder actually, sometimes the search tool on ubuntu lucid turns up nothing, don't get why.
Now if i would like to build the PROB_RFx2 bit file, i should go in the TopPCITargetHostMot2.vhd source and change the target, by commenting out all targets but this
use work.PIN_PROB_RFx2_34.all;
so now the resulting TopPCITargetHostMot2.bit should be renamed as prob_rfx2.bit and flashed in the 5i25
is this right?
do i need the .pin file, or is it just for human refence?
what about the xml, i only need them for PNCconf i don't really need them if i do my hal and ini files by hand right?
Now if i would like to build the PROB_RFx2 bit file, i should go in the TopPCITargetHostMot2.vhd source and change the target, by commenting out all targets but this
use work.PIN_PROB_RFx2_34.all;
so now the resulting TopPCITargetHostMot2.bit should be renamed as prob_rfx2.bit and flashed in the 5i25
is this right?
do i need the .pin file, or is it just for human refence?
what about the xml, i only need them for PNCconf i don't really need them if i do my hal and ini files by hand right?
Please Log in or Create an account to join the conversation.
- PCW
- Offline
- Moderator
Less
More
- Posts: 17904
- Thank you received: 4774
31 Aug 2013 12:16 #38290
by PCW
Replied by PCW on topic 5i25 build bit
Yes, thats right.
The pin file is just for your reference
and the xml file is just for pncconf.
If you make a new pin file, (for a new configuration) its easiest to copy
one thats similar to what you want and edit that one, and then add the
pinxxx.vhd source to the project.
The pin file is just for your reference
and the xml file is just for pncconf.
If you make a new pin file, (for a new configuration) its easiest to copy
one thats similar to what you want and edit that one, and then add the
pinxxx.vhd source to the project.
The following user(s) said Thank You: akb1212
Please Log in or Create an account to join the conversation.
- grandixximo
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 132
- Thank you received: 5
31 Aug 2013 12:19 - 31 Aug 2013 12:33 #38291
by grandixximo
Replied by grandixximo on topic 5i25 build bit
i was just thinking about that, to add and extra pinxxx.vhd to the source do i just paste it in there?
Or do i need to include it somewhere in the code too?
EDIT:
i changed the xise project file, added my file in there and reimported the project, seems to work, thanks again for the help
Or do i need to include it somewhere in the code too?
EDIT:
i changed the xise project file, added my file in there and reimported the project, seems to work, thanks again for the help
Last edit: 31 Aug 2013 12:33 by grandixximo.
Please Log in or Create an account to join the conversation.
- PCW
- Offline
- Moderator
Less
More
- Posts: 17904
- Thank you received: 4774
31 Aug 2013 12:42 #38292
by PCW
Replied by PCW on topic 5i25 build bit
Normally for new source, you just right click in the sources pane and select "add source"
if you set the file browser to sort by modified, you can just scroll to the end and your new file will be there...
if you set the file browser to sort by modified, you can just scroll to the end and your new file will be there...
Please Log in or Create an account to join the conversation.
- grandixximo
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 132
- Thank you received: 5
31 Aug 2013 13:23 - 31 Aug 2013 15:43 #38293
by grandixximo
Replied by grandixximo on topic 5i25 build bit
Got it.
I build the new bit file and I flashed it with mesaflash, but Linuxcnc still reads the old pin settings, i tried rebooting the PC, but nothing, where does Linux get the list of pins for the 5i25?
EDIT:
Figured it out, I was restarting the PC, but I had to actually power it off for some seconds and then start it up again, restart did not reboot the card properly and the old firmware must have still been loaded!
I build the new bit file and I flashed it with mesaflash, but Linuxcnc still reads the old pin settings, i tried rebooting the PC, but nothing, where does Linux get the list of pins for the 5i25?
EDIT:
Figured it out, I was restarting the PC, but I had to actually power it off for some seconds and then start it up again, restart did not reboot the card properly and the old firmware must have still been loaded!
Last edit: 31 Aug 2013 15:43 by grandixximo.
Please Log in or Create an account to join the conversation.
- PCW
- Offline
- Moderator
Less
More
- Posts: 17904
- Thank you received: 4774
31 Aug 2013 21:21 #38311
by PCW
Replied by PCW on topic 5i25 build bit
Yes, 5I25 firmware reload is triggered by a power cycle
not a reboot or PCI reset.
not a reboot or PCI reset.
Please Log in or Create an account to join the conversation.
Moderators: PCW, jmelson
Time to create page: 0.068 seconds