Relay interface modules 4, 8 and 16-way, 24v d.c power supply (2 pages)
Summary of Contents for RS EDP-CM-1113
Page 1
Embedded Development Platform Getting Started Guide for LPC ARM‐core Command Modules EDP‐CM‐1113, EDP‐CM‐1343, EDP‐CM‐1768, EDP‐CM‐2368 Version 3.11 February 2011 ...
EDP-CM-LPCxxxx Getting Started V3.11 Contents Introduction Prepare to run the ‘Hello World’ Program Software requirements ..............4 Hardware requirements..............4 Build and run ‘Hello World’ Load the Project ................5 Build the Project ................5 Download and program target Flash memory......... 6 Build your own Project Creating a new Project..............
EDP-CM-LPCxxxx Getting Started V3.11 Introduction To get the most out of the EDP platform it’s important to understand the concept of the EDP system correctly. This is detailed in the user manual for the Base Boards which can be downloaded as a pdf file RS EDP‐BB‐SystemBaseBoard User Manual Vx, from the RS EDP website. The base boards come in both 2 position and 4 position formats and share a common user manual. Please read this manual to get an understanding of the system. Each of the Command Modules (CM) and Application Modules (AM) has its own user manual, so again these documents must be read to get an understanding on how to use the modules. Each of the boards comes with its own suite of software to fully exercise the EDP Application ...
C compiler, Flash programmer and debug tools. 2.2 Hardware requirements The Keil IDE needs a hardware programming/debug dongle which allows the CM module to be linked via USB to the IDE running on the PC. If you already run Keil µVision then you should already have the interface in the form of a ULINK2 module. If not, then a suitable unit can be obtained from RS under the part no. 703‐9241. The software inside the dongle is upgraded automatically by Keil µVision when it is plugged in to the host computer. It supports classic ARM7/ARM9 architectures as well as the later Cortex devices. JTAG and SWD are both supported. ...
EDP-CM-LPCxxxx Getting Started V3.11 Build and run ‘Hello World’ 3.1 Load the Project • Plug the dongle into the CM module noting the orientation in the picture above. • Connect the dongle to a USB port on the host computer. • Turn on power to the Base Board. • Download the ‘EDP LPCxxxx Hello World’ folder from the EDP web site to your C: drive. • Run Keil µVision 4 on the host computer. • Click on Open Project from the Project menu and navigate to the ‘EDP LPCxxxx Hello World’ folder. Double click on ‘Hello_World’ to load the project files. • The screen will now appear as below: Note that the folder already contains all the necessary source code files together with the Build files produced by the IDE. To demonstrate the procedure we will now perform the Build and Link operations. ...
EDP-CM-LPCxxxx Getting Started V3.11 3.3 Download and program target Flash memory • If zero errors are reported then the code can be downloaded to the target MCU and programmed into its Flash memory. Click on the Download button on the Build toolbar. • Press the Reset button on the EDP Base Board and one of the two yellow User LEDs on the CM module should begin flashing indicating a successful download and program. Rebuild Project button Download to Target button ...
EDP-CM-LPCxxxx Getting Started V3.11 4.1 Creating a new Project • Click on New µVision Project from the Project menu and navigate to your project folder containing your source files. • Type in a project name and click on Save. You will now be asked to select a target MCU device. In this case select ‘NXP’ and then the part number from the drop‐down list. ...
Page 8
EDP-CM-LPCxxxx Getting Started V3.11 Appendix 1 EDP I C Bus Device Addresses 8‐bit address format is used: the LSB is reserved as the read‐write bit. These addresses are defined in file: I2C‐Directory.h BaseBoard BB_DIP = 0x40 8‐bit DIP Switch Address set by jumper link JP501 providing possible range of addresses: 0x40 (default), 0x42. BB_EEPROM = 0xA2 Serial 4KB EEPROM memory Address set by jumper links J601 to J603 providing possible range of addresses: 0xA0, 0xA2 (default), 0xA4, 0xA6, 0xA8, 0xAA, 0xAC, 0xAE. Communications Module EDP‐AM‐CO1 CO1_RTC = 0xA0 Real‐Time Clock and SRAM Address set by jumper link J304 providing possible range of addresses: 0xA0 (default), 0xA2. Digital I/O Module EDP‐AM‐DIO54 DIO54_Out = 0x46 Digital output latch Address set by jumper links B305 to B307 providing possible range of addresses: 0x40, 0x42, 0x44, 0x46 (default), 0x48, 0x4A, 0x4C, 0x4E. ...
Need help?
Do you have a question about the EDP-CM-1113 and is the answer not in the manual?
Questions and answers