This is the mail archive of the
ecos-discuss@sourceware.cygnus.com
mailing list for the eCos project.
Re: eCos on MPC850SAR board..
>>>>> "Prince" == Prince John <prince@cdotb.ernet.in> writes:
Prince> Hi, we are trying to port eCos(along with "Hello eCos World"
Prince> application) on MPC850SAR FADS board. But it gives "
Prince> Instruction TLB miss " Exception after hal_MMU_init(). Can
Prince> someone advice us how to solve this?
Sounds like you don't initialize the TLBs properly.
Do you provide something like the below (from the MBX platform HAL)
with addresses/sizes adjusted for your target?
// The memory map is weakly defined, allowing the application to redefine
// it if necessary. The regions defined below are the minimum requirements.
CYGARC_MEMDESC_TABLE CYGBLD_ATTRIB_WEAK = {
// Mapping for the Motorola MBX860 development board
CYGARC_MEMDESC_CACHE( 0xfe000000, 0x00400000 ), // ROM region
CYGARC_MEMDESC_NOCACHE( 0xff000000, 0x00100000 ), // MCP registers
CYGARC_MEMDESC_NOCACHE( 0xfa100000, 0x00000004 ), // Control/Status+LEDs
CYGARC_MEMDESC_CACHE( 0x00000000, 0x00800000 ), // Main memory
CYGARC_MEMDESC_TABLE_END
};
Jesper