VansAirForceForums  
Home > VansAirForceForums

- POSTING RULES
- Donate yearly (please).
- Advertise in here!

- Today's Posts | Insert Pics

  #1  
Old 07-15-2016, 08:22 PM
petersb petersb is offline
 
Join Date: Mar 2008
Location: Toronto
Posts: 328
Default Stratux help for GRT HXr needed

I have a raspberrypi ver3 running the latest Stratux very nicely on my ipad using Wifi.

I need a serial output so I can connect it to my GRT HXr.

I have an 8GB SD card and used Win32Imagewriter to load the original stratux onto the SD card. ( I notice after loading the stratux the 8 GB card is now FAT and 59.9MB max )

GRT says to load the "stratux-serial..." version, connect a monitor and follow instructions to finish the install. I did this the same as above, it replaces the original stratux version with the serial port version.

When I boot up with the monitor connected all I get is a colored square on the monitor.

I know I am omitting a critical step that people are assuming I am doing, assume nothing and tell me how to do it step by step, leave nothing how trivial out.

Thanks Peter
__________________
RV7A New Dec 2013 - 360, C/S, slider
RV6 - 1600 Hours ---- Sold
Reply With Quote
  #2  
Old 07-17-2016, 02:50 AM
mavmitchell mavmitchell is offline
 
Join Date: Jul 2013
Location: Perth
Posts: 27
Default

Hi Peter, I did this last week. I found, as you did, the version indicated in the GRT doco would not boot on a pi 3. What I did was use the version that does run on the pi 3, and just include the small amount of code to make the serial port work, then run "make" and "make install" to get it to work. You need a supported USB to serial port.
You can get the code for serialout version from the github by doing a compare of the master and the serialout fork. Edit the three affected files in /root/stratux/main. Then run "make" check for errors, then "make install". Make sure you set your baud rate in the code before the make.

PM me if you cant follow this..

Cheers.

Bruce.
Reply With Quote
  #3  
Old 07-17-2016, 07:21 AM
petersb petersb is offline
 
Join Date: Mar 2008
Location: Toronto
Posts: 328
Default

Quote:
Originally Posted by mavmitchell View Post
Hi Peter, I did this last week. I found, as you did, the version indicated in the GRT doco would not boot on a pi 3. What I did was use the version that does run on the pi 3, and just include the small amount of code to make the serial port work, then run "make" and "make install" to get it to work. You need a supported USB to serial port.
You can get the code for serialout version from the github by doing a compare of the master and the serialout fork. Edit the three affected files in /root/stratux/main. Then run "make" check for errors, then "make install". Make sure you set your baud rate in the code before the make.

PM me if you cant follow this..

Cheers.

Bruce.
Bruce thanks for your reply, looks like I'm not going mad.

I am reasonably computer literate but have no experience with raspberry Pi, so your instructions unfortunately are Greek to me. I will try to find a local expert to help.

Is it possible for you to send me a copy of the completed running software ?

The USB/ Serial I tried was USA19-HSN Tripplite

How do I make the comparison, do I do that on my laptop or on the Pi, I cannot load two programs on the Pi at the same time to do a comparison. At this point you have probably realized I have no idea how to implement your instructions, even though I appreciate your efforts in helping.

Will be at Oshkosh and can drop by GRT if it is possible to leave a copy there.

Regards. Peter
__________________
RV7A New Dec 2013 - 360, C/S, slider
RV6 - 1600 Hours ---- Sold
Reply With Quote
  #4  
Old 07-17-2016, 08:41 AM
mavmitchell mavmitchell is offline
 
Join Date: Jul 2013
Location: Perth
Posts: 27
Default

Peter, The pi is linux. I am happy to make you an image. I'm not sure about the USB adapter you have, but will check. Do you know what serial speed you need for the GRT?
Will need a couple of days.

Not going to Osh.

Cheers.

Bruce.
Reply With Quote
  #5  
Old 07-17-2016, 08:00 PM
petersb petersb is offline
 
Join Date: Mar 2008
Location: Toronto
Posts: 328
Default

