Building a REX: Difference between revisions

From Tandy Tech
Jump to navigation Jump to search
(Created page with "Building a REX from scratch, using the files and info released by Stephen Adolph.<br> Brian K. White - bw.aljex@gmail.com<br> [https://drive.google.com/open?id=0Bys6eLbSbYyhV3...")
 
No edit summary
Line 2: Line 2:
Brian K. White - bw.aljex@gmail.com<br>
Brian K. White - bw.aljex@gmail.com<br>
[https://drive.google.com/open?id=0Bys6eLbSbYyhV3NEdjhvWFlYMDg Files Used]<br>
[https://drive.google.com/open?id=0Bys6eLbSbYyhV3NEdjhvWFlYMDg Files Used]<br>
[https://goo.gl/photos/7wRjuTUDv6cojpjU9 Pictures]
[https://goo.gl/photos/7wRjuTUDv6cojpjU9 Pictures]<br>
[[File:diy_rex_1.png]]
[[File:diy_rex_1.jpg]]


==BOM==
==BOM==

Revision as of 10:08, 7 March 2017

Building a REX from scratch, using the files and info released by Stephen Adolph.
Brian K. White - bw.aljex@gmail.com
Files Used
Pictures

BOM

Bill of Materials. Order each of these.
These are parts to build 3 REX boards, because you can't order fewer than 3 boards from OSHPark. If you only want to build one board, you'll have to order 3 pcbs from OSHPark, and reduce the quantities of the parts on the DigiKey cart, and just discard the 2 of the pcbs from OSHPark.

PCB

When you press "order it" you get 3 boards.

Parts, excluding the flash

This cart is pre-loaded with quantities to build 3 REX boards.

Flash

Order 1 flash chip per REX. (so, 3 chips if you want to build 3 boards)
Pick any version of the chip which matches this pattern:
AM29F800BB-##E*
Where:
## = Speed: 90 or lower (90 or faster)
E = Package: Only E, TSOP
* = Temperature range: Any
Example (what I got):
AM29F800BB-70EK

FILL IN MORE DETAIL HERE:
...Directions for what parts to solder where, gleaned from looking at the EagleCAD drawings...

  • If you load the eaglecad project, the drawing has text that says what parts to install and what parts to disregard. Which means installing eaglecad, add directions for that...
  • Locate pin1 on the TSOP flash chip. There actually is a dot next to one corner, but it's almost invisible on the finished pcb, because it's copper under solder mask, not silk screen. It's more visible in the eaglecad drawing.

Flash the Firmware

There are two things to flash;

  • The .jed, which configures the blank CPLD into a functional circuit or device.
  • The firmware, which runs on the device created by the .jed, and includes an option-rom image loaded in one of the 32k blocks of flash, which contains REXMGR.

First, flash the .jed

Install LabTools 14.7 from Xilinx
https://drive.google.com/folderview?id=0Bys6eLbSbYyhVFBQSW1pclpjaWM

Supply +5vdc to pin 1 of the board edge, and gnd to pin 14. (same as the M100 would do when installed) Simplest is use an empty Molex socket on a breadboard.

Hook up a platform usb-ii to the jtag pins with a short section of single row pin header.
(The staggered/offset holes makes tension on the straight row of pins, which holds them in place and makes a solid contact without any fancy spring loaded sockets. Google "C-MOD S6 Manual" and see the drawing.)

Temporarily pull PORT_EN high on the cpld by temporarily jumping from the vcc pin from the jtag, to R3, on the side closest to the center of the board. (Be careful and get this right. The other side of R3 is GND. If you short vcc to gnd you may burn out the 3.3vdc regulator (part number).) Just clip a test clip to the jtag vcc pin and manually hold the other end touching the side of R3 for the few seconds it takes iMPACT to program.

While holding the PORT_EN jumper in place, use iMPACT to program the .jed file.

Then flash the firmware

Follow the directions for the 4.9 update.
This happens to also serve as a way to do a first-time flash of the firmware and REXMGR software.

Directions: http://bitchin100.com/wiki/index.php?title=REX_Release_4.9

Files: http://www.club100.org/memfiles/index.php?&direction=0&order=&directory=Steve%20Adolph/REX%204.9%20Beta


References

User Manual

Sources and support files

PCB