2018-04-11 07:06 AM
Recently, I download the STM32Cube firmware examples for STM32H7 Series, but when I extract it, all the things are read-only. And there is no use for me to change the properties of the document, unclicking the read-only option. Have everyone meet the same issue?
Thank you so much!2018-04-11 08:36 AM
Yes, so user file manager and right-click to change the properties on the entire directory tree.
Unpacked manually, or with CubeMX?
2018-04-11 01:41 PM
Thanks, I have right click to change the properties when it is .zip file. But when extracting the zip file, the documents inside are still read-only. Every time I change the file properties, when I open it, it also shows read-only. I open it with Keil MDK.
Is it normal for everyone to download the examples with read-only?
Thank you so much!2018-04-11 02:03 PM
If you let CubeMX download and unpack the files into the repository it doesn't mark them as read only.
I unpack things to a directory tree, and change the attributes as needed, I'm not continually pulling new copies from the ZIP file.
2018-04-11 04:34 PM
Thank you for your helping, I will try CubeMX.
2018-04-12 02:32 AM
You didn't unpack the zip into a protected folder under Windows like '
C:\Program...
', did you ?2018-04-13 02:34 PM
Thanks, AvaTar. I try both in C:\ and other, they show the same. It shows the package maybe has some protection. I don't it is due to my fault or it has some special restriction.
2018-04-14 08:03 AM
If it's somehow write-protected, try to un-set the read-only flag (right-click, Properties).
And don't forget the 'include subfolders' option.
For some folders, you cannot do this - 'C:\Program Files ..' is one example.
BTW, it is generally a good idea to keep dynamic data (like projects and source libs) on a second partition.
Might be too late to reshuffle the harddisk in your system without risk, though ...
2018-04-14 11:54 AM
Unlike other releases from ST the .ZIP file here describes the files with the +R attribute