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
  • What exactly do you mean? you mean change dresses in agm_mpu9250.h ? there is I think correct address 

    #define MPU9250_I2C_DEV_ADDR0 0x68

    0x68 for MPU9250 correct address. 

    Can you please elaborate?

    In motion sensors demo I have only 2 files in src. board.h and mot_sensor_demo.cpp. In board.h there is no i2c pins defined for nordic dev board. and in mot_sensor_demo.cpp there is only this two lines about i2c (line 61,62)

    #define AK0991x_DEFAULT_I2C_ADDR 0x0C /* The default I2C address for AK0991x Magnetometers */

    #define AK0991x_SECONDARY_I2C_ADDR  0x0E /* The secondary I2C address for AK0991x Magnetometers */


    Maybe is there a way to connect mpu9250 by SPI communication?
    That I also have tried, the pins are
    MISO 13 --> which is ADD pin on mpu9250 
    MOSI 12 --> which is SDA pin o mpu9250
    SCK 11 --> which is SCL pin on mpu9250

    I did as I write up, and nothing changed, when I run I got "Failed initializing hardware"

    When I try a debug I got this:



    I assume that it is problem with not seeing sensor?

Children
Related