Hi Alexander,
I tried your suggestion. But, still I have some confusion. Will you please give detailed explanation for configure MMU TLB entry for flash and configure. Still I am struggled in that same step.
In init_rev.cmm,
;MMU setup
MMU.TLB1.Set 0. 0xC0000A00 0xC0000008 0xC0000015 0x00000000 0x00000000 ;FLASH 0xC0000000--0xffffffff (1GB)
MMU.TLB1.Set 1. 0xC0000A00 0x00000000 0x00000015 0x00000000 0x00000000 ;DDR 0x00000000--0x3fffffff (1GB)
MMU.TLB1.Set 2. 0xC0000A00 0x40000000 0x40000015 0x00000000 0x00000000 ;DDR 0x40000000--0x7fffffff (1GB)
MMU.TLB1.Set 3. 0xC0000A00 0x80000000 0x80000015 0x00000000 0x00000000 ;DDR 0x80000000--0xbfffffff (1GB)
In flash_cfi.cmm
;TLB entry for FLASH 0xC0000000--0xffffffff (caching inhibited - memory access guarded)
MMU.TLB1.Set 0. 0xC0000A00 0xC000000A 0xC0000015 0x00000000 0x0
;TLB entry for CPC-SRAM 0x10000000--0x100FFFFF
MMU.TLB1.Set 1. 0x80000500 0x10000002 0x10000015 0x00000000 0x0
If it possible please explain anyone of the MMU TLB entry.
And also I struggled in selection of LAW register for DDR, NOR FLASH and SRAM. If it possible please give some document to configure LAW register (It will be very helpful if t4160rdb machine)
Thank you for your help...........!
Regards, VinothS
Regards,
Vinothkumar Sekar