cancel
Showing results for 
Search instead for 
Did you mean: 

startup_stm32f100xb.s: error: A1023E

Ranjit Wagh
Associate
Posted on April 09, 2018 at 12:52

I am using STM32CubeMX version 4.25.0, STM32Cube V1.0 on my laptop.

My STM32CubeMX, STM32Cube MCU packages and embedded software packs are also up-to-date.

I have selected MCU STM32F100V8Tx as per our development board specification.

The Firmware Package Name And Version is STM32Cube_FW_F1_V1.6.1. 

I configured couple of GPIO lines and wanted to generate LL based code, hence I updated the same and generated code successfully.

When I opened the project in Keil and tried to compile the same, I got following error :

startup_stm32f100xb.s: error: A1023E: File 'C:/Users/<username>/STM32Cube/Repository/STM32Cube_FW_F1_V1.6.1/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/arm/startup_stm32f100xb.s' could not be opened: No such file or directory

I just verified the directory

'C:\Users\<user-name>\STM32Cube\Repository\STM32Cube_FW_F1_V1.6.1\Drivers\CMSIS' for further analysis.

I found that the directory was empty, hence the project couldn't compile. 

Just to validate more, I checked out the directory STM32Cube_FW_F1_V1.6.0 within 'C:\Users\<user-name>\STM32Cube\Repository' and it contains all required directories and files. 

Hence, I have following questions:

1) Why does the 'C:\Users\<user-name>\STM32Cube\Repository\STM32Cube_FW_F1_V1.6.1\Drivers\CMSIS'  show empty?

2) Is it Okay if I use files present inside 

'C:\Users\<user-name>\STM32Cube\Repository\STM32Cube_FW_F1_V1.6.0\Drivers\CMSIS' directory instead of 

'C:\Users\<user-name>\STM32Cube\Repository\STM32Cube_FW_F1_V1.6.1\Drivers\CMSIS'

are there major changes in these directory contents?

#startup_stm32f100xb.s:-error #error:-a1023e
3 REPLIES 3
Imen.D
ST Employee
Posted on April 09, 2018 at 13:20

Hello

raj.w

,

You have to downloadSTM32CubeF1 version 1.6.0,

then the patch and

merge CubeF1 v1.6.1 patch with existing CubeF1 v1.6.0 source tree.

Best Regards,

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
Posted on April 09, 2018 at 13:28

DAHMEN.IMEN

Thanks for your quick response. Could you re-direct to the patch about which are you referring?

Posted on April 09, 2018 at 13:43

You have to download the patch

http://www.st.com/content/st_com/en/products/embedded-software/mcus-embedded-software/stm32-embedded-software/stm32cube-mcu-packages/patch-cubefw-f1.html

 under the fimware package

http://www.st.com/content/st_com/en/products/embedded-software/mcus-embedded-software/stm32-embedded-software/stm32cube-mcu-packages/stm32cubef1.html

.

Best Regards,

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen