I am having troble loading k 70 USB Stack to DDR memory.
When loading to DDR my program is getting halted at PLLINIT.
Please can any one help me with this issue
I am running bare board project in code warrior . Also i have used linker file and init file from KINETIS_120MHZ_SC .
Solved! Go to Solution.
Hi abhilash,
Since I have provide a solution for this topic based on IAR, so the CW solution is similar, and even more simple. Please kindly refer to this thread first https://community.freescale.com/thread/308783, and modify the source code as it mentioned.
Then, change the linker file as below:
After compiling, you will have an output map file like that:
before downloading the application, you will have to modify the connection type of the debug configuration, there is a trick for it, you may open another CW project from KINETIS_120MHZ_SC, which contain the connection configuration for DDR debug, in the same workspace. then you may select the proper connection type based on the JTAG type you are using.
OK, with above steps, you may download the image into TWR-K70's DDR2 RAM, and run the application.
and found the device in the Device Manager:
Hope that helps,
B.R
Kan
Hi abhilash,
Since I have provide a solution for this topic based on IAR, so the CW solution is similar, and even more simple. Please kindly refer to this thread first https://community.freescale.com/thread/308783, and modify the source code as it mentioned.
Then, change the linker file as below:
After compiling, you will have an output map file like that:
before downloading the application, you will have to modify the connection type of the debug configuration, there is a trick for it, you may open another CW project from KINETIS_120MHZ_SC, which contain the connection configuration for DDR debug, in the same workspace. then you may select the proper connection type based on the JTAG type you are using.
OK, with above steps, you may download the image into TWR-K70's DDR2 RAM, and run the application.
and found the device in the Device Manager:
Hope that helps,
B.R
Kan
Tanks Kan
Thanks for your help.