> -----Original Message----- > From: zengshuai at sogou.com > Sent: Thursday, December 01, 2005 00:52 > #define BCSRADDR 0x04500000
This address is wrong. It's the address the manual gives, but the bootloadre usually moves it because it interferes with the SDRAM when running Linux. Check the bootloader, or even better, if you know which ChipSelect the BCSR is on, read the BRn register and use that address. sort of like: bcsr_addr = cpm2_immr->im_memctl.memc_br1 & 0xffff8000; // BCSR is on CS1 on MPC8266ADS board