This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Can't write data into memory location in ARM 66K2H14 EVM kit

Hi,

Hope you are doing good.!!!

Am using a EVM kit with ARM 66K2Hxx. I tried to write some data into the memory location
0x90000000 using c program.I have generated a simple C program and compiled linaro tool chain and followed below commmands.

Compilation process
--------------------

# arm-linux-gnueabihf-gcc -c <filename.c>

# arm-linux-gnueabihf-ld <filename.o> -o <obj.o> -Ttext=0x80000000

# objcopy -I elf32-little <obj.o> -O binary <obj.bin>


Then through "tftp" i loaded the .bin file into the memory location using the below command and then executed,

# tftp 80000000 <obj.bin>
# go 80000000

But when executed ,board hangs .

Please let me know whether the compilation procedure is correct ?

Thanks,

Rajaguru M

  • Dear Rajaguru,
    Your compilation procedure seems to be fine but the DDR location.
    The location which you are writiing is DDR3 location where u-boot may run thus it hangs.

    Please use some other DDR3 location.
    Also, you can use "mw.l" and "md.l" u-boot commands to access the DDR3 memory.

    Also with the same build procedure, I would like to put some "printf" for first time to make sure that build procedure is fine.
  • Moved this thread over Keystone forum for appropriate response. Thank you.