[ECOS] a silly question about the __exception_handlers

twomol twomol@bj1860.net
Fri Nov 26 05:46:00 GMT 2004


 hello

 I use E7T to describe my question.On E7T,when reset ,the address of rom/flash bank0 is mapped from 0x0 to 0x2000000.
 I use ecos configtool build a redboot.bin using E7T templet(ROM startup).At the begining of the file is the  __exception_handlers.
 The first statment of the  file is :ldr pc,[pc, #24];0x20
 The conetent in 0x20 is 0x1820040.If I burn the redboot.bin in the rom/flash bank0,the board reset,begin to execute the first  statment "ldr pc,[pc, #24]",then the value of PC become 0x1820040.But at this moment the address of 0x1820040 can't
be accessed,because the memory haven't be remaped.

Does it right?Or I'm too stupid to miss something?
Thanks very much!^_^
	


 				

        twomol
        twomol@bj1860.net
          2004-11-26
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gaizh.gif
Type: image/gif
Size: 2477 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/ecos-discuss/attachments/20041126/6a0dc639/attachment.gif>
-------------- next part --------------
-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


More information about the Ecos-discuss mailing list