- # fix permissions so a plain user can use the test program
- $ ls -l /dev/uio0
- crw------- 1 root root 243, 0 Aug 10 09:07 /dev/uio0
- $ su - root -c 'chmod go=u /dev/uio0'
- # ls -l /dev/uio0
- crw-rw-rw- 1 root root 243, 0 Aug 10 09:07 /dev/uio0
- # run test program
- $ ./test_uio_nvram
- test_uio_nvram: count=131072 device=/dev/uio0
- write and read nvram and compare with preset buffer
- elapsed write: 4.2550 ms
- elapsed read: 49.7250 ms
- # works :-)
simatic nvram test #003
Posted by Anonymous on Tue 10th Aug 2021 08:17
raw | new post
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.