This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Smart Beacon Kit - firmware build from sources

Hello, I am trying to build Smart beacon kit firmware from sources. From ble_app_beacon folder I have built the firmware using armgcc (with the proper makefile) and got hex-file nrf51422_xxac_s110.hex in _build directory.

Then I generated ZIP-update package using following parameters: nrfutil dfu genpkg --application app.hex --application-version 0xffffffff --dev-type 0xffff --dev-revision 0xffff --sd-req 0x5a app.zip After flashin this zip with master control android app I see nothing - the beacon stops blinking and sending any info, only one possibility here is to enter DFU-mode and reflash the stock application app.

What am I doing wrong? The same project compiled using Keil works as expected....

The makefile for armgcc is here

Parents
  • OK, I resolved this issue. The linker file for gcc had the wrong addresses for ROM and RAM areas. After editing it (accordingly to Keil project) and compiling using gcc everything worked like a charm. The updated makefile for Smart beacon kit v.1.1 is attached to the previous post. The correct linker file for this version and softdevice 7.1.0 is here: gcc_nrf51_s110_xxac.ld

Reply
  • OK, I resolved this issue. The linker file for gcc had the wrong addresses for ROM and RAM areas. After editing it (accordingly to Keil project) and compiling using gcc everything worked like a charm. The updated makefile for Smart beacon kit v.1.1 is attached to the previous post. The correct linker file for this version and softdevice 7.1.0 is here: gcc_nrf51_s110_xxac.ld

Children
No Data
Related