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
My initialization file :
Hello xuchao li,
Please see my response there:
ow to configration the MPC8245 when it works in 32-bit data bus mode
BR
Lunmin
Now,Ican connect my board to CW by USB TAP,the only issure is when I write to the address ended by 0x4,0xc,like 0x0000_0004,0x0000_000c,and so on,the data bus will be all '0'.
My CCS is 4.13
Hello lunminliang,thank you so much!
Could you give me other way to communicat you,like as emill ,because I can only use My mobile phone,I will send the picture of the configration file to you