Рет қаралды 2,698
@DriverD Trains #4.f - Correcting the Wi-Fi Firmware for DCC-EX
Welcome to Driver D trains. Thanks for stopping by! I’m your host Driver D.
Our conductor and brakeman Scratchy-C is ready to work on some code! [Lick!]
In previous videos I showed you how to add and configure Wi-Fi on your DCC-EX command station. If you haven’t already seen those videos, be sure to check them out!
#4.c - Adding Wi-Fi to DCC-EX
#4.d - Configuring DCC-EX Wi-Fi
In this video, I’ll show you how to confirm the version of the Wi-Fi chip firmware and upgrade or downgrade the firmware to the correct version for DCC-EX.
All these videos are part of a series on how to assemble and configure a DCC-EX Command Station to run our trains.
Videos in this series:
Part 1: #4.a - Assembling a DCC-EX Command Station kzfaq.infoHatlU7A5S5s
Part 2: #4.b - Installing & Configuring DCC-EX kzfaq.infojv_xfwLZJd8
Part 3: #4.c - Adding Wi-Fi to DCC-EX • #4.c - Adding Wi-Fi to...
Part 4: #4.d - Configuring DCC-EX Wi-Fi for Station Mode • #4.d - Configuring DCC...
Part 5: #4.e - Adding and LCD Display to DCC-EX • #4.e - Adding an LCD D...
Part 6: #4.f - Correcting the Wi-Fi Firmware for DCC-EX [**This video!**]
Chapters:
00:00 Welcome to Driver D trains!
01:50 Correcting the Wi-Fi Firmware for DCC-EX
04:00 Step 1 - Check the Firmware Version
05:50 Step 2 - Purchase a Serial Adapter (& Jumper Wires if needed)
10:15 Step 3 - Prepare the Hardware
19:32 Step 4 - Mac Users - Install Software & Firmware
34:57 Step 5 - Windows Users - Install Software & Firmware
48:36 Step 6 - Reassemble the Command Station
50:16 Step 7 - Run Some Trains!
51:23 What’s Next… Mixed Freight & JMRI
52:42 Credits
Links and Code:
Step 1:
First, check your existing firmware version in the EX-Webthrottle app in Google Chrome by typing +GMR on the command line and finding the results in the debug console. The current version in 2023 is 2.2. The version we want for DCC-EX is 1.7.4 from May 2020.
EX-WebThrottle (Chrome browser only): dcc-ex.com/WebThrottle-EX/
If you have a different version, you will want to upgrade or downgrade the Wi-Fi firmware to 1.7.4 for better performance. Here are the items you’ll need.
Step 2:
Required Hardware:
CP2102 USB UART Serial Adapter (2): www.amazon.com/dp/B07D6LLX19
Other choices: www.amazon.com/dp/B00LODGRV8
or www.amazon.com/dp/B08ZS6H9VS
Optional Hardware:
Jumper Wires: www.amazon.com/dp/B07GD2PGY4
or www.amazon.com/dp/B01EV70C78/
USB Extension Cord w/ Switch: www.amazon.com/dp/B08M45QM3J
Other choices: www.amazon.com/dp/B07T9BRNHW
Step 3:
Informational only:
MakerFabs Wi-Fi Shield schematic (note the location of GPIO0 in the upper-right quadrant):
dcc-ex.com/_images/makerfabs_...
Required software (all users):
Firmware version 1.7.4:
dcc-ex.com/_static/files/esp8...
Step 4:
Additional required software for Mac Users:
Mac Terminal - found in the utilities folder in the applications folder.
Python3 (from apple): Type “python3” on the command line in the Terminal. Follow the prompts to install the developer tools which includes Python. All Python commands below are entered in Terminal. Copy and paste these commands in Terminal when instructed to do so.
Install ESPTool:
python3 -m pip install esptool
Read Wi-Fi chip’s hardware MAC address:
python3 -m esptool read_mac
Python command to install the firmware (copy and paste this on the command line in Terminal when instructed to do so - BE SURE TO COPY IT ALL):
python3 -m esptool write_flash --flash_mode dio --flash_size 2MB-c1 0x0 boot_v1.7.bin 0x01000 at/1024+1024/user1.2048.new.5.bin 0x1fb000 blank.bin 0x1fc000 esp_init_data_default_v08.bin 0xfe000 blank.bin 0x1fe000 blank.bin
Step 5:
Additional required software for Windows Users:
Flash Download Tool:
dcc-ex.com/_static/files/esp8...
CP2102 Driver (Silicon Labs Download Page & Universal Windows Driver):
www.silabs.com/developers/usb...
www.silabs.com/documents/publ...
Memory Offsets for Firmware Binary Files (enter these in the Flash Download tool when instructed to do so):
boot_v1.7.bin: 0x00000
user1.2048.new.5.bin: 0x01000
esp_init_data_default_v08.bin: 0x1FC000
blank.bin: 0xFE000
blank.bin: 0x1FE000
What’s next?
In my next series of videos, I will introduce you to JMRI, the Java Model Railroad Interface. This initial series of videos will focus on JMRI’s Decoder Pro app, and JMRI throttles.
However, before we dive into JMRI, I have a few other deliveries to make, and maybe even some bonus materials. This is a real mixed freight so we’ll just have to find out together what is on the manifest.
All aboard!
[Meow!]
DriverDTrains ©2024