Firmware upgrade/Flash from Windows
USB CONNECTED to the PC, no WIFi/Lan modules or Raspberry connected to Z-Bee
- Install Python: Python. Verify installation with command (from Windows Powershell):
python -V
- From Windows Powershell execute:
python -m pip install --upgrade pip
python -m pip install pyserial
python -m pip install intelhex
- Download and unpack flash tool (in a folder of your choice, for example c:\python) Flash tool
- Download in that same folder also the new firmware to flash (for example CC1352P2_CC2652P_other_coordinator_20210120.hex).
- Now plug USB stick. Press FLASH + RESET: release RESET before then FLASH; adapter is now in flash mode.
- From Windows powershell move to firmware folder (for example cd C: then CD python) and use this command (take care to use effective COM port and firmware name):
python.exe cc2538-bsl.py -p COM4 -evw CC1352P2_CC2652P_other_coordinator_20210120.hex
- Since version 1.1 to rev.D adapter is provided by auto BSL: no buttons are needed to enter in flash mode. Flash string is the following:
python.exe cc2538-bsl.py -p COM4 --invoke-bootloader 3 -ewv CC1352P2_CC2652P_other_coordinator_20210120.hex
- Since rev.E no buttons are needed to enter in flash mode. Flash string is the following:
python.exe cc2538-bsl.py -p COM4 -ewv CC1352P2_CC2652P_launchpad_coordinator_20211217.hex
- Done