Flash programming using a BDI2000 on a MPC8248 CPU

Adrian Cox adrian at humboldt.co.uk
Mon Nov 6 22:11:18 EST 2006


On Mon, 2006-11-06 at 09:42 +0100, Laurent Pinchart wrote:

> [INIT]
> WREG            MSR             0x00000000
> WM32            0x00010004      0xffff2081      ; SYPCR
> WM32            0x00010024      0x00000000      ; BCR
> WM32            0x00010000      0x82240000      ; SIUMCR
> WM32            0x00010c80      0x00000001      ; SCCR
> WM32            0x000119c4      0x00000000      ; RCCR
> ; Initialize the flash memory controller
> WM32            0x00010100      0x40001001      ; BR0
> WM32            0x00010104      0xf8000834      ; OR0

It looks like your workspace is in RAM, but there's nothing in the setup
above to initialise the memory controller banks for your RAM. Check that
you can read and write the workspace locations with mm and md from the
BDI command line.

-- 
Adrian Cox <adrian at humboldt.co.uk>




More information about the Linuxppc-embedded mailing list