Home

User manual

image

Contents

1. RT Digital Technology Art srl Via G Cei 100 56021 Cascina PI Italy www digitaltechnologyart com info digitaltechnologyart com Digital Technology Art srl ARMD Introduction ram
2. Digital Technology Art srl ARMD Introduction ra HARDWARE MEMORY SCHEME 99 ARMD BH X File Edit Window Help d Z m AQ 1 ARMD _ b Config Hardware CPU 3 xTAL 12000 LPC2468 MEMORY CLOCK PERIPHERALS CLOCK PERIPHERALS POWER PIN FUNCTION V PIN MODE PIN CONFIG FLASH Internal Start 0x00000000 E External Length 0 00080000 t RAM Fa Internal Start 0 40000000 2 E External Length 0x00010000 s ENABLE EXTERNAL BUS Add SDRAM and FLASH init code a a oF E a This scheme allows you to configure the hardware memory and to indicate its use 1 Specifies if the product code is uploaded in the microcontrollers internal FLASH memory or in the external expanded memory 2 Specifies if the RAM memory used by the program is the microcontroller internal memory or the external expanded memory 3 Specifies the start address and the used FLASH memory size Specifies the start address and the used RAM memory size 5 When activated this button automatically sets the pin functions to activate the external expansion bus Basically the external microcontroller bus is activated by setting the required function data addresses strobes etc of the various pins 6 Adds the start code for the expanded RAM and FLASH Digital Technology Art srl ARMD Introducti
3. ARMD first page will now appear where UT File Path ui ui gprj the tree of files that are present in the project Clear Log window i will be shown amp ARMD tx ES Ti ro Project files n CONTEXTUAL MENU 4 8 Source It is possible to interact with the list of files and folders of config c the project tree through mouse interaction E 1 When double clicking a file it will be opened in a E Library text editor ES Include I p 2 When selecting a folder or a file by right clicking the config h mouse a contextual menu will appear S ARMD xx ES Ld Ex Assembly amp ARMD bx Z Project files 4 B sour d Add existing file to project F ij 80 Add New file to project Project file Library 4 Eg Include Ej Library ipid Ej Include b me main h config h k Eg Assembly Digital Technology Art srl ARMD Introduction LEE When opening many project files your desktop could get really crowded which may slow down the screen display Q RMD File Edit Window Help 2 ps oF 1 WARNING 11 changes made in this file will be 19 4 Eng 2 Built with ARMD Rev 1 0 3 ven 14 febbraio 2014 1 Built with ARMD Rev 1 0 3 ven 14 febbraio 2C a 3 2 d 4 finclude confiq h 3 include main n 5 4 6 fr zerer Ea 5 int main void 7 ext
4. Digital Technology Art srl ARMD Introduction ra CONFIG SCHEME amp ARMD D x File Edit Window Help ARMD Mary Application Library Name Mary PH D DTA SRC JOBS MDI bin libs data ARMD data projects Mary TI i BE CL Code Configuration Format THUMB Release Motorola ARM Debug Intel Optimize Locate in r Irq Handler i e Common Size FLASH vic Output File Path UI File Path ui fui gprj i Ei Make gt ISP Bl Clear Log window This scheme manages the compiling and linking options Folder for the code creating procedure Stack pointer configuration Applied libraries File Inclusion Search GCC options 4 E dM Digital Technology Art srl ARMD Introduction EE CONFIG MAKE SCHEME tra AR KAT AAL File Edit Window Help d m fe Z mse H raa Code Configuration Format THUMB O Release o Motorola ARM G Debug gt ws EB Optimize Locate in liq Hander 1 BH Orm Common w Size O FLASH wg E Output File Path q File Path uifui gprj gt E Make gt ISP Clear Log window 1 OP CODE size choice all our libraries are ARM 2 Code optimizer setting we advise against using different values 3 Path complete with file name extension This option is particularly for those library projects tha
5. Digital Technology Art srl ARMD Introduction HARDWARE SCHEME s ARMD _ m File Edit Window Help S d 4 mme 1 ARMD II n amp Config 4 Hardware m mu LPC2468 MEMORY V CLOCK V PERIPHERALS CLOCK PERIPHERALS POWER PIN FUNCTION PIN MODE E FLASH O Internal 0 00000000 m xm p External 0x00080000 RAM Internal 0x40000000 External 0 00010000 Add SDRAM and FLASH init code This scheme allows you to configure the microcontroller peripherals and to set some specific parameters of the used hardware All settings made in these folders will then be converted to C code and saved in the config c and config h files WIZARD button opens a screen allowing to set the user mode of our hardware in a few steps Selection of the used hardware platform Selection of the used microcontroller Button that allows to visualize the datasheet of the used microcontroller Button that allows to visualize the user manual of the used microcontroller Quartz frequency used by the microcontroller Hardware configuration scheme of the microcontroller pins User mode of the microcontroller pins S e T Selection of function type of the microcontroller pins 10 Activation of the various hardware functions of the microcontroller 11 Operating frequency of the various hardware functions of the microcontroller 12 Operating frequency of the microcontroller
6. Enable PWM1 power clock control bit amp 9 e 4 wv PCI2CO n Enable The I2C0 interface power clock control bit PCSPI m Enable The SPI interface power clock control bit Bl Wait POWER ON button This scheme allows to choose which microcontroller s internal peripheral will be power supplied in order to reduce electricity consumption 1 Name of peripheral 2 Control 3 Description Digital Technology Art srl ARMD Introduction rm HARDWARE PIN FUNCTION SCHEME 99 ARMD ES FUNCTION USAGE g H HAND FLASH READY As input for FLASH READY signal H NOR FLASH READY As input for NOR FLASH READY signal H TXDO As output for transmit serial data of main communication serial port H RXDO input for receive serial data of main communication serial port H CTLO As bidirectional for CTLO signal of CY7C68013 USB interface H CTL1 As bidirectional for CTL1 signal of CY7C62015 USB interface H RD YO As bidirectional for RDYO signal of CY7C68013 USB interface H RDY1 As bidirectional for RDY1 signal of CY7C68013 USB interface Free for user at pin Y3 58 Free for user at pin Y3 57 Free for user at pin Y3 60 Free for user at pin Y3 59 Available for user at Y3 62 but also used as output to control LCD back light As output for the control of CS signal active low for graphics LCD Scheme allowing to set the function that needs to be applied to all microcontroller pins Micro
7. IGITAL ECHNOLOGY RT SHORT MANUAL ON THE USE OF ARMD Rev 1 0 0 February 17 2014 Digital Technology Art S r l Digital Technology Art srl ARMD Introduction UNE INDEX INTRODUCTION INSTALLATION PLUG IN SETTINGS CREATING A NEW PROJECT CONTEXTUAL MENU SETTINGS PROJECT SCHEME CONFIG SCHEME CONFIG MAKE SCHEME CONFIG STACK SCHEME CONFIG LIBRARY SCHEME CONFIG INCLUDE SCHEME CONFIG MACRO SCHEME HARDWARE SCHEME HARDWARE MEMORY SCHEME HARDWARE CLOCK SCHEME HARDWARE CLOCK PERIPHERALS SCHEME HARDWARE PERIPHERALS POWER SCHEME HARDWARE PIN FUNCTION SCHEME HARDWARE PIN MODE SCHEME HARDWARE PIN CONFIG SCHEME CONCLUSIONS Digital Technology Art srl ARMD Introduction C INTRODUCTION mdi has a plug in called ARMD that implements an IDE for the ARM GNU Toolchain This plug in is always present in mdi it is meant to develop applications or libraries for ARM microcontrollers that are present in Digital Technology Art devices The development environment allows to e Create a project file e Edit C sources e Compile and link the complete project e Upload binary in Flash e Start a console in order to debug the program e Edit and upload GUI in the expansion Flash Digital Technology Art srl ARMD Introduction CEP INSTALLATION All you need to do to install the application is to run the setup program MDI_ Setup exe and follow the instructions on the installation pages After that you need to apply
8. aries GCC Library User Library 3 Pathname in order to reach Bo Math our libraries DTA Library 4 Control that activates LPC E qar meant to run the g LPC Character n aiias E 0 5 Control that activates the Fast Eres H hos s FAT libraries for serial console EN management NN 6 Control that activates a library system 7 Control that activates the library for LCD character management 8 Control that activates the library for graphic LCD management 9 Control that activates the RTOS library 10 Control that activates the Secure Digital library 11 Control that activates the FAT library Digital Technology Art srl ARMD Introduction CONFIG INCLUDE SCHEME Scheme allowing to D set the locations where to search the 3 Applicatiori Library Name Mary II used include files T MER d aJ D DTA SRC JOBS MDI bin libs data ARMD data projects Mary TI The various EH locations are M amp Stack 8 Library H Indude divided bua 4 A Stak B Library Indude Search Paths comma D nae CONFIG MACRO a SCHEME ii z ARMD Mary II Scheme allowing to define macros used a uM the source files a lame Mary p PATH D JDTA SRC JOBS MDI bin libs data ARMD data projects Mary II 4 off Erlass ws Predefine Macro
9. ascade made in this fi Next 1 0 3 ven 14 f Previous uUoGOogHiiuncuE Full Screen I em Config Hardware Applications F3 Explore History Task bar Show Log Window Assistant Code Finder EH x a id n P 3 GE AME 4S Digital Technology Art srl Introduction When selecting the following display mode you will obtain SE ARMD File Edit Window Help amp ARMD Ed ARMD 1 m e if mnc 01 mec Ei mair a D a 4 Project files 4 Ej Source main c 5 config c Output Lj Qutp e Eg Include main h h Assembly B From the list of present files various new files will be created automatically config h config c main h main c They are the project s base files One file in particular config contains all hardware settings of the microcontroller and the project related software We advise you against modifying the file as it will be overwritten every time the hardware settings are changed Now select the ARMD directory and run the BUILD command from the icon All project files will be compiled and linked In the end when no errors occur a binary file will be created HEX During compilation a log screen will be activated showing all diagnostic and informative messages of the compiler and linker At the end of the process a second mdi appl
10. controller PIN List of available functions Label associated with the bit we can refer to define in the programming Comment associated with the definition This scheme can be repeated for all port groups of the microcontroller Digital Technology Art srl Introduction a0 HARDWARE PIN MODE SCHEME amp ARMD EN This scheme allows to set whether or not the resistance of the input pins 1 Pin identification 2 Selection of PULL UP PULL DOWN NONE Digital Technology Art srl ARMD Introduction ra HARDWARE PIN CONFIG SCHEME amp ARMD D x File Edit Window Help dme PORTO DIR PORTO MASK PORTO INIT PORT1 DIR PORT1 MASK PORT INI Scheme allowing to define whether a pin is set to an input or output what needs to be its initial state in case of output and if necessary whether it needs to be masked Pin identification Direction Mask Initial value QOEM 9 Digital Technology Art srl ARMD Introduction gt CONCLUSIONS This is not exactly a thorough manual but merely a short introduction For major details we like to refer to the GCC manual as an integrated part of the mdi help and to the microcontroller hardware manual reachable through ARMD Furthermore we advise to always start with a sample project or with a STARTUP usually supplied with our products Links htto www gnuarm com htto www vyagarto or D IGITAL EcHNoLocv
11. ern ur ree Z cono B lt 8 9 Public 8 E E 1 Built with ARMD Rev 1 0 3 ven 14 febbraio 201 10 unsigned 4 11 unsigned Project files z 12 unsigned 4 88 source 3 Elfifndef main h_ 4 define main h 13 unsigned main c 5 is Ve config c P EOE MEN en oca 16 static cc 4f config h T2 static cc 3 a WARNING All changes made in this file will be lost when update project 18 2 Built with ARMD Rev 1 0 3 ven 14 febbraio 2014 17 22 42 19 Public main 3 20 void 111 0 4 Efifndef config h_ 21 void lowI gt Sj Assembly 5 define config h n 22 void exce 6 23 void e 7 include lt lpc2xxx h gt n 24 8 25 25 Implen 9 Some hardware platform definitions 26 10 define MB HORNET 2000 3 27 Used 1 11 define MB GLIDE 4000 gH 28 void me 12 13 Some debug definitions 14 define STRINGIFY x x Bookmarks i 15 define TOSTRING x STRINGIFY x 16 define AT _ FILE TOSTRING LINE 17 18 define FOSC 12000000 External clock or xtal frequency 19 define FCCLK 72000000 CPU frequency 21 fdefine PLL MValue 11 PLL multiplier 22 define PLL NValue 0 PLL divider 23 define CCLKDivValue 3 CPU prescaler We advise you to select the following display mode for a better organized desktop S ARMD File Edit Help Clase Ctrl F4 Close All Tile Tile Horizontally Tile Vertically C
12. for a mdi license Without this license you will not be able to save or modify files you created In order to obtain the completely free of charge license you can send an e mail to info digitaltechnologyart com The e mail message consists of three lines Company Institute First and last name E mail Within a few hours you will receive an XML file that will overwrite the one present in the CONFIG folder in the BIN directory Now you can run mdi by double clicking the icon on the desktop The following screen will appear amp ARMD Oo x File Edit Window Help for E w CEL Poe E Digital Technology Art srl ARMD Introduction ONE If the following icon is shown you can skip the following part as mdi is ready for use S ARMD File Edit Window PLUG IN SETTINGS NE EJ close Ctrl F4 We will now set ARMD as the initial mdi application 3 P Til First select the Task bar tab from the Window menu m RN Tile Horizontally E T Tile Vertically The Task bar screen will open and you can select ARMD a ml cascade from the combo box at the top APPLICATION LIST a Next Previous 2 ARMD gt Full Screen File Edit Window Help of Bg Tabs Frame Display EN Applications als 0 0 x H PET P APPLICATION LIST N g Task bar Show Log Window g a EH Assistant a x Code Finder of N Javascript Then select Start in the MANAGEMENT grou
13. he upload process an pm RE application Everything placed in RAM since LD RAMROM BAM TERMINAL will be opened allowing you to communicate with the loaded program Digital Technology Art srl Introduction nmm SETTINGS ARMD has various pages that are dedicated to software and hardware configuration In the following we will examine them more closely PROJECT SCHEME 120 2 29 BB BBB B j i wa w w m File Edit m Window elp amp lt gt ARMD J RU TE II ARMD Toolbar Compiles and links all sources and libraries Deletes all compiled object files by compiling all modules Starts ISP the application for the upload of a binary in FLASH or to open the terminal Uploads MONITOR in FLASH MONITOR is a basic management program required for the functioning of some applications UU N e 6 GREP a function that searches a text in all source modules 7 Starts the execution of GPACK a GUI building tool 8 Uploads a created GUI in the expansion FLASH 4Mbyte 9 Opens a project 10 Save the project 11 Folder that visualizes the project files 12 Editor containing text notes regarding the project 13 Editor containing information related to the project s revision history 14 Folder containing project files 15 Folder that enters the code creating settings 16 Folder that enters the settings of the microcontroller peripherals
14. ication called ISP will be activated automatically It will allow you to upload instantly the created firmware in FLASH of your hardware SP ARMD File Edit Window Help Fl 4 wwe z Bun make files QE ER aie fans ol ipea z oes ey k Ea Project files A Source main c config c Output pu Ea Library a d Eg Include main h k Eg Assembly k BH a Digital Technology Art srl ARMD Introduction CEN At the end of the compilation a screen like the following will be shown TY ARMD 1 Final account of the E File Edit Window Help construction process the memory used by the product code is shown 2 Location of the binary product 3 UPLOAD button By clicking it the program H 24 W DD w G l will search in the selected COM 3 the microcontroller and muon Ga Binary or HEX file start uploading the D DTA SRC JOBS MDI bin libs data ARMD data projects txx txx hex l if 4 COM port where your D hardware is connected b in order to upload the sj firmware Attention GLIDE board p requires that the appropriate m programming cable IS 49 Total size including external libraries plugged into the Y10 8 Code compiled with optimization switch 00 connector uec P EE 5 If this option is EXT 55 ROM BAM FILENAME activated at the end of 26 16 12 2672 2B telf t
15. on A HARDWARE CLOCK SCHEME S ARMD 4 Config Hardware Setup pin function according peripheral use PERIPHERALS CLOCK PERIPHERALS POWER PIN FUNCTION PIN MODE PIN CONFIG Clock source xw O Fin 12000 KHz PLL Prescalers MseL 12 cuo NSEL 1 Feco 288 MHz r CPU CLOCK 1 USE CLOCK 72 MHz 48 MHz Scheme allowing the setting of the microcontroller operating frequency 1 Time base primary source 2 PLL settings 3 Achieved frequency based on the settings Digital Technology Art srl ARMD Introduction UNE HARDWARE CLOCK PERIPHERALS SCHEME 99 ARMD Oo x File Edit Window Help TIMERO TIMER1 UARTO UART1 PWMO PWMI 12C0 This scheme allows to set the clock to all microcontroller peripherals 1 Selection of dividing factor 2 Frequency reaching the peripheral 3 Peripheral Digital Technology Art srl ARMD Introduction EFE HARDWARE PERIPHERALS POWER SCHEME amp ARMD O x File Edit Window Help S d mme D f LPC2468 f MEMORY V CLOCK PERIPHERALS CLOCK PERIPHERALS POWER PIN FUNCTION PIN MODE PIN CONFIG ENABLE DESCRIPTION UNUSED F Enable always 0 PCTIMO Enable Timer Counter 0 power clock control bit PCTIM1 zj Enable Timer Counter 1 power clock control bit PCUARTO Enable UARTO power clock control bit PCUART1 Ej Enable UART1 power clock control bit PCPWMO Enable PWMDO power clock control bit PCPWM1 rj
16. p A 8 QtBasic FE pom 1 ray From now on mdi will always be ready to perform with ARMD AA Kaloritia DN ios unless you decide to change EE LUCI Palomar az ARMD Kx PLOT2D File Edit Window Help 2g PlotsD o lg Sestilio JE 3 Terminal APPLICATION LIST Create Discard T pack Pack MDI TEE Pack Selection a 0 W mD wv start Currently selected application is the default at the start y et Save screen shot Save MDI size 2 p 9 Clock sync Digital Technology Art srl ARMD Introduction nmm CREATING A NEW PROJECT Select the A icon or File New The following screen will appear It is now important to specify m 1 The name you want to give the project you are going to create 2 The path where the project will be created For now we advise you to agree with the proposed suggestions 3 Whether you want to create a library Application Library Mame 885 upra sac aoss vbtbin ibs data ARMD datafprojects ENN m i Code Configuration Format or an app ication THUMB O Release Motorola 4 Finally click this button to complete ARM Debug O Intel the creation of the pro ect Optimize Locate in Irg Handler 0 RAM Subsequently you can modify all remainin q y y y 9 size FLASH vic controls and settings at any time Output File Path The
17. t once created you want to copy to another location Specifies the project file for the graphical interface 5 Whenatthe end of the compilation this control is activated and no errors occur the ISP program will start automatically in order to upload the new code in the FLASH microcontroller 6 When activating this control the LOG screen will be automatically cleaned at the start of every compilation 7 Binary output file size It needs to be iNTEL at all times When selecting DEBUG the required data for the program tracing will also be reported in the binary output file It is useless if you don t have a JTAG emulator 9 Setting of interrupt management mode For reasons of compatibility with our libraries we advise to always use VIC 10 Setting of the destination memory location where the product code will be uploaded Use RAM for small code portions and a fast upload in binary Digital Technology Art srl ARMD Introduction ram CONFIG STACK SCHEME Scheme that allows to set STACK in all conditions provided by ARM Abort 64 EW supervisor 64 B Festinterupt 64 system 16384 4 Interrupt 4096 B Undefined 64 e CONFIG LIBRARY SCHEME En ARMD Mary Scheme that allows setting of the applied libraries Config Proc 1 Userlibrary list incl a extension divided by a idi 00000000 2 When activated this control 4 CREATE ania 4 dum libr

Download Pdf Manuals

image

Related Search

Related Contents

Manufactured before 2-2005    Manual IVRA battery charger  Oster MIXMASTER 2700 User's Manual  Consulter la notice PDF - Pharma  12 pages version 6  Trust Car Charger with Lightning cable - 12W  2014-02-20-Fiche technique  Recaro Polaric  11622 manual BMI 555 Plus - BMI  

Copyright © All rights reserved.
Failed to retrieve file