![Rabbit Coyote BL2500 User Manual Download Page 49](http://html1.mh-extra.com/html/rabbit/coyote-bl2500/coyote-bl2500_user-manual_3119445049.webp)
User’s Manual
43
4.2.6 Using System Information from the RabbitCore Module
Calibration constants for the A/D converter are stored in the simulated EEPROM area of
the flash memory. You may find it useful to retrieve the calibration constants and save
them for future use, for example, if you should need to replace the RabbitCore module on
the Coyote.
The following sample programs, found in the
ADC
subdirectory in
SAMPLES\BL2500\
,
illustrate how to save or retrieve the calibration constants. Note that both sample programs
prompt you to use a serial number for the Coyote. This serial number can be any 5-digit
number of your choice, and will be unique to a particular Coyote. Do
not
use the MAC
address on the bar code label of the RabbitCore module attached to the Coyote since you
may at some later time use that particular RabbitCore module on another Coyote, and the
previously saved calibration data would no longer apply.
•
UPLOADCALIB.C
—This program demonstrates reading calibration constants from a
controller's user block in flash memory and transmitting the file using a serial port with
a PC serial utility such as Tera Term.
NOTE:
Use the sample program
DNLOADCALIB.C
to retrieve the data and rewrite it to
the single-board computer.
•
DNLOADCALIB.C
—This program demonstrates how to retrieve your analog calibration
data to rewrite them back to simulated EEPROM in flash using a serial utility such as
Tera Term.
NOTE:
Calibration data must be saved previously in a file by the sample program
UPLOADCALIB.C
.
NOTE:
In addition to loading the calibration constants on the replacement RabbitCore
module, you will also have to add the product information for the Coyote to the ID block
associated with the RabbitCore module. The sample program
WRITE_IDBLOCK.C
,
available on the Rabbit Web site at
www.rabbit.com/support/feature_downloads.shtml
provides specific instructions and an example.
4.2.7 Real-Time Clock
If you plan to use the real-time clock functionality in your application, you will need to set
the real-time clock. Set the real-time clock using the
SETRTCKB.C
sample program from
the Dynamic C
SAMPLES\RTCLOCK
folder, using the onscreen prompts. The
RTC_TEST.C
sample program in the Dynamic C
SAMPLES\RTCLOCK
folder provides
additional examples of how to read and set the real-time clock.
Summary of Contents for Coyote BL2500
Page 1: ...Coyote BL2500 C Programmable Single Board Computer with Ethernet User s Manual 019 0120_M...
Page 6: ...Coyote BL2500...
Page 90: ...84 Coyote BL2500...
Page 104: ...98 Coyote BL2500...
Page 106: ......