How can we help you today?

How to solve the message "Could not remove directory \usr\Cfg" when upgrading the firmware of M241/251 controllers?

Issue:

The message "Could not remove directory \usr\Cfg" can appear when doing a firmware update of the M241/M251 controllers using the Controller Assistant.

When doing the firmware update via an SD card, the error is returned in the script.log file in the following way: "Delete "/usr/*" (line 1) returned cleaning error"

Cause:
The reason is related to certain corrupted files that cannot be deleted.

Resolution:
To delete these files, we have to add the Format "/usr" command at the 1st line of SD card script (file path: /sys/Cmd/Script.cmd).

Note: For the firmware versions after V4.0.2.52, the Format "/usr" command is automatically added by the Controller Assistant in the Script.cmd when generating the SD card.

Schneider Electric Hong Kong

Explore more

Discuss this topic with experts

Visit our Community for first-hand insights from experts and peers on this topic and more.

Explore more

Need help?

Product Selector

Quickly and easily find the right products and accessories for your applications.

Get a Quote

Start your sales enquiry online and an expert will connect with you.

Where to buy?

Easily find the nearest Schneider Electric distributor in your location.

Help Centre

Find support resources for all your needs, in one place.