Home

Composer™ Presto™ USER`S MANUAL

image

Contents

1. Hydro Electronic Devices Inc 7 i d 1 composer presto CAN IN Composer Presto TM USER S MANUAL Preliminary IMPORTANT NOTICE PLEASE READ FIRST THIS SOFTWARE IS USED AT YOUR OWN RISK IMPROPER USE OF THIS SOFTWARE MAY RESULT IN IMPROPER FUNCTIONING OF A MODULE THE USER IS SOLELY RESPONSIBLE FOR THE RESULTS OF ANY USE OF THE SOFTWARE HED MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND EXPRESS OR IMPLIED WITH REGARD TO THE SOFTWARE ITS USE OR ANY RESULT THAT MAY BE OBTAINED THROUGH ITS USE USE OF THE SOFTWARE REQUIRES PROFESSIONAL JUDGMENT AND IT IS SOLELY THE USER S RESPONSIBILITY TO ASSESS THE APPROPRIATENESS OF ANY APPLICATION OF THE SOFTWARE HED WILL NOT BE LIABLE TO THE USER OR ANY THIRD PARTY FOR ANY DAMAGES OF ANY KIND DIRECT CONSEQUENTIAL OR OTHERWISE REGARDLESS OF THE LEGAL THEORY ARIS G FROM OR ASSOCIATED WITH THE SOFTWARE OR ITS USE m DISCLAIMER OF WARRANTY im LIMITATION OF LIABILITY UNDER NO CIRCUMSTANC TORT CONTRACT OR OTHERWISE SHALL VENDO OR ANY OTHER PERSON FOR AND VENDOR I LIABILITY FOR ANY INDIRECT SPECIAL E DAMAGES OF ANY CHARACTER INCLUDIf THOUT LIMITATION DAMAGES FOR WORK STOPPAGE COMPUTER FAILURE OR OR OTHER INTANGIBLE OR ECONOMI LICENSORS BE LIABLE FOR ANY DA NDONDER NO LEGAL THEORY ICENSORS BE LIABLE TO YOU EXPRESSLY DISCLAIMS ANY AND ALL ITS LICENSORS OF THE POS E SUCH DAMAGES OR FOR ANY CLAIM NO CLAIM R
2. File amp Rung Logic M Capitalize Hdefines for Dataltem Names Normal compile that creates the C code Header File and also creates the C code Constants File for the Rung Logic data INPUT THROTTLE Door jar larm DOORAJARALARM A The options are e Normal Creates only standardComposer files 4 e Normal Header File Creates standard Composer including any rungs thatare digg B There is a header file optionto convert dat e inputl o With eo e Outputl define OUTPUT1 STATUS 2 da define OUTPUTI CURRENT IOMap 3 o h Without capitalization enabled V define Output VALUE IOMap 0 define Output FLASH 1 define Output STATUS IOMap 2 define Output CURRENT IOMap 3 4 0 Compiling a Presto Project in Composer A Presto dongle is required to run theComposerTM s Compiler The type of dongle being used is displayed on the bottom of the Composer main window Auto Save OFF Levell HF 1 16 2009 The options for Composer are e Level 1 HF level 1 dongle withPresto e Level 1 Standard level 1 The Composer s Compiler creates two files thatare included n your C project Constants h ad Constants h file contains the Zdefines where all thelata items are in the IOMap Th Constantse fi stant arrays that the firmware will use to set up all modudan the systemand run the rungsif activated The Compiler
3. Serial Receive h f Function Prototype for User Serial Receive Add user software when applicable Note This filewill only be available on modules that have RS23 6r o User Serial Receive c Funcition is called once for every bytef ceive O of thg SCI lines on the module if the HED packet are disabled See Appendix A for Add user software when applicable Note This file will only be available ave RS232 or USB o User Serial Packet Receive h Function Prototype for User Serial Add user software when app Note This file will only odules RS232 or USB on them O oris Serial Packet Reg ive c Funcition is called aCket received on any of the SCI lines on the module if the where 15 the characters with the user data 2 Run the debugger 3 Onceit is done programming the moduleon the file menuopen the MultilinkCyclonePr Load 10 File View Run MultilinkCyclonePro Source 1 Component Data Reset Ctrl R Communication Set Derivative Set Communication Speed Command Files Debugging Memory Map Unsecure Trigger Module Settings Bus Trace Flash Help ACI Select Core 4 Select the open button and select the abs file located in fABoot C d rt p aki e aL 8 CL10310180000 abs Files of type Executables abs elf l Cancel Advanced Commands Load Code Load Symb
4. programming experience 2 0 Material e Required o Blue Dongle with Presto HED Part Number CL 012 304 o o Freescale CodeWarrior For HCS12 X Version 4 7 with appropriate license 4 Not included with Orchestra Needsto be ordered through Frees e Optional o Wire Harness or Switch Box Contact your supplier for ordering information Create your own o CL 802 100 Only required if the mastr module yous re using doe be used even if the master module does 3 O hee Multilink Used for debugging software through JTAG If this is not purchased module can stilh your software is more difficult f gt Not included with Orchestra Nes ordi red througlP amp E Micro Note opening the module tg plug the See Appendix C for connection informat 3 0 Setup E UN Using Composer to create header fil Sfor difference is the Compile Option has to eh is almost identical to a standar Composer M only system The only din the Project Setup window s System Settings tab To get to the Project Se e BR icon or under the Options menu click Edit Project Setup TJ Project Set up System Settings Safe Mode Below Voltage Option System CAN Low Voltage Volts 0 48 Single CAN Y If the master module drops below this voltage Adjustable Loop Time it will go into safe mode Om el ompile Option Header File Option Normal Header
5. willalso copy the CodeWarrior project for the selected master moduleto the project file See below Pre compile Name 128 d 103 101 cdb 00 00 2 c1 103 101 1db Post compile Mame a cl 103 101 cdb 00 00 a c 103 101 Idb Projects 18 cI 103 101 clc1 00 00 82 cl 103 101 dsp 00 00 18 cl 103 101 ioc_00 00 Inside the Projects directory will bea c ult project for the selected master module and the Constants c and Constants h file that are specific to t project HED has rter project that is specific to eaclmaster module Each master modulehas its own project which contains t s that are displayed iXCodeWarrior M The project view inCodeWarrior displays the files and Tr CL103400App mcp 39 P amp E ICD Files Link Order Targets 3 Debugger Cmd Files Debugger Project File Libraries C Linker Map J Pim 3 Sources e Debugger Cmd Files o These files are used to setup the P amp E debugger o These files should not need to be edited however there is infor they need to be edited e Debugger Project Files o These files are used to setup the P amp E debugger o These files should not need to be edited however thefe 15 info they need to be edited e Libraries o These files are for the processor o These files should not be edited e Linker Map o Contains the memory map after t onCodeWarrior should available frofiodeWarrior should cessfully lin
6. EGARDLESS OF FORM MAY OR ACTION BROUGHT BY YOU MORE THAN ONE 1 YEAR AFTER THE BASI TH AIM BECOMES KNOWN TO THE PARTY ASSERTING IT INDEMNIFICATION FULL TEXT OF THE CANLinke Composer LICENSE IS INCLUDED WITH THE SOFTWARE gt p I to 1 5 CP A y lt Hydro Electronic Devices Inc Intelligent Electronic Controls for Mobile Equipment Table of Contents able 0 9 9 ria dosis A u 1 L T SV IH pm cM ERR 6 0 Compiling and Debugging a C Project 70 Reloadino The Bool Cole ln a eoi E PER FU DUE Do re 8 0 Reprogramming a 7 9 0 Software notes A PP apos A 750 61510101 ee en 1 0 Introduction Orchestra s Presto enables a user to use all the features Orchestra provides and write their application or parf the application using the C programming languagenstead ofonly Orchestra ladder logic The low level CPU drivers such as communication protocol diagnostic tools I O management etc are all providedas precompiled object code The user is responsible for setting up a system inComposer and using CodeWarrior to add user specificcode to the C project and compile it Presto is intended for uses with C
7. Tx and Rx Output Control IOC File Memory Map for Conductor Compiling Software Use Code Warrior IDE e Creates a S Record for downloading Built in Debugger is also available PA Etc Link to Pre Compiled amp Proprietary HED Firmware Handles Module Communications e Handles Server I O Messaging and Control Manger Master Peripheral Control CAN Serial HO Download Resulting S Record To Master Use Code Warrior Debugger to program through JTAG for initial testing Use CANLink Downloader for field reprogramming Debug and Tune Application Code Conductor Tuner Code Warrior Debugger v 16 Appendix C Connection when master module does not have RS232 or USB or if it 1s preferred to program through CAN USB or Switch Box or Wire Module to be RS232 Harness programmed PC A DC Power Supply Connection when master module has RS232 or USB CAN Bus With USB or Switch Box or Wire Module to be ae Rs232 Harness programmed A DC Power Supply 17
8. d Header File Enabled Yes Read Master Inputs Calculate Master Output Current Feedback Y Read Master Output Status Overwrite Non Output Values wit Debug Values Is Debug Enabled Unswitched x Switched Battery at a Safe Level battery low Increment and Decrement Save EEPROM Composer Timers Header File Enabled Are Composer Rungs Enabled No i Set State Machine IOMap equal to temp values Run Composer Yes Rungs Overwrite Output Values with Debug Ye Values Is Debug Enabled Update Master Outputs i Update Client Outputs Is Display Enabled Update Display Mada Ss No Appendix B Composer Select Module Define RO Type Preference EEPROMs etc Assign IO to Modules Select Compile Option Run the Compiler x Header Files Constants c e System Setup Module Configurations Rung Information if included Constants h e defines for IO locations e defines for module number e defines for updating outputs x User Application e Written using C code Functions are called from HED firmware Incorporate Composer Header files Defined Firmware Function Calls CAN
9. h for datdogging remove it from the linker file Thi ig ensure that th compiler will not place any of the application code there dh Comment out the pages to be used inthe paged flash section wh range Remove or comment out the pages in he DEFAULT ROM Use caution when erasing or writing to addresses Using an address that does not exist will cause the pr cesso Erasing an address with application code will HED PC programs connections start at oso something other then 9600 ensure that it restores 1 Changing the baud rate when a HED tool 15 connecte HED Serial Packetscheme Start Byte A End Byte q User Packet command gt Example 1230 Ye printffunction o haye the serial lineto send on defined prior to be used in the e desired line 14 Appendix A Power Up Initialize system Header File Enabled No Yes Serial Data in buffe and Time Out not Reached ED Serial Scheme Enabled Full Packet Received No No Yes Clear the packet counter HED fimware Handles Serial Message Yes Firmware handles Yes p module CAN message Does Message Put data from Yes have J1708 o vesk message into IOMap 1708 Message No Rx Buffer and Time No N Out not Reache
10. ked e Prm o Burner bbl and phy files e for the project It setups up where all the memory is and where all the e project go paged memory page of RAM is reserved for th amp ser application Therefore e edited Do not edtt these files 4 n A h and c files TRAI The Composer Compiler created these files to match the system that was setup KGomposer M Do not edit these files ser Init h Function Prototype for User Init Add user software when applicable o User Init c Function is called once on startup See AppendixA for flow chart Add user software when applicable o User App h Function Prototype for User App Add user software when applicable o User App c Function is called once per loop See Appendix A for flow chart Add user software when applicable o User Can Receive h Function Prototype for User Can Receive Add user software when applicable o User Can Receive c Function is called once for every CAN message thadid not come from a module onthe system See Appendix A for flow chart Add user software when applicable o User J1708 Receive h Function Prototype for User J1708 Receive Add user software when applicable Note This file will only be available on modules that have J1708 o User J1708 Receive c Function is called once for every J1708 message receivd See Appen Add user software when applicable _ Note This file will only be available on modules that have J l 18 gt o User
11. loadby 12 Enter file s for CL 103 101 00 001 Latest 00 001 020 File Selected File Selecting the software from the pull down lis B of previously sel Pressing the open button C and selecting it from a director o the software is selected press OK o Wait for the download to finish e Boot Code User Software Created with the C header Y Connect with theFirmware Downloader It will display the master module as MasteModule Click on the master module toselect it to be progr Select Start When prompted select the software to download Select Start lt er modules the bus O O O O O O File Edit Match Help onvert Custom Master back to a Standard CL 103 101 Master Module Versions Icon Legend Busy Downloading Unknown Ka Missing gt lt Download Fail 3 Needs Update Up to Date T version High NZA T Version High C vR 38 Marked for Download Select module s to load TYP HW MJR Comm Port 1 115200 n 8 1 A Note To make the module a standardComposer Master clickthe Convert Custom Master Back to Sandard CI XXX XXX Master checkbox A For more information on how to use thDownloader please see the Downloader manual 9 0 Software notes Below are some things to consider when writing the application software Flash O Serial To reserve a section of flas
12. ols Open and Load Code Options Automatically erase and program into FLASH and EEPROM Verify Code Verify memory image after loading code Complete image First byte of each loaded block faster Run after successful load 7 Stop at Function 5 It will load the boot code 11 8 0 Reprogramming a unit A differentprocedure needs to be followed to reprogram a unit using the Firmware Downloader depending on whabftware 15 currently in the master module There are 3 different optionsf what it may contain e Boot Code only o Connect with theFirmware Downloader It will go into legacy mode o Select the software to download o Enter FFFF for the module type o Select Start e Boot Code Standard Composer M Software o Connect with the Hrmware Downloader o It will display the master module and all the modules on the bus o Click on the master module toselect 1t to be programmed CANLink Downloader 01 02 00 File Edit Match Help Select Custom Master Software Module Versions Icon Legend Busy Downloading Unknown gt lt Download Fail gt Needs Update Up to Date T version High NZA IN version High OvR 38 Marked for Download Select module s to load TYP HW_MJR_ Comm Port 1 115200 n 8 1 g Check the check box A displayed in the upper right to allow selection otustom master software Press the start buttonarrow elect the software to down

Download Pdf Manuals

image

Related Search

Related Contents

Epson EB-1751  Aide fiche descriptive d`action - Comité départemental de badminton  Samsung CLP-600 User Manual  Soundmaster RCD1750SI CD radio  ACMA Radio Test Report  Philips SJA7181 Cell phone Small Black Pouch  

Copyright © All rights reserved.
Failed to retrieve file