0

Import Blinky-S132 KeilC project to SEGGER Embedded Studio

Giang gravatar image

asked 2017-10-12 19:15:42 +0200

updated 2017-10-13 05:57:51 +0200

Hi all , I am beginning with SEGGER Embedded Studio . I flow 2 tutorial at :

I using NRF52832 board S132 , SDKv14 I follow these steps :

  1. install nRF SEGGER Embedded Studio Device Pack: nRF.emPackage
  2. Select Project -> Build Configurations... and under Public Configurations select flash_s132_nrf52_3.0.0_softdevice and delete it by clicking the - symbol in the upper right-hand corner of the pop-up window image description

  3. Add ses_nrf52_startup.s , system_nrf52.c , remove Cortex_M_Startup.s image description

  4. Include the device header files in our Embedded Studio project (File header path)

  5. Paste the following into the Section Placement Macros field (SDKv12):

FLASH_START=0x1F000 SRAM_START=0x20002000

6.Add the definition NO_VTOR_CONFIG to the Preprocessor Definitions field

But I build error :

image description

Pls , tell me how to fix my error . And tell me config FLASH_START=0x1F000 ,SRAM_START=0x20002000 is correct ??? When I use KeilC for my board , I config as follows :

image description

If wrong . Give me the correct configuration for FLASH_START and SRAM_START . Thank very much .

edit retag flag offensive close delete report spam

2 answers

Sort by » oldest newest most voted
0
Giang gravatar image

answered 2017-10-13 06:01:24 +0200

..........

edit flag offensive delete publish link more
0
hungbui gravatar image

answered 2017-10-13 16:44:38 +0200

Hi Giang,

If you are testing with non-BLE example, please try to remove any ProgramSection with sdh related inside flash_placement.xml, for example __start_sdh_state_observers. Please let me know if it works.

Please try to also port a ble example such as ble_app_hrs, and check if it works.

edit flag offensive delete publish link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer. Do not ask a new question or reply to an answer here.

[hide preview]

User menu

    or sign up

Question Tools

1 follower

Stats

Asked: 2017-10-12 19:15:42 +0200

Seen: 30 times

Last updated: okt. 13