Question about custom BOB for a 7i92
- blazini36
- Away
- Platinum Member
-
Less
More
- Posts: 961
- Thank you received: 162
27 Mar 2025 04:08 #325028
by blazini36
Replied by blazini36 on topic Question about custom BOB for a 7i92
P2, Pin3, IO-2If you tell me the new PWM pin number or GPIO number is needed, I can add it
(Probably tomorrow)
Please Log in or Create an account to join the conversation.
- unknown
- Offline
- Elite Member
-
Less
More
- Posts: 272
- Thank you received: 93
27 Mar 2025 04:33 #325029
by unknown
14.7 is here: www.xilinx.com/support/download/index.ht...ols/archive-ise.html
Install tips here: gist.github.com/aliemo/ce58ea570ee6ffa6d...k_comment_id=5040735
And a fair tutorial is here: tom-itx.no-ip.biz:81/~webpage/emc/xilinx...14_install_index.php
Only have experience with the Xilinx Tools for the Spartan chips.
Using efinix software is not something I've had to do, but I think it has been mentioned on the forum.
Replied by unknown on topic Question about custom BOB for a 7i92
The 7i92 uses the Xilinx Spartan 6 FPGA, so you'll need Xilinx ISE.
No the firmware has to be rebuilt and the FPGA reprogrammed. It's not so hard to build firmware yourself.
I suppose you mean with the Efinix software? If ya get bored and wanna point me in the right direction......
14.7 is here: www.xilinx.com/support/download/index.ht...ols/archive-ise.html
Install tips here: gist.github.com/aliemo/ce58ea570ee6ffa6d...k_comment_id=5040735
And a fair tutorial is here: tom-itx.no-ip.biz:81/~webpage/emc/xilinx...14_install_index.php
Only have experience with the Xilinx Tools for the Spartan chips.
Using efinix software is not something I've had to do, but I think it has been mentioned on the forum.
Please Log in or Create an account to join the conversation.
- PCW
-
- Offline
- Moderator
-
Less
More
- Posts: 18379
- Thank you received: 5017
27 Mar 2025 14:08 #325057
by PCW
Replied by PCW on topic Question about custom BOB for a 7i92
1 more PWM added (this is Efinix for 7I92T)
Attachments:
The following user(s) said Thank You: blazini36
Please Log in or Create an account to join the conversation.
- blazini36
- Away
- Platinum Member
-
Less
More
- Posts: 961
- Thank you received: 162
28 Mar 2025 05:01 - 28 Mar 2025 06:18 #325139
by blazini36
Replied by blazini36 on topic Question about custom BOB for a 7i92
Thanks.
I just remembered about the 7i92T I have laying around with the half dead FPGA. Looks like the Trions are in-stock at Digikey. Anything special need to be done other than just swapping it out?
Edit: I flashed one of my 7i92t's with the new firmware and all of the the pwmgen output pins are missing. They're shown in the startup printout, the pwmgen enable and value pins show up in hal and the gpio pin it replaces only has the hal inputs of those pins but no output pin?
One of my 7i92t's is suspect, the other one is dead but this seems like an odd thing to be a hardware issue. this one otherwise seems to work after flashing.
I just remembered about the 7i92T I have laying around with the half dead FPGA. Looks like the Trions are in-stock at Digikey. Anything special need to be done other than just swapping it out?
Edit: I flashed one of my 7i92t's with the new firmware and all of the the pwmgen output pins are missing. They're shown in the startup printout, the pwmgen enable and value pins show up in hal and the gpio pin it replaces only has the hal inputs of those pins but no output pin?
One of my 7i92t's is suspect, the other one is dead but this seems like an odd thing to be a hardware issue. this one otherwise seems to work after flashing.
Last edit: 28 Mar 2025 06:18 by blazini36.
Please Log in or Create an account to join the conversation.
- blazini36
- Away
- Platinum Member
-
Less
More
- Posts: 961
- Thank you received: 162
01 Apr 2025 20:54 #325481
by blazini36
Replied by blazini36 on topic Question about custom BOB for a 7i92
PCW, any idea why I'm missing all of the PWM output pins? None of the 3 pwmgens have been usable with the new firmware. The pwmgens have no output and the gpio pins that correspond have no output pin either.
Attachments:
Please Log in or Create an account to join the conversation.
- PCW
-
- Offline
- Moderator
-
Less
More
- Posts: 18379
- Thank you received: 5017
01 Apr 2025 21:58 #325485
by PCW
Replied by PCW on topic Question about custom BOB for a 7i92
It works for me:
halcmd -kf
halcmd: loadrt hostmot2
Note: Using POSIX realtime
hm2: loading Mesa HostMot2 driver version 0.15
halcmd: loadrt hm2_eth board_ip=10.10.10.10
halcmd: loadrt threads
halcmd: addf hm2_7i92.0.read thread1
halcmd: addf hm2_7i92.0.write thread1
halcmd: setp hm2_7i92.0.pwmgen.00.enable true
halcmd: setp hm2_7i92.0.pwmgen.01.enable true
halcmd: setp hm2_7i92.0.pwmgen.02.enable true
setp hm2_7i92.0.pwmgen.00.value .5
setp hm2_7i92.0.pwmgen.01.value .5
setp hm2_7i92.0.pwmgen.02.value .5
And I get square waves on all three PWM pins
Is its a PWM scale issue? (default scale is 1.0)
halcmd -kf
halcmd: loadrt hostmot2
Note: Using POSIX realtime
hm2: loading Mesa HostMot2 driver version 0.15
halcmd: loadrt hm2_eth board_ip=10.10.10.10
halcmd: loadrt threads
halcmd: addf hm2_7i92.0.read thread1
halcmd: addf hm2_7i92.0.write thread1
halcmd: setp hm2_7i92.0.pwmgen.00.enable true
halcmd: setp hm2_7i92.0.pwmgen.01.enable true
halcmd: setp hm2_7i92.0.pwmgen.02.enable true
setp hm2_7i92.0.pwmgen.00.value .5
setp hm2_7i92.0.pwmgen.01.value .5
setp hm2_7i92.0.pwmgen.02.value .5
And I get square waves on all three PWM pins
Is its a PWM scale issue? (default scale is 1.0)
Please Log in or Create an account to join the conversation.
- blazini36
- Away
- Platinum Member
-
Less
More
- Posts: 961
- Thank you received: 162
01 Apr 2025 22:19 #325487
by blazini36
Replied by blazini36 on topic Question about custom BOB for a 7i92
What is the name of your output pin?
The hm2....pwmgen stuff was setup when I was messing with it over a year ago but I know it did work because I was testing it with a small DC vacuum pump.
I didn't realize setting the scale wrong could make the output pin disappear but now that you mention it I do have scale and output-type setp'd in the hal file for 2 of the 3 pwmgens. The config doesn't fail with "pin does not exist" when loaded but $ halcmd show pin does not show the scale or output-type pins either. According to the docs these are pins and not parameters so I don't know what's going on.
I'll go mess with the scale and such but that seems like a hm2 component bug or something if that's what's causing it
The hm2....pwmgen stuff was setup when I was messing with it over a year ago but I know it did work because I was testing it with a small DC vacuum pump.
I didn't realize setting the scale wrong could make the output pin disappear but now that you mention it I do have scale and output-type setp'd in the hal file for 2 of the 3 pwmgens. The config doesn't fail with "pin does not exist" when loaded but $ halcmd show pin does not show the scale or output-type pins either. According to the docs these are pins and not parameters so I don't know what's going on.
I'll go mess with the scale and such but that seems like a hm2 component bug or something if that's what's causing it
Please Log in or Create an account to join the conversation.
- PCW
-
- Offline
- Moderator
-
Less
More
- Posts: 18379
- Thank you received: 5017
01 Apr 2025 22:35 #325488
by PCW
Replied by PCW on topic Question about custom BOB for a 7i92
Scale and output types are parameters, not pins.
That does seem to be an error in the hostmot2
man page (it shows them as pins)
Not sure what you mean by output pin.
That does seem to be an error in the hostmot2
man page (it shows them as pins)
Not sure what you mean by output pin.
Please Log in or Create an account to join the conversation.
- blazini36
- Away
- Platinum Member
-
Less
More
- Posts: 961
- Thank you received: 162
01 Apr 2025 22:56 #325490
by blazini36
There's probably nothing wrong other than I was expecting to see scale, etc pins where they are actually parameters. That doc actually does say they are parameters, the word "parameters" is just shifted so I didn't notice it.
Replied by blazini36 on topic Question about custom BOB for a 7i92
Ah, sorry that's a bit of a brainfart. Had to look at the stepgen setup to realize they do the exact same thing.Not sure what you mean by output pin.
There's probably nothing wrong other than I was expecting to see scale, etc pins where they are actually parameters. That doc actually does say they are parameters, the word "parameters" is just shifted so I didn't notice it.
Please Log in or Create an account to join the conversation.
- PCW
-
- Offline
- Moderator
-
Less
More
- Posts: 18379
- Thank you received: 5017
01 Apr 2025 23:39 #325491
by PCW
Replied by PCW on topic Question about custom BOB for a 7i92
I missed the too, I'll fix that formatting error when I get a chance.
Please Log in or Create an account to join the conversation.
Moderators: PCW, jmelson
Time to create page: 0.103 seconds