Use Of Serial Flash; Onboard Serial Flash; Sf1000 Serial Flash Card; Serial Communication - Rabbit RabbitCore RCM3309 User Manual

C-programmable core module with serial flash mass storage and ethernet
Hide thumbs Also See for RabbitCore RCM3309:
Table of Contents

Advertisement

Distributor of Digi International: Excellent Integrated System Limited
Datasheet of 20-101-1194 - MODULE RABBITCORE RCM3309 ROHS
Contact us: sales@integrated-circuit.com Website: www.integrated-circuit.com

3.2.1 Use of Serial Flash

3.2.1.1 Onboard Serial Flash

The following sample programs can be found in the
folder.
SFLASH_INSPECT.c
serial flash 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.
—This program runs a simple Web server and stores a log of hits in
SFLASH_LOG.c
the serial flash. This log can be viewed and cleared from a browser.

3.2.1.2 SF1000 Serial Flash Card

The following sample program can be found in the
—An optional SF1000 Serial Flash card is required to run this dem-
SERFLASHTEST.c
onstration. Install the Serial Flash card into socket J11 on the Prototyping Board. This
sample program demonstrates how to read and write from/to the Serial Flash card.

3.2.2 Serial Communication

The following sample programs can be found in the
—This program demonstrates hardware flow control by configuring
FLOWCONTROL.C
Serial Port F for CTS/RTS with serial data coming from TxE (Serial Port E) at 115,200
bps. One character at a time is received and is displayed in the
To set up the Prototyping Board, you will need to tie
TxE and RxE together on the RS-232 header at J14,
and you will also tie TxF and RxF together as shown in
the diagram.
A repeating triangular pattern should print out in the
STDIO
window. The program will periodically switch flow control on or off to demon-
strate the effect of no flow control.
—This program demonstrates the use of parity modes by repeatedly sending
PARITY.C
byte values 0–127 from Serial Port E to Serial Port F. The program will switch between
generating parity or not on Serial Port E. Serial Port F will always be checking parity,
so parity errors should occur during every other sequence.
To set up the Prototyping Board, you will need to tie
TxE and RxF together on the RS-232 header at J14 as
shown in the diagram.
The Dynamic C
STDIO
sequence.
User's Manual
—This program is a handy utility for inspecting the contents of a
window will display the error
SAMPLES\RCM3300\SerialFlash
SAMPLES\RCM3300\SF1000
SAMPLES\RCM3300\SERIAL
STDIO
TxE RxE
GND
TxE
RxE GND TxF
folder.
folder.
window.
TxF RxF
485+ GND 485–
RxF
485+ GND 485–
17

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rabbitcore rcm3319

Table of Contents