Welcome, Guest. Please login or register.

Author Topic: Raspberry PI  (Read 16512 times)

Description:

0 Members and 4 Guests are viewing this topic.

Offline nyteschayde

  • VIP / Donor - Lifetime Member
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 643
    • Show all replies
    • http://www.nyteshade.com
Re: Raspberry PI
« on: May 29, 2012, 06:49:44 AM »
What would be the fastest I/O for data between an Amiga and the PI? It seems like it's still the unanswered question I come to when I consider any microcontroller or mini-computer such as the PI.

I'd like to leverage the power of the PI in conjunction with an old Amiga somehow? Anybody have any ideas?

Would it be like a PCMCIA<->GPIO adapter or perhaps a trapdoor edge connector <-> GPIO? I've also considered the clock port but I haven't been impressed with what I've seen with the Subway USB speeds.

Let's brain storm!

Quote from: bloodline;693847
When the boards were going to be self produced, only the first 10,000 would have the GPIO headers... Now RS and farnell are manufacturing I don't know... I'm hoping my Pi will have the header as I want to play with it :)
Senior MTS Software Engineer with PayPal
Amigas: A1200T 060/603e PPC • A1200T 060 • A4000D 040 • A3000 (x2) • A2000 Vamp/V2 • A1200 (x4) • A1000 (x3) • A600 Vamp/V1 • A500
 

Offline nyteschayde

  • VIP / Donor - Lifetime Member
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 643
    • Show all replies
    • http://www.nyteshade.com
Re: Raspberry PI
« Reply #1 on: May 29, 2012, 07:09:59 AM »
Make sure you have enough power. Seems that is the most common issue I've heard with the PI. Mine still hasn't arrived so I can't say from experience though.

Quote from: TheDaddy;694532
mmmh...my raspberry arrived, installed the Linux image from website and the USB mouse is not recognised...argh! :(
Senior MTS Software Engineer with PayPal
Amigas: A1200T 060/603e PPC • A1200T 060 • A4000D 040 • A3000 (x2) • A2000 Vamp/V2 • A1200 (x4) • A1000 (x3) • A600 Vamp/V1 • A500
 

Offline nyteschayde

  • VIP / Donor - Lifetime Member
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 643
    • Show all replies
    • http://www.nyteshade.com
Re: Raspberry PI
« Reply #2 on: May 29, 2012, 07:27:02 AM »
You could try running the mouse through a powered hub and see if that is the issue after all.

Quote from: TheDaddy;694536
Got myself one of these:

http://www.ebay.co.uk/itm/Micro-USB-Power-Supply-For-Raspberry-Pi-Computer?item=330730087675&cmd=ViewItem&_trksid=p5197.m7&_trkparms=algo%3DLVI%26itu%3DUCI%26otn%3D5%26po%3DLVI%26ps%3D63%26clkid%3D8751643704345737842#ht_1221wt_1397

And the USB mouse does not work. Tried another one and still the same. Bah!
Senior MTS Software Engineer with PayPal
Amigas: A1200T 060/603e PPC • A1200T 060 • A4000D 040 • A3000 (x2) • A2000 Vamp/V2 • A1200 (x4) • A1000 (x3) • A600 Vamp/V1 • A500
 

Offline nyteschayde

  • VIP / Donor - Lifetime Member
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 643
    • Show all replies
    • http://www.nyteshade.com
Re: Raspberry PI
« Reply #3 on: May 29, 2012, 07:44:07 AM »
Not necessarily but I've heard everything from the leads, the contacts, the sometimes even the day of the week (jk) dropping a tenth of a volt and causing things to not function.

Quote from: TheDaddy;694542
If it works via the powered USB then it means that the psu is pants?
Senior MTS Software Engineer with PayPal
Amigas: A1200T 060/603e PPC • A1200T 060 • A4000D 040 • A3000 (x2) • A2000 Vamp/V2 • A1200 (x4) • A1000 (x3) • A600 Vamp/V1 • A500
 

Offline nyteschayde

  • VIP / Donor - Lifetime Member
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 643
    • Show all replies
    • http://www.nyteshade.com
Re: Raspberry PI
« Reply #4 on: May 29, 2012, 07:55:34 AM »
I take it the powered hub worked?

Quote from: TheDaddy;694544
:)

I AM really impressed...worth the money! :D
Senior MTS Software Engineer with PayPal
Amigas: A1200T 060/603e PPC • A1200T 060 • A4000D 040 • A3000 (x2) • A2000 Vamp/V2 • A1200 (x4) • A1000 (x3) • A600 Vamp/V1 • A500
 

Offline nyteschayde

  • VIP / Donor - Lifetime Member
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 643
    • Show all replies
    • http://www.nyteshade.com
Re: Raspberry PI
« Reply #5 on: May 29, 2012, 05:21:35 PM »
That or using the PI like a bridge board or how about as a video card? All these things have crossed my mind. I'm a software dev and love to sit down with a good hardware dev for a day or two to know more about things like PICs and working with and wiring up a GPIO.

Quote from: brownb2;694581
Slightly O/T.

Can the PI be rigged as an accelerator?

What's to stop somebody wiring up the accelerator port in an A1200 to the Pi via USB  (or faster bus - obviously may need some sort of breadboard inbetween) and passing the instructions to an ARM 68000 series emulator such as http://notaz.gp2x.de/cyclone.php (this emulator is 68000 only)?

