This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Cortex-A53 in i.MX8M Mini - Bare Metal Programming

Hi,

 

I am trying to flash Bare Metal code into cortex-a53 core on i.mx8m mini. I have taken the example project from ARM DS-5 package. I am importing the project (startup_Armv8-Ax1_GCC) in eclipse ide for embedded C/C++. I downloaded the required toolchain (aarch64-elf-gcc) wrt the project. Now I am able to compile, but i can't flash executable into target core (cortex-a53). I am using JLink ultra+ debugger + aarch64-elf-gdb for flashing. I checked the linker file of the project, load address was 0X80000000. I think this address is for FVP, so I modified the load address to 0x00800000 (TCM). Then the executable loaded successfully on that address. But if I try to run the code line by line/free-run using debugger, it says it cannot access the specified memory. 

I am not able to debug further.
Can anyone please give suggestion?

 

Thanks in advance,
Navaneethan