Hi Nils, thanks for the fantastic work on this program.
We've been looking for a way to incorperate high-speed continuous recording to files for a SAR platform. One question, do you see simultaneous recording of both channels to files happening any time soon? It would be ideal for what we are looking to do.
Since first writing this post I've stumbled into a bigger problem.
I would like to modify your source code and integrate it into the C code we have for setting up other parts of the system. The goal would be to have it simply run the rp_remote_acquire function at a certain point in code with certain settings, so it should be simple. I modified your code and combined everything where necessary, but upon attempting to execute it on the new ecosystem I encountered a number of strange problems:
Firstly, I noticed that upon loading the new ecosystem the red LED indicating heartbeat is no longer blinking. I have tested loading the image from the quick start page and the LED blinks normally then. I have not had to update the ecosystem before this so I am not sure if I am doing it correctly. I simply downloaded the ecosystem zip you linked, extracted it and copied the contents to my SD card, merging and overwriting where applicable. Am I missing something huge here? Do I need to rebuild the RP image and rewrite the whole SD card?
Secondly, assuming that there are no problems with how the ecosystem was installed, I now find that running any custom-written code that worked before with the quick start image now result in:
-sh: ./RP_Controller: not found
Where RP_Controller is the executable.
I have done some digging on possible causes but so far I have not found any fixes, do you have any ideas about why executables would all suddenly stop working on the new ecosystem? I find it a bit suspect and I am almost certain I have done something stupid.
Thanks very much
Edit: So I've tried loading the ecosystem using the steps here
viewtopic.php?f=8&t=1433&start=10
And I still get the same issue with the heartbeat LED and files. So that doesn't seem to have been the problem.
I think the file not found error is due to a missing ld-linux-armhf.so.3 library. If I try and symlink it to ld-2.17.so like ld-linux.so.3 is I just get segmentation faults (This feels wrong to do anyway, but I saw someone having similar issues on a Raspberry Pi and this solved it for them). I also had to change the librp.so file to the one linked in that forum post I mentioned. So now I'm feeling very stuck.
Another edit!
I have it working and running beautifully! I found that it all boiled down to two things, swapping out the librp.so file for an older version, and compiling using gnueabi instead of gnueabihf, it looks like the architecture was changed somewhere between ecosystem releases. That seems to have made everything work wonderfully. I still have the issue of no heartbeat LED but it doesn't seem to be affecting operation in anyway.
I'm sorry for the lengthy post, it's been a voyage of discovery. If you have any ideas on things I may have missed or consequences I've overlooked I would love to hear them!