jt_flash_info_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_flash.h"


Detailed Description

Flash support functions

Function Documentation

static void PHILIPS_128K ( void   )  [inline, static]
static void PHILIPS_256K ( void   )  [inline, static]
int jt_philipsflashGetInfo ( uint32_t  base_address,
uint32_t  size,
struct sector **  sector_info 

Try to get the Flash info and create a new sector_info if possible. (32-Bit access)
(Embedded flash of LPC 210x machines)

base_address flash base address
size byte size of flash
sector_info pointer to target for new sector_info
number of flash chips per 32-bit bus (0=not found; 1=one flash)

References DBG_LEVEL_JTAG_ARM, dbgPrintf(), jt_flash_create_sector_info(), sector::lock, PHILIPS_128K(), and PHILIPS_256K().

Referenced by detectFlash().

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.