Skip to main content
Ranjit Wagh
Associate
April 9, 2018
Question

startup_stm32f100xb.s: error: A1023E

  • April 9, 2018
  • 1 reply
  • 1107 views
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
This topic has been closed for replies.

1 reply

Technical Moderator
April 9, 2018
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

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
Ranjit Wagh
Associate
April 9, 2018
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?

Technical Moderator
April 9, 2018
In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks