Home

STM32Lxxx Internal Flash Memory Instructions Manual

image

Contents

1. Program memory 32bitx Select Flash memory Select 32bit x 1 Memory Type Flash Memory Type Memory I F Type 1 Set the address in accordance with a mapping block 2 Select the flash memory definition file frd in accordance with the mapping block The following table describes about the mapping blocks starting addresses and frd files Setup example for when using STM32L151CC Mapping block 1 Start address 2 Flash Memory Type Program memory 0x08000000 STM32L151CC Program frd Data Memory EEPROM 0x08080000 STM32L151CC_Data frd Option byte block 0x1FF80000 STM32L151CC_OptionBytes frd Notes and Points for STM32Fxxx Internal Flash Memory 5 Erase the Flash Memory For details see the microVIEW PLUS User s Manual MPU Specific Edition Details of memory mapping settings are described on this manual Please refer to the microVIEW PLUS User s Manual MPU Specific Edition for other contents 6 Download to Flash Memory For details see the microVIEW PLUS User s Manual MPU Specific Edition Details of memory mapping settings are described on this manual Please refer to the microVIEW PLUS User s Manual MPU Specific Edition for other contents 6 1 Downloadable Area Flash memory of STM32L1xx series is sectioned as the following table You can program the area marked Yes Block Item Start address Size Supported Program mem
2. aciu asp acus aUa rarus aEE rd ds dE rd sE a aE Id Ea dE dssdo DEN 6 3 1 MPU specific Debug Control Register sessssssssssssesesseeee eene enne nnne ennn 6 3 27 Ghangitrig F to COlln ect i teo e ER tend e per s ei ie Pe s PM RR edd 7 4 Setting the Memory Mapping eeeeeeeeeeeeeeeeeeeee eene e nennt nnns 8 4 1 Setting up Flash Memory Mapping cccecceecceeeeeeeeeeeeeeeeseaeeeseaeeeeaeeseaeeeeeaaeeseaeeseeeesaeeseaeteenees 8 5 Erase the Flash Memory eeeeeeeeeeeeeeeeeeeeeeeee sese sess sanas asa asa n anu u uuu n uuu 10 6 Download to Flash Memory iusec dein sevd sva uud ava nid sva add aaa add sav a drd aav acad rav dra nnn 10 6 1 Downloadable Areda a a e aa a a ea A E eaaa aaa aa Aaa st E nnne nnns tein sinh nete oA Rada nnne 10 6 2 Downloading the readout protection RDP area een enne 10 7 Software Break in Flash Memory eeeeeeeeeeeeeeeeeee enne 11 8 Notes amp Points iiitescsu co arinari arinena adinari skr evi ecan AANA AANA AANA aana ANA 12 8 1 Memory write Neo iei o 12 Notes and Points for STM32Fxxx Internal Flash Memory 1 Introduction This is a brief manual for writing to Serial flash memory For details of ICE operating instructions see the microVIEW PLUS User s Manual Common Edition and microVIEW PLUS User s Manual MPU Specific Edition 2 Supported SLX ZX Versions Device Model Supported Versi
3. YOKOGAWA 4 STM32Lxxx Internal Flash Memory Instructions Manual Yokogawa Digital Computer Corporation Notes and Points for STM32Fxxx Internal Flash Memory 1 No part of this manual may be reproduced or transmitted in any form or by any means electronic or mechanical without the written permission of Yokogawa Digital Computer Corporation 2 The contents of this manual are subject to change without prior notice due to improvement of the functionality 3 If any question about the contents of this manual arises contact Yokogawa Digital Computer Corporation 4 Yokogawa Digital Computer Corporation shall not be held responsible for direct or indirect adverse effects resulting from operation of this system irrespective of the above item 3 5b Product and company names mentioned in this manual are the trademarks of their respective owners 2012 Yokogawa Digital Computer Corporation All Rights Reserved Printed in Japan Revision History Notes and Points for STM32Fxxx Internal Flash Memory Edition Date of issue Description 1st Edition Sep 30 2013 e Initial publication Notes and Points for STM32Fxxx Internal Flash Memory Contents T IntrOOUCHOED eae oce ccce Eoce ccs nece Coe e noce Goss coge GUx eec pe cUus Cere arre E 5 2 Supported SLX ZX Versions 1 eorrtetaac cuna nannten du euo pa sana nano p anda ca ca aa ax a aEaa 5 3 Advance Preparation oiii acit
4. ons SLX600 ZX600 STM32L100 2 51 or later STM32L151 2 51 or later STM32L152 2 51 or later STM32L162 2 51 or later Notes and Points for STM32Fxxx Internal Flash Memory 3 Advance Preparation 3 1 MPU specific Debug Control Register In some cases Cortex M series core has a debug control register outside of the core In this case start debugging after setting the debug specific control register MPU MPU Specific Setting Synchronous memory operation Without settings you may not be able to perform debug operation successfully The followings are setting examples Modify the settings as required For details see technical reference manuals for each MPU Settings DBG_IWDG_STOP 1 Debug independent watchdog stopped when core is halted DBG_WWDG_STOP 1 Debug Window Watchdog stopped when Core is halted DBG_STANDBY 1 Debug Standby mode DBG_STOP 1 Debug Stop mode DBG_SLEEP 1 Debug Sleep mode Select After Reset MPU Specitic Settings Synchronous memory operation H W Syr RESET CoreSaghtt Execution timing After Reset v Sequerce 1 Address OXED042004 Set 0x00000007 for Debug specific control register DBGMCU CR 0xe0042004 Data Attribute Wie 320b v Sequence o OXE0042000 Oats 0000001900 Attribute Wae Tibit Sequence 3 Address Set 0x00001800 for Debug s
5. ory 0x08000000 128KB to 384KB Yes Data memory DATA 0x08080000 4KB to 12KB Yes EEPROM Information block System memory 0x1FF00000 4KB to 8KB No Option bytes Ox1FF80000 32B to 64B Yes block Note 1 System memory area of information block cannot be overwritten due to the specification of MPU 6 2 Downloading the readout protection RDP area Data programming to an area which controls readout protection RDP in an option bytes block of information block is not download data The data is always being protected at level 0 Data actually programmed into that area is as follows Write address Setting value 0x1ff80000 OxFF5500AA Depending on the specification of chip mass erase may be executed if you download data into RDP area when readout protection is at level 1 memory read protection enabled condition As a result program area data EEPROM area and option byte area are all erased 10 Notes and Points for STM32Fxxx Internal Flash Memory 7 Software Break in Flash Memory For details see the microVIEW PLUS User s Manual MPU Specific Edition Details of memory mapping settings are described on this manual Please refer to the microVIEW PLUS User s Manual MPU Specific Edition for other contents You are not allowed to set up software break for flash memory in the initial state In case you try to set up software break for flash memory in the disabled status it results in ICE Error No 8c4 Set Software Break Verify Er
6. pecific control register DBGMCU APB1 0xe0042008 Data Attribute Sequerce 4 Address Data Attribute Notes and Points for STM32Fxxx Internal Flash Memory 3 2 Changing I F to connect In case the debugger operation in SWD is unstable switch it to JTAG I F Set the number of bypass TAP at pre stage and the number of IR register bit at pre stage then MPU Specific Settings User System RESET CoreSight Synchronous memory opera Debug Port IR bits at pre stage Debug L F IR bits at post stage 0 Notes and Points for STM32Fxxx Internal Flash Memory 4 Setting the Memory Mapping 4 1 Setting up Flash Memory Mapping Open the memory mapping window by clicking Environments Mapping Download Upload Download Specific Information Setting Path Mapping ICE Control Setting xd Object Map Select Probe Memory map window as below is opened Mapping e Memory Type Access Type Flash Memory Type Memory I F Type Mo Address Range Set the mapping Right click on the memory mapping window and then select Add Mapping Mo Address Range Memory Type Access Type Flash Memory Type Memory I F Type lt Notes and Points for STM32Fxxx Internal Flash Memory Configure the setting as the example below Set Mapping Start Address 08000000 Flash Memory STM32L151CC
7. ror To enable software break setting for flash memory select the Enable checkbox of S W Break in Flash Memory on the Others tab of the MPU Specific Settings dialog box MPU Specific Settings Reset OCD Daisy Chain HAW Synchro Others 4 gt Access Size for loading and others MPLI s Max Size Y Download to Flash Memory Sector Retry Count S W Break in Flash Memory C Consecutive Programming in JEDEC for Maintenance Set TCK Driver 0 sl Notes and Points for STM32Fxxx Internal Flash Memory 8 Notes amp Points 8 1 Memory write protection Depending on the specification of chip the system will be reset when releasing the protection Therefore you cannot program the flash while setting the memory write protection which uses option byte area Please release the memory write protection before programming the flash Programming which is accompanied by downloading erasing and software break setting of the on chip flash memory 12

Download Pdf Manuals

image

Related Search

Related Contents

Westinghouse Landscape Lighting 121504 User's Manual  Model No.DMC-GH1KPP DMC-GH1KEB DMC  User Manual - NETAVIS Observer -  User Manual  TP-Link TL-WN722N Declaration of Conformity  Installation and Administration Manual  Panasonic S-ICX Cordless Telephone User Manual  Setting a New Standard for Desktop Rapid Prototyping  Dell Latitude XT3 Manual do Proprietário - Dell Support  Zenith VRA423 VHS VCR  

Copyright © All rights reserved.
Failed to retrieve file