jt_flash_philips.c File Reference

#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <stdint.h>
#include "dbg_msg.h"
#include "jt_arm.h"
#include "jt_instr.h"
#include "jt_flash.h"


Detailed Description

Flash support functions

Function Documentation

uint32_t jt_philipsflashGenMask ( int  start_sector,
int  stop_sector,
uint32_t  flash_size,
int  boot_sector_enabled 

Support Function to generate the sector mask of the Flash.

start_sector number of first sector to use
stop_sector number of last sector to use
flash_size flach size in bytes
boot_sector_enabled boot sector enabled
mask of sectors that can be used

Referenced by eraseFlashCB_sector(), 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.