![Tern CAN-Engine Technical Manual Download Page 7](http://html.mh-extra.com/html/tern/can-engine/can-engine_technical-manual_1089501007.webp)
CAN-Engine
Chapter 1: Introduction
1-5
1.3
CAN-Engine Programming Overview
Steps for product development:
Preparation for Debugging(DONE in Factory !)
• Connect board to PC via RS-232 link, 19,200, 8, N, 1
• Power on without STEP 2 jumper installed
• ACTF menu should be sent to PC terminal
• Use “D” command to download “L_TDREM.HEX” in SRAM
• “G04000” to run “L_TDREM”
• Download “c:\tern\186\rom\ae86\EE40_115.HEX” to Flash
• “GFA000” to setup EEP ROM and run remote debugger
• Install the STEP2 jumper (J2.38-40)
• Power-on or reset, Ready for Re mote debugger
STEP 2: Standalone Field Test
8
8
8
8
”G08000” setup EEPROM Jump Address, points to
application code resides in battery backed SRAM
8
8
8
8
Install STEP2 jumper, then power on
8
8
8
8
Application program running in battery-backed S RAM
(Battery lasts 3-5 years under normal conditions.)
• Start Paradigm C++, run “led.ide” or “test.ide”
• Download code to target SRAM.
• Edit, compile, link, locate, download, and remote-debug
STEP 1: Debugging
STEP 3:
DV-P Kit
• Generate application HEX file with DV-P and ACTF Kit
• ACTF “D” to download “L_29F400. HEX” into SRAM
• Download application HEX file into FLASH
• Modify EEPROM jump address to 0x80000
• Set STEP2 jumper
Production
There is no ROM socket on the board. The user’s application program must reside in SRAM for debugging in
STEP1, reside in battery-backed SRAM for the standalone field test in STEP2, and finally be programmed into the
on-board Flash for a complete product. For production, the user must produce an ACTF-downloadable HEX file for
the application, based on the DV-P Kit. The “STEP2” jumper (J2 pins 38-40) must be installed for every production-
version board.
Step 1 settings
In order to talk to CANE with Paradign C++, the CANE must meet these requirements:
1) EE40_115.HEX or EE80_115.HEX must be pre-loaded into Flash starting address 0xfa000.
2) The SRAM installed must be large enough to hold your program.