-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
firmware snag sheet: DE0_Nano_SoC_DB25.7I76_7I76_7I76_7I76 #53
Comments
On 7/18/2016 8:05 AM, Michael Haberler wrote:
The I/O signals on TB5 and TB6 of the 7i76 are connected to the The hm2_de0n.0.gpio.000.in is a physical pin on the FPGA (not on the ...so I'm not sure why you're seeing noise. I would expect it to Regardless, if you get the sserial port working, you should be able to Charles Steinkuehler |
@mhaberler I remember trying for 4 hours, pulling my hears, grinding my teeth, and other general discomfort to find why the GPIO’s weren’t working. If i’m correct you should make sure you have field power on TB1 before starting MK. If you lose field power, then you’ll also lose the GPIO pins via sserial. |
looking at the wrong pins.. it's been a long time. I guess the correspondence is:
YESS: gpio works!! second card as well. Great job, @cdsteinkuehler !! |
@luminize FYI: the sserial.. param in loadrt hm2_soc_ol is NOT needed - I have:
|
re maximum values - just scoped the stepgen at 3.6Mhz (100ns steplen/stepspace). that should do for an end to softstepping ;) |
one can do some serious machine control for 20 steppers, 4 encoders and 192 IO... Great! |
I just this afternoon replicated @mhaberler his setup from image. |
I have updated the FirmwareID message in 7I76_7I76_7I76_7I76 config to num_leds=4 |
On 7/20/2016 3:18 PM, Michael Haberler wrote:
It may be non-obvious, but the num_leds for the 7I76_7I85S_GPIO_GPIO Charles Steinkuehler |
I sort of guessed your intent - here |
hm2 ignoramus here. help me understand this: if a sserial daughter board is connected, I get pins like:
and I know on which TBx-y these pins end up on the 7i76 and they work fine. now, the case - no daughter board connected - so no smartserial and all, so the above pins naturally do not show up I still see pins like (those are present in the above case as well):
that sounds like 4 connectors at 17pins each. log says:
does this suggest hm2_de0n.0.gpio.000.in reflects IO Pin 000 (GPIO0.P2-01) ? Can I just use hm2_de0n.0.gpio.0xx.in as general gpios in this case? |
On 7/20/2016 6:56 PM, Michael Haberler wrote:
Yes. Each physical pin on the FPGA typically has two functions. All pins This can be seen in the PIN_*.vhd files, where each pin has a GPIO entry Note the GPIO only connectors have no secondary function: Charles Steinkuehler |
comprende, thanks! will explore pins tomorrow. |
do I understand correctly:
(more ignoramus questions..):
I guess I can follow the 'LEDs dont blink' issue by probing GPIO0/1 pins 1 and 19 respectively? |
Michael , i believe that the 5i25 uses 2 sserial buss 1 for multiplexing the GPIO Sarah On 21 July 2016 at 12:05, Michael Haberler [email protected] wrote:
The information contained in this message is confidential and is intended RcTechnix reserves the right to monitor and record e-mail messages being (c) RcTechnix |
Michael further info , on a standard 5i25 bit file built for a 7i76 gives you ( per my understanding now is that theirs 2 SSerial channels per connector in On 21 July 2016 at 12:21, Sarah Armstrong [email protected]
The information contained in this message is confidential and is intended RcTechnix reserves the right to monitor and record e-mail messages being (c) RcTechnix |
as far as the led1 , i believe that it's a typo , as the led function is On 21 July 2016 at 12:26, Sarah Armstrong [email protected]
The information contained in this message is confidential and is intended RcTechnix reserves the right to monitor and record e-mail messages being (c) RcTechnix |
On 7/21/2016 6:05 AM, Michael Haberler wrote:
Mostly. I'd say the sserial pins don't get instantiated and the GPIO
Yes.
Yes.
There are lots of things that can be hooked up via the serial interface: http://store.mesanet.com/index.php?route=product/category&path=69_70
I believe on the 7i76, one sserial link is used for the on-board I/O
No, that's an off-by-one goof on my part when doing the cut-and-paste. Note that the I/O 17 comment is describing the header line, not the
Yes. Charles Steinkuehler |
the LED issue is solved - numbering: CR01/CR02 are GPIO1 pin 19 and 1 while a bit counterintuitive, they work |
On 7/24/2016 3:28 AM, Michael Haberler wrote:
Hmm...that should probably be fixed. I would have expected: CR1 = GPIO0 pin 1 ...based on how they're connected: Perhaps the hm2 driver numbers them oddly? Charles Steinkuehler |
I think we should document experience on a per-firmware basis, so starting here. Documenting the current status of exploring this fw version.
configuration:
configuration:
what I am not sure about: the hm2 config line, in particular the
sserial_port=
syntax, is this correct?loadrt hm2_soc_ol config="firmware=socfpga/dtbo/DE0_Nano_SoC_DB25.7I76_7I76_7I76_7I76.dtbo num_stepgens=5 num_encoders=2 sserial_port_0=00xxxxxx" timer1=211812352
what works:
Yee-haw!
what does not work yet:
manual says:
I assume TB6-1 corresponds to hm2_de0n.0.gpio.000.in ? help me across the street ;)
hm2_de0n.0.gpio.000.in shows noise.
Jul 18 11:51:35 mksocfpga msgd:0: hal_lib:1649:rt hm2/hm2_de0n.0: PWMGen: 0
)The text was updated successfully, but these errors were encountered: