5119 views|13 replies

11

Posts

0

Resources
The OP
 

Based on the problem that the BlueNRG-lp example project given on the ST official website cannot be compiled [Copy link]

 
 

The keil version used is keil MKDv518

I first open it according to the path: C:\Users\Administrator\ST\BlueNRG-LP_LPS DK 1.2.0\Projects\BLE_Examples\BLE_Beacon\MDK-ARM\STEVAL-IDB011V1

After opening, the project interface is as follows:

I searched for relevant solutions on the Internet. The solution is: find the File path prompted by the Build Output window of Keil, find Keil.STM32Lxxx_DFP.pdsc, remove its read-only attribute, open the Keil.STM32Lxxx_DFP.pdsc file, search for message, delete the line "Message(2, "Not a genuine ST Device! Abort connection.");", save the file, restore the file attributes, and complete.
I found the following under my file: Keil.STBlueNRG-LP_DFP.pdsc, but I could not delete the message "Message(2, "Not a genuine ST Device! Abort connection.");".

I ignored this error and clicked OK to compile the program. Six errors occurred: Error 1: osal_memcpy.s: Error: A1067E: Output file specified as '../../../../../Middlewares/ST/hal/Src/osal_memcpy.s', but it has already been specified as '.\release\objects\osal_memcpy.o'

Error 2: osal_memcpy.s: error: A1023E: File "assembler-with-cpp" could not be opened: No such file or directory

I searched for a solution online, but to no avail.

My device has this chip

I hope someone who knows the answer can let me know, thank you!

图片.png (1.29 KB, downloads: 0)

图片.png

图片.png (26.75 KB, downloads: 0)

图片.png
This post is from ST - Low Power RF

Latest reply

This is a Keil setting problem. In the old version of Options for tagert ASM, the default Assembler Option is Armasm (Arm Syntax). Changing it to armclang (Arm syntax) will allow compilation to proceed normally.   Details Published on 2023-1-10 11:25
 
 

9717

Posts

24

Resources
2
 

I originally only had version 1.1.0, and compiled the BLE_Beacon example successfully

Then I downloaded the latest version like you, and I also encountered 6 errors when compiling the BLE_Beacon example

I tried to compile the latest version of BLE_Beacon routine with IAR, and it worked fine.

This situation indicates that the problem lies between the routine and MDK. Maybe the routine requires some special settings. The administrator can contact ST's technical support to see if there is a good solution.

This post is from ST - Low Power RF

Comments

Can you please send me a 1.1.0 version?  Details Published on 2022-6-13 12:06
Can you please send me a 1.1.0 version?  Details Published on 2022-4-17 14:16
Personal signature虾扯蛋,蛋扯虾,虾扯蛋扯虾
 
 
 

11

Posts

0

Resources
3
 
littleshrimp posted on 2022-4-16 21:21 I originally only had version 1.1.0, and compiled the BLE_Beacon example successfully. Then I downloaded the latest version like you, compiled...

Thank you for your answer, this problem bothered me for a day, I switched to IAR software

This post is from ST - Low Power RF

Comments

I'm in a hurry, so you can adjust it with IAR first.  Details Published on 2022-4-16 22:05
 
 
 

9717

Posts

24

Resources
4
 
Brave Bull 985 posted on 2022-4-16 21:32 Thank you for your answer, this problem has troubled me for a day. I switched to IAR software

I'm in a hurry, so you can adjust it with IAR first.

This post is from ST - Low Power RF
 
 
 

6773

Posts

2

Resources
5
 

You can use BlueNRG-LP_LPS DK 1.1.0 version first. 1.2.0 may not be compatible with Keil. If you have never used IAR, you will find it very difficult to adapt.

This post is from ST - Low Power RF

Comments

Thanks for your reply. Can you send me a copy of BlueNRG-LP_LPS DK 1.1.0?  Details Published on 2022-4-17 13:38
 
 
 

1295

Posts

0

Resources
6
 
This post was last edited by Daqin Zhengsheng on 2022-4-17 11:21

