Mesa 7i96 Ethernet board
20 Jul 2017 19:30 #96168
by andypugh
Replied by andypugh on topic Mesa 7i96 Ethernet board
That's odd.
Is strobe sitting at 1 or at 0?
Possibly try swapping all the strobe=1 for strobe=0 and vice-versa. Maybe it's best to write the data and address, pause 1mS write the strobe.
Is strobe sitting at 1 or at 0?
Possibly try swapping all the strobe=1 for strobe=0 and vice-versa. Maybe it's best to write the data and address, pause 1mS write the strobe.
Please Log in or Create an account to join the conversation.
- microsprintbuilder
- Offline
- Elite Member
Less
More
- Posts: 165
- Thank you received: 4
20 Jul 2017 19:38 #96171
by microsprintbuilder
Replied by microsprintbuilder on topic Mesa 7i96 Ethernet board
in show hal I watch strobe and it is off longer than is on but is toggling just really slow and its on only for an instant. I can never get the watch screen to say true though
Please Log in or Create an account to join the conversation.
- microsprintbuilder
- Offline
- Elite Member
Less
More
- Posts: 165
- Thank you received: 4
20 Jul 2017 19:39 - 20 Jul 2017 19:42 #96172
by microsprintbuilder
Replied by microsprintbuilder on topic Mesa 7i96 Ethernet board
the max jitter on this laptop is 6 figures. would it be better to do a for loop so the strobe stays true until something changes?
Last edit: 20 Jul 2017 19:42 by microsprintbuilder.
Please Log in or Create an account to join the conversation.
20 Jul 2017 19:57 #96174
by andypugh
Replied by andypugh on topic Mesa 7i96 Ethernet board
Please Log in or Create an account to join the conversation.
- microsprintbuilder
- Offline
- Elite Member
Less
More
- Posts: 165
- Thank you received: 4
20 Jul 2017 20:53 - 20 Jul 2017 20:57 #96177
by microsprintbuilder
Replied by microsprintbuilder on topic Mesa 7i96 Ethernet board
I was looking at the hm2 pins not raw. but now that I have changed that I see that state is working but strobe, data, and address are not. perhaps I messed something up in the comp. I've attached it
Last edit: 20 Jul 2017 20:57 by microsprintbuilder.
Please Log in or Create an account to join the conversation.
- microsprintbuilder
- Offline
- Elite Member
Less
More
- Posts: 165
- Thank you received: 4
20 Jul 2017 21:19 - 20 Jul 2017 21:20 #96178
by microsprintbuilder
Replied by microsprintbuilder on topic Mesa 7i96 Ethernet board
Last edit: 20 Jul 2017 21:20 by microsprintbuilder.
Please Log in or Create an account to join the conversation.
20 Jul 2017 21:20 - 20 Jul 2017 21:21 #96179
by andypugh
Replied by andypugh on topic Mesa 7i96 Ethernet board
Actually, something seems to be wrong with the way that the data is being calculated.
65536 is not the right value for 000011 on the inputs.
Try:
(and, actually, all those "in" pins really should be called "out")
65536 is not the right value for 000011 on the inputs.
Try:
data = in(0) + (in(1)<<1) + (in(2)<<2) + (in(3)<<3) + (in(4)<<4) + (in(5)<<5);
(and, actually, all those "in" pins really should be called "out")
Last edit: 20 Jul 2017 21:21 by andypugh.
Please Log in or Create an account to join the conversation.
- microsprintbuilder
- Offline
- Elite Member
Less
More
- Posts: 165
- Thank you received: 4
20 Jul 2017 21:34 #96181
by microsprintbuilder
Replied by microsprintbuilder on topic Mesa 7i96 Ethernet board
Please Log in or Create an account to join the conversation.
20 Jul 2017 21:40 #96182
by andypugh
Yes, and it should be 0x001. I made another mistake to do with the order of calculation of << and +
Change the data calculation according to my previous post, and if that doesn't work, try exchanging the strobe=0 and strobe=1 lines throughout.
Replied by andypugh on topic Mesa 7i96 Ethernet board
with the 0 input true i have 8000.
Yes, and it should be 0x001. I made another mistake to do with the order of calculation of << and +
Change the data calculation according to my previous post, and if that doesn't work, try exchanging the strobe=0 and strobe=1 lines throughout.
Please Log in or Create an account to join the conversation.
- microsprintbuilder
- Offline
- Elite Member
Less
More
- Posts: 165
- Thank you received: 4
20 Jul 2017 21:44 - 20 Jul 2017 21:45 #96183
by microsprintbuilder
Replied by microsprintbuilder on topic Mesa 7i96 Ethernet board
I just changed all the in to out in the equation and compiled again. get the same result. When run halcompile does it rewrite or should i remove the old .so
Last edit: 20 Jul 2017 21:45 by microsprintbuilder.
Please Log in or Create an account to join the conversation.
Time to create page: 0.175 seconds