7I90HD via EPP parallel port

More
9 years 7 months ago #89238 by phillc54
Another roadblock...

loading the card gives what appears to me to be success:

Warning: Spoiler!


I do show pin and both the user leds appear:
hm2_7i90.0.led.CR01
hm2_7i90.0.led.CR02

Both the user leds are off.

I do getp hm2_7i90.0.led.CR01 and it returns FALSE.

I do getp hm2_7i90.0.led.CR02 and it returns FALSE.

I do setp hm2_7i90.0.led.CR01 1 and setp hm2_7i90.0.led.CR02 1.

Both the leds stay off. :-(

I do getp hm2_7i90.0.led.CR01 and it returns TRUE.

I do getp hm2_7i90.0.led.CR02 and it returns TRUE.

What am I doing wrong???

Please Log in or Create an account to join the conversation.

More
9 years 7 months ago #89255 by PCW
Replied by PCW on topic 7I90HD via EPP parallel port
Those commands will do no actual communication with the 7I90 card as
you have not setup a thread and addf-ed the 7I90 read and write functions
to that thread

At this point its probably better to have an actual hal file
The following user(s) said Thank You: phillc54

Please Log in or Create an account to join the conversation.

More
9 years 7 months ago - 9 years 7 months ago #89331 by andypugh

phillc54 wrote: I do setp hm2_7i90.0.led.CR01 1 and setp hm2_7i90.0.led.CR02 1.
Both the leds stay off. :-(


You need to setup and start the realtime theads for anything to happen on the board.
Code:
loadrt threads addf hm2_7i90.0.read thread1 addf hm2_7i90.0.write thread1 start
Is how you do that in a halrun command line session.
Last edit: 9 years 7 months ago by andypugh.
The following user(s) said Thank You: PKM, phillc54

Please Log in or Create an account to join the conversation.

More
9 years 7 months ago #89377 by phillc54
Thank you guys, its amazing how things just work when you do them the correct way.

Please Log in or Create an account to join the conversation.

Moderators: PCW, jmelson
Time to create page: 0.227 seconds
Powered by Kunena Forum