Can Code Warrior not display extern memory

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Can Code Warrior not display extern memory

Jump to solution
562 Views
terrybiberdorf
Contributor II

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

Labels (1)
0 Kudos
1 Solution
440 Views
terrybiberdorf
Contributor II

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

View solution in original post

0 Kudos
2 Replies
441 Views
terrybiberdorf
Contributor II

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

0 Kudos
440 Views
Rick_Li
NXP Employee
NXP Employee

the DDR2 memory range is from 0x70000000 to 0x77FFFFFF on TWR-K70F120M, there is no memory after address 0x80000000.

0 Kudos