Use Of Serial Flash; Serial Communication - Rabbit Core RCM3700 User Manual

C-programmable core module with ethernet, serial flash, and enhanced software
Hide thumbs Also See for Core RCM3700:
Table of Contents

Advertisement

3.2.1 Use of Serial Flash

The following sample programs can be found in the
and the
SAMPLES\RCM3720\SerialFlash
SERIAL_FLASHLOG.C
hits on the home page of the serial flash "server." This log can be viewed and cleared
from a browser at http://10.10.6.100/. You may need to first "configure" your PC for a
"10Base-T Half-Duplex" or an "Auto-Negotiation" connection from the "Advanced"
tab, which is accessed from the control panel (
choosing
Network Connections
SFLASH_INSPECT.C
serialflash chip. When the sample program starts running, it attempts to initialize a
serial flash chip on Serial Port B. Once a serial flash chip is found, the user can perform
two different commands to either print out the contents of a specified page or clear (set
to zero) all the bytes in a specified page.

3.2.2 Serial Communication

The following sample programs can be found in the
SAMPLES\RCM3720\SERIAL
NOTE: PE5 is set up to enable/disable the RS-232 chip on the RCM3700 Prototyping
Board. This pin will also be toggled when you run RS-232 sample programs on an
RCM3700 Prototyping Board. If you plan to use this pin for something else while you
are running any of the RS-232 sample programs, comment out the following line.
BitWrPortI(PEDR, &PEDRShadow, 0, 5);//set low to enable rs232 device
—This program demonstrates hardware flow control by configuring
FLOWCONTROL.C
Serial Port C for CTS/RTS with serial data coming from Serial Port D. The serial data
received are displayed in the
To set up the Prototyping Board, you will need to tie TxC and RxC
together on the RS-232 header at J2, and you will also tie TxD and
RxD together using the jumpers supplied in the Development Kit as
shown in the diagram.
A repeating triangular pattern should print out in the
The program will periodically switch flow control on or off to demonstrate the effect of
no flow control.
Refer to the function description for
Function Reference Manual for a general description on how to set up flow-control
lines.
RabbitCore RCM3700 User's Manual
folders.
—This program runs a simple Web server and stores a log of
.
—This program is a handy utility for inspecting the contents of a
folders.
STDIO
window.
serDflowcontrolOn()
SAMPLES\RCM3700\SerialFlash
Start > Settings > Control Panel
SAMPLES\RCM3700\SERIAL
window.
STDIO
in the Dynamic C
) by
and the
RXC TXC
RXE
J2
19

Advertisement

Table of Contents
loading

Table of Contents