arm_flash_st.c File Reference

#include <stdlib.h>
#include <stdio.h>
#include <stdint.h>
#include <errno.h>
#include <string.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <sys/time.h>
#include <sysexits.h>
#include <ctype.h>
#include <unistd.h>
#include "dbg_msg.h"
#include "jt_instr.h"
#include "jt_arm.h"
#include "jt_cortex.h"
#include "jt_flash.h"
#include "arm_gdbstub.h"
#include "arm_memory_mmap.h"
#include "arm_memory_workspace.h"
#include "convert.h"

Functions


Detailed Description


Function Documentation

int str7FlashProgram ( uint32_t  addr,
int  maxSize,
uint32_t *  data 
)
int str7FlashErase ( uint32_t  addr,
int  idx 
)
int str9FlashProgram ( uint32_t  addr,
int  maxSize,
uint32_t *  data 
)
int str9FlashErase ( uint32_t  addr,
int  idx 
)
int stm32FlashProgram ( uint32_t  addr,
int  maxSize,
uint32_t *  data 
)
static int stm32f10xOptionByteflashEraseSector ( uint32_t  base_addr,
uint32_t addr   __attribute__(unused) 
) [static]
int stm32FlashErase ( uint32_t  addr,
int  idx 
)

SGS Thomson flash erase (of STM32F10x embedded flash)

Parameters:
addr Flash page address start
idx index of page
Return values:
0 on success
>=1 else errro number

References DBG_LEVEL_GDB_ARM_WARN, dbgPrintf(), jt_stm32f10xflashEraseSector(), and stm32f10xOptionByteflashEraseSector().

Referenced by eraseFlashCB_sector(), gdb_monitor_Rcmd(), and programFlashCB_write_sector().


This file is part of the documentation for JTAG-GDB Server for ARM .

Generated on Mon Feb 15 21:23:21 2010 by doxygen 1.6.2.