
SE59XX-SDK
Software development Kit
User Manual
V1.2
5.9.2
Read RTC time:
Execute the following command on the kernel shell:
./ge t_r tc
I t will p rocess command “hwclock –r –f /dev/r tc1”.
The console will dis play the cur ren t RT C t ime such as “Wed Feb 1 14:11:50 2017”
5.9.3
RTC2system
Execute the following command on the kernel shell:
./ r tc2system
I t will p rocess command “hwclock –s –f /dev/r tc1”.
r tc2sys tem: se t sys tem time f rom hardware clock.
5.9.4
system2RTC
Execute the following command on the kernel shell:
./sys tem2rtc
I t will p rocess command “hwclock –w –f /dev/r tc1”.
sys tem2rtc: se t hardware clock f rom system time.
In order to make sure the clock was set correctly, turn off the power and res tar t the sys tem. Af te r s tar tu p is
completed, check the RT C time.
5.10
Using NOR Flash – JFFS2
There is a NOR flash on each device . 16MB of it is rese rved for user a p plications mount ed on /j f fs2 file sys tem.
This will be mounted automatically on system star t -u p . The user can put all a p plication p rograms and the related
data into /j f fs2 .
All data in the /j f fs2 will be ke p t when sys tem is shut down.
5.11
MQTT
You can use ht t p ://tes t .mosquit to.org/ MQTT broker ( serve r ) for tes t ing .
Summary of Contents for SE59XX-SDK
Page 11: ...SE59XX SDK Software development Kit User Manual V1 2...
Page 13: ...SE59XX SDK Software development Kit User Manual V1 2 libatop so 1 0 0 ATOP library binary...
Page 17: ...SE59XX SDK Software development Kit User Manual V1 2 Figure 2 5 SE5904DB o ot loadermenu...
Page 33: ...SE59XX SDK Software development Kit User Manual V1 2...
Page 35: ...SE59XX SDK Software development Kit User Manual V1 2 SE5901B SE5908 16...
Page 36: ...SE59XX SDK Software development Kit User Manual V1 2 SE5908A 16A...
Page 37: ...SE59XX SDK Software development Kit User Manual V1 2...
Page 52: ...SE59XX SDK Software development Kit User Manual V1 2...