This document is only relevant to the ePot.V3 series of electronic stepped attenuator & preamp controller and V3 model preamps.
All of Tortuga Audio’s preamp’s are controlled by a microcontroller which is a type of embedded microprocessor widely used in commercial, industrial and consumer equipment. The software running on the microcontroller is referred to as “firmware”.
Firmware is a class of computer software that controls a specific hardware device and is typically stored in that devices’s read only memory. By its nature firmware is neither easy to erase nor is it easy to replace or update especially as compared to software applications that run on a personal computer. Firmware usually runs directly on a microcontroller’s “bare metal” without any intervening operating system.
The simple reality is that all software have bugs. Most of the time the casual owner of equipment can ignore them. But sometimes the bug is significant and needs to be fixed. And sometimes we simply make improvements and add features you might like to have. In either cause, the only way to get the fix or improvement into your machine is to do a firmware update.
Firmware for the ePot.V3 is common to both the Mini and the Max. That means there’s a unified common source code used for both the Mini and the Max. The firmware versions shown in the changelog below reflect this commonality and applies to both the Mini and Max.
However, the Mini uses a 64 pin microcontroller while the Max uses a 100 pin microcontroller and each uses difference pins than the other. Moreover, certain functionality present in the Max is not present in the Mini. As a result, the firmware download files for the Mini and Max are NOT identical and are NOT interchangeable. You must download the Mini firmware file for the Mini and the Max firmware file for the Max.
You must have an OLED display attached to your V3 in order to tell which firmware version you currently have. The firmware version is shown by selecting the “Version” menu. The firmware version is displayed as a 3 digit number as for example “FW: 108”
Before wading into the detailed firmware updating procedure described below it’s helpful to have an understanding of the overall process and tools required.
The firmware updating process can be summarized as follows:
A USB cable is required to connect your computer, that is running the programmer application, with the V3, that is running the bootloader application.
If you have one of our finished V3 preamps, then you only need a plain USB cable with a Mini B plug on one end and the common type A plug on the other. The Mini B plugs into your preamp and the type A end plugs into any of your computers USB ports.
If you have one of our DIY V3 Mini or Max boards things are a bit more complicated because the V3 does not accommodate a direct USB connection. Instead, the V3 has a serial data (UART) port that has RX (receiver) and TX (transmitter) pin connections. Fortunately, there are many specialized USB-to-Serial cables and also USB-to-Serial adapters available for typically $5-10 that take care of this USB-Serial conversion.
The links below will take you to a couple of examples of these type specialized cables or adapters to be used with plain cables.
Mini USB to TTL Serial Converter Adapter Module
In order to update the V3 firmware you need to place the V3 into “bootloader” mode. The bootloader is a specialized application that resides on the V3’s microcontroller whose sole purpose is to facilitate firmware updating. We did not create the bootloader application. It was loaded into the V3 microcontroller by the microcontroller manufacturer at the chip factory. You never have to worry about damaging or erasing the bootloader application. It resides in protected memory on the V3 controller chip.
You must start the bootloader application in order update the V3 firmware. There are 2 ways to start the bootloader program.
The first and easier way is to go to the V3 OLED display and scroll down the menu list to the “Firmware” menu item and select it. Follow the instructions on the display to start the bootloader. The display screen may go blank or you may see a message and the V3 will appear non-responsive. This is normal. It is now in bootloader mode waiting for a query from the programmer application running on your computer.
The second and more awkward way is to go to your Mini or Max board and find the S1 (Reset) and S2(Boot) pushbutton switches on the board. First press/hold down the Boot push button and then while still holding down the Boot switch also press/release the Reset button and only then release the Boot button. Nothing obvious will happen when the V3 enters bootloader mode. That’s normal and that’s OK. Read on.
The STM32 CubeProgrammer, a.k.a. the “programmer”, is a powerful multipurpose microcontroller programming application that will run under Microsoft Windows, LINUX and the Apple MAC OS. The programmer is made available for free by the manufacturer of the microcontroller used in the ePot.V3. You have to download this application and install it on your computer before proceeding with any firmware update. You only have to do this download/install once.
We use the programmer to communicate with the bootloader through a USB connection. During the firmware update process the programmer erases the existing firmware and then uploads a new version.
You can download the programmer via the link below. The download is a zip file that you’ll have to unzip. Once unzipped you’ll be able to install the programmer by clicking on the installer program. The files provided should enable you to install the programmer on either a Windows, MAC or Linux type operating system.
You only need to download and install the programmer application one time and not each time you update firmware.
The final piece of the puzzle is the updated firmware file itself that you are going to download into the V3. You retrieve this file directly from our website by clicking on the download link below. Store this data file somewhere on you computer since you will need to find it later using the programmer application.
There are 2 distinct download files listed below. If you have a finished Tortuga Audio preamp that ends with a “.V3” designator, or a DIY ePot.V3 Max controller board, only download the “Max” version and not the “Mini”. If you have a DIY ePot.V3 Mini, only download and use the “Mini” file version.
Download the programmer files from the download link above. Install the programmer application on your Windows, MAC or Linux machine. You may also have to download the Oracle Java application which is required to run the programmer.
We do not currently provide detailed instructions on how to install this application. It installs like most any other personal computer application.
Via OLED menu
Owners of V3 preamps with an OLED display can scroll down the menu list and select “Firmware”. Then press the Enter (center) button on the remote 5 times in a row. On the 5th press, the V3 will enter into bootloader mode. The OLED display may show a message confirming it’s in bootloader mode or it might also be blank.
At this point the V3 will have become non-responsive to any further control inputs. This is normal. Carry on.
No OLED display
Owners of V3 based preamps that have no OLED display need to place their V3 Max or Mini boards into bootloader mode using the S1/S2 (Max) or S2/S3 (Mini) pushbuttons located on the board. Follow the pushbutton sequence below.
When you start the programmer application it will probably look like the image below.
The first thing to do is click on the blue pulldown menu labeled ST-LINK, and select the UART option instead.
Follow these substeps:
To get the programmer to look like the image below you first have to click on the downward facing arrow icon on the left side bar to change the view to “Erasing & Programming”.
Then click on the “Browse” button and select the firmware file that you had downloaded and stored earlier.
Please also check the box labeled “Run after programming”
To summarize where we are at this point, you have already started the bootloader on your V3 preamp, the programmer applications is running, you’ve connected the USB cable between your computer and preamp, and you’ve selected the correct UART Port.
The next step is to establish communications between the programmer application (on your computer) and the bootloader application (on your V3 preamp). To do this press the green “Connect” button in the upper right hand corner of the programmer application.
This step is where you are most likely to encounter a problem where the programmer is not able to establish a connection with the bootloader. There can be several reasons for this but the most likely reason is that the V3 preamp bootloader has not been started or has quit. Go back and repeat Step 2 and then jump back here to step 7 and try again. You may also want to double check step 6.
If you’ve made it this far you almost done. You are connected as evidenced by the green circle and “Connected” message in the upper right hand and also the running “log” info in the log window.
The last step is to start the transfer of the firmware file into the V3 preamp but clicking on the “Start Programming” button. The horizontal green progress bar at the bottom of the screen will show the firmware file transfer progress. The transfer should take less than a minute to complete.
When the transfer is complete the V3 preamp will reboot and in doing so will disconnect from the programmer application. As a result the programmer will likely report some errors that it has lost communication with the V3 preamp. That’s normal.
At this point your V3’s firmware has been updated. You can proceed to disconnect the USB cable, shut down the programmer application, and operate the V3 preamp as usual.
Powered by BetterDocs
You must be logged in to post a comment.
This site uses Akismet to reduce spam. Learn how your comment data is processed.