Doubles showing zero and casting not working

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Doubles showing zero and casting not working

      Hey folks,

      1st Forum post ever so bare with me.

      I'm using SES for ARM 5.30a and zephyr targetting a Nordic DWM1001. For some reason casting values even to the same type doesnt seem to go well, specifically when I add a watch on it I get symbol not found, some values when printed show zeros.

      What's worse is the use of floats specifically doubles seem to result in zero everytime. The code examples I'm looking at are using double and it's a value multiplied by 15.65e-12 so it's quite a small number.

      The general casting issue can easily be worked about but this float thing is odd.

      Hope this wasn't a terrible.1st post.

      Cheers
    • Hello,

      Thank you for your inquiry.
      Such an issue is not known to us.
      Currently we assume it is a setup/target application issue.
      Could you provide an example project for reproduction that would run on the mentioned eval board?

      Best regards,
      Nino
      Please read the forum rules before posting: Forum Rules

      Keep in mind, this is not a support forum. Its main purpose is user to user interaction.
      Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
      Should you be entitled to support you can contact us via our support system: segger.com/ticket/

      Or you can contact us via e-mail.