Hybrid / Hydra Port Test
Coley
Posts: 1,110
I wonder if one of you many Hydra users out there couldn't just try this little app for me.
I am trying to determine if we can check for Hybrid / Hydra presence through software.
This little app just outputs the status of the first 24 pins, Debug led should flash and show 1 or 0 on the TV depending on the state of the pin.
As an example Hybrid with Mouse, Keyboard and SD card plugged in or unplugged returns:-
000000000011111111112222
012345678901234567890123
000001101111111100000000
Regards,
Coley
oops, almost forgot.... please can you post your results, thanks....
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
PropGFX Forums - The home of the Hybrid Development System and PropGFX Lite
Post Edited (Coley) : 3/14/2008 11:18:58 PM GMT
I am trying to determine if we can check for Hybrid / Hydra presence through software.
This little app just outputs the status of the first 24 pins, Debug led should flash and show 1 or 0 on the TV depending on the state of the pin.
As an example Hybrid with Mouse, Keyboard and SD card plugged in or unplugged returns:-
000000000011111111112222
012345678901234567890123
000001101111111100000000
Regards,
Coley
oops, almost forgot.... please can you post your results, thanks....
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
PropGFX Forums - The home of the Hybrid Development System and PropGFX Lite
Post Edited (Coley) : 3/14/2008 11:18:58 PM GMT
Comments
I can see it loads but that is about it...
It's just a blank screen...
Did I miss something ?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Living on the planet Earth might be expensive but it includes a free trip around the sun every year...
Experience level:
[noparse][[/noparse] ] Let's connect the motor to pin 1, it's a 6V motor so it should be fine.
[noparse][[/noparse] ] OK, I got my resistors hooked up with the LEDs.
[noparse][[/noparse]X] I got the Motor hooked up with the H-bridge and the 555 is supplying the PWM.
[noparse][[/noparse] ] Now, if I can only program the BOE-BOT to interface with he Flux Capacitor.
[noparse][[/noparse] ] I dream in SX28 assembler...
/Bamse
I forgot the Hydra was only 80MHz....
I've updated the binary if you could be so kind to try again.
Thanks,
Coley
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
PropGFX Forums - The home of the Hybrid Development System and PropGFX Lite
I get the following with mouse, keyboard and SD on my Hydra.
000000000011111111112222
012345678901234567890123
010001000101010111110000
The red 0 toggles 0/1 for the debug led.
As I suspected we can identify the Hybrid from the Hydra from the Mouse and Keyboard ports.
On Hybrid Keyboard and Mouse are via 4 i/o Pins P12--P15 all are normally held high.
On Hydra Keyboard and Mouse are via 8 i/o pins P8--P15 with P8,P10,P12 & P14 High and P9,P11,P13 & P15 being Low.
So a simple check on P15 should give the following:-
1 = Hybrid
0 = Hydra
This of course will need to be done before starting and keyboard or mouse objects.
Thanks once again to everyone!
Regards,
Coley
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
PropGFX Forums - The home of the Hybrid Development System and PropGFX Lite
Demoboard could be detected by setting one of its video pins high and setting another as input and check whether or not the input is high.
Then you still have the issue of clock since you can't change it on fly(not that I am aware of at least).
Oh, and as for the clock, we're gonna do a test to see if you can start in RCfast mode, and reset the clock accordingly [noparse]:)[/noparse]
All my graphics drivers use a hard-coded FRQA, so they won't run on Hybrid... But I'll change that some time....