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

I need help with converting any example from Keil to SES

Hello,

I've been trying for days to convert any example from Keil to SES, I have road probably every question here on the dev zone but I am unable to fix this, I ever specially install windows on my mac to try if there it would work.

So, I have done everything from official nordic documents, I've been through several problems which I happily solve, but that I'm not able to.

I get those errors:


unplaced section: .log_dynamic_data_app [nrf_log_frontend.o], size=12, align=4

undefined symbol: __SRAM_segment_end__

undefined symbol: __start_log_const_data

undefined symbol: __start_log_dynamic_data

undefined symbol: __stop_log_const_data

I'm working on latest SEGGER, I have tried latest SDK, also 14.2 . The same errors. 

Thanks for reply

Parents Reply
  • Awesome! Now it works,  I am getting the values for accelerometer and gyroscope. 

    But still there is problem with getting data from magnetometer:s

    res = g_MotSensor.Init(s_MagCfg, &g_I2c, &g_Timer);
    		if (res == true)
    		{
    			g_pMag = &g_MotSensor;
    		}

    this function returns false, when I try to debug that, the code is stopping here:


    Also there is a problem with converting raw data accel and gyro values,



    The gyro converted values are NaN, and the values for accel is a little bit weird, it's impossible to get that kind of low values, I was thinking about maybe I should multiple them by 10, but it will also be little bit strange. 

    and what else is strange is that I get different values when I try to run, and different if I debug
    In debug I got:
    accdata.X =-0,25
    accdata.Y=0.11
    accdata.Z=0.97

    In run in terminal I am getting:

    Data: 1073695294 -1610612736 -1076244429 

    Data: 1073703486 536870912 -1076228044 

    Data: 1073700926 1073741824 -1076221900 

    those different numbers, 

    screen presenting this:

Children
Related