>John Kasunich wrote: >> I noticed that Seb didn't mention anything about creating a realtime >> thread, adding the appropriate driver functions to it, and starting >> realtime execution. We tend to take those steps for granted, but they >> are important.
>Ted said this, which i took to mean he'd taken the steps you describe: >Ted Hyde wrote: >> If I have the EPP mode set to 1.7, I can load SV8B.BIT into the board, add >> read and write components to the threads, and start the RT Kernel now. >Ted, can you clear this up by sending us the exact sequence of HAL >commands you ran? Since I was trying to keep it as minimalist as possible, I was strictly using halcmd from the CL: Loadrt hostmot2 Loadrt hm2_7i43 config="firmware=hm2/7i43/SV8B.BIT" Loadrt threads name1=tt period1=1000000 Addf hm2_7i43.0.read tt Addf hm2_7i43.0 write tt Start Loadusr halmeter .....ignore the sentence caps (thanks, Outlook!) - it also does not appear to make a difference if I include probe_parport, which I saw in another halfile (Anders, perhaps?) Forcing non-wide EPP communications also does not appear to have a (functional) effect. EPP1.7 allows this to work, only if power is coming from OTHER than the USB port (nothing to do with power, but with the FTDI driver trying to enumerate the board). EPP1.9 fails regardless (the prior posted " Error inserting '/home/cnc/emc2-trunk/rtlib/hm2_7i43.ko': -1 Input/output error".) The firmware also doesn't seem to mind the exclusion of num_... tokens in the config line, and even though it enables all available modules by default, GPIOs are still functional and probe correctly (at least inputs do, I didn't bother to test over-writes by the priority components) - an example is that GPIO 00 is still readable (and strobes) along with the encoder input. Good enough for now. I'll pastebin the dmesgs shortly, just so you have them for info, but I think the majority of my issue was the USB enumeration... Ted. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
