|
| 1 | +## Target: Second generation Panologic thin client |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | +If you don't know what a Panologic thin client then see [this](https://hackaday.com/2013/01/11/ask-hackaday-we-might-have-some-fpgas-to-hack/) |
| 6 | +article and refer to the links at the bottom of this page for further reading. |
| 7 | + |
| 8 | +### HW Requirements |
| 9 | + |
| 10 | +* A Panologic G2 thin client (the one with a DVI port) |
| 11 | +* A suitable 5 volt power supply |
| 12 | +* A JTAG programmer to load the bitstream into the FPGA. |
| 13 | + |
| 14 | +### Building from sources |
| 15 | + |
| 16 | +**NB:** While it may be possible to use Windows for development I haven't |
| 17 | +tried it and don't recommend it. |
| 18 | + |
| 19 | +1. Clone the https://github.com/skiphansen/fpga_test_soc repository |
| 20 | +2. cd into .../fpga_test_soc/fpga/panologic_g2 |
| 21 | +3. If you have a **REV B** Pano with the larger FPGA then just run "make", |
| 22 | + otherwise if you have a **REV C** then run "make PART_NAME=xc6slx100". |
| 23 | + |
| 24 | +### Serial port |
| 25 | + |
| 26 | +We will use the DDC port on the micro HDMI port for our serial port. This |
| 27 | +will leave the DVI port available for a display if needed. |
| 28 | + |
| 29 | +| HDMI Signal | Pin | Serial signal | |
| 30 | +| ----------- | ----- | ------------- | |
| 31 | +| DDC SCL | 15 | PC -> Pano | |
| 32 | +| DDC SDA | 16 | Pano -> PC | |
| 33 | +| Ground | 17 | Ground | |
| 34 | + |
| 35 | +An 3.3 volt compatible serial port adapter and an homebrew adapter cable is |
| 36 | +required. |
| 37 | + |
| 38 | +I use a FTDI [TTL-232R-3V3](https://www.digikey.com/product-detail/en/ftdi-future-technology-devices-international-ltd/TTL-232R-3V3/768-1015-ND/1836393) |
| 39 | +with an adapter that I built from a micro HDMI to HDMI adapter cable. |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | +To build the adapter I cut the micro to mini adapter cable, stripped the wires, |
| 44 | +identified the correct wires and then soldered them to .1 inch pin header to |
| 45 | +mate with my serial adapter. While I was eventually able to get the cable to |
| 46 | +work I **DO NOT RECOMMEND** following my lead. The wires in the adapter cable |
| 47 | +are VERY tiny and were very difficult to work with. |
| 48 | + |
| 49 | +If I were to do again I would use a micro HDMI to HDMI cable and a HDMI breakout |
| 50 | +board. This would be much easier to wire and would be more robust physically |
| 51 | +than the approach I took. |
| 52 | + |
| 53 | + |
| 54 | + |
| 55 | + |
| 56 | + |
| 57 | +[Adafruit](https://www.adafruit.com/product/3121) has an inexpensive breakout |
| 58 | +board that looks like it would be perfect. |
| 59 | + |
| 60 | + |
| 61 | +### Status |
| 62 | + |
| 63 | +The bit file build and the hello world program can be run, however the output |
| 64 | +doesn't match the expected output. I'm in the process of investigating the |
| 65 | +problem. |
| 66 | + |
| 67 | +### Pano Links |
| 68 | + |
| 69 | +- [Gitter](https://gitter.im/panologic/community) chat room for Panologic hackers. |
| 70 | +- Group.io [group](https://groups.io/g/panohackers/topics) for discussions about Panologic hacking |
| 71 | +- [Original Hackaday](https://hackaday.com/2013/01/11/ask-hackaday-we-might-have-some-fpgas-to-hack/) article from 2013. |
| 72 | +- Hackaday article on Tom's [Raytracker](https://hackaday.com/2018/12/07/racing-the-beam-on-a-thin-client-in-fpgas/). |
| 73 | +- Hackaday article on my [Pacman](https://hackaday.com/2019/01/11/pac-man-fever-comes-to-the-pano-logic-fpga/) project. |
| 74 | +- Hackaday article on Tom's [Joystick adapter](https://hackaday.com/2019/02/11/two-joysticks-talk-to-fpga-arcade-game-over-a-vga-cable/). |
| 75 | +- Wenting Zhang's [VerilogBoy](https://github.com/zephray/VerilogBoy) project. |
| 76 | +- Hackaday article on My [pano_progfpga](https://hackaday.com/2019/04/19/pano-logic-fgpa-hacking-just-got-easier/) project |
| 77 | +- My [prog_fpga](https://github.com/skiphansen/pano_progfpga) project. |
| 78 | +- My [pacman](https://github.com/skiphansen/pano_man) project. |
| 79 | +- My [Hello World](https://github.com/skiphansen/pano_hello_g1) project. |
| 80 | +- My [USB sniffer](https://github.com/skiphansen/usb_sniffer/blob/master/fpga/panologic_g2/README.md) project. |
| 81 | +- https://github.com/tomverbeure/panologic |
| 82 | +- G1 [Schematics!](https://github.com/twj42/PanoLogicG2_ReverseEngineering/blob/master/files/G1_Schematics.zip) |
| 83 | +- https://github.com/tomverbeure/panologic-g2 |
| 84 | +- https://twj42.github.io/PanoLogicG2_ReverseEngineering/ |
| 85 | + |
0 commit comments