Obviously FPGAs are better for the purpose but technically I can't see too much trouble apart from:

  • Conversion between the trapdoor connector to USB serial will likely need custom PIC work.
  • Custom software glue to pass the USB instructions ARM side to the relevant emulator API and return results.
  • Emulator may need modification for access to the Amiga chipset and chip ram, as opposed to ARM ram,  via USB :(

 It may be a tad slow... and now I've written this post probably complicated.
Senior MTS Software Engineer with PayPal
Amigas: A1200T 060/603e PPC • A1200T 060 • A4000D 040 • A3000 (x2) • A2000 Vamp/V2 • A1200 (x4) • A1000 (x3) • A600 Vamp/V1 • A500
 

Offline nyteschayde

  • VIP / Donor - Lifetime Member
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 643
    • Show all replies
    • http://www.nyteshade.com
Re: Raspberry PI
« Reply #6 on: May 29, 2012, 06:47:12 PM »
Before I ordered the PI, I was all about trying to figure out a way to arduino-up my Amiga. I'd still be interested. It's so frustrating for me because I understand just enough to not be able to know the right direction about how to best use the hardware.

Also, Amigas are not a dime a dozen so the thought of damaging one in testing also frightens me. So, I understand that most modern electronics use 3.3 volts and older stuff like the Amiga uses 5 volts. How do you do "level shifting"?

Also I asked earlier about the fastest interface area. I know the mediator, for example, has a pass-thru for the cpu 150 pin slot adapter for the A1200. Perhaps something like that would provide the best solution, but how do you make subsequent attachments work?

I've also read that you may need a PIC or something (again, what is a PIC) to create/call/provide (?!) interrupts at the 14MHz cycle in order to make the rest of the hardware happy if you wish to provide some sort of accelerator.

Do you need to connect to all 150 pins? What is the minimum needed if your microcontroller/microcomputer has only in the range of 25-35 GPIO pins?

I would love to get into an IRC chatroom with anybody capable and patient enough to explain this stuff to me; or better yet, in person in you're in San Jose, CA.

Quote from: JimS;694614
I've been thinking of using a microcontroller board as some kind of super I/O board for a classic Amiga. There are a lot of chips out there that do cool stuff like mp3 decoding, radio reciever, networking and usb hosting. Seems like a microcontroller could host these - via SPI. and communicate with the Amiga via a parallel interface.
One thing to consider, I'm almost sure the PI uses 3.3v logic. You'd need some level shifting to connect to the Amiga.
Senior MTS Software Engineer with PayPal
Amigas: A1200T 060/603e PPC • A1200T 060 • A4000D 040 • A3000 (x2) • A2000 Vamp/V2 • A1200 (x4) • A1000 (x3) • A600 Vamp/V1 • A500
 

Offline nyteschayde

  • VIP / Donor - Lifetime Member
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 643
    • Show all replies
    • http://www.nyteshade.com
Re: Raspberry PI
« Reply #7 on: May 29, 2012, 07:33:59 PM »
If you get one of the other boards, let us know how it goes!

Quote from: Nitrous;694627
Got my email from rs today but am a bit reluctant to order after seeing the via board and a few of the other arm boards.
Senior MTS Software Engineer with PayPal
Amigas: A1200T 060/603e PPC • A1200T 060 • A4000D 040 • A3000 (x2) • A2000 Vamp/V2 • A1200 (x4) • A1000 (x3) • A600 Vamp/V1 • A500
 

Offline nyteschayde

  • VIP / Donor - Lifetime Member
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 643
    • Show all replies
    • http://www.nyteshade.com
Re: Raspberry PI
« Reply #8 on: May 29, 2012, 11:22:29 PM »
Quote from: JimS;694630
I don't know about speed. What I had in mind was making a card for the Zorro bus (but too lazy to do autoconfig) that implemented a 16 bit parallel port.


What is wrong with the physical parallel port on the backside of the Amiga's? Are they too slow? Were you planning on something else so that it could be handled from the inside of the machine?
Senior MTS Software Engineer with PayPal
Amigas: A1200T 060/603e PPC • A1200T 060 • A4000D 040 • A3000 (x2) • A2000 Vamp/V2 • A1200 (x4) • A1000 (x3) • A600 Vamp/V1 • A500
 

Offline nyteschayde

  • VIP / Donor - Lifetime Member
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 643
    • Show all replies
    • http://www.nyteshade.com
Re: Raspberry PI
« Reply #9 on: May 30, 2012, 01:44:52 AM »
Quote from: JimS;694652
Nothing wrong with the built in port... except that it's only 8 bits wide.... and I'd prefer to leave it for the printer. BTW. "planning" is too strong a word. ;-) It's just some ideas I've been mulling around.


Interesting, so would you say that each GPIO pin is roughly a bit given it's states are likely high or low. Therefore if you had 8 pins you could spit out roughly a byte at a time? Is that how this works. Give some signal to read, the software reads the state of pins 0-7 and assigns their values to bits 0-7 respectively and then either waits for the next read now signal or otherwise signals the device that it's ready for the next byte's worth of bit/GPIO pin values?

Is this roughly how data transfer between them would take place? Or could you do something like set the voltage on the GPIO pin to be a value between 0.0v and 0.256v and read the voltage as a byte value? Not sure how precise voltage can be set and read.

What are the maximum throughput values if it's used like this? Sorry if this is way OT, but I'm just pondering in "out loud" in these POSTs now.
Senior MTS Software Engineer with PayPal
Amigas: A1200T 060/603e PPC • A1200T 060 • A4000D 040 • A3000 (x2) • A2000 Vamp/V2 • A1200 (x4) • A1000 (x3) • A600 Vamp/V1 • A500