1. Download the CPLD firmware update file from the link below
https://versanetworks.box.com/s/oup1qbs0r9x1y2xowke6vg2e8yg6kto0
$ sudo md5sum Versa_csg300s_cpldupdate_2023-06-21.run
3eca7e9211cb1ddbd806815c4267932c Versa_csg300s_cpldupdate_2023-06-21.run
2. Check the current CPLD version
$ sudo cat /var/log/versa/versa-devmgr.log | grep -i cpld | tail -n 3
2022-10-13 13:24:48.371 INFO VER: CPLD:Version = 24
2022-10-13 13:50:16.855 INFO VER: CPLD:Version = 24
2023-04-12 17:42:09.328 INFO VER: CPLD:Version = 24
3. Set execute permission
$ sudo chmod a+x Versa_csg300s_cpldupdate_2023-06-21.run
4. Execute the file to update CPLD as shown below. System will reboot itself after updating.
$ sudo ./Versa_csg300s_cpldupdate_2023-06-21.run
Sample output:
$
sudo ./Versa_csg300s_cpldupdate_2023-06-21.run
install/
install/versa_impl1_0x30.jed
install/cpldupdate
Flash cpld image...
Read file size is 506033
cpld devicd id: E1 2B B0 43.
enable configuration interface.
program feature row.
program feabits.
erase flash CF/UFM.
check status bit.
reset configuration address.
program configuration flash.
transmit Program DONE....[100%]
Program Done.
Disable configuration interface.
Send bypass.
reflash.
<<<< system reboots itself >>>>>>
5. After system is rebooted, verify the new CPLD versoin:
$ sudo cat /var/log/versa/versa-devmgr.log | grep -i cpld | tail -n 5
2022-10-13 13:19:15.873 INFO VER: CPLD:Version = 24
2022-10-13 13:24:48.371 INFO VER: CPLD:Version = 24
2022-10-13 13:50:16.855 INFO VER: CPLD:Version = 24
2023-04-12 17:42:09.328 INFO VER: CPLD:Version = 24
2023-04-14 15:37:35.901 INFO VER: CPLD:Version = 30
CPLD programming is DONE!
Side note:
CPLD 0x30 update is to fix the system boot up issue at cold environmental temperature ~ below 20C. When a unit is stored in an environment < 20C it can fail to power up - The problem is related to initial power-up of the appliance when done at cold temperatures. Indication of this is evident from observing that the two white LEDs and Blue LED are lit. Units that are already installed and up and running are expected to have no runtime issues.
In case CSG300 appliance does not power-on immediately, due to being stored in a cold environment, move the appliance to a warmer environment (>20*C/ 70*F), once unit is at room temperature, power-cycle the unit (dis-connect AC power and reconnect AC power to the power adapter). Our experience is that units should be able to power-on once at room temperature. Once the appliance is powered-on, we can upgrade the CPLD following the above process.
CPLD 0x24 would fix most of the brown out issue, and we haven’t seen any brown out issue since the CPLD was upgraded to 0x24. However, Power glitches, ESD, surge, etc. are unpredictable, so there still might be a small possibility of corner cases where these power glitches simulate system power down sequence or cause system to shut down (as a brown out)