Home
mikromedia for STM32 User Manual
Contents
1. pa 25 eS SS Figure 3 1 NC en lt gt STM32F207VGT6 w Microcontroller Figure 3 2 STM32F407VGT6 Microcontroller The microcontroller can be programmed in three ways Via USB mikroBootloader Using external mikroProg 2 Using external ST LINK V2 programmer programmer mikromedia for STM32 development system can be programmed in three different ways 9 Using the bootloader which is preprogrammed into the device by default or via external programmers 8 mikroProg or ST LINK Vo Programming with mikroBootloader You can program the microcontroller with bootloader which 5 preprogrammed into the device by default To transfer file from PC to MCU you need bootloader software mikroBootloader USB HID which can be downloaded from KA www mikroe com downloads get 1849 mikrobootloader_mikromedia_stm32_v210b zip Upon download unzip it to desired location and start the mikroBootloader application PENA mikrobootloader mikromedia stm 32 v210b WinRAR ZIP archive mikroBootloader USB HID mikromedia for STM32 File folder 9 Firmware 4 File folder T mikromedia for STM32 M3 h mikromedia for STM32 M4 STM32F207VG USB HID Bootload STM32F407VG USB HID Bootload HEX File HEX File _ Software Windows File folder Bootloader tool for mikroElektron mikroElektronika mikroBootloader USB HID v2 10
2. Interruptlines SPI lines lines RST Reset l GND Reference ground Ti audioout 7 PA10 j PWM lines PD14 l Digital 1 0 lines l PD6 RX PD5 TX _ UART lines 21252 PC lines 3 3V 3 3V power supply GND mi Reference Ground Pin functions UART lines PWM lines o 7 W 14 0 81 15 mm 3195 mils 08 EO Z siu CEILS 404 eeeem 2 67 mm 105 mils os oc 84 5 zz L se NIL e Y T ev 05 so I wa e E a a o T err KO aJ ec ec o cc JOIA 951 005 ww Z9 siu OSE 6878 siu 0022 88 55 0822 609 15 mikromedia accessories We have prepared set of ex tension boards pin compatible with your mikromedia which enable you to easily expand your board s basic functional ity We call them mikromedia Shields But we also offer other accessories such as a Li poly mer battery stacking headers wire jumpers and more o Gaming shield 05 Li Polimer battery xj e 8 ba Ba 914 512 BatteryBoost shield 06 Wire jumpers 02
3. jo ja NIN JA ID ID ja MI0283QT 9A DRIVEA Figure 7 2 Touch decoupling screen connection schematic capacitors DRIVEB 8 Audio module Figure 8 1 On board VS1053 MP3 codec mikromedia for STM32 features a stereo audio codec VS1053 This module enables audio reproduction by using stereo headphones connected to the system viaa 3 5mm connector CN2 All functions of this module are controlled by the microcontroller over Serial Peripheral Interface SPI MP3 DREQ MP3 RST MP3 CS MP3 DCS C41 2 2uF ep ox Lea LSA Oa Lea LSA ja jou Cn R65 1 100K 14 15 ojo TIT IN PA2 1 PA0 WKUP VDDA VREF GNDA VDD PC3 PC2 STM32F207VGT6 NRST STM32F407VGT6 OSC IN OSC_IN VDD GND PC15 OSC32_OUT PC14 OSC32_IN PC13 TAMPER_RTC VBAT PE6 PES PE4 PE2 RFU PC10 PC11 PC12 PDO PD1 PD2 PD3 PD4 PD5 PD6 PD7 4 5 PB6 PB7 BOOTO PB8 9 PEL PDR VDD o OID o co 05 rad Kel fea ead a SCK3 PC10 5 PETIT decoupling capacitors x2 R R66 100K 12 288MHz VCC 3 3 VCC 3 3 VCC 3 3 VCC 3 3 VCC 3 3 VCC 3 3 Cee eb VCC 3 3 VCC 3 3 AVCC R19 10K MP3 CS MP3 RST R2 10K VREF 1 8 VCC 3 3 19
4. 122pF ux _3 T 2 VCC 3 3 VCC 3 3 VCC 3 3 VCC 3 3 VCC 3 3 VCC 3 3 VDD IE 5 C6 C7 d C8 pi C31 2 L P lt lt P eo eo o e o o o Je o o PA14 PA15 PC10 PC11 PC12 PDO PD1 PD2 PD3 PD4 PD5 PD6 PD7 PB3 PB4 PB5 PB6 PB7 BOOTO PB8 9 PE1 p decoupling orm capacitors Figure 4 3 Reset circuit schematic PWM STM32F207VGT6 STM32F407VGT6 microcontrollers are equipped with an internal 16MHz RC oscillator that provides Figure 5 1 a Stable clock signal Since the chips have Crystal oscillator an integrated PLL this base frequency is module X1 Suitable for further clock multiplication 1 Board also contains 32 768kHz Crystal oscillator X1 which provides an external clock for internal RTCC module gt NIN IN IN IDI DID O sN OW jaja IN Co P2 2 2uF C41 2 2uF 75 R65 __ 100K 18 STM32F207VGT6 STM32F407VGT6 PC15 OSC32_OUT PC14 OSC32 IN PC13 TAMPER RTC VBAT PE6 PE5 PE4 PE3 PE2 RFU N O 00 J i i jaja VDD e o o feo x tn fro
5. eo o o 9 e lt kn eo a o o R66 100K Figure 5 2 Crystal oscillator schematic VCC 3 3 AVCC VREF 1 8 VCC 3 3 SC32_OUT SC32 IN 32 768KHz T 1 22pF VCC 3 3 3 3 VCC 3 3 5 C6 10uF 100nF 100nF VCC 3 3 3 3 VCC 3 3 C7 C8 C31 100nF 100nF 100nF decoupling capacitors The use of crystal in all other schematics is implied even if it is purposely left out because of the schematics clarity Board contains a microSD card slot for using microSD cards in your projects It enables you to store large amounts of data externally thus saving microcontroller memory MicroSD cards use Serial Peripheral Interface SPI for communication with the microcontroller SD CD C41 12 2uF VCC 3 3 R65 AV 100K DID JO r0 lt co IN OID JOIN ko Ln st IN jaja P LO lt sr sr sr sr IN IN IN IN 2 VREF 1 8 PA1 PAO WKUP VDDA VREF GNDA VDD PC3 PC2 PC1 NRST OSC_OUT OSC_IN VDD GND PC15 0SC32 OUT PC14 OSC32 IN PC13 TAMPER RTC VBAT PE6 PE5 PE4 PE3 PE2 STM32F20 7VGT6 STM32F407VGT6 NON IN ID DID ju joujou N o pwv oo 1
6. Reset 1 v Show details Star 1 DEN l i iria Start Begin bootloader uploading bootloader uploading Bootloading Bootloading progress bar progress bar Figure 3 8 Restarting MCU Figure 3 9 mikroBootloader ready for next job Click OK after uploading is finished and wait for 5 seconds Board will automatically reset and your new program will execute Page 17 The microcontroller can be programmed with external mikroProg STM32 programmer and mikroProg Suite for software The mikroProg programmer is connected to the development system the CN5 JTAG connector You can choose between two ways to program microcontrollers Figure 3 14 Via interface Figure 3 10 Connecting mikroProg to 1 Via Serial wire debug SWD interface mikroProg is a fast USB 2 0 programmer with mikrolCD hardware In Circuit Debugger It supports over 180 ARM Cortex 7 M3 and Cortex M4 microcontrollers from 7 STM32 family Outstanding performance easy operation and elegant design are its key features 12772 Before attaching the programming connector you have to solder the provided 2x5 male header to the JTAG pads CN5 mikroProg Suite for ARM software mikroProg File About History On board mikroProg programmer requires special programming softwa
7. sr Ln O n SELL LARS RS ROHL PLP RQESEEES use per RP 100 USB D_P 66 100 Figure 9 2 USB module connection schematic R64 100K decoupling Capacitors eni E 10nF USB MINIB 10 Accelerometer Ngee Figure 10 1 Accelerometer module On board ADXL345 accelerometer is used to measure acceleration in three axes x and z The acceleromer s function is defined by the user in the program loaded into the microcontroller Communication between the accelerometer and the microcontroller is performed via the l C interface You set the accelerometer address to O or 1 by re soldering the SMD jumper zero ohm resistor to the appropriate position Jumper is placed in address 1 position by default o o c je e lt VCC 3 3 AVCC VREF 1 8 VCC 3 3 5 STM32F20 7VGT6 decoupling capacitors STM32F407VGT6 PC15 OSC32_OUT PC14 OSC32 IN PC13 TAMPER RTC R13 10K F RFU 2 2uF ON SCL1 PB6 SDA1 PB7 ADD 12 ADDRESS Res 10 5 R66 100K INT2 VCC 3 3 QA a INTI O Figure 10 2 Accelerometer connection schematic SCL1 PB6 SDA1 PB7 1 2 C32 3 4 n P a wy Figure 11 1 Flash memory module Since multimedia applications are getting increasingly demanding
8. 20 22 22 100nF XDCS BSYNC IOVDD1 VCO DGND1 XTALO XTAL1 IOVDD2 DGND2 DGND3 DGND4 XCS CVDD2 MP3 DREQ MP3 RST o e 4 gt SCK3 PC10 Figure 8 3 Audio module connection schematic decoupl 27 ing capacitors VCC 3 3 R33 E2 10uF R27 08 Hs TH x R 470 R18 18 100K 3 3nF R32 _ El IOuF 470 R17 C17 3 3nF ES CN2 44 43 ___ 22 RIGHT 9 USB connection Figure 9 1 Connecting USB cable to programming connector STM32F207VGT6 and STM32F407VGT6 microcontrollers have an integrated USB module which enables you to implement USB communication functionality to your mikromedia board Connection with target USB host is done over a Mini B USB connector which is positioned next to the battery connector C41 2 2uF VCC 3 3 e 50 49 OPS L sr CY ja sr jo ja sr sr sr sr EL sr sr 00 00 IM IM 28 27 26 01 51 VREF 1 8 52 53 PAO WKUP VCC 3 3 VDDA VREF 56 GNDA i VDD 1 28 59 60 61 62 om STM32F207VGT6 64 s STM32F407VGT6 66 67 2 PC15 0SC32 OUT USB DET PC14 0SC32 IN LAE USB D P PEG _ 5 eee Td n n CN
9. Oo u1 5 Co Solos IAI RFU PA14 PA15 PC10 11 12 PDO PD1 PD2 PD3 PD4 PD5 PD6 PD7 PB4 5 PB6 PB7 BOOTO PB8 9 1 VDD Figure 6 2 microSD Card Slot module connection schematic a a VCC MMC SD CS decoupling Capacitors VCC MMC VCC 3 3 FP1 FERRITE C38 E6 100nF 10uF 1 2 4 5 6 7 MMC CARD me 216 Lo 7 Touch screen The development system features a TFT 320x240 display covered witha resistive touch panel Together they form a functional unit called a touch screen enables data to be entered and displayed at the same time The TFT display is capable of showing graphics in 262 144 different colors for STM32 USB DEVICE 2 mikromedia Figure 7 1 Touch Screen 1 SNR Y T gt VCC SYS VCC 3 3 BLED LCD CS CD ce UN LCD BLED 01 VREF 1 8 VDD PC3 PC2 PC1 STM32F207VGT6 Neer STM32F407VGT6 E n VDD GND PC15 OSC32_OUT PC14 OSC32_IN PC13 TAMPER_RTC VBAT PE6 PE5 PE4 PE3 NIN Sa Co iss Co RFU PDR_ON TS OID bad sr jr oo
10. PROTO shield o Stacking headers 16 What s next You have now completed the journey through each and every feature of mikromedia for STM32 You got to know its modules and organization Now you are ready to start using your new board We are suggesting several steps which are probably the best way to begin Find useful projects and tutorials on the Libstock website www libstock com Join our Forum www mikroe com forum and get help from a large ecosystem of users Compiler You still don t have an appropriate compiler Locate ARM compiler that mikroC suits you best on our site ka www mikroe com arm compilers COMPILER Choose between mikroC mikroBasic and mikroPascal and download a fully functional demo version so you can begin building your first applications g VISUAL TFT GUI design made easy SOFTWARE VisualTFT SOFTWARE MWikrotiekuonika ww Visual com Y Y N PRO for ARM ARM COMPILER ascal PRO for ARM COMPILER mikroC PRO for ARM mikroBasic PRO for N Y Visual TFT Once you have chosen your compiler and since you already got the board you are ready to start writing your first projects Visual TFT software enables you to quickly create your GUI It will automatically generate code compatible with MikroElektronika compilers Visual TFT is rich with examples which are an excellent starting point for your future projects Download it
11. 1 3 Power supply schematic 2 Key microcontrollers features The mikromedia for STM32 M3 development system comes with the STM32F207VGT6 microcontroller This high performance 32 bit microcontroller with its integrated modules and in combination with other on board modules is ideal for multimedia applications SRAM 112KB SRAM 16KB AHB BUS MATRIX GPIO PORT ABCDEFGH R ETH MAC 10 100 CAM INTERFACE STM32F207VGT6 1 25 DMIPS MHz 32 bit Cortex M3 Core 1 Mbyte Flash memory X TIM 128 4 Kbytes of SRAM 83 1 0 pins POWE SPI I2C CAN USB Ethernet R RESET USART UART NET 16 bit and 32 bit Timers up to 120Mhz Internal Oscillator 16MHz 32kHz PLL ADC DAC etc The mikromedia for STM32 M4 development system comes with the STM32F407VGT6 microcontroller which can deliver even more processing power With up to 168MHz operation this 32 bit microcontroller with other on board modules is a perfect choice for performance demanding applications ETH MAC 10 100 GPIO PORT AB CD EFGH STM32F407VGT6 1 25 DMIPS MHz 32 bit Cortex M4 Core 1 MB flash memory 192 4 of SRAM 83 pins SPI IC CAN USB Ethernet USART UART 16 bit and 32 bit Timers up to 168Mhz Internal Oscillator 16 2 32kHz PLL ADC DAC etc
12. 32F207VGT6 4 Nee STM32F407VGT6 c n sa 48 PC15 0SC32_OUT He 2 SCK SDI 49 14 05 32 IN Nios Pea 23 sp 50 PC13 TAMPER_RTC 24 SDO RFU le DR ON VCC 3 3 VCC 3 3 VCC 3 3 VCC 3 3 VCC 3 3 VCC 3 3 k l ll 272 SPIN e o o DIDIAID AIDIAID Allo decoupling capacitors 5 10 Si SDA1 PB7 SCL1 PB6 Pads HDR2 Figure 12 1 Connecting pads schematic Pads HDR1 Most microcontroller pins are available for further connectivity via two 1x26 rows of connection pads on both sides of the mikromedia board They are designed to match additional shields such as Battery Boost shield Gaming PROTO shield and others System power supply VSYS Reference ground GND PA2 Analog lines PA4 5 PA6 PCO PC1 2 Interrupt lines PC3 PC4 l Digital 1 0 lines l l SCK PC10 SPI lines SDI PC11 SDO 7 12 3 3V power supply 3 3V Reference Ground m GND Pin functions re X X23 PEE Digital lines Analog lines tn fa ER gt F9 w REGIE gt
13. aders Figure 3 13 The microcontroller can also be programmed with the ST LINK V2 programmer and mikroProg Suite for ARM software Figure 3 11 This programmer connects with mikromedia board via mikroProg to ST LINK V2 adapter ST LINK V2 6 5 HW REV 1 00 mikroProg Figure 3 12 mikroProg to ST LINK V2 adaper SN Figure 3 13 2 TE Connecting ST LINK A Ay V2 programmer DID ko LOFT IN o9 ro e CY jaja JOIN Jo sr sr sr sr sr sr sr sr sr co C IN jaja 01 NOTE Jumper J3 2 VREF 1 8 iS soldered uim 57 VCC 3 3 by d efa u t VDDA VREF GNDA VDD PC3 PC2 PC1 PCO STM32F207VGT6 NRST OSC_OUT STM32F407VGT6 GND PC15 OSC32_OUT PC14 OSC32_IN PC13 TAMPER_RTC VBAT PE6 C2 PE5 22pF PE4 PE2 RFU decoupling capacitors VDD PA14 15 10 11 12 PD1 PD2 PD3 PD4 PD5 PD6 PD7 PB3 PB4 PB5 PB6 PB7 BOOTO 8 PB9 PEO PE1 PDR ON DID JIN OTT ro OTR OID ja jaja o jin jaja eo o o o o o o o o o o o mr N ET A ey R66 100K Figure 3 14 mikroProg or JTAG prog
14. e 1 1 power supply Connecting USB power supply Y MWAN bi 2 vit W A es Battery power supply You can alSo power the board using a Li Polymer battery via on board battery connector On board battery MLP674361 2000mnh Je r tX charger circuit MCP73832 enables you to charge the battery over a USB connection LED diode RED will indicate when the battery is charging Charging current is 250mA and charging voltage is 4 2V DC Figure 1 2 Connecting Li Polymer battery DATA BUS VCC SYS VCC USB VCC SYS AVCC VCC 3 3 PMEG3010ER FP2 D1 FERRITE HDR1 HDR2 FP4 2 28 DMP2160UW 3 29 C36 C25 1 4 30 2 2uF 100nF 5 31 6 32 vi 7 o VCC BAT 8 34 9 35 f sou 10 36 CONN b d 13 39 VCC 3 3 VCC 1 8 HA VCC BAT i a C29 E10 17 43 R6 4K7 VREF 1 8 VCC 1 8 VCC 1 8 18 fi R49 FP3 2 2UP 10uF m 2 4K7 1 5 R47 21 47 VSENSE 2 120K 22 48 R34 C30 3 4 23 49 4K7 2 2uF 100 24 50 AP7331 ADJ R46 VCC 3 3 25 VCC 3 3 51 22K 26 32 7 1 26 1 26 R50 L 12K1 VCC 3 3 VCC 3 3 VCC 3 3 R39 5 f 1 R35 4K7 R36 3 3 VCC BAT VCC SYS K 10K 3 E7 C40 VCC SYS VCC 3 3 STAT R45 1 i R38 TOU 2 2 NN NN R37 10K B STAT PROG T 10K VSS VBAT R44 POWER 10290800733 04 05 10 BC846 BC846 MCP73832 Charging Current approx 250mA Figure
15. er s guide schematic and pinout USB cable headers and ST LINK V2 to mikroProg adapter Key features 66666666666 RESET button Connection Pads TFT 320x240 display USB MINI B connector Charge indication LED LI Polymer battery connector 3 5mm headphone connector Power supply regulator Crystal oscillator VS1053 Stereo mp3 coder decoder STM32F207VGT6 or STM32F407VGT6 microcontroller Accelerometer Serial flash memory microSD card slot Power indication LED JTAG SWD programmer connector e TFT TE 0 nikromedia for STM3e 1 REGIA yi p B xd Via USB cable 5V DC m y 46 5 mA with erased MCU when on board modules are inactive 81 2 x 60 5 mm 3 19 x 2 38 inch 45 g 0 10 lbs Product complies with the Class B limit of EN 55022 and can be used in the domestic residential commercial and industrial environments Permanent damage may occur on devices subjected to high energy electrostatic discharges which readily accumulate on the human body or test equipment and can discharge without detection 1 Power supply USB power supply You can apply power supply to the board using Mini B USB cable provided with at X 5 l At GE Sass the board On board voltage regulators saq provide the appropriate voltage levels w to each component on the board Power LED GREEN will indicate the presence of igur
16. from the link bellow www mikroe com visualtft DISCLAIMER All the products owned by MikroElektronika are protected by copyright law and international copyright treaty Therefore this manual is to be treated as any other copyright material No part of this manual including product and software described herein may be reproduced stored in a retrieval system translated or transmitted any form or by any means without the prior written permission of MikroElektronika The manual PDF edition can be printed for private or local use but not for distribution modification of this manual is prohibited MikroElektronika provides this manual as is without warranty of any kind either expressed or implied including but not limited to the implied warranties or conditions of merchantability or fitness for a particular purpose MikroElektronika shall assume no responsibility or liability for any errors omissions and inaccuracies that may appear in this manual In no event shall MikroElektronika its directors officers employees or distributors be liable for any indirect specific incidental or consequential damages including damages for loss of business profits and business information business interruption or any other pecuniary loss arising out of the use of this manual or product even if MikroElektronika has been advised of the possibility of such damages MikroElektronika reserves the right to change information contained in thi
17. ions 15 Mikromedia accessories 16 What s next 18 19 20 2e 24 26 28 30 32 34 36 38 39 40 41 42 Introduction to mikromedia for STM32 mikromedia for STM32 is a compact development system with lots of on board peripherals which allow development of devices with multimedia contents The central part of the system is a 32 bit STM32F207VGT6 STM32F407VGT6 microcontroller mikromedia for STM32 features integrated modules such as stereo MP3 codec TFT 320x240 touch screen display accelerometer USB connector MMC SD card slot 8 Mbit flash memory 2x26 connection pads and other It comes pre programmed with USB bootloader but can also be programmed with external programmers such as mikroProg for STM32 or ST LINK Mikromedia is compact and slim and perfectly fits in the palm of the hand which makes it convenient platform for mobile devices TOUCH SCREEN RESISTIVE BOOTLOADER iy TFT 320X24 us s pab n LH 0 06660620 66000 Ze E PET fee 7 7 22 mikromedia for STM3e2 A 4 1 Package contains weee mikromedia for STM32 mikromedia Y Compact multimedia development system rich with on board peripherals for all round development and 51 3274 devices se ines W I2CLines UAI RT lines PWM lines A alog Lines BW Interrupt Lines SPI Li Us
18. it is necessary to provide additional memory space to be used for storing more data The flash memory module enables the microcontroller to use additional 8Mbit flash memory It is connected to the microcontroller via the Serial Peripheral Interface SPI 9 N NINN IN IN Sa TPB FO 1 OY 01 2 Co P2 jaja P2 2 2uF C41 2 2uF 100K g a VCC 3 3 AVCC col xo io IT IM IN fa lt Jo emm eco jaja FIN jaja ja 2 VREF 1 8 1 PAO WKUP VCC 3 3 VDDA VREF GNDA VDD PC3 PC2 PC1 NRST OSC_OUT OSC_IN VDD GND PC15 OSC32_OUT PC14 OSC32_IN PC13 TAMPER_RTC VBAT PE6 PE5 PE4 PE3 PE2 1 3 STM32F207VGT6 STM32F407VGT6 RFU PB7 BOOTO PB8 9 1 ON VDD R66 100K SCK3 PC10 FLASH CS VCC 3 3 FLASH CS R59 27 decoupling Capacitors VCC 3 3 R48 10K Nie Ic Figure 11 2 Flash memory module connection schematic 6 SCK3 PC1O 5 MOSI3 PC12 M25P80 C41 112 20 VCC SYS Fi Ti SDA2 PB11 27 1 28 2 29 3 30 4 31 5 PB12 m j SCK2 PB13 2 1502 14 d MOSI2 PB15 9 PD9 PD10 PD12 PD13 PD14 KS STM
19. log window 9 Click Open step 4 Uploading HEX file D bootar mikroBootioader Wait for USB link e mikromedia MCU Type mtSTM32F2Xx History Window Attach USB HID device or reset if attached Waiting MCU response Connected Opened F TFT TFT hex Connect to MCU Disconnect for HEX Start Begin bootloader uploading Choose HEX file Bootloading progress bar Figure 3 6 Begin uploading To start HEX file bootloading click the Begin uploading button mikroElektronika USB HID Bootloader 2100 0 Wait for lt USB link Browse or H Start Stop bootloader uploading Connect to MCU Choose HEX file Bootloading progress bar Figure 3 7 Progress bar Device mikromedia MCU Type mtSTM32F2XX History Window Attach USB HID device or reset if attached Waiting MCU response Connected Opened F TFT TFT hex Uploading Flash Erase Flash Write Progress bar enables you monitor file uploading Page 16 step 5 Finish upload mikroBootloader Wait for USB link e MCU Type Restarting MCU Connect History Window to MCU Connect Uploading program completed successfully Uploading Flash Erase Choose Browse Flash Write HEX file for HEX Completed successfully Disconnected
20. mikromedia for STM32 Compact multimedia development system rich with on board peripherals for all round development on STM32F207VGT6 and STM32F407VGT6 devices gt mikromedia mor STZ MikroElektronika m DEVELOPMENT TOOLS COMPILERS BOOKS want to express my thanks to you for being interested in our products and for having confidence MikroElektronika The primary aim of our company is to design and produce high quality electronic products and to constantly improve the performance thereof in order to better suit your needs Nebojsa Matic General Manager Table of Contents Introduction to mikromedia for STM32 Package contains Key features System specifications 1 Power supply USB power supply Battery power supply Key microcontrollers features STM32F207VGT6 STM32F407VGT6 3 Programming the microcontroller Programming with mikroBootloader step 1 Connecting mikromedia step 2 Browsing for hex file step 3 Selecting hex file step 4 Uploading hex file step 5 Finish upload MA 10 10 11 12 14 14 15 15 16 17 Programming with mikroProg programmer mikroProg Suite for ARM software Programming with ST LINK V2 programmer 4 Reset button 5 Oscillators 6 MicroSD card slot 7 Touch screen 8 Audio module 9 USB connection 10 Accelerometer 11 Flash memory 12 Pads 13 Pinout 14 Dimens
21. rammer connection schematic SWCLK 4 Reset button Board is equipped with a reset button which is located at the top of the front side Figure 4 2 If you want to reset the circuit press the reset button It will generate a low voltage level on microcontroller reset pin input In addition a reset can be externally provided through pin 27 on side headers Figure 4 3 a ora i NOTE You can also solder additional reset button on the appropriate place at the back side of the board Figure 4 1 Vi RESET ime ll gt M1028307 94 TFT 320 540 mikromedia for STM32 Figure 4 1 Location of additional reset button Figure 4 2 Frontal reset button C41 2 21 VCC 3 3 NON EN 24 DD OVID Od IS ja N JA R65 s 100K AVCC 27 4 28 A 29 T2 30 xo Lo sr eoo ja ja I gt Xo FFP kape 31 i 32 33 34 35 _25_ VREF 1 8 36 24 37 23 38 22 VCC 3 3 39 21 25 20 41 19 T 18 43 17 44 16 45 _15_ 46 14 RST RX STM32F20 VGT6 T E d R7 100 48 STM32F407VGT6 SEM C2 22pF 49 Son T Ez 50 ES cuero PC14 OSC32 IN 1 26 PC13 TAMPER_RTC E VBAT
22. re called mikroProg Suite Device for ARM This software is used for programming of all supported microcontroller families with ARM Cortex M3 and Cortex M4 cores The software has an intuitive interface and SingleClick programming technology To begin first locate the installation archive on the link bellow Detect MCU http www mikroe com downloads get 1809 mikroprog suite for arm zip After downloading extract the package and double click the executable setup file to start installation HEX File Quick guide Lead Save Click the Detect MCU button order recognize the device ID Reload Click the Read button to read the entire microcontroller memory CODE You can click the Save button to save it to the target HEX file Options make sure to load the target HEX file using the Load button Then click the Write button begin programming Figure 3 11 mikroProg Suite Click the Erase button to clear the microcontroller memory for ARM window 5 If you want to write the HEX file into the microcontroller first In order to adjust the ST LINK V2 programmer to be connected to the development system it is necessary to provide the appropriate adapter such as the mikroProg to ST LINK V2 adapter 2x5 male headers should be first soldered on the CN5 connector pads Then you should plug the adapter into the ST LINK V2 programmer 2x10 header and plug an IDC10 flat cable in he
23. s manual at any time without prior notice if necessary TRADEMARKS The MikroElektronika name and logo mikroC mikroBasic mikroPascal Visual TFT Visual GLCD mikroProg Ready MINI mikroBUS EasyPIC EasyAVR 8051 click boards and mikromedia are trademarks of MikroElektronika All other trademarks mentioned herein are property of their respective companies All other product and corporate names appearing in this manual may or may not be registered trademarks or copyrights of their respective companies and are only used for identification or explanation and to the owners benefit with no intent to infringe Copyright O 2014 MikroElektronika All Rights Reserved If you want to learn more about our products please visit our website at www mikroe com If you are experiencing some problems with of our products or just need additional information please place your ticket at www mikroe com support If you have any questions comments or business proposals mikromedia for STM32 M3 M4 manual do not hesitate to contact us at office mikroe com ver 1 00d I M
24. step 1 Connecting mikromedia CB mikroElektronika USB HID Bootloader v2 1 0 0 mikroBootloader gt e 4 Connect story Window to MCU ch USB HID device resetif attached Choose Browse HEX file for HEX Start Begin bootloader uploading Bootloading progress bar No files opened Figure 3 3 USB HID mikroBootloader window To start connect the USB cable if already connected press the Reset button on your mikromedia board Click the Connect button within 5s to enter the bootloader mode otherwise existing microcontroller program will execute Step 2 Browsing for HEX file viene EHD mikroBootloader Device mikromedia Wait for USB link e MCUType mtSTM32F2XX History Window Attach USB HID device or reset if attached Waiting MCU response Connected Connect to MCU Browse for HEX Choose HEX file Begin uploading 7 Start bootloader Bootloading progress bar No files opened Figure 3 4 Browse for HEX 01 Click the Browse for HEX button and froma pop up window Figure 3 5 choose the HEX file which will be uploaded to MCU memory Page 15 Step 3 Selecting HEX file Libraries B Documents d Music is Pictures Videos a Homegroup Computer Ge Network File name TFT hex Figure 3 5 Selecting HEX a Select HEX file using open dia
Download Pdf Manuals
Related Search
Related Contents
Manuale di installazione e manutenzione Attuatore elettrico RaceTools User`s Manual FS-720/820/920 Service Manual MANUAL DE INSTRUÇÕES Fonte de Alimentação Chaveada KFT Surviving Rush Hour.ppp 2011 Dodge Caliber User`s Guide Eglo RICCIO 1 powerpod manual 2014 Copyright © All rights reserved.
Failed to retrieve file