资源简介
debug时候出现NO ST-LINK Detected的错误提示,下了很多 ST-LINK驱动都不好用,这款好用,下载后点击ST-LINK_USB_V2_1_Driver文件夹下的stlink_winusb_install.bat进行安装即可
代码片段和文件信息
/**
******************************************************************************
* @file stm3210e_eval_fsmc_sram.c
* @author MCD Application Team
* @version V4.5.0
* @date 07-March-2011
* @brief This file provides a set of functions needed to drive the
* IS61WV51216BLL SRAM memory mounted on STM3210E-EVAL board.
******************************************************************************
* @attention
*
* THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
* WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE
* TIME. AS A RESULT STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY
* DIRECT INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING
* FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE
* CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
*
* © COPYRIGHT 2011 STMicroelectronics
******************************************************************************
*/
/* Includes ------------------------------------------------------------------*/
#include “stm3210e_eval_fsmc_sram.h“
/** @addtogroup Utilities
* @{
*/
/** @addtogroup STM32_EVAL
* @{
*/
/** @addtogroup STM3210E_EVAL
* @{
*/
/** @addtogroup STM3210E_EVAL_FSMC_SRAM
* @brief This file provides a set of functions needed to drive the
* IS61WV51216BLL SRAM memory mounted on STM3210E-EVAL board.
* @{
*/
/** @defgroup STM3210E_EVAL_FSMC_SRAM_Private_Types
* @{
*/
/**
* @}
*/
/** @defgroup STM3210E_EVAL_FSMC_SRAM_Private_Defines
* @{
*/
/**
* @brief FSMC Bank 1 NOR/SRAM3
*/
#define Bank1_SRAM3_ADDR ((uint32_t)0x68000000)
/**
* @}
*/
/** @defgroup STM3210E_EVAL_FSMC_SRAM_Private_Macros
* @{
*/
/**
* @}
*/
/** @defgroup STM3210E_EVAL_FSMC_SRAM_Private_Variables
* @{
*/
/**
* @}
*/
/** @defgroup STM3210E_EVAL_FSMC_SRAM_Private_Function_Prototypes
* @{
*/
/**
* @}
*/
/** @defgroup STM3210E_EVAL_FSMC_SRAM_Private_Functions
* @{
*/
/**
* @brief Configures the FSMC and GPIOs to interface with the SRAM memory.
* This function must be called before any write/read operation
* on the SRAM.
* @param None
* @retval None
*/
void SRAM_Init(void)
{
FSMC_NORSRAMInitTypeDef FSMC_NORSRAMInitStructure;
FSMC_NORSRAMTimingInitTypeDef p;
GPIO_InitTypeDef GPIO_InitStructure;
RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOD | RCC_APB2Periph_GPIOG | RCC_APB2Periph_GPIOE |
RCC_APB2Periph_GPIOF ENABLE);
/*-- GPIO Configuration ------------------------------------------------------*/
/*!< SRAM Data lines configuration */
GPIO_InitStructure.GPIO_Pin = GPIO_Pin_0 | GPIO_Pin_1 | GPIO_Pin_8 | GPIO_Pin_9 |
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2016-06-12 09:51 ST-li
文件 680440 2015-02-16 13:30 ST-li
文件 552328 2015-02-16 13:30 ST-li
文件 8970 2015-02-16 13:30 ST-li
文件 8970 2015-02-16 13:30 ST-li
文件 8956 2015-02-16 13:30 ST-li
文件 8956 2015-02-16 13:30 ST-li
文件 3360 2015-02-16 13:30 ST-li
文件 2167 2015-02-16 13:30 ST-li
文件 186 2015-02-26 11:16 ST-li
文件 234 2015-02-16 13:30 ST-li
文件 344285 2016-04-25 14:57 Release notes.pdf
目录 0 2016-06-12 09:51 ST-li
文件 616960 2015-02-16 13:30 ST-li
文件 617472 2015-02-16 13:30 ST-li
目录 0 2016-06-12 09:51 ST-li
文件 132012 2016-03-11 12:06 ST-li
文件 182592 2016-04-07 19:52 ST-li
文件 180500 2016-04-07 19:53 ST-li
文件 168660 2016-04-07 19:54 ST-li
文件 180660 2016-04-07 19:54 ST-li
目录 0 2016-06-12 09:51 ST-li
目录 0 2016-06-12 09:51 ST-li
目录 0 2016-06-12 09:51 ST-li
文件 1254 2015-03-31 10:56 ST-li
文件 255771 2015-03-31 10:56 ST-li
文件 32039 2015-03-31 10:56 ST-li
文件 39428 2015-03-31 10:56 ST-li
文件 98950 2015-03-31 10:56 ST-li
文件 108260 2015-03-31 10:56 ST-li
文件 21323 2015-03-31 10:56 ST-li
............此处省略467个文件信息
评论
共有 条评论