read - write between DDR and T1024

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

read - write between DDR and T1024

633 Views
emras
Contributor I

Hi All,

I do not know how to communicate between DDR to T1024, could you support me? Thank you for your consideration.

The memory map is like that:

Memory map on T1024RDB
----------------------
Start Address End Address Description Size
0xF_FFDF_0000 0xF_FFDF_0FFF IFC - CPLD 4KB
0xF_FF80_0000 0xF_FF80_FFFF IFC - NAND Flash 64KB
0xF_FE00_0000 0xF_FEFF_FFFF CCSRBAR 16MB
0xF_F802_0000 0xF_F802_FFFF PCI Express 3 I/O Space 64KB
0xF_F801_0000 0xF_F801_FFFF PCI Express 2 I/O Space 64KB
0xF_F800_0000 0xF_F800_FFFF PCI Express 1 I/O Space 64KB
0xF_F600_0000 0xF_F7FF_FFFF Queue manager software portal 32MB
0xF_F400_0000 0xF_F5FF_FFFF Buffer manager software portal 32MB
0xF_E800_0000 0xF_EFFF_FFFF IFC - NOR Flash 128MB
0xF_0000_0000 0xF_003F_FFFF DCSR 4MB
0xC_2000_0000 0xC_2FFF_FFFF PCI Express 3 Mem Space 256MB
0xC_1000_0000 0xC_1FFF_FFFF PCI Express 2 Mem Space 256MB
0xC_0000_0000 0xC_0FFF_FFFF PCI Express 1 Mem Space 256MB
0x0_0000_0000 0x0_ffff_ffff DDR 4Gb

I thought that, I can assign an address to a pointer which defined in the main program, the address is from the range of 0x0_0000_0000 0x0_ffff_ffff DDR 4Gb and when I start to write and read this address, I can use the ddr directly. Is it correct?

I have done this method in pc, i had a segmentation fault error. Could you guide me?

Thank you for your consideration.

 

Labels (1)
0 Kudos
1 Reply

624 Views
ufedor
NXP Employee
NXP Employee

NXP supports only CodeWarrior IDE for development and debugging.

Please refer to the attached T1024RDB initialization script as example.

0 Kudos