R-Engine-D
Chapter 1: Introduction
1.5
R-Engine-D Programming Overview
oved (J2.38, 40)
m\re\l_debug.hex
115.hex. Starts at 0xFA000
Step 3: Production
1. Generate application HEX file with Paradigm C/C++
based on field tested source code.
2. Power on board with step 2 jumper removed. See menu.
3. Use ‘D’ command to download l_29f400.hex in the
tern\186\rom\re directory. Will prepare flash.
4. Send application HEX file.
5. Use ‘G’ command to modify CS:IP to point to
application in flash, type ‘G80000’ at menu.
6. Set step 2 jumper.
Step 2: Standalone Mode
1. Run controller in standalone mode, away from PC.
Application resides in battery-backed SRAM. Set CS:IP
to point to application.
2. Power on RD without step 2 jumper set.
3. See menu at hyper terminal. 19,200, N, 8, 1
4. Type ‘G08000’ to jump to and execute code in SRAM
5. Set step 2 jumper, cycle power. Will execute code in
SRAM at every power-up.
6. Test application.
7. Return to Step 1 as necessary
Step 1: Debug Mode
1. Launch Paradigm C/C++
2. Open “rd.ide” in the tern\186 directory
3. Run samples
4. Use samples to build application in C/C++
5. Single step, set breakpoints, debug code
6. Debug kernel must be running each time to download.
7. If LED does not blink twice then stay on, repeat steps
1-3 and 7-10 of above section.
Preparing for Debug Mode
1. Connect RD to PC with RS-232 link at 19,200, N, 8,
1
2. Power on RD with step 2 jumper rem
3. ACTF menu sent to hyper terminal
4..Type ‘D’, <enter>. Send tern\186\ro
5. Type ‘G04000” to run l_debug.hex
6. Send tern\86\rom\re\re40_
7. Type ‘GFA000’, <enter>
8. On-board LED blinks twice then stays on.
9. Debug kernel running, ready to download
1-5