JTAG调试接口
软件环境:
XP+VMware+RH linux 9+Source Insight
stage1:软件架构参考下图
软件大体分为三部分:主代码区、调用子函数代码区、数据区
/*
* vivi/arch/s3c2410/head.S:
*
* bootloader stage1
*
* modify by forl on 2008/3/14
*/
#include "config.h"
#include "linkage.h"
#include "machine.h"
.text
/*
**********************************************
*
*code Area
*
**********************************************
*/
/*
***********************************************
*
* Exception vector table
*
***********************************************
*/
.globl _start
_start: b Reset
b undefined_instruction
b software_interrupt
b prefetch_abort
b data_abort
b not_used
b irq
b fiq
/*
**************************************************
*
*the actual reset code
*
**************************************************
*/
Reset:
/*disable watch dog timer*/