iar is very good! It is better than keil. Swedish software is really good! It is much better than Texas Instruments' CCS. st link is good, and jlink tools are more comprehensive! There are too many Bluetooth chips, but most of them are of no practical value and have no characteristics.

This post is from ST - Low Power RF
 
 
 

1295

Posts

0

Resources
7
 

Now there is also m33 Bluetooth, which sounds better than m0+, m3, and m4 Bluetooth, with fancy mesh and aoa, but in fact it is not as good as 51-core low-power Bluetooth. Most of Bluetooth is still in the traditional voice market.

This post is from ST - Low Power RF

Comments

Thank you for your reply, because this is the chip arranged by the teacher  Details Published on 2022-4-17 13:37
 
 
 

11

Posts

0

Resources
8
 
Daqin Zhengsheng published on 2022-4-17 10:32 Now there is also m33 Bluetooth, which sounds better than m0+, m3, and m4 Bluetooth, with fancy mesh and aoa, but in fact it is not as good as 51-core low-power Bluetooth. Blue...

Thank you for your reply, because this is the chip arranged by the teacher

This post is from ST - Low Power RF
 
 
 

11

Posts

0

Resources
9
 
wangerxian posted on 2022-4-17 07:52 You can use BlueNRG-LP_LPS DK 1.1.0 version first. 1.2.0 may not be compatible with Keil. If you have never used IAR, you will be very uncomfortable.

Thanks for your reply. Can you send me a copy of BlueNRG-LP_LPS DK 1.1.0?

This post is from ST - Low Power RF

Comments

The file upload size cannot exceed 30M, so I packaged it into several packages.   Details Published on 2022-4-17 15:03
 
 
 

6773

Posts

2

Resources
10
 
littleshrimp posted on 2022-4-16 21:21 I originally only had version 1.1.0, and compiled the BLE_Beacon example successfully. Then I downloaded the latest version like you, compiled...

Can you please send me a 1.1.0 version?

This post is from ST - Low Power RF
 
 
 

9717

Posts

24

Resources
11
 
Brave Bull 985 posted on 2022-4-17 13:38 Thanks for your reply. Can you send me a copy of BlueNRG-LP_LPS DK 1.1.0?

The file upload size cannot exceed 30M, so I packaged it into several packages.

BlueNRG-LP DK-1.1.0.0-Setup.zip (4.41 MB, downloads: 44)



BlueNRG-LP DK-1.1.0.0-Setup.z02 (30 MB, downloads: 225)

BlueNRG-LP DK-1.1.0.0-Setup.z01 (30 MB, downloads: 160)

This post is from ST - Low Power RF

Comments

Thanks sir  Details Published on 2022-4-17 15:11
Personal signature虾扯蛋,蛋扯虾,虾扯蛋扯虾
 
 
 

11

Posts

0

Resources
12
 
littleshrimp posted on 2022-4-17 15:03 The file upload size cannot exceed 30M, I packaged it in several packages.

Thanks sir

This post is from ST - Low Power RF
 
 
 

15

Posts

0

Resources
13
 
littleshrimp posted on 2022-4-16 21:21 I originally only had version 1.1.0, and compiled the BLE_Beacon example successfully. Then I downloaded the latest version like you, compiled...

The latest BlueNRG-LP SDK version is 1.2.0, which was released not long ago and uses the AC6 compiler by default.

AC6 and AC5 do have some differences in processing; there will be no problem using a newer Keil version.

Can you post the specific error message and let's take a look~~

This post is from ST - Low Power RF
 
 
 

1

Posts

0

Resources
14
 
Brave Bull 985 posted on 2022-4-16 21:32 Thank you for your answer, this problem has troubled me for a day, I switched to IAR software

This is a Keil setting problem. In the old version of Options for tagert ASM, the default Assembler Option is Armasm (Arm Syntax). Changing it to armclang (Arm syntax) will allow compilation to proceed normally.

This post is from ST - Low Power RF
 
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

Related articles more>>

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list