<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3314" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=916143207-28042008>When I debug the
board SMDK2410 using the BDI2000, I got an error puzzle me a
lot.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=916143207-28042008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=916143207-28042008>Debug in <FONT
color=#0000ff>start.s</FONT> is okay, when get into the file <FONT
color=#0000ff>board.c <FONT color=#000000>following instruction in " for
(init_fnc_ptr = init_sequence; *init_fnc_ptr; ++init_fnc_ptr) {" cycle</FONT>,
</FONT><FONT color=#000000>there is an notification appear in the
ddd debugger. </FONT></SPAN></FONT><FONT face=Arial size=2><SPAN
class=916143207-28042008>"Further execution is probably impossible."
</SPAN></FONT><FONT face=Arial size=2><SPAN class=916143207-28042008>And
then uboot go back to "monitor_flash_len = _bss_start - _armboot_start;
"</SPAN></FONT></DIV>
<DIV align=left><FONT face=Arial size=2>
<DIV align=left><SPAN class=916143207-28042008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV align=left><SPAN class=916143207-28042008><FONT face=Arial size=2>I don't
know why. Can anybody tell me what happen here?</FONT></SPAN></DIV></FONT></DIV>
<DIV align=left><FONT face=Arial size=2><SPAN class=916143207-28042008>Thanks a
lot,</SPAN></FONT></DIV>
<DIV align=left><FONT face=Arial size=2><SPAN
class=916143207-28042008></SPAN></FONT> </DIV>
<DIV align=left><FONT face=Arial size=2><SPAN
class=916143207-28042008>Fan</SPAN></FONT></DIV>
<DIV align=left><FONT face=Arial size=2><SPAN
class=916143207-28042008></SPAN></FONT> </DIV>
<DIV align=left><FONT face=Arial size=2><SPAN
class=916143207-28042008>.......</SPAN></FONT></DIV>
<DIV align=left><FONT face=Arial size=2> gd = (gd_t*)(_armboot_start -
CFG_MALLOC_LEN - sizeof(gd_t));<BR> /* compiler optimization barrier needed
for GCC >= 3.4 */<BR> __asm__ __volatile__("": :
:"memory");</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV align=left><FONT face=Arial size=2> memset ((void*)gd, 0, sizeof
(gd_t));<BR> gd->bd = (bd_t*)((char*)gd - sizeof(bd_t));<BR> memset
(gd->bd, 0, sizeof (bd_t));</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV align=left><FONT face=Arial size=2> monitor_flash_len = _bss_start -
_armboot_start;</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV align=left><FONT face=Arial size=2> for (init_fnc_ptr = init_sequence;
*init_fnc_ptr; ++init_fnc_ptr) {<BR> if ((*init_fnc_ptr)() != 0)
{<BR> hang ();<BR> }<BR> }</FONT></DIV>
<DIV align=left><FONT face=Arial size=2></FONT> </DIV>
<DIV align=left><SPAN class=916143207-28042008><FONT face=Arial
size=2>.......</FONT></SPAN></DIV>
<DIV align=left><SPAN class=916143207-28042008></SPAN><SPAN
class=916143207-28042008></SPAN><SPAN class=916143207-28042008><FONT face=Arial
size=2></FONT></SPAN> </DIV></BODY></HTML>