<< Previous || Index || Next >>


MCU Components Installation

These are the necessary components for the MCU to function.

Step 11 :

MCU Oscillator and PLL circuit components
MCU Oscillator and PLL circuit components

Install the following components for the MCU:

USB UART Components Installation

These are the necessary components for the USB to MCU communications to function.

Step 12 :

USB UART circuit components
USB UART circuit components

Next do either A or B but NOT both! To be clear, either install the digital isolator or bypass the optocoupler circuits, but do not do both.

A) To install an Analog Devices ADUMx201 or Texas Instruments ISO7421 digital isolator: - U9 (ADUMx201/ISO7421) located to the right of the U1. Pin 1 on the device goes to Pin 1 on the PCB. - Jumper (Jumper Wire) between pin 1 of U9 to R60 pad directly across from U9 pin 1. - Jumper (Jumper Wire) between pin 2 of U9 to R60 pad closest to C44. - Jumper (Jumper Wire) between pin 4 of U9 to either pad between C44 and C4. - Jumper (Jumper Wire) between pin 7 of U9 to the RXB pad. - Jumper (Jumper Wire) between pin 8 of U9 to R56 pad closest to C39.

B) To bypass the optocoupler circuits: - Install a jumper wire from RX (one of the R60 pads) to RXB (near C21). This bypasses the optocoupler circuit. - Install a jumper wire from TX (near R60) to TXB (near C40). This bypasses the optocoupler circuit.

If you have the original FreeEMS serial monitor program (included with the freeems-vanilla firmware) you will need the PNP transistor modification shown here, HOWEVER if you have the modified "seank.hackers.special.by.fred.s19" serial monitor program you DO NOT need the PNP modification:

Install the PNP transistor modification to allow the MCU to operate without the USB cable being plugged in and connected to a computer: - Jumper (Jumper Wire) between U9 pin 5 to U8 pin 5. - PNP (2N3906) Connect Emitter to R60 pad directly across from U9 Pin 1, connect Collector to U8 pin 6, connect Base to R56 pad closest to C39.


Uploading the firmware

Step 13 :

FreeEMS Loader Application
FreeEMS Loader Application

Communication settings
Communication settings

  1. Install Seans loader or MegaTunix, these instructions are for Seans loader.
  2. Connect a USB cable between your computer and the Jaguar board.
  3. Jumper the load/run header.
  4. Turn the power supply to the Jaguar board on.
  5. Select the device /dev/ttyUSB[n] in Unix-like operating systems and COM[n] on Windows. Where [n] is the port number e.g.: /dev/ttyUSB0 or COM3
  6. Press the "Connect" button.
  7. Press the "Load" button.
  8. Choose a recent s19 of the Bench Test firmware variant.
  9. Wait until the erasing and programming phases are done.
  10. Press the "Close/reset" button.
  11. Remove the load/run jumper.
  12. Power cycle the Jaguar board.

The FreeEMS Bench Test firmware is now be installed on your Jaguar board.

You will use the above procedure to load different FreeEMS firmware from this point forward.

You may also use the MegaTunix Firmware Loader to load the FreeEMS firmware if you prefer.

Verifying correct operation of the firmware

CuteCom streaming FreeEMS data logs
CuteCom streaming FreeEMS data logs

  1. Connect CuteCom with the correct settings and hex mode on.
  2. Verify that data is streaming past at a high rate.
  3. Send the stop data logging (update.block.with.datalog.stream.type.0x00-OFF.bin) packet from the Freeems-vanilla firmware lib directory and ensure that the stream stops.
  4. Clear the text area and turn off hex mode.
  5. Send the following test packets and record the returned strings;
  6. Ensure that the strings returned match what you uploaded.


<< Previous || Index || Next >>