# segger embedded studio build error

Hi NordicSemiconductor Community,

I have a problem with the SEGGER Embedded Studio IDE, i want to build my project but i have the following error :

can't open 'C:/Users/Yacire/Desktop/NORDIC_SEMICONDUCTOR/nRF51_SDK_10.0.0_dc26b5e/examples/ble_peripheral/Self_Wake_UP_2.0_SEGGER_Embedded_Studio/pca10028/s110/arm5_no_packs/Output/experimental_ble_app_blinky_s110_pca10028 nrf51422_xxac_s110/Obj/hardware_initialization.asm' for writing: No such file or directory


I don't understand, i can build the project without issue in Keil uVision. I follow the Blog tutorial from Hang Bui.

Any help would be appreciated. Thanks.

edit retag close delete

Hi RK,

Thanks for your answer, but i have others files builded without issue. I changed the path but i have the same error...

( 2017-08-12 13:18:10 +0200 )editconvert to answer

@Yacire93: The blog post states that you need to use SDK v12.0.1 or newer, you are using SDK v10.0.0.

( 2017-08-14 11:18:12 +0200 )editconvert to answer

Yes, i use the SDK 10.0.0 but i have tested with another example from the SDK 10.0.0 and it worked. I have tested with the app_ble_beacon from the SDK 10.0.0. So i don't understand why with my file hardware_initialization.c it doesn't work ...

( 2017-08-14 12:11:41 +0200 )editconvert to answer

Could it be that you have not added the hardware_initialization.c file to the SES project or that the path is incorrect? Alos check if running SES as administrator fixes the issue.

( 2017-08-14 12:57:03 +0200 )editconvert to answer

Ok it was the name of my file, strangely i change the name of the file to hdw_init.c and now it works without issue.Maybe it was because the file name was too long ...

( 2017-08-14 17:39:57 +0200 )editconvert to answer
1

that's what I told you in my original answer. The entire path with the original filename was 260 characters long which is bigger than 256 which is where windows goes wrong. Had you just shortened some elements of the path as per the original suggestion so that all filenames with paths were shorter, it should have worked just fine.

( 2017-08-14 22:06:39 +0200 )editconvert to answer

Yes, you were right RK, thanks for the additional information about the number of character of the path name allowed by Windows.

( 2017-08-15 17:08:32 +0200 )editconvert to answer

Sort by » oldest newest most voted

I'd suggest a shorter path, there have been many reports of windows having issues with long paths before.

more

[hide preview]

## Recent blog posts

• ### ble_app_hrs_freertos running in Atollic TrueSTUDIO

Posted 2017-08-14 02:55:30 by jmag999
• ### OLED display support for nRF52832 (SSD1306, Adafruit GFX)

Posted 2017-08-11 08:21:31 by Mahesh Venkitachalam
• ### I tried 5 different debugger IDEs for nRF52 and STM32. Here are my results.

Posted 2017-08-09 10:56:19 by Jonathan
• ### Things you should know about Bluetooth mesh

Posted 2017-08-07 12:37:22 by Eirik Midttun
• ### Support pairing on NUS profile for Central and Peripheral

Posted 2017-08-01 08:42:41 by Eugene Yu

## Recent questions

• ### Disabling S132 Softdevice when running FreeRTOS

Posted 2017-08-17 08:41:35 by x_mike
• ### Where can I get example Mesh Network NRF52840?

Posted 2017-08-17 06:34:23 by MainOFF
• ### Can bootloader in SDK V11 boot into SDK V12/13/14 application

Posted 2017-08-17 06:29:13 by Roland
• ### Disable ACK at Receiver in Enhanced Shockburst

Posted 2017-08-17 06:12:06 by Alan
• ### SPI Communication problem between nRF51 DK and nRF52 DK

Posted 2017-08-17 05:53:11 by JungWon Kim