Alexander Shatilov

Seems like CodeWarrior doesn't recognize 32-bit data bus

Discussion created by Alexander Shatilov on Feb 21, 2008
Latest reply on Dec 25, 2015 by xuchao li
We made simple board based upon MPC8245. Flash and SDRAM both connected to 32 bit data bus MDH[0:31]. MDL[0:31] is disabled at reset by on-board logic (using MPC' configuration signals). For debugging purpose we use CodeWarrior Power Architecture 8.7.1 Patch Build 70802 (latest verson downloaded from freescale site) + CodeWarrior USB TAP CWH-UTP-PPCC-HE. When I try to read and write memory, I can easily do it with each even word, whereas each odd word is inaccessible. Flash region looks like 0xFFF00000: 0xFFFFFFFF 0x00000000 0xFFFFFFFF 0x00000000 ... This is not correct, because _every_ word must be 0xFFFFFFFF. When I download program to memory (via JTAG) each odd instruction becomes 0x00000000 - illegal instruction. Program refuses to start. Next, I put a simple loop program in FLASH (at 0xFFF00100), using Wiggle+UrJTAG without connecting to on-chp debug core. Program works normally after reset, no exception 'Illegal instruction' or 'Floating point unavailable' occurs. So I'm convicted it is CodeWarrior problem. I have only 12 days of evaluation period left :\. Any ideas?

Outcomes