[ECOS] EDB7xxx ROM image - MMU sets ROM noncacheable

AshCan@aol.com AshCan@aol.com
Mon Oct 2 14:40:00 GMT 2000


I am running an MP3 decoder and TCP/IP with code 
residing in from ROM.  The file, hal_platform_extras.h 
in /hal/arm/edb7xxx/v1_3_1/include configures the ROM 
to noncacheable.  My player was not able to keep up 
with the data stream resulting in choppy audio playback.

Making the ROM cacheable solved the problem.  

from:

FILL_256M_SEGMENT(ROM0_PA|MMU_L1_TYPE_Section|MMU_AP_Any)

to:

FILL_256M_SEGMENT(ROM0_PA|MMU_L1_TYPE_Section|MMU_AP_Any|MMU_Bufferable|MMU_Cacheable)

Someone should either change this in the code base or make a configuration file setting.

Dan Ash
SonicBox


More information about the Ecos-discuss mailing list