[nrf51] boot DFU compile lib file

Publisher:古古斋Latest update time:2022-09-07 Source: csdnKeywords:nrf51  boot  DFU  compile Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

Download gcc and unzip it to any directory

insert image description here

Then modify SDK12.3.

xxnRF5_SDK_12.3.0_d7731adcomponentstoolchaingcc

insert image description here

Modify the content according to the actual directory:

insert image description here


Unzip to any directory

insert image description here

Step 1: Right click -> My Computer -> Properties -> Advanced System Settings


Step 2. Click -> Environment Variables


Step 3. Add the above make path in system variables->path. Note that each added path is separated by ";"

insert image description here

Start Compiling

Enter xxnRF5_SDK_12.3.0_d7731adexternalmicro-eccnrf51_keilarmgcc

Open CMD and enter make.

The result is as shown below:

insert image description here

lib file generated

**


Missing uECC.h header file

**

uECC file download path https://github.com/kmackay/micro-ecc.git, after downloading, unzip nRF5_SDK_xxexternalmicro-ecc in the micro_ec path

insert image description here

Keywords:nrf51  boot  DFU  compile Reference address:[nrf51] boot DFU compile lib file

Previous article:[MCU framework][bsp layer][nrf51822][nrf51422][nrf51802][bsp_key] KEY configuration and use
Next article:[vscode][nrf51][nrf52] uint8_t uint16_t uint32_t etc. variables are abnormal

Recommended ReadingLatest update time:2024-11-16 16:54

[nrf51] ADC acquisition causes Bluetooth BLE service disconnection
From the above figure, we know that if P0.26 and p0.27 are connected to an external crystal oscillator, when ADC_AIN0 and ADC_AIN1 are started for channel acquisition, BLE will be disconnected because the external crystal oscillator is interfered. This problem requires a careful look at the hardware design
[Microcontroller]
[nrf51] ADC acquisition causes Bluetooth BLE service disconnection
U-Boot-2009-03 Porting Notes (Phase 2: Clock!)
According to the final summary of U-Boot-2009-03 transplantation notes (second stage transplantation preparation), it is necessary to transplant the clock initialization code for S3C2440. In lib_arm/board.c, there is an init_sequence array that defines all initialization function pointers. The
[Microcontroller]
U-Boot-2009-03 Porting Notes (Phase 2: Clock!)
Feiling OK6410 development board transplanted u-boot official latest version u-boot-2012.10.tar.bz2
Part 0 Preparatory knowledge 0.1 Key Parameters 0.1.1 Development Board Description OK6410 is a development board released by Feiling. There are currently two versions, OK6410-A and OK6410-B. I am currently using the former. The former has also been upgraded, so there are 128M ram and newer 256 memory versions. The na
[Microcontroller]
How is the u-boot kernel started?
The entire program framework has been analyzed in the analysis of the start_armboot function of u-boot, but it only talks about when to run the kernel, and does not specifically explain how to execute the kernel. The kernel startup is described in the following steps: 1. Boot parameter bootcmd=nand read.j
[Microcontroller]
u-boot transplantation (9)---Code modification---NAND
1. NAND principle      NAND has no address space, and the transmission of address and data relies on the LDATA string of data buses.       Without looking at random page programming, you can see that the pages from high to low are divided into 64 pages in total. Each page is composed of 2K + 64 bytes. The size of a
[Microcontroller]
u-boot transplantation (9)---Code modification---NAND
Using u-boot_2016_01 to start mini2440 (II) uboot memory distribution
The distribution of startup memory is mainly divided in board_init_f: According to my code, the distribution is as follows: Code log: U-Boot 2016.01-g3401853-dirty (Apr 04 2016 - 08:06:26 -0400) U-Boot code: 33A00000 - 33A7BEF4 BSS: - 33ACAAE4 CPUID: 32440001 FCLK: 405.600 MHz HCLK: 101.400 MHz PCLK: 50.700 M
[Microcontroller]
Using u-boot_2016_01 to start mini2440 (II) uboot memory distribution
U-boot-2014.04 ported to MINI2440 (4) Detailed analysis of the first boot phase start.S, etc.
The startup phase of u-boot is divided into two parts. The first part is mainly the start.S file. The post analyzes the meaning of each line of code as much as possible, and checks a lot of manuals. The purpose of analysis is also for learning. Writing a blog is also to leave something for my own learning. There are a
[Microcontroller]
U-boot-2014.04 ported to MINI2440 (4) Detailed analysis of the first boot phase start.S, etc.
s3c2440 value migration u-boot-2016.03 Part 4 supports NAND flash identification
1. Add #define CONFIG_CMD_NAND to /include/configs/smdk2440.h to compile drivers/mtd/nand/built-in.o: In function `nand_init_chip': /u-boot-2016.03/drivers/mtd/nand/nand.c :76: undefined reference to `board_nand_init' It is found that the file /drivers/mtd/nand/s3c2410_nand.c is missing. Copy it to /drivers/mtd/nand/
[Microcontroller]
s3c2440 value migration u-boot-2016.03 Part 4 supports NAND flash identification
Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号