I made a simple board based upon MPC8245. Flash is 8-bit, SDRAM is 32 bit connected to MDH[0:31](composed by 2 IS42S16800F). For debugging purpose we use CodeWarrior Power Architecture 8.8 + CodeWarrior USB TAP (16 pin JTAG interface). When I try to write to SDRAM, the address end by 0x4 and by 0xc is 0x0000_0000,address end by 0x0 and by 0x8 is the data I wrrote.like this: 0x0000_0100 : 0x1234_5678 ,0x0000_0000,0x1234_5678,0x0000_0000.I try to write in any different sequence,the result is same.Then I read the space of the ROM,the same result. So I conjecture this problem is caused by the emulator . few days ago some one tell me that the USB TAP support only 64bit configration of MPC8245, I must verify this is correct or not,and then I have to make a decision to buy another emulator that can support the 32-bit data bus of MPC8245.
Today I test it again,I find that if I write to the address ended by 0x04,0x0c...,the data bus will be '0' allways.that is say the MPC8245 has written data to the SDRAM,the data just is"0000_0000",so what is wrong?
Hello xuchao li,
Can you please share your initialization file? (*.cfg)
Regards
Lunmin
Hello xuchao li,
Please see my response there:
ow to configration the MPC8245 when it works in 32-bit data bus mode
BR
Lunmin