LokProgrammer from ESU
Summary: A LokProgrammer is a device for programming ESU's Multifunction DCC Decoders
- 1 ESU's LokProgrammer
- 2 Using the LokProgrammer
- 3 System Requirements
- 4 JMRI Support
- 5 Further Information
The LokProgrammer is recommended only for use with ESU's multifunction decoders. Many manufacturers equip their locos with ESU decoders at the factory, their locomotive specific programming can be modified using the LokProgrammer. With the ever increasing number of CVs in a LokSound decoder, the LokProgrammer provides a much faster method of reading and writing to the decoder than using a command station's program outputs.
The LokProgrammer can also be used to upgrade decoder software or install new sound files.
The LokProgrammer is a small external box, connected between a computer and the programming track. To connect requires a serial interface, or the included USB Adapter cable and MS Windows. Includes a 500 mA power supply. A conventional power supply can be used if more power is needed.
ESU released Version 5.0.0 of the LokProgrammer software in January 2019, which supports the LokSound 5 multifunction decoders. See the note below regarding the .Net requirement.
LokProgrammer software 5.0.14 will install firmware 5.3.122 to all LokPilot 5 or LokSound 5 decoders. The new firmware fixes some smaller issues and will improve the Ditch Light behaviour. Please refer to the release notes.
Version 5.0.13 was made available during the Easter Weekend of 2020.
This was a maintenance release which corrected some issues regarding large displays and includes new firmware for the LokSound 5 and LokPilot 5 multifunction decoders
Released March 2020
- LokPilot 5 and LokSound 5 will be upgraded to firmware version 5.3.113
Correct issues with the LokSound 5
- Firmware update to 5.1.101 for LokPilot 5 and LokSound 5: Zimo ZACK train numbers
- Bug fix to Sound Editor
- Firmware update for LokSound 5
- Random sound function bug
- Add CV 245 for automatic couple sequence delay
- Soundsimulator feature updated.
- Read and Write Decoder data: Optimised for faster decoder detection.
- Soundeditor: Default Size for Mute and Containers changed
- Firmware 5.1.101 for LokSound 5:
- Soundslot Settings: Volume goes to 255 (previously 128) for more volume.
- New audio quality at 7.812 kHz / 8 Bits.
- Modified SUSI Support for Brawa locomotives.
- New light function: Brake Light will automatically turn on while braking.
- Optimization for Zimo HLU for more reliable detection.
- RailComPlus and M4 Master Decoder Synchronisation.
- BEMF: CV116 can have values down to 25 for better control during slow speed. Small jump when stopping eliminated.
Version 5.0.8 Update
Version 5.0.8 of the LokProgrammer software was released in August 2019.
- Firmware update for the LokSound 5 decoder, updating it to 5.1.85.
- F0, F1 to F3 can be defined for control by the individual or consist address
- F0 also directional
- Current Speed flag in sound editor for testing without speed table.
There are two versions of the programmer.
The older one is blue in colour. The new Lokprogrammer is black. The black one is much faster than the blue one.
Determining Version of LokProgrammer Hardware
Using the LokProgrammer software: Select:
- Click on the "Read Device" button.
DCC Settings, including RailCom and 14/28 speed steps
- Change the sound safely on the decoder.
- Setting of all digital parameters of the LokSound decoder such as address of the loco, operation speed, maximum speed, braking deceleration, brightness of bulbs etc; you can set all options with your computer very easily - no cumbersome entering of CVs (configuration variables) with your command station.
- Edit sounds and transfer it to the LokSound decoder.
- Update decoder firmware
OEM LokSound Select decoders may omit the ability to select multiple prime mover and horn sound effects, compared to the retail version. To reprogram the sound set available, a Lokprogrammer is necessary.
The Select series may not allow individual changes, only complete sound programming may be done.
LokSound decoders allow for extensive remapping of the function buttons. If you have many locomotives equipped with LokSound decoders, a Lokprogrammer is a worthwhile investment, as it allows a lot of parameters to be altered quickly and easily, as well as sound projects. It is faster than JMRI for tasks such as this.
Using the LokProgrammer
For effective use the of the LokProgrammer:
- Verify the most recent version of the LokProgrammer software is installed. Upgrade if needed before beginning decoder programming
- Minimize any connections between the programmer and decoder. If the decoder is mounted on a daughter board, use a decoder tester if you have one. If not, reseat the decoder to ensure a solid connection between the decoder and the daughter board.
- Do not attempt to program multiple decoders at once. Additional decoders will cause issues.
- Verify the decoder version and its firmware revisions.
- If there are issues writing data to the decoder, there may not be enough resistance for the LokProgrammer to detect the decoder. Adding a resistor in parallel to the decoder by connecting it across the track will help. Any value from 100 to 1000 Ohms, ¼W or larger should suffice.
- Run a firmware update manually. Forcing an update can clear up some issues.
- Ensure the wheels and the track are clean. If needed, additional mass placed on top of the locomotive can help overcome contact issues.
- Use a larger power supply. The additional current may help with problematic decoders.
The LokProgrammer has two LEDs mounted on the board by the programming track connections. Green LED
- Is lit continuously when power is connected to the LokProgrammer
- Flashes to indicate data received from computer
- Rapid flashing when power is applied to program track and data is being transferred.
- Slow flashing when a fault (excessive current) is detected and has disconnected the program track.
USB to Serial Bridge Cable
- Before plugging this cable into the USB port of a computer the FTDI drivers, available on the ESU website, must be installed. Otherwise the device will not work.
- Windows8.1 or higher may do this installation automatically.
- Do not use another cable. This device works well, other devices may cause communications issues.
Microsoft Windows Only
The LokProgrammer software is only compatible with Microsoft Windows. The webpage states Windows XP. According to ESU their software requires XP, Service Pack 2 or better. It only works with the 32 bit version of XP. Since XP has not been supported since 2014, most installations will be on a higher version of Windows.
Other Windows Versions
ESU does state that LokProgammer is compatible with windows versions 7, 8 and 10. Current version is 4.7.2, (requires Microsoft .NET Framework 3.5 SP1, installed automatically if needed) available from their download page.
RS-232 (Serial) to USB Interface (USB Bridge)
As the LokProgrammer uses a an RS-232 serial port, an adapter cable is required to connect to newer computers which lack the 9-pin D connector style serial port.
ESU includes a USB to RS-232 bridge cable.
A driver must be installed to create a Virtual Com Port on a IBM compatible computer. Macintosh users also require a driver. See the link below for FTDI (Future Technology Devices International) to download a driver for the cable
Windows 7 Issue
Cables supplied by ESU prior to 2009 will not work correctly. Contact your ESU dealer to purchase a new cable, part number 51952: Cable USB-A 2.0 FTDI to RS232; 1.80m, for LokProgrammer.
Installation of a new FDTI driver for the cable is also required. It can be downloaded from FTDE Chip directly.
Counterfeit USB Bridge Cables
There are a many of USB to Serial port adapters on the market. A number of them used a counterfeited FTDI IC. FTDI released a newer driver which bricks those devices a few years ago.
It is unknown if it is compatible with JMRI. The complexity of some ESU decoders is an issue for the programmers who create the parameter files for JMRI/DecoderPro.