Mesa 7i96 Ethernet board

More
9 years 3 months ago #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.

Please Log in to join the conversation.

More
9 years 3 months ago #96171 by microsprintbuilder
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 to join the conversation.

More
9 years 3 months ago #96172 by microsprintbuilder
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?

Please Log in to join the conversation.

More
9 years 3 months ago #96174 by andypugh
Replied by andypugh on topic Mesa 7i96 Ethernet board
It seems to strobe as expected here:

Attachment not found




And that is on a VM with hilarious latency:

Attachment not found



The raw_writer is definitely added to a thread (it must be if you see the state toggling 20/10)

Please Log in to join the conversation.

More
9 years 3 months ago #96177 by microsprintbuilder
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

Attachment not found

Attachment not found

Please Log in to join the conversation.

More
9 years 3 months ago #96178 by microsprintbuilder
I changed my servo period and now I have strobe, But board is still not responding. Making progress :)

Attachment not found

Please Log in to join the conversation.

More
9 years 3 months ago #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:
Code:
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")

Please Log in to join the conversation.

More
9 years 3 months ago #96181 by microsprintbuilder
with the 0 input true i have 8000.

Attachment not found

Please Log in to join the conversation.

More
9 years 3 months ago #96182 by andypugh
Replied by andypugh on topic Mesa 7i96 Ethernet board

microsprintbuilder wrote: with the 0 input true i have 8000.

Attachment not found


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 to join the conversation.

More
9 years 3 months ago #96183 by microsprintbuilder
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

Please Log in to join the conversation.

Time to create page: 0.183 seconds
Powered by Kunena Forum