And thank you for your response William Hermans. I have some questions. -When I am using a windows machine and I need to write a code for a Linux machine, I require cross-compiling? -What is your recommended choice for a text editor on a windows machine? -You said you compile your code natively on the BBB, what does that mean? You mean uploading/burning the code? -Finally you mentioned, "you wish to cross compile the kernel", can you please elaborate that?
(Sorry about lack of knowledge of Linux & its code-compilation procedures. I have been studying them but it helps a great deal to ask people who have used it.) On Fri, Jan 9, 2015 at 10:46 PM, Mehreen Qayas <[email protected]> wrote: > TJF, > > Thank you for your input. I do realize that my goals seem a bit ambiguous > right now in reference to BBB, it is because I have a little difficulty > understanding how it works. Having used the Arduino, I forget it is not as > easy as to write the code in an Arduino software and simply burn it to the > board that is connected to my PC using the USB cable. > > My project is based on *Brain Computer Interface*: a headset will extract > brain signals from a user, those signals shall be amplified, filtered, > extracted and finally classified. These signals will then determine one out > of the two movements to be performed on a robotic gripper having (at the > moment) two fingers and a thumb. > > *Previously, this project was done using offline data. Ours require > processing those signals in real time.* > > My senior who pursued this project using Arduino Uno told me when I asked > about: > > *- what is the microcontroller used for*The arduino was connected to a SD > card shield that used SPI communication to transfer data from the card to > the controller. The card had a file with the EEG raw data on it in form of > a text file. > *- what was the input to your Arduino?* > A text file with eeg raw data. > *- what was the output?* > A signal on a port that ran h-bridges. (h-bridge logic) > (Yes, controlling a DC motor) > > -- > > > *-> *In reference to *using LINUX*, in the long run, I would like to > shift to having Linux on my Windows PC but in VM. So my question is > - I can have any distro provided that I need to connect to my Debian based > BBB? > - Say I want to install Ubuntu, but *which version* is compatible with my > BBB? > - When my BBB arrives, do I need to upgrade it? (You mentioned the newly > shipped BBB come with Debian and not Angstrom anymore; it is going to > mention that, on the manual, yes?) > > *->* > In reference to understanding some terms using a Linux machine to connect > with a BBB > - What is the substitute of an Arduino software where one writes code in > c++ when using BBB? > - How the code is burnt on the board? (i mean in the Arduino software, you > would write the code and hit the button UPLOAD) > - The connection you use is SSH? > - You use your PC to write the code, and then transfer it to your BBB > using SSH? > > (I read your answer about hosting the source files on the BBB. But I can't > fully understand it so I asked the above questions. It means you are using > your BBB as stand alone machine. Writing your source code on it. Then > transferring it to you PC using the LAN connection? How does SSH come in?) > > Thank you for your time and detailed response. They are a huge huge help. > > > On Fri, Jan 9, 2015 at 1:47 PM, TJF <[email protected]> wrote: > >> I neither use a cross-compiling tool chain nor Eclipse IDE (too bloated). >> >> My PC runs Xubuntu (LINUX). The BBB runs Debian (LINUX kernel >> 3.8.13-bone37) and is connected over LAN. I host the source files on the >> BBB (SD card) and load them over the LAN in to Geany IDE (on PC), writing >> back over LAN as well. Then I compile on the BBB with a native compiler, >> controlled by an SSH connection. Testing over SSH as well. >> >> Blacklib is a wrapper around the sysfs features (for easier access) and >> therefor much slower than libpruio, which operates the hardware directly >> (and in realtime for ADC samples). >> >> Should I shift to a a linux computer for this project? We are looking >>> • to control a motor >>> • generate PWM >>> • access GIOP >>> • perform lengthy calculations etc. >> >> >> Shifting to LINUX is always a good idea. >> >> What do you mean by 'control a motor'? AC, DC, stepper, ...? >> What do you mean by 'perform lengthy calculations'? Which input (digital >> QEP or analog sensor)? (libpruio will have QEP support in next version.) >> >> -- >> For more options, visit http://beagleboard.org/discuss >> --- >> You received this message because you are subscribed to a topic in the >> Google Groups "BeagleBoard" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/beagleboard/kbnt9cjI2qs/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> [email protected]. >> For more options, visit https://groups.google.com/d/optout. >> > > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
