SDK 1.0.0.9 Ecat_appl , Application to run in debug mode
First thing we are trying to Run the project ecat_appl in debug mode on ICE Board, project located at ti\am335x_sysbios_ind_sdk_1.0.0.9\sdk\protocols\ethercat_slave
For your information we have already worked on SDK 1.0.0.4 and SDK 1.0.0.8 and were succesfully able to run the ecat_appl project in debug mode on ICE board
Below is the steps carried out on SDK 1.0.0.9
1) As it is mentioned in userguide to downlaod Slave Stack Code SSC 5.10 from ETG and Place the *.c and *.h files of SSC to C:\ti\am335x_sysbios_ind_sdk_1.0.0.9\sdk\protocols\ethercat_slave\ecat_appl\EcatStack.
2) Define 2 macros in ecat_def...things are taken care here
3)To run the application in Debug mode, Using CCS v5.2 we need to pass a command in Post-build-steps as below
"${IA_SDK_HOME}/tools/post_build/post_build.bat" "${CCS_INSTALL_ROOT}" "${CG_TOOL_ROOT}" "${PWD}" "${ProjName}" "${IA_SDK_HOME}/tools/sdk_image" "1" "1" "0x80000000" "0x80000000"
4) Now was able to successfully buit the ecat_appl and *.out created in debug folder
5) Now at this time when we tried to run the application in debug mode, by laoding the *.out file on ICE Board,
It pops up no source available at 0x8...... (this 32bit address is not constant).failed to run the application in debug mode here
earlier observation with SDK 1.0.0.4 and SDK 1.0.0.8 was that the cursor was pointing tiesappl.c main function, but it is not the behaviour in SDK 1.0.0.9?
did not missed out any steps to run the application in debug mode, because previously have followed the same procedure for SDK 1.0.0.4 and 1.0.0.8 and was succeeded
Hope this information, helps you to figure out the solution. I guess Some settings need to be taken care in CCS Post-build steps .
Thanks,
Bindu