Home

STM32 ST-LINK Utility

image

Contents

1. ky UM0892 User manual STM82 ST LINK Utility August 2011 Introduction The STM32 ST LINK Utility software facilitates fast in system programming of the STM32 microcontroller families in development environments via the tools ST LINK and ST LINK V2 This is the STM32 ST LINK Utility user manual describing its software functions When working with the STM32 ST LINK Utility you are encouraged to download the S7 LINK in circuit debugger programmer user manual UM0627 or the ST LINK V2 in circuit debugger programmer user manual UM1075 for the STM8 and STM32 which provide more information about the ST LINK tools Doc ID 16987 Rev 6 1 23 www st com Contents UM0892 Contents 1 Getting started stn Sn fh nc Sag mt om i Sh 3 1 1 System requirements 02 0 cece eee 3 1 2 Hardware requirements 0 0 cece ee 3 1 3 Installing the STM32 ST LINK Utility 00 00 e ee ee eee 3 1 4 Uninstalling the STM32 ST LINK Utility 00 0000 3 2 STM32 ST LINK Utility user interface 00 eee eee eee 4 2 1 Mail WINdOW ce eco e edad Keka heeded tt ROPE Medes bane nd 4 2 2 Menu Dar emesene psen eE iene eta Rae ew Avan Gene as 5 2 2 1 FIGINGNU csc tbe aden ee need pened bee Ral Rae e ea eee dt 5 2 2 2 View MENU 2 eee 5 2 2 3 Tagot MU ania EEE paid ae eke ee we dee ERE 6 2 2 4 SFLUNK MENU siesta ee ad oes ee ede va wes Sane dee eae 7 2 2 5 Help menu ssid eee eee Pe ates R
2. Download Project hex Start address Verification it Cancel Option bytes configuration The STM32 ST LINK Utility can configure all the option bytes via the Option Bytes dialog box shown in Figure 13 which is accessed by Target Option Bytes The Option Bytes dialog box contains the following sections Read Out Protection Modifies the read protection state of the Flash memory For STM32 F 2 and STM32 L 1 devices read protection levels are available Level 0 no read protection Level 1 memory read protection enabled Level 2 memory read protection enabled and all debug features disabled For the other devices the read protection can only be enabled or disabled BOR Level Brownout reset level This list contains the supply level threshold that activates releases the brownout reset This option is enabled only when connected to the STM32 L 1 device For ultralow power devices 5 programmable VBOR thresholds can be selected BOR LEVEL 1 Reset threshold level for 1 69 to 1 8 V voltage range BOR LEVEL 2 Reset threshold level for 1 94 to 2 1 V voltage range BORLEVEL 3 Reset threshold level for 2 3 to 2 49 V voltage range BOR LEVEL 4 Reset threshold level for 2 54 to 2 74 V voltage range BOR LEVEL 5 Reset threshold level for 2 77 to 3 0 V voltage range For STM32 F 2 devices 4 programmable VBOR thresholds can be selected BOR LEVEL 3 Supply voltage ranges fr
3. F 2 series supports different programming modes depending on the MCU supply voltage When using ST LINK V2 the supply voltage is detected automatically Therefore the correct programming mode is selected When using ST LINK the 32 bit programming mode is selected by default If the device is read protected the protection will be disabled If some Flash memory pages are write protected the protection will be disabled during programming and then recovered Doc ID 16987 Rev 6 UM0892 STM32 ST LINK Utility command line interface CLI 4 1 4 Option byte commands rOB Description Displays all option bytes Syntax rOB OB Description Configures the option bytes This command sets the Read Protection Level to Level 0 no protection sets the IWDG_SW option to 1 watchdog enabled by software sets the nRST_STOP option to 0 reset generated when entering Standby mode sets the DataO option byte sets the Datai option byte Syntax OB RDP lt Level gt BOR_LEV lt Level gt IWDG_SW lt Value gt nRST_STOP lt Value gt nRST_STDBY lt Value gt BFB2 lt Value gt Data0 lt Value gt Datal lt Value gt WRP lt Value gt Example OB RDP 0 IWDG_SW 1 nRST_STOP 0 Data0 0xAA Datal 0xBC 4 1 5 Parameter descriptions RDP lt Level gt RDP lt Level gt sets the Flash memory read protection level The lt Level gt could be one of the follo
4. a e a A Project hex 4 My Recent Documents co Desktop My Documents gs My Computer Tor File name Project hex x Ms Files of type Supported Files bin hex srec s19 im gt z Hoevaak C Open as read only 2 Select a binary file and click on the Open button 3 Specify the address from which to start programming as shown in Figure 11 it may be a Flash or RAM address Figure 11 Device programming dialog box programming Download Project hex x Start address Flash Programming Cancel 4 Finally click on the Program button to start programming If you selected Target Program amp Verify in the first step a check is done at the end of the programming operation see Figure 12 Note 1 The STM32 F 2 series supports different programming modes depending of the MCU supply voltage When using ST LINK the MCU supply voltage should be specified in the Target Settings Menu to be able to program the device with the correct mode When using ST LINK V2 the supply voltage is detected automatically 2 If the device is read protected the protection will be disabled If some Flash memory pages are write protected the protection will be disabled during programming and then recovered ky Doc ID 16987 Rev 6 11 23 STM32 ST LINK Utility features UM0892 3 5 12 23 Figure 12 Device programming dialog box verification x
5. available only on devices containing two Flash banks Doc ID 16987 Rev 6 ky UM0892 STM32 ST LINK Utility command line interface CLI Note Note Note Data0 lt Value gt DataO sets the DataO option byte The lt Value gt should be in 0 0xFF Not available on STM32 F 2 and STM32 L 1 devices Data1 lt Value gt Data1 sets the Data1 option byte The lt Value gt should be in 0 0xFF Not available on STM32 F 2 and STM32 L 1 devices WRP lt Value gt WRP sets the Flash write protection The lt Value gt should be in 0 0xFFFFFFFF All parameters listed above should be in hexadecimal format For more details please refer to the Option Bytes section in the Flash programming manual corresponding to your device available at www st com Doc ID 16987 Rev 6 21 23 Revision history UM0892 5 22 23 Revision history Table 1 Document revision history Date Revision Changes 22 Jan 2010 1 Initial release 12 Feb 2010 2 Changed figures 1 2 3 4 5 6 and 7 Added SWD support 20 May 2010 3 Added support of XL density devices in Section 2 2 3 and Section 3 5 27 Aug 2010 4 Added support of STM32 L 1 Hex srec format support 03 Feb 2011 5 Command Line Interface support Changed name and all figures Added Section 3 7 Automatic mode functions Added ST LINK V2 support in Section 1 2 Hardware requirements and support of different programming modes for STM32 F 2 seri
6. x UM0892 STM32 ST LINK Utility features 3 7 Note Automatic mode functions The Automatic Mode dialog box shown in Figure 15 allows programing and configuring STM32 devices in loop It allows you to carry out the following actions on the STM32 device e Full chip erase Flash programming Verify Option bytes configuration Run application Clicking on Start button will execute the selected actions on the connected STM32 device and will wait to repeat the same actions after disconnecting the current device and connecting the new device Figure 15 Automatic mode Automatic Mode File C Project hex Actions Option Bytes Full chip erase Read protection User C Flash programming Data 0 Data 1 Write protection Option bytes configuration C Run application sop If user deselects Flash programming action while the STM32 Flash memory is readout protected it will be automatically unprotected If user deselects Flash programming action while some or all STM32 Flash memory are write protected they will be automatically unprotected and restored after programming operation Connection to the device should be established to be able to select the option Bytes configuration using the configure button The connected devices should be derivatives of the same STM32 family and will be all connected in the same mode JTAG or SWD Doc ID 16987 Rev 6 15 23 STM32 ST
7. 00 Open file Opens a binary file Save file as Saves the content of the memory panel into a binary file Close File Closes the loaded binary file Exit Closes the STM32 ST LINK Utility program View menu Figure 3 View menu 88 STM32 ST LINK Utility File View Target ST LINK Binary file Et e Device memory f E Meni Binary file Displays the content of the loaded binary file Device memory Displays the content of the device memory Doc ID 16987 Rev 6 5 23 STM32 ST LINK Utility user interface UM0892 2 2 3 6 23 Target menu Figure 4 Target menu i STM32 ST LINK Utility File View Target ST LINK Help L Connect k Disconnect Memory di Erase Chip Address Erase Banki Erase Bank2 Device Me Erase Sectors Address Program oxoso0000 Program amp Verify oxoso000 Blank aia __ Compare with file ox080000 0x080000 Option Bytes oxosoo00 MCU Core 0x080000f Automatic Mode C Settings Connect Connects to the target device and displays the Device Type Device ID and Flash memory size in the device information zone Disconnect Disconnects from the target device Erase Chip Performs a Flash memory mass erase and then displays the Flash Erase Banki Erase Bank2 Erase Sectors Program Program amp Verify Blank Check Compare with file Option Bytes memory content in the memory panel Erases bank 1 of the Flash memory Thi
8. Belgium Brazil Canada China Czech Republic Finland France Germany Hong Kong India Israel Italy Japan Malaysia Malta Morocco Philippines Singapore Spain Sweden Switzerland United Kingdom United States of America www st com ky Doc ID 16987 Rev 6 23 23
9. LINK Utility command line interface CLI UM0892 4 4 1 16 23 STM32 ST LINK Utility command line interface CLI Command line usage The following sections describe how to use the STM32 ST LINK Utility from the command line The ST LINK Utility Command Line Interface is located at the following address Install_Directory STM32 ST LINK Utility ST LINK Utility ST LINK_CLI exe Connection and memory manipulation commands c Description Selects JTAG or SWD communication protocol By default JTAG protocol is used Syntax c JTAG SWD Example c SWD w8 Description Writes 8 bit data to the specified memory address Syntax w8 lt Address gt lt data gt Example w8 0x20000000 OxAA w32 Description Writes 32 bit data to the specified memory address Syntax w32 lt Address gt lt data gt Example w32 0x20000000 OxAABBCCDD r8 Description Reads lt NumBytes gt memory Syntax r8 lt Address gt lt NumBytes gt Example r8 0x20000000 0x100 Doc ID 16987 Rev 6 ky UM0892 STM32 ST LINK Utility command line interface CLI 4 1 2 Core commands Rst Description Syntax Run Description Syntax Halt Description Syntax Step Description Syntax SetBP Description Syntax CirBP Description Syntax CoreReg Description Syntax Resets the system Rst Sets the Progra
10. WARRANTY WITH RESPECT TO THE USE AND OR SALE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIED WARRANTIES OF MERCHANTABILITY FITNESS FOR A PARTICULAR PURPOSE AND THEIR EQUIVALENTS UNDER THE LAWS OF ANY JURISDICTION OR INFRINGEMENT OF ANY PATENT COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT UNLESS EXPRESSLY APPROVED IN WRITING BY TWO AUTHORIZED ST REPRESENTATIVES ST PRODUCTS ARE NOT RECOMMENDED AUTHORIZED OR WARRANTED FOR USE IN MILITARY AIR CRAFT SPACE LIFE SAVING OR LIFE SUSTAINING APPLICATIONS NOR IN PRODUCTS OR SYSTEMS WHERE FAILURE OR MALFUNCTION MAY RESULT IN PERSONAL INJURY DEATH OR SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE ST PRODUCTS WHICH ARE NOT SPECIFIED AS AUTOMOTIVE GRADE MAY ONLY BE USED IN AUTOMOTIVE APPLICATIONS AT USER S OWN RISK Resale of ST products with provisions different from the statements and or technical features set forth in this document shall immediately void any warranty granted by ST for the ST product or service described herein and shall not create or extend in any manner whatsoever any liability of ST ST and the ST logo are trademarks or registered trademarks of ST in various countries Information in this document supersedes and replaces all information previously supplied The ST logo is a registered trademark of STMicroelectronics All other names are the property of their respective owners 2011 STMicroelectronics All rights reserved STMicroelectronics group of companies Australia
11. ate ee ead Cd pela deacons aed sy 7 3 STM32 ST LINK Utility features 2000 eee 8 3 1 Device information 0000 eens 8 3 2 Memory display and modification 0 0 e ee 8 3 3 Flash memory erase 02 0 ee 10 3 4 Device programming sceswauxt ct tere Giese ventions eee yeu s ene ke 11 3 5 Option bytes configuration lt ix lt save ebe ewes eer ee kOe bei detewe ees 12 3 6 MCU core functions 0 cee tee 14 3 7 Automatic mode functions asasan eaaa 15 4 STM32 ST LINK Utility command line interface CLI 16 4 1 Command line usage 000 cece eee 16 4 1 1 Connection and memory manipulation commands 16 4 1 2 Core commands 000 cece eee teens 17 4 1 3 Flash commands sesse 0024 radda baad bee ey be RARER ee eae 18 4 1 4 Option byte commands 000 cece ee 19 4 1 5 Parameter descriptions 0 000 e eee eee 19 5 REVISION history nctcticn eG ed eebdeawiidtte dened de Ree es 22 2 23 Doc ID 16987 Rev 6 ky UM0892 Getting started 1 Getting started This section describes the requirements and procedures to install the STM32 ST LINK Utility software 1 1 System requirements The STM32 ST LINK Utility PC configuration requires as a minimum PC with USB port and Intel Pentium processor running a 32 bit version of one of the following Microsoft operating systems Windows xP Windows 7 32 Mbytes of RAM
12. e concerned cell as illustrated by Figure 8 You can also save the device memory content into a binary file using the menu File Save file as Figure 8 STM32 ST LINK Utility user interface we STM32 ST LINA Uiility eee eo SANE Melo sh 7 Nemory dscley Adress twctzocooco Ske JA IA Daso Povey WOODOO ey he f EX Ewas hinnete Ewana STEPPI baez ghee ty devin Eiras IE letid PeaznD Pel Ainda SL2 lt Dyte Adore r E 0 00 S QAE 25 0 0000 0 inner gt co 2 co co rn 0 7S 0 0 S Uzi 3G mmr 5 ee eS Q A C5 anann oe co co co rn co co en inkad aaK Ae SAS anachat TD mA Det 4 ata Noh Sa 22 kbyte Co amdi aa 5Y TS mya fard y SIDRI boez nhi rbea ty chew 8 R amp S SBR S SS Piena sitet Note When the Memory data zone displays device memory contents any modification is automatically applied to the chip You can modify user Flash memory RAM memory and peripherals registers For the STM32 F 2 devices you can modify the OTP area directly from the memory data zone 4 Doc ID 16987 Rev 6 9 23 STM32 ST LINK Utility features UM0892 3 3 10 23 Flash memory erase There are two type of Flash memory erase Flash mass erase Erase all the memory Flash memory sectors of the connected device This is done by clicking on the menu Target Erase Chip e Flash Sector Erase Erase the selected sector s of the Flash mem
13. e 10 Mbytes of hard disk space available 1 2 Hardware requirements The STM32 ST LINK Utility is designed to work with STM82 F 1 STM32 F 2 and STM32 L 1 series ST LINK or ST LINK V2 in circuit debugger programmer probe 1 3 Installing the STM32 ST LINK Utility Follow these steps and the on screen instructions to install the STM32 ST LINK Utility 1 Download the compressed STM32 ST LINK Utility software from the ST website 2 Extract the contents of the zip file into a temporary directory 3 Double click the extracted executable setup exe to initiate the installation and follow the on screen prompts to install the STM32 ST LINK Utility in the development environment Documentation for the utility is located in the subdirectory Docs where the STM32 ST LINK Utility is installed 1 4 Uninstalling the STM32 ST LINK Utility Follow these steps to uninstall the STM32 ST LINK Utility 1 Select Start Settings Control Panel 2 Double click on Add or Remove Programs 3 Select STM32 ST LINK Utility 4 Click on the Remove button Doc ID 16987 Rev 6 3 23 STM32 ST LINK Utility user interface UM0892 2 2 1 4 23 STM32 ST LINK Utility user interface Main window Figure 1 STM32 ST LINK Utility user interface main window STM32 57 4 NK Utility f JE x 3 fie ew Teo SHINE Halo Title bar gt eee uy Menu bar Sa eos Kemr dsclar Deve Irfon Adcress conzocooco eeil eia Osta w
14. e ID Ox414 Revision ID Rev 2 Flash size 512 Kbyte Device Family of the connected STM32 device Each device type includes many devices with different characteristics such as Flash memory size RAM size and peripherals Device ID MCU device ID code located in the external PPB memory map Revision ID The revision ID of the connected MCU device Flash size Size of the on chip Flash memory 1 This field is not available for STM32 F 2 series devices or for prototype devices Memory display and modification In addition to the Device information zone the main window contains 2 other zones Memory display e Memory data Memory display This zone contains three edit boxes Address Memory start address from which you want to read Size Amount of data to read Data width Width of the displayed data 8 bit 16 bit or 32 bit Doc ID 16987 Rev 6 ky UM0892 STM32 ST LINK Utility features Memory data This zone displays the data read from a binary file or the memory content of a connected device You can modify the content of the file before downloading e To use this zone to display the content of binary file go to File Open file e To use this zone to read and display memory content of a connected device enter the memory start Address data Size and the Data Width in the Memory display zone and then press Enter e After reading data you can also modify each value merely by double clicking on th
15. es in 01 Aug 2011 6 Section 3 4 Device programming and Section 4 1 3 Flash commands Added MCU revision ID Display in Section 3 1 Device information x Doc ID 16987 Rev 6 UM0892 Please Read Carefully Information in this document is provided solely in connection with ST products STMicroelectronics NV and its subsidiaries ST reserve the right to make changes corrections modifications or improvements to this document and the products and services described herein at any time without notice All ST products are sold pursuant to ST s terms and conditions of sale Purchasers are solely responsible for the choice selection and use of the ST products and services described herein and ST assumes no liability whatsoever relating to the choice selection or use of the ST products and services described herein No license express or implied by estoppel or otherwise to any intellectual property rights is granted under this document If any part of this document refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party products or services or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such third party products or services or any intellectual property contained therein UNLESS OTHERWISE SET FORTH IN ST S TERMS AND CONDITIONS OF SALE ST DISCLAIMS ANY EXPRESS OR IMPLIED
16. idth atts Reem SIERRA Gnas phen aiy Save bo an Ceas 1d teda Pesan PeZ Dovice Moneory O OCIOCO iay fie SL2 wie BR g 8 2 amp gt Main window a C 8 B 3 83 8 B 3 83 3 BI A R RIAIR 3 RIAIR AR RIS s g iS g Eja g T om 6 co 5 5 6 g E 5 6 ae TRF RARE 2B SSSBSSE LS 22431 Device Diet l4 62248 Datoe Mash Sa S12 kbyte R248 ava fary SPDP baes hire ty Status bar z wda aa DNI Puce Dimt The main window is composed of three zones and three bars as illustrated in Figure 1 Memory display zone Device information zone Memory contents zone Title bar The name of the current menu Menu bar Use the menu bar to access the following STM32 ST LINK Utility functions File menu View menu Target menu Help menu These menus are described in more detail in Section 2 2 Status window The status bar displays Connection status and debug interface Device ID The STM32 ST LINK Utility user interface also provides additional forms and descriptive pop up error messages 4 Doc ID 16987 Rev 6 UM0892 STM32 ST LINK Utility user interface 2 2 2 2 1 2 2 2 Menu bar The Menu bar allows users to execute the STM32 ST LINK Utility software features File menu Figure 2 File menu STM32 ST LINK Utility File view Target ST LINK Open file wot Save file as Close File Exit po00
17. m Counter and Stack pointer as defined at user application and performs a run operation This is useful if the user application is loaded with an offset e g Ox08003000 If the address is not specified 0x08000000 is used Run lt Address gt Example run 0x08003000 Halts the core Halt Executes Step core instruction Step Sets the software or hardware breakpoint at a specific address If an address is not specified OxO8000000 is used SetBP lt Address gt Example SetBP 0x08003000 Clears all hardware breakpoints if any C1rBP Reads the Core registers CoreReg Doc ID 16987 Rev 6 17 23 STM32 ST LINK Utility command line interface CLI UM0892 Note 18 23 1 SCore Description Syntax Detects the Core status SCore Flash commands ME Description Syntax SE Description Syntax P Description Syntax V Description Syntax Executes a Full chip erase operation ME Executes a sector lt Sector_index gt erase operation SE Example SE 4 Executes a Load binary Intel Hex or Motorola S record file into device memory For hex and srec format the address is relevant P lt File_Path gt lt Address gt Examples P C file srec P C file bin 0x08002000 P C file hex Verifies that the programming operation was performed successfully V Example P C file srec V STM32
18. om 2 70 to 3 60 V BOR LEVEL 2 Supply voltage ranges from 2 40 to 2 70 V BORLEVEL 1 Supply voltage ranges from 2 10 to 2 40 V BOR off Supply voltage ranges from 1 62 to 2 10 V User Configuration option byte WDG_SW If checked watchdog is enabled by software otherwise it is automatically enabled at power on nRST_STOP If not checked reset is generated when entering Standby mode 1 8V domain powered off If checked no reset is generated when entering Standby mode nRST_STDBY if not checked reset is generated when entering Stop mode all clocks are stopped If checked no reset is generated when entering Stop mode Doc ID 16987 Rev 6 ky UM0892 STM32 ST LINK Utility features BFB2 If not checked and if the boot pins are set to make the device boot from user Flash at startup the device boots from Flash memory bank 2 otherwise it boots from Flash memory bank 1 This option is enabled only when connected to a device containing two Flash banks e User data storage option bytes Contains two bytes for user storage These two option bytes are not available in the STM32 F 2 and STM32 L 1 devices e Write Protection Depending on the device Flash sectors are grouped by a defined number of sectors You can modify the write protection of each Flash sector group here Figure 13 Option Bytes dialog box Option Bytes Disabled Read Out Protection x BOR Level User Configura
19. ory To select sector s go to Target Erase Sectors which then displays the Flash Memory Mapping dialog box where you select the sector s to erase as shown in Figure 9 Select all button selects all the Flash memory pages Deselect all button deselects all sectioned page Cancel button discards the erase operation even if some pages are selected Apply button erases all the selected pages Figure 9 Flash Memory Mapping dialog box Flash Memory Mapping Page Start addr Size C Page 0 Ox08000000 2K C Page 1 Ox08000800 2K C Page 2 Ox08001000 2K C Page 3 Ox08001800 2K C Page 4 Ox08002000 2K C Page 5 Ox08002800 2K C Page 6 Ox08003000 2K C Page Ox08003800 2K C Page 8 Ox08004000 2K C Page 9 Ox08004800 2K C Page10 Ox08005000 2K mi Note To erase the Flash data memory sector of the ultralow power STM32 L 1 devices select the data memory box at the end of the list and click Apply Doc ID 16987 Rev 6 ky UM0892 STM32 ST LINK Utility features 3 4 Device programming The STM32 ST LINK Utility can download binary Hex or srec files into Flash or RAM memory To do this follow these steps 1 Click on Target Program or Target Program amp Verify if you want verify the written data to open the Open file dialog box as shown in Figure 10 If a binary file is already opened go to step 3 Figure 10 Open file dialog box Open eJ Look in Ga Exe SSS a
20. s menu is enabled only when connected to an XL density device Erases bank 2 of the Flash memory This menu is enabled only when connected to an XL density device Selects sector s to erase using the erase sectors dialog window see Section 3 3 Flash memory erase for more details Loads a binary file into the device memory Flash or RAM To do this select a binary file enter the start address where to put the file in the device in the program dialog window and then click on program button see Section 3 4 Device programming Loads a binary file into the device memory Flash or RAM then performs a verification of the programmed data Verifies that the STM32 Flash memory is blank If the Flash memory is not blank the first address with data is highlighted in a prompt message Compares the MCU device memory content with hex binary or srec file Opens the Option Bytes dialog window See Section 3 5 Option bytes configuration for more details Doc ID 16987 Rev 6 ky UM0892 STM32 ST LINK Utility user interface MCU Core Opens the MCU Core dialog window See Section 3 6 MCU core functions for more details Automatic Mode Opens the Automatic mode dialog window See Section 3 7 Automatic mode functions for more details Settings Opens the Settings dialog box to select the debug interface JTAG or SWD For the STM32 F 2 series you should specify the MCU voltage range to be able to correctl
21. tion option byte M wDG_SW nAST_STDBY M nRST_STOP User data storage option bytes Data 0 H OxFF Data 1 H OxFF Write Protection Page Start addr Size a C Page Ox08000000 2K C Page 1 Ox08000800 2K C Page2 Ox08001000 2K C Page3 Ox08001800 2K C Page4 008002000 2K C Page5 Ox08002800 2K C Page6 Ox08003000 2K wal mn 2 AAAA Unselect all Select all ih For more details please refer to the Option Bytes section in the Flash programming manual available from www st com Doc ID 16987 Rev 6 13 23 STM32 ST LINK Utility features UM0892 3 6 14 23 MCU core functions The Core panel dialog box shown in Figure 14 displays the Cortex M3 core register values It also allows you to carry out the following actions on the MCU using the buttons on the right Run Run the core Halt Halt the core System Reset Send a system reset request Core Reset Reset the core Step Execute only one step core instruction Read Core Reg Update the core registers values Figure 14 MCU Core panel dialog box Core panel R1 08000118 pe Oxf7fbfff APSR 0x0 R2 0x0 RS Oxffffefbe IPSR 0x0 R2 0x83 R10 Oxf12c2000 EpsR 01000000 R4 020000918 AI Ox537145b4 MSP 020002420 R5 Ox200004 p12 044400004 psp 0x56bda42c R6 02000078 R13 0 20002420 XPS 0x1000000 R7 0x200007f0 pis CO Pc 0x2000010 Core state Halted Doc ID 16987 Rev 6
22. wing levels 0 Protection disabled 1 Protection enabled 2 Protection enabled debug and boot in SRAM features are DISABLED Note Level 2 is available on STM32 F 2 and STM32 L 1 series only ky Doc ID 16987 Rev 6 19 23 STM32 ST LINK Utility command line interface CLI UM0892 Note 20 23 BOR_LEV lt Level gt BOR_LEV sets the Brownout Reset threshold level For STM32 L 1 series BOR OFF 1 45 to 1 55 V voltage range 1 69 to 1 8 V voltage range 1 94 to 2 1 V voltage range 2 3 to 2 49 V voltage range 2 54 to 2 74 V voltage range 2 77 to 3 0 V voltage range For STM32 F 2 series BOR OFF 1 8 to 2 10 V voltage range 2 10 to 2 40 V voltage range 2 40 to 2 70 V voltage range 2 70 to 3 60 V voltage range aR WN O w N O IWDG_SW lt Value gt The lt Value gt should be 0 or 1 0 Hardware independent watchdog 1 Software independent watchdog nRST_STOP lt Value gt The lt Value gt should be 0 or 1 0 Reset generated when CPU enters the Stop mode 1 No reset generated nRST_STDBY lt Value gt The lt Value gt should be 0 or 1 0 Reset generated when CPU enters the Standby mode 1 No reset generated BFB2 lt Value gt The lt Value gt should be 0 or 1 0 Boot from Flash bank 2 when boot pins are set in boot from user Flash position default 1 Boot from Flash bank 1 when boot pins are set in boot from user Flash position default BFB2 is
23. y program the Flash memory 2 2 4 ST LINK menu Figure 5 ST LINK menu Sh STM32 ST LINK Utility Fie view Target ST LINK Help rant id wy Firmware update Firmware update Displays the version of ST LINK and ST LINK V2 firmware and updates it to the last version ST LINK V1J12S3 ST LINK V2 V2J14S3 2 2 5 Help menu Figure 6 Help menu El STM32 ST LINK Utility Fie view Target ST LINK M365 py iy Ri STM32 ST LINK Utility User Manual EG ST LINK User Manual Memory displa ae ST LINK 2 User Manual Address bx08000000 About STM32 ST LINK Utility User Manual Opens the STM32 ST LINK Utility User Manual ST LINK User Manual Opens the ST LINK User Manual ST LINK V2 User Manual Opens the ST LINK v2 User Manual About Displays STM32 ST LINK Utility software version and copyright information Doc ID 16987 Rev 6 7 23 STM32 ST LINK Utility features UM0892 3 3 1 3 2 8 23 STM32 ST LINK Utility features This section provides a detailed description of how to use STM32 ST LINK Utility features Device information Memory display and modification Flash memory erase Device programming Option bytes configuration MCU core functions Automatic mode functions Device information The Device information zone displays information as shown in Figure 7 Figure 7 Device information zone in the main user interface Device Information Device STM32F10xxx High density device Devic

Download Pdf Manuals

image

Related Search

Related Contents

  SurfaPaint ThermoDry Exterior  Burris FastFire User Guide  SOLACE/SKYLINE - Marquis Fireplaces  

Copyright © All rights reserved.
Failed to retrieve file