Hi,
Please give me a porting or integrate guide or manual of "LIBUARTE" with ble peripheral softdevice example. Please share a source code if any.
Hi,
Please give me a porting or integrate guide or manual of "LIBUARTE" with ble peripheral softdevice example. Please share a source code if any.
Hi,
I created a modified version of the ble_app_uart example that replaces the app_uart library with libUARTE: ble_app_libUARTE_sdk1702.zip
The ZIP includes diff files to see the required changes to the original project(s). The most important thing to remember when integrating the libUARTE library with a softdevice project, is to chose resources (TIMERs/RTCs) that are not used by the softdevice.
Best regards,
Jørgen
Hi Jørgen Holmefjord
I am trying to implement your provided code but getting the following error. Can you please help?
Hi Jørgen Holmefjord
I am trying to implement your provided code but getting the following error. Can you please help?
You need to use nRF5 SDK v17.0.2 with this project, it seems you are using v17.0.0.
See this section in the SDK release notes:
Compatibility of SES projects: Updates and fixes in the MDK used by Segger Embedded Studio break backwards compatibility with old SES project files. To use old projects in combination with this version of the SDK (MDK), make the following updates: 1. In the flash_placement.xml file: MemorySegment name must be changed from "RAM" to "RAM1": <MemorySegment name="RAM1" start="$(RAM_PH_START)" size="$(RAM_PH_SIZE)"> 2. In the .emProject file: In "linker_section_placements_segments" you must refer to "RAM1", replacing "RAM": linker_section_placements_segments="FLASH RX 0x0 0x100000;RAM1 RWX 0x20000000 0x40000"
1. In the flash_placement.xml file: MemorySegment name must be changed from "RAM" to "RAM1": <MemorySegment name="RAM1" start="$(RAM_PH_START)" size="$(RAM_PH_SIZE)">
I have checked this and its already RAM1.
2. In the .emProject file: In "linker_section_placements_segments" you must refer to "RAM1", replacing "RAM": linker_section_placements_segments="FLASH RX 0x0 0x100000;RAM1 RWX 0x20000000 0x40000"
How can I check this? kindly guide. Thanks
Muqarrab said:I have checked this and its already RAM1.
Yes, it is set to RAM1 because the project is created for SDK 17.0.2. If you plan to stick with SDK 17.0.0, you need to change this back to RAM, as this is what the toolchain expects in SDK 17.0.0.
Muqarrab said:How can I check this? kindly guide. Thanks
Same goes here, you need to change it back to RAM in the common project options:
Jørgen Holmefjord I have successfully built the project. I am using nRF52840 as a peripheral + want to add UART to communicate with like Arduino and GSM. Is this project can be used for this purpose?