
In your kit you can find the following items:
The DK4 kits are delivered with the following documents in printed form in the box:
Additional documentation in electronic form available for this kit is available in the Software profiles downloaded with the profile e.g. the M20-34 version 2.4. Among other documents the following are included:
After registration you can also download them from http://www.conemtech.com/Support/Online_Resources/Documents.html.
A complete documentation for the Developer 7.2 and for C34 profile, including C API Reference and Assembler Instructions, can be found inside the Developer Help system. Look under Help | Profiles Help | Please observe that these help resources are only available after you have installed the Software profile (see below).
Prepare a PC for use together with the DK4 Development Kit. In order to be used with this product, the PC should be equipped with Windows 2000 or Windows XP operating system and have at least one free USB port.
The Developer is a powerful integrated development environment (IDE) for the C3 microcontroller family platform. A unique serial number is required for installing the Developer. You will find this number on a sticker attached to the Developer CD cover.
The Developer software can be used with any C3-core based hardware. The individualization of the hardware is handled via software “profiles”. These packages contain files and settings specific to each application class. In order to develop software for the C34 system, you first need to install its profile. In this case the version 2.4 of the software will be installed.
After restart you can check that the software profile was installed correctly by looking at the listed software profiles in the About box as well as under Help |Profiles of the Developer SW.
Before you can develop, run and debug any program on the C34 system, you have to connect it to the PC. To do that, follow the steps below:
You may connect several USB Trace Adapters to your PC and debug several P40 systems simultaneously. Each USB Trace Adapter is labeled with its own serial number that uniquely identifies this particular Trace Adapter within Developer.
Now, you are ready to start using the Developer together with the DK4 Development Kit and the P40.
Your C34 based system is delivered with the firmware pre-flashed, so you should be able to see an output from the socket-board in the Terminal window:
IM3240-M210 restarting @ Mon Feb 12:00:00 2010
Reading a:/system/ish.ini: [OK]
Reading a:/system/system.ini: [OK]
Serial server: [OK]
Setting host name: [OK]
TCP/IP startup: [OK]
Registering hostname in DNS: [FAILED]
FTP server: [OK]
Telnet server: [OK]
Setting timezone to: GMT (DST)
Reading a:/system/startup.ini: [OK]
localhost.localdomain (IM3240-M210, v2.4)
Login:
The C34 system is configured to use a DHCP server for obtaining an IP configuration for its network interface. If the board is not connected to the network, or if you do not have access to a DHCP server, it may take a longer time to start-up.
You can also configure the network interface manually, by using the “ipconfig” command. Type the “help ipconfig” from the command shell to see the detailed command description. Type “help” from the command shell to see the complete list of commands supported.
If you have configured your Developer and your C34 system boots successfully, you can now start the application development. Below is a short description of how to build and run a sample project within a profile:
--- Configuration: Standard, Profile: IM3240-M210 v2.4 ---
Booting target
Trace Adapter: TA9B6D55
Reset done
Detected processor model: IM3000 (A)
Loading testmicroprogram: Tmpgm.mp (v0.0.268.0)
Detected memory type 97, size 32MB, mode 102
Loading microprogram: im3240m210.mp (v0.1.33.1)
Loading application: HelloWorld.gpx (address 00000000-000C65BB)
Program arguments: "HelloWorld.gpx -l"
Creating EFFS RAM disk...
RAM disk created, 512KB
c0start version: 2.0.1.0
Target successfully booted!If you encounter any Timeout errors during the booting process of the IM3240 target, please:
The C34 is designed to be a PTP V2 Grandmaster clock with the time and frequency source taken either from a GPS receiver or from any other equipment, which provides an accurate Pulse-Per-Second (PPS) signal and Time-Of-Day (TOD) information. It can also act as an ordinary master-slave clock when no PPS signal available.
Before using the C34 as a Grandmaster clock the time source equipment should be connected to the socket-board’s PPSIN and (optionally) TODIN connectors.
When the C34 is up and running you can start the PTP engine from the ISH command shell. Open the Terminal window, connect to the board and logon to the system. From the command line enter the “ptp2 start” command to start the PTP engine.
You can interact with the running PTP engine through the “ptp2” command interface, eg:
A:/root> ptp2 start 2
| Command | Description |
|---|---|
ptp2 start [mode] |
Starts the PTP V2 engine in one of four possible modes: 0 – non-GPS mode. Only PTP is the time source |
ptp2 stop |
Stops the PTP V2 engine. |
ptp2 hmi |
Enters the HMI command processing mode of the PTP V2 engine. To print a list of available HMI commands type “help” or “h”. To leave the command processing mode and return to the shell type “quit” or “q”. |
ptp2 [hmi_command] |
Sends an HMI command to the PTP V2 engine without entering the command processing mode. To print a list of available HMI commands type “ptp2 help” or “ptp2 h”. |
ptp2 pulse {parameters}
|
Starts or schedules a pulse train output with specified parameters: |
ptp2 pulse |
Stops the running or cancels the scheduled pulse-train. THIS COMMAND IS DEPRECATED. Use ‘pulsetime’ set of HMI commands instead. |
ptp2 config [options] |
Configures the PTP V2 engine static parameters. Any combination of following options is possible: -v [value] – VCO control range, in ns/s (default 6000) |
If static parameters need to be changed it should be done before starting the engine.
The DK4 is shipped with a tested P40 device and the latest software profile loaded. Whenever you like you can re-flash your C34 system using Developer IDE and the “FlashIt” project, which can be found under <IM3240_Profile_Path>ToolsFlashIt. But, please be aware that this is a sensitive process.The FlashIt project, its functionality and parameters are described in details in the “C3 Based Systems Firmware Installation and Upgrade” document that can be found under <IM3240_Profile_Path>docmanuals directory. Study it carefully before starting to flash anything onto the C34 target.
A short description of the procedure to re-flash the units is as follows:
Conemtech AB
Torshamnsgatan 35
SE-164 40 Kista
Sweden
Project and Business Inquiries:
Support Inquiries: