Hi have a TWR-K70F120M tower system.
I'm able to enable the DDR memory on the K70 board and run memory tests on it to verifies all read/write operations.
But when I attempt to view the memory (0x80000000+) with Code Warrior (CW10.4) I'm shown ???????? for each word.
Is there not a way to instruct CW10.4 to support view/modifying DDR memory directly?
Thanks
Solved! Go to Solution.
Fix found.
I had to edit the MK70FN1M0.mem file found in my <project>/Project_Settings/Debugger/MK70FN1M0.mem
// | 0x42000000 0x43FFFFFF | // Aliased to AIPS and GPIOC bitband |
reserved 0x44000000 0x7FFFFFFF
range | 0x80000000 0xDFFFFFFF 4 ReadWrite // 2GB DDR memory | |
// | 0xE0000000 0xE00FFFFF | // Private Peripherals |
reserved 0xE0100000 0xFFFFFFFF
Fix found.
I had to edit the MK70FN1M0.mem file found in my <project>/Project_Settings/Debugger/MK70FN1M0.mem
// | 0x42000000 0x43FFFFFF | // Aliased to AIPS and GPIOC bitband |
reserved 0x44000000 0x7FFFFFFF
range | 0x80000000 0xDFFFFFFF 4 ReadWrite // 2GB DDR memory | |
// | 0xE0000000 0xE00FFFFF | // Private Peripherals |
reserved 0xE0100000 0xFFFFFFFF
the DDR2 memory range is from 0x70000000 to 0x77FFFFFF on TWR-K70F120M, there is no memory after address 0x80000000.