jt_jtag_test.c File Reference

#include <stdio.h>
#include <stdint.h>
#include <string.h>
#include <unistd.h>
#include "dbg_msg.h"
#include "arm_emu.h"
#include "jt_tap.h"
#include "jt_instr.h"
#include "jt_arm.h"
#include "jt_cortex.h"
#include "jt_mmu.h"
#include "jt_cp15.h"
#include "jt_flash.h"
#include "jt_test_pattern.h"

Functions

Variables


Detailed Description


Function Documentation

int jtag_test ( uint32_t  level  ) 

Doing some test at ARM-Core level.

Parameters:
level bitmask of test to start
Returns:
0

References ARM_B_dot, arm_step_emu(), armEmuTestPattern, AUTO_INCR_OFF_AP_CONTROL, CALLBACK_EXSIST, CORE_DEBUG_BASE_ADDR, reg_set::CPSR, EmuTestPattern::cpsr_f, CPU, DBG_LEVEL_GDB_ARM_ERROR, DBG_LEVEL_GDB_ARM_INFO, dbgPrintf(), DHCSR_C_SNAPSTALL, DHCSR_S_REGRDY, doCallback(), reg_set::ext, FLASH_BASE_def, flashBase, ICERT_REG_DEBUG_STATUS, ICERT_REG_WATCHPOINT_0_ADDRMASK, EmuTestPattern::info_comment, EmuTestPattern::instr, jt_amdflashGetInfoHalfword(), jt_intelflashGetInfoHalfword(), jt_str91xflash_EraseSector(), jt_str91xflash_GetConfig(), jt_str91xflash_SectorBlankCheck(), jt_str91xflash_WriteSector(), jtag_arm720_CP15_ReadFCSEpidReg(), jtag_arm720_CP15_ReadMMUcontrolReg(), jtag_arm720_CP15_ReadTTB(), jtag_arm720_CP15_WriteTTB(), jtag_arm920_CP15_ReadDTTB(), jtag_arm920_CP15_ReadITTB(), jtag_arm920_CP15PhysRegRead(), jtag_arm966_CP15_ReadTCMcontrolReg(), jtag_arm966_CP15_WriteTCMcontrolReg(), jtag_arm_DumpCPUregs(), jtag_arm_FinalExitDebug(), jtag_arm_IceRT_PutAnyBreakPoint(), jtag_arm_IceRT_RegRead(), jtag_arm_IceRT_RegWrite(), jtag_arm_identify(), jtag_arm_mmu_disable(), jtag_arm_mmu_disable_high_vectors(), jtag_arm_mmu_save_and_disable(), jtag_arm_PollDbgState(), jtag_arm_PrepareEnterDebug(), jtag_arm_PrepareExitDebug(), jtag_arm_ReadCP15Info(), jtag_arm_ReadCpuRegs(), jtag_arm_ReadHalfword(), jtag_arm_ReadWord(), jtag_arm_ReadWordMemory(), jtag_arm_RunProgram(), jtag_arm_ShowAllIceRT_Regs(), jtag_arm_Step(), jtag_arm_WriteCpuRegs(), jtag_arm_WriteHalfword(), jtag_arm_WriteMemoryBuf(), jtag_arm_WriteWord(), jtag_cortex_AHB_attach(), jtag_cortex_AHB_ReadWordMemory(), jtag_cortex_AHB_setmodeTar(), jtag_cortex_AHB_WriteMemoryBuf(), jtag_cortex_ApAHB_BankedDataRegRead(), jtag_cortex_ApAHB_BankedDataRegWrite(), jtag_cortex_ApAHB_ROMbaseRegRead(), jtag_cortex_ApAHB_StatRegRead(), jtag_cortex_core_ApplicationInterruptResetControl_ReadRegister(), jtag_cortex_core_ApplicationInterruptResetControl_WriteRegister(), jtag_cortex_core_ConfigurationControl_ReadRegister(), jtag_cortex_core_debugExceptionMonitorControl_ReadRegister(), jtag_cortex_core_debugExceptionMonitorControl_WriteRegister(), jtag_cortex_core_debugHaltingControlStatus_ReadRegister(), jtag_cortex_core_debugHaltingControlStatus_WriteRegister(), jtag_cortex_core_HardFaultStatus_ReadRegister(), jtag_cortex_core_PollDbgState(), jtag_cortex_core_ReadCpuRegs(), jtag_cortex_core_Step(), jtag_cotrex_DpRdBuff_RegRead(), jtag_cotrex_DpStat_RegRead(), jtag_eos(), jtag_hard_reset(), jtag_reset(), MMU920_PHYSACCESS_CP15_REGADDRESS_FCSE_PID, MMU920_PHYSACCESS_CP15_REGADDRESS_MMUCONTROL, NON, reg_set::RegExt::RegV4Ext::prev_CPSR, EmuTestPattern::r, reg_set::Regs::r, RAM_BASE_def, ramBase, reg_set::regs, scan_chain, SIZE_WORD_AHB_AP_CONTROL, str91xSectorBuffer, SYSM_APSR, SYSM_CONTROL, SYSM_FAULTMASK, SYSM_PSP, tap_start(), tap_stop(), TCM966_ENABLE_AHB_WRITE_BUFFER, TCM966_ENABLE_DTCM, TCM966_ENABLE_ITCM, TEST_JTAG_ARM_EMU, TEST_JTAG_FLASH_READ, TEST_JTAG_GETID, TEST_JTAG_MODIFY_CPU_REG, TEST_JTAG_MODIFY_ICE, TEST_JTAG_RAM_PROGRAM, TEST_JTAG_RAM_READ, TEST_JTAG_RAM_WRITE, TEST_JTAG_RELEASE, TEST_JTAG_START_STEPS, TEST_JTAG_THUMB_EMU, text_buf, THUMB2_MSR_P1, THUMB2_MSR_P2, THUMB_B_dot, thumb_step_emu(), thumbEmuTestPattern, reg_set::RegExt::v4, reg_set::RegExt::v7m, reg_set::RegExt::RegV7mExt::vtor, word_pattern, and reg_set::RegExt::RegV7mExt::xPSR.

Referenced by main().


Variable Documentation

uint32_t ramBase = 0

Referenced by jtag_test(), and parseParameter().

int RAM_BASE_def = 0

Referenced by jtag_test(), and parseParameter().

uint32_t flashBase = 0

Referenced by jtag_test(), and parseParameter().

int FLASH_BASE_def = 0

Referenced by jtag_test(), and parseParameter().

int word_pattern[64] [static]

Referenced by jtag_test().


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.