Using RTC with LPC1788 under uClinux |
This application note explains how to use the RTC device with LPC1788 under uClinux.
The hardware platform is Embedded Artists' LPC1788-DEV-KIT board. The demo documented in this application note assumes that the RTC battery is inslalled on your board.
The procedure described here explains how to install the bootable Linux image (rtctest.uImage) to the target. Here is how you can build and install the bootable Linux image from the project sources (rtctest.tgz), having installed them on top of the Emcraft Systems LPC1788 uClinux distribution. Note: The Linux image and the sample project have been built and validated in context of the Emcraft Systems Release 1.10.0. If you are using a different release, some porting changes may be needed.
~ # date -s "2012-08-07 12:34:56" ~ # hwclock -w ~ # date |