This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Eclipse with SDK5.2 nan-29

Hello,

I'm trying to get the SDK examples working in Eclipse. I have followed all steps(except debugging part) in the nan-29, but i can only import the s110/ble_hrs example with missing headers(see attachment)? Is there any information about how to import for example the ble_template project and set all header/source files correctly? All help will be appreciated!

Regards, Pascal

GCC_import.png

Parents
  • Hi Leo,

     Here is what I know works for me.  Development on OSX with Elcipse Kepler.  Without DFU loaded, debug works directly with s110 pre-flashed.  If DFU loaded.  i need first upload my app using dfu.  After that I can use Eclipse to debug.  It seem that DFU sets some flag to make s110 jumps to the App.  Flashing with Eclipse does not set the flag so s110 always jumps to DFU.  That is what I suspected, need to be confirmed.  When DFU is not loaded, S110 don't see it so it jumps to the App directly.  So if you work with ble, then you need to Flash the s110 first into the chip using nFRGo.
    
  • So you say i have to flash it with nFRGo (and not with JLinkExe) one time and after that, i can debug it with eclipse without any problems. Thanks for the hint, i'll test it as soon i'm on a win pc. But, do you have a clue why i stuck in the HardFaultHandler-loop?

Reply Children
No Data
Related