ComputeCode

GitHub

GitLab

KeyBase

PGP: 51F5 CC26 A523 96FC


DeMux: MuxHat in software form

DosLab Electronics is proud to announce that DeMux is ready for release. Below, you will find details on how to use it to flash the gMux IC on your MacBook Pro logic board.

If you have already got everything set up, you can (If you would like to do a bulk order please contact us before purchasing, we may be able to give you a discount.)

Questions, comments, and concerns can be forwarded to the DosLab Electronics email

Important note

Based on some testing and feedback from users, it has become apparent that there is a slight issue with the firmware affecting some 17” machines. On these systems, when applied, you will notice a slight blue tinge to the image, but the system will work perfectly fine otherwise. We are actively working on fixing this issue, but in the meantime it is recommended to stick to using this on 15” machines only, which do not have this issue.

If you are getting errors saying a DLL is missing please install the following Microsoft Redistributable:

Microsoft Visual C++ 2012 Rev4

Please make sure you are installing the 64-bit version by selecting it in the menu that comes up when you click “Download”.

Table of contents

Preparation

To get started, you’ll need the following:

Installing the software

Installing the software comes in three steps. First, download the package, and extract it. You should then connect your programmer and install the programmer drivers. After this is done, you can purchase a flash license from us and use it with the DeMux utility to flash your gMux IC. These steps are covered in further detail below.

Downloads

A 64 Bit Windows system is required to use DeMux.

Download the following package:

Windows 64-bit PGP signature: here PGP 0xDEBECAEE

SHA256: d2d3d09635d047d29dcf51bec412a527a047b801d26bf26f6a2fba57d3bdde67

Once the package is downloaded, go ahead an extract it somewhere safe. You are now ready for the next step.

Drivers

Once the package has been extracted, plug your Lattice HW-USBN-2A ICSP programmer into a USB port on your computer. Then, open the driver installer executable, and use it to install the USB driver. The program will tell you if it was successful.

License keys

If you don’t yet have a license key, you’ll need to purchase one. Keys cost $20 each, and are good for one gMux IC flash. Once purchased, save the key in a safe place, as it will be needed later. (If you would like to do a bulk order please contact us before purchasing, we may be able to give you a discount.)

DeMux client

Next, open up the DeMux flashing application. Here, you will need to enter the license key you purchased. If it’s a valid key, the program will indicate so. Once the license has been verified as valid, you can proceed to the next steps.


The DeMux utility ready to flash.


Preparing your programmer

In order to prepare the hardware for gMux flashing, you will need to correctly connect your Lattice programmer to the gMux IC JTAG header of your MacBook logic board. This will require either soldering wires to each pad of the header, or using our custom pogo-pin solderless connector (coming soon).


The Lattice programmer ready to go.


Soldering

To solder the JTAG wires to the logic board, start by tinning each of the 6 header pads with fresh solder. Then, strip and tin 6 wires that you can connect to your Lattice programmer. Solder each wire to the respective pin, as shown in the diagrams below:


15" Board (820-2915)



17" Board (820-2914)


No soldering

This option is coming soon. We will be providing pogo-pin based connector that allows for flashing of the gMux without the need for soldering. COmponents and PCBs have been delivered, the connectors are currently being assembled. Please sit tight we should have these available before the end of May.

Flashing

Lastly, once your Lattice programmer is properly connected to the logic board, and you have a valid license entered in the DeMux flashing utility, you are ready to proceed with flashing. To flash, perform the following steps: