eelcor

Members
  • Content count

    21
  • Joined

  • Last visited

    Never

Community Reputation

0 Neutral

About eelcor

  • Rank
    Member

Profile Information

  • Gender
    Not Telling
  1. eelcor

    Papilio & Raspberry PI - Ideas?

    Hi Jack, It's a pity that Jazelle is closed for developers, it should dramatically enhance performance of Java programs. Python should run well though. It would be great to combine the OLS with the RasPi and a touchscreen and use the papilio as an oscilloscope (you should check KNJN flashy). Have you already tried the wiringPi library? It should be fairly easy to port Arduino code to wiringPi. Unfortunately I haven't had the time to bake my own kernel, because I want SPI/I2C support and there is a kernel driver for that. (and some ready made kernels without the wireless support I need). I also revisited my Beagleboard, but somehow the distribution seems to be less transparent than the RasPi's. I do have figured out to combine sgx acceleration with the dsp, which should make up for a nice combo. The only thing I can say that these are "great times for tinkerers!". You also hit a sweet spot with the papilio! Kind regards, Eelco
  2. eelcor

    Papilio & Raspberry PI - Ideas?

    I was also pondering whether the combination of OLS, together with Raspberry Pi and a touchscreen would make a beautiful logic analyzer. What about Benchy? One of the things I was thinking about was to make a multi peripheral, which can be driven by the native SPI interface of the RPi and can be a combination of PWM, GPIO, UART, Timer etc. etc. Once I get the hang of it with C on the RPi, that would be great. Your synth idea also sounds wonderful and maybe we could also use Jeri's SDR platform to create a software defined radio. We haven't barely scratched the surface of the combination! Kind regards, Eelco
  3. eelcor

    Papilio & Raspberry PI

    Okay, I am currently trying to recompile gcc for ZPUino and unfortunately it throws an error about an unrecognized command "no". I am not sure whether it's a typo or a valid command. We should be able to compile the toolchain. Kind regards, Eelco
  4. eelcor

    Papilio & Raspberry PI

    Great, I also bought a new SD card for experimentation. The wheezy beta seems to be an excellent experiment. I am going to sleep right now. Be back in the morning ;-) Regards, Eelco
  5. eelcor

    Papilio & Raspberry PI - Ideas?

    Hi Jack, That's an excellent idea! If the Zpuino IDE lives in the JVM it would be great. Do we need to crosscompile the toolchain, or is it plain gcc? Oh and by the way, if you want to experiment with X11, I recommend installing Cygwin and enabling tunneling within the config file of ssh (works best with openssh) and enabling X11 forwarding in Putty. I currently have a nice setup, which works like a charm ;-) Regards, Eelco
  6. eelcor

    Papilio & Raspberry PI - Ideas?

    Actually, there is a JVM! I have been able to install the arduino software. It is slow as hell, but it works! Just sudo apt-get install arduino and voila! Unfortunately the flash option of the modified IDE relies on mem2data, a Xilinx proprietary program to merge bitfiles. Jack, is there an alternative way to do this? Kind regards, Eelco
  7. Hi everybody, Jack and I have been tinkering with getting papilio-prog working on Raspberry Pi. Jack found a strange bug in getopt(), but also a workaround and now we are able to upload bitfiles from the raspberry pi to the arduino. Having accomplished this wonderful feat, it is now time for ideas how to combine the Papilio with the Raspberry Pi. How to install (forgive me if I am not complete): Before you begin. I have a raspberry pi loaded with the default (19/04/2012) firmware. First: install the following packages libusb-dev, libftdi-dev, automake, pkg-config and verify whether you have a /dev/ttyUSB0 and /dev/ttyUSB1 after connecting the papilio (and probably rebooting). Second: Clone the papilio-prog source code using Git: https://github.com/GadgetFactory/Papilio-Loader Third: Go to directory Program within the repository and find " while (((c = getopt (argc, argv, "hb:f:s:jvcCr")) != -1))" in butterfly.cpp and replace it with " while (((c = getopt (argc, argv, "hb:f:s:jvcCr")) != -1) && (c != 255))" Fourth: Run 'sudo ./autogen.sh' followed by 'sudo ./configure' and finally 'sudo make' and a new papilio-prog should be generated. You have to "sudo" this executable, but now you're able to upload bitfiles. Jack and I had some problems with the connection and it seems to be a power related issue. It is recommended to have a powered USB hub ready. I have been tinkering with AVR8 and arduino and although I manage to compile code for the papilio, I do not have an open source alternative for "data2mem" and am therefore unable to merge the bitfiles. I hope someone has some nice ideas regarding the possibilities of this setup, but somehow I have the feeling we could do something really cool with it. (combining the GPIO pins of the Raspberry with the papilio). Kind regards, Eelco
  8. eelcor

    Papilio & Raspberry PI

    Jack, Forget my last post. I forgot to remove some lines to test the program without getopt. And now it works. I also was able to program the device! Now let's see what we can do ;-) Kind regards, Eelco
  9. eelcor

    Papilio & Raspberry PI

    Jack, Now I have some problems with disconnections. What device does papilio-prog talk to? /dev/ttyUSB0 or /dev/ttyUSB1. /dev/ttyUSB0 disconnects while USB1 stays connected. I think it has something to do with the hub I use, I will try another one. Regards, Eelco
  10. eelcor

    Papilio & Raspberry PI

    Jack, It works for me too! I am now able to run papilio-prog and I am going to try programming the papilio. JTAG chain scanning works like a charm! For the getopt issue, i think it's time to get to the raspberry pi forum and see what others have encountered. I am now looking forward to hook some GPIO pins from the raspberry to the papilio ;-) Now let's find a suitable project idea to demonstrate the power of Raspberry Pi combined with the flexibility and programmability of the papilio! Regards, Eelco
  11. eelcor

    Papilio & Raspberry PI

    Jack, I have a stable connection, but somehow I seem to be unable to compile the papilio-prog correctly. Did you manage to compile it? Kind regards, Eelco
  12. eelcor

    Papilio & Raspberry PI

    Hi Jack, Just tried with the powered hub and it stays connected. I will check without hub as well. How can I check raw communications? Kind regards, Eelco
  13. eelcor

    Papilio & Raspberry PI

    Hi Jack, You should really enjoy the barbecue! Did you encounter the same problems as I? I was able to compile the binary, but when running I only got the help screen. I have a powered hub somewhere here, I can check for power issues. Is there any way to do some raw device level communication with the board? Kind regards, Eelco
  14. eelcor

    Papilio & Raspberry PI

    Hi Jack, I will look if I can find the same logging and see if the britty package has been installed. Kind regards, Eelco
  15. eelcor

    Papilio & Raspberry PI

    Hi Jack, I know the nagging feeling when you just want to see something working. It already cost me a lot of bedtime during my life, first with lego/fischertechnik, with computers and now with FPGA's and embedded systems. What card did you get? A cheap one? I also noticed that the papilio gets recognized. Did you use some windows specific addressing of devices. It would be nice to specify the device in the commandline of papilio-prog. Still thinking of the practical side of the combination papilio/raspberry pi, but the idea to have something that can be reconfigured manually blows my mind ;-) Kind regards, Eelco