This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

SH2 variant Builds and vector Table


> I am building eCos for an SH2 variant platform. I have defined all of my memory ranges. Basically I am placing it in RAM starting at 0x800200. I have CYGHWR_HAL_VSR_TABLE as 0x800200 and 
> CYGHWR_HAL_VECTOR_TABLE as 0x800300.
> 
> Once I build a very basic 2 threaded app with this eCos build and export it to Srecord format and look back at the file. The PC vectors for Power-on reset (vector 0) and manual reset (vector 2) have 0x20000000 ORed with them. The addresses stored here should be 0x00801E04 but are actually 0x20801E04. I believe the 0x20000000 is the offset applied for non-cached memory. I have cache undefined/disabled as the processor I am using contains no cache so no offset should be applied. 
> 
> 	Can anyone help. Many thanks in advance.
> 
> 
> 			James Yates

--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]