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

How to import libraries in SES IDE?

Hi,

So I just started programming with the SES IDE and I'd like to import some libraries from the SDK and external sources to the blinky example(for example didn't even try setting up my own project from scratch) and try to assemble something that works...

any tutorial on how to do this?

Some other small question that probably don't worth starting a thread for:

  1. How do you make a variable be displayed in a particular formal for debugging by default?(For example if something is displayed in decimal how to change it to hex?)

  2. How to prevent SAADC sample result from jumping to maximum when reading gets near the 0V?

3)How to make the software display other available "define" macros instead of using the infocenter for it?

  1. How to program a 3rd party board with the DK?

  2. Is it possible to use DFU OTA to program and debug 3rd party device straight out of SES using the NRF52832 as a dongle link for the PC?

Thanks for helping!

Parents
  • Hi MikeLemon!

    I'm glad the youtube tutorial was helpful.
    Regarding the rest of your questions:

    Q1:
    In SES, go to tools -> Options -> Debug -> Under "Display" there should be an option called "Default Display Mode", which lets you choose the default format that data values are shown in.


    Q2: There is always some noise present, and the noise is leading to the result giving negative values when getting close to 0V. Take a look at the SAADC in the Product Specification.

    Samples stored as 16-bit 2’s complement values for differential and single-ended sampling

    That's why the values will appear as "near maximum".
    Take a look at this case.


    Q3:
    Are you looking for SES to make suggestions to what defines you can add to your code?
    If so, I'm not sure that a feature like that is even possible, but I will do some research and get back to you.


    Q4:
    Take a look at this link;

    To debug an external board with SEGGER J-Link OB IF, connect to the Debug out connector (P19) with a 10 pin cable.

    There's also alot of threads here on DevZone discussing this.
    Take a look at these cases and see if they help you solve your problem:
    devzone.nordicsemi.com/.../
    devzone.nordicsemi.com/.../
    devzone.nordicsemi.com/.../


    Q5:
    Take a look at Bjørn's answer in this thread:
    devzone.nordicsemi.com/.../

    Hope that helps.
    Best regards,
    Joakim.

  • Q1) No I mean when I started debugging one example the debugger knew how set the display format automatically for example one of the float values were display in base 10 format while the others were displayed in hex format

    Q3) sometimes when starting to type a function a small window would pop in the middle and show me other optiong for continuing what I wrote automatically, also how is it possible to view the value of say a constant #define in such a window?

    Q4) useful stuff thanks!

    Q5) guess no debugging OTA?

Reply
  • Q1) No I mean when I started debugging one example the debugger knew how set the display format automatically for example one of the float values were display in base 10 format while the others were displayed in hex format

    Q3) sometimes when starting to type a function a small window would pop in the middle and show me other optiong for continuing what I wrote automatically, also how is it possible to view the value of say a constant #define in such a window?

    Q4) useful stuff thanks!

    Q5) guess no debugging OTA?

Children
No Data
Related