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

Build example into chips with preinstalled SOFTDEVICE

image descriptionHello to everyone. I'll need to use ble things with pwm. I'm trying to play around with pwm library it's ok, but it's build only on erased chip, trying to flash it into chip with preinstalled sdk 2.1.0 raise an error: Flash Download failed - "Cortex- M4" (KEIL). I guess that it refers to using flash memory or stuff like that, but my next step will be to use pwm along with ble (that as I understand need preinstalled sdk)

Parents Reply
  • It's no problem using PWM with BLE. The SoftDevice uses TIMER0, but you are able to use TIMER1 for the PWM. The error refers to wrong settings for the ROM/RAM in Keil; you are trying to put the application code where the SoftDevice is located. With the "ble_app_template" project, you will not get this error, since the settings in Keil are here setup to put the application code on top of the SoftDevice code in flash.

Children
No Data
Related