Quote:
Originally Posted by mavmitchell View Post
Peter, The pi is linux. I am happy to make you an image. I'm not sure about the USB adapter you have, but will check. Do you know what serial speed you need for the GRT?
Will need a couple of days.

Not going to Osh.

Cheers.

Bruce.

Bruce, thanks for your help. GRT says to set baud rate at 38400.

Also they say to set "serial out port" as "stratux" , however there is no stratux option, they suggest it may require a software patch but I cannot find one in their website, do you have it for the HXr ? I will also check with GRT

Peter

Peter
__________________
RV7A New Dec 2013 - 360, C/S, slider
RV6 - 1600 Hours ---- Sold

Last edited by petersb : 07-18-2016 at 06:35 AM.
Reply With Quote
  #6  
Old 07-19-2016, 01:16 AM
mavmitchell mavmitchell is offline
 
Join Date: Jul 2013
Location: Perth
Posts: 27
Default

Hi Peter, The Stratux makes generic GDL90 so the GRT should work.
I have compiled the latest Stratux and added the serialout from the github.
It sends at 38400 on serial port /dev/ttyUSB0.

I dont have my SDR or USB adapter so I cant test the whole setup.

The only thing you will need to check is your "USB to serial" adapter gets configured as /dev/ttyUSB0 on the pi. Just suck it and see. You can test the serial out by connecting it to a PC and using a terminal emulator to see the data. You will need a RS232 reversal cable for this test.

The image is here

Sorry, my link is quite slow.

Cheers.

Bruce.

Last edited by mavmitchell : 07-20-2016 at 05:47 PM.
Reply With Quote
  #7  
Old 07-20-2016, 06:17 AM
petersb petersb is offline
 
Join Date: Mar 2008
Location: Toronto
Posts: 328
Default

Quote:
Originally Posted by mavmitchell View Post
Hi Peter, The Stratux makes generic GDL90 so the GRT should work.
I have compiled the latest Stratux and added the serialout from the github.
It sends at 38400 on serial port /dev/ttyUSB0.

I dont have my SDR or USB adapter so I cant test the whole setup.

The only thing you will need to check is your "USB to serial" adapter gets configured as /dev/ttyUSB0 on the pi. Just suck it and see. You can test the serial out by connecting it to a PC and using a terminal emulator to see the data. You will need a RS232 reversal cable for this test.

The image is here

Sorry, my link is quite slow.




Cheers.

Bruce.
Bruce

Tried a download last night. Took sometime then gave an error. This morning the link is not working


Peter
__________________
RV7A New Dec 2013 - 360, C/S, slider
RV6 - 1600 Hours ---- Sold
Reply With Quote
  #8  
Old 07-20-2016, 08:00 AM
mavmitchell mavmitchell is offline
 
Join Date: Jul 2013
Location: Perth
Posts: 27
Default

Sorry Peter, will upload it to dropbox and post the link.

Its now here

Cheers.

Last edited by mavmitchell : 07-20-2016 at 05:47 PM.
Reply With Quote
  #9  
Old 07-20-2016, 07:01 PM
petersb petersb is offline
 
Join Date: Mar 2008
Location: Toronto
Posts: 328
Default

Quote:
Originally Posted by mavmitchell View Post
Sorry Peter, will upload it to dropbox and post the link.

Its now here

Cheers.
Bruce

Thanks I have it.

Will try it out tomorrow, although still trying to get the software patch for the HXr serial out selection.

Will be at Osh and will get the patch direct from GRT.



Best regards Peter
__________________
RV7A New Dec 2013 - 360, C/S, slider
RV6 - 1600 Hours ---- Sold
Reply With Quote
  #10  
Old 08-12-2016, 01:24 PM
burbrbe burbrbe is offline
 
Join Date: Aug 2016
Location: Berkeley
Posts: 2
Default Thanks!

Hey thanks for the img mavmitchell! I had the same problem w/ the GRT image, but succeeded in installing it on my stratux. Will confirm my Horizon WS works with it in a couple of days. Thanks again, Ben
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 02:52 AM.


The VAFForums come to you courtesy Delta Romeo, LLC. By viewing and participating in them you agree to build your plane using standardized methods and practices and to fly it safely and in accordance with the laws governing the country you are located in.