Siemens IoT2020 - Making use of the full SD Card size
HTML-код
- Опубликовано: 24 дек 2024
- Now that your IoT2020 has an SD card with a Linux instance installed, you will have found out that you only have about 500MB of storage, even if it's a 32GB Card
Here video shows how to rectify that
Do you know what the operating temperature range is? Also it is UL certified - if so that is rare and great.
Gray Beland, hi Gray IOT2020 meets all the relevant standards such as UL and CE. The housing is IP20 and the operative temperature is 0-50*C (temperature within the housing can arrive over 70*C) like all the other Siemens devices for "indoor use"
Do create small about 500MB swap partition in the end of the card, or create a swap-file. And activate swapping (at boot time). Just to avoid not so good karma of hang-of-your-service over time. New software versions have a habit to grow and demand more resources.
Is there an actual finite 32 GB limit for SD cards? Or can I use larger ones, if so how large? I'm not sure what format Yocto uses to format the SD card. I don't wish to add to my collection of smaller SD cards, if possible.
I am about to try a fresh image for the IOT2020 so I will do it with a 64GB card and see what happens, Ill report back. I dont see why it should not work as their serial devices after all, some better than others with more channels too so brand may also play a part.
I look forward to hearing the result of your trials. Thanks for responding.
I knew something was up. Quote "The SDA approved the final microSD specification on July 13, 2005. Initially, microSD cards were available in capacities of 32, 64, and 128 MB".
It appears to be a Yocto FAT32/exFAT issue. Engineers, being engineers, stuck with old versions of MSWin (think XP) which didn't handle exFAT.
Fortunately, all is not lost,
github.com/openembedded/meta-openembedded/tree/master/meta-filesystems
adds - NTFS, SMBNetFS, exFAT and some other useful stuff, including accessing iPad and IPhone file systems.
This is what Intel said -
communities.intel.com/thread/111013
earlier this year, it may have been fixed in the recent release
I tried a 64GB Sandisk Ultra and this is the result
root@iot2040:~# df -a
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 60383564 789664 57091260 2% /
devtmpfs 439600 0 439600 0% /dev
proc 0 0 0 - /proc
sysfs 0 0 0 - /sys
debugfs 0 0 0 - /sys/kernel/debug
tmpfs 439916 280 439636 1% /run
tmpfs 439916 96 439820 1% /var/volatile
devpts 0 0 0 - /dev/pts
none 0 0 0 - /sys/kernel/config
root@iot2040:~#
YES IT WORKS
Hello,
you can also use "iot2000setup" command as describe on page 23 to 25 in the "Setup manual" you can find on Siemens web site.
support.industry.siemens.com/tf/us/en/posts/setting-up-the-simatic-iot2000/155642/?page=0&pageSize=10
very shortly there will be a new version out. 2.1.3 and this should make life much easier. Serial is fixed and more features included directly int he image, As soon as it is available there will be a video for it.
I have been working with Siemens to address alot of the issues or features that needed to be added and what you see in 2.1.2 is a partial result of that. 2.1.3 will have even more. As you piinted out. 2.1.0 and .1 had a lot of manual steps needed to get things up and running with node red etc.
Thanks for the update. I figured out I don't have the modbus library. Any tips?
In Node-red go to the pallette manage, search for modbus and select the newest one. Works with Serial and TCP/IP or do it from npm install ... et.
2.1.3 also performs automatic SD Card resize on first power up with a new image. so no need to do it yourself anymore
Hello,
I am a newbie with IOT and had hard time figured out what is "pallette manage", I know...
So, I went to Node-Red website in the "Flows" tab and search for "Modbus".
I found "node-red-contrib-modbus 1.0.8" and used the command "npm install node-red-contrib-modbus" in PuTTY as they said.
I had to reboot the IOT, but now I have the modbus library :-)
Have a good day!
Thanks Peter.
Very helpfull video. Thanks a lot