AnsweredAssumed Answered

Problem adding Pre-compiled Libraries to KSDK2.0 project

Question asked by Amit Mahadik on Jun 28, 2016
Latest reply on Jul 8, 2016 by Alice_Yang

Hi All,

          I am new to KDS IDE. I have a FRDM K64F development board. I was able to run a sample Hello World program from KSDK2.0 successfully. My aim is to run a simple database application. I have done the following steps.

1. Using the Toolchain the KDS uses independently cross compiled the database library. (STATIC library created successfully) using same toolchain options that KDS uses.

2. Modified the hello world ample app to test the database library.

3. Added the include and library paths in the project properties ->Tool Settings. (Cross C ARM compile include and Cross ARM C linker for Library path and -l option).

4. Build the project. The project built and .elf was generated.


However, when I connect the board and try to debug the executable using OpenOCD the Flash LED blinks continuously and the control never reaches to main. (Breakpoint is set at main. Default Debug Configurations options).


If I try to flash the .bin image onto the board, the flashing is OK but do not get any PRINTs that are immediately after main().


Please let me know if I am doing anything wrong here.