Hi, I have a boot loader program which boots from NOR Flash using GPMC Interface of AM335X SITARA series. But I am failing to run the application program for the same which also resides on the NOR FLash. My application code is a simple gpioLEDBlink.c program where pin 23 of GPIO1 glows alternately. I think I am failing to write the linker files properly for the application code.
I have found that on oscilloscope that my program enters the application code and exits suddenly after traversing first thirty two addresses of the NOR FLash i.e. it enters 0x08003D00 of GPMC address space and then exits after 0x08003D3F. What can be the reason for this?
Is it that during entry the boot loader is not getting something and it exits.. Is it that some setting has to be done in bootloader before going to application code. please inform.
I have attached the relevant linker command files for the boot loader and the C Files of the bootloader entry code as well as the application code. I have posted the question in other forums but I have not received a reply so hoping to get some help here...doubt.rar