This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

ble_app_uart_c on a custom board with NRF52832-QFAA-R7

Hello, I am working on a custom board with NRF52832-QFAA-R7 and trying to run ble_app_uart_c on it. I am using uVision 5.23.0.0

  1. The first trouble that I am facing is that I can't get the softdevice and the ble_app_uart_c programmed together. I am first using nRFgo Studio to program the softdevice, and I have tried with all of these: s132_nrf52_1.0.0-3.alpha, s132_nrf52_2.0.1, s132_nrf52_3.1.0, s132_nrf52_4.0.3, s132_nrf52_5.0.0-3.alpha without success - when trying to program the application later, I always get Error: Flash Download failed - "Cortex-M4" error. I am confused how to combine matching versions and to resolve this problem.

  2. When I only program the application without having the softdevice programmed, I can't get any sign of it start working (I am simply trying to run some LEDs) - could it be if the softdevice is not programmed the application could not even start?

I am working for first time with nRF52 products, therefore questions might be trivial, I didn't find the right information to resolve problems, however, will be grateful if receive some particular advice.

Parents
  • I faced something similar on nRF51. Basically, the example is meant to be used without SD, so it is linked to start at the beginning of the memory. In Eclipse you need to edit the linker script, in Keil go to your project option, I think it's a tab called target. You'll have to find the right values yourself (they depend on your SD), alternatively consider copying values from another SD-based example (actually you don't need to change the size, just the starting offset of ROM, and possibly of RAM).

Reply
  • I faced something similar on nRF51. Basically, the example is meant to be used without SD, so it is linked to start at the beginning of the memory. In Eclipse you need to edit the linker script, in Keil go to your project option, I think it's a tab called target. You'll have to find the right values yourself (they depend on your SD), alternatively consider copying values from another SD-based example (actually you don't need to change the size, just the starting offset of ROM, and possibly of RAM).

Children
No Data
Related