- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
i'm trying to use the CM0+ Core for BLE. I have chosen the BLE FindMe Example for a starting point and added a custom linkerscript. But as soon as I specify FLASH_CM0P_SIZE above 0x2000 , the resulting executable doesn't run on my CYC8CPROTO-063-BLE.
Memory Map:
ram (rwx) : ORIGIN = 0x08008000, LENGTH = 0x3F800
flash (rx) : ORIGIN = 0x10000000, LENGTH = 0x100000
I searched a lot on the web and on this site and didn't find an example for using the CM0P_BLESS component.
A complete example on how to set up the CM0P_BLESS component would be very helpful.
Thank you,
Matthias
Solved! Go to Solution.
- Labels:
-
ModusToolbox PSoC 6 SDK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Could you please try changing the default(bsp) linker script file ?
Please find the attached project.
Thanks,
P Yugandhar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Please refer to the section 'Complete BLE Protocol Dual CPU Mode' (in Configuration Considerations) in the PSoC6 BLE Middleware library.
Thanks,
P Yugandhar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I have. But i cannot get it to work with this information. Don't you have a simple example project code ?
Thank you,
Matthias
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Please refer to the link for updating the ram, flash, and FLASH_CM0P_SIZE values in the linker script for CM4. In makefile, to operate in Dual CPU mode, add the COMPONENT_BLESS_HOST_IPC and COMPONENT_CM0P_BLESS directory as shown below.
COMPONENTS+=BLESS_HOST_IPC CM0P_BLESS
DISABLE_COMPONENTS+=CM0P_SLEEP
Thanks,
P Yugandhar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, I have read all the links but i can't get it to work only with this information. My first try was just to replace the components like in your snippet. After that I had to add a linker script with "FLASH_CM0P_SIZE" set to 20000 . But this just doesn't execute on my devboard.
Once again a working example would be great!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
this linker script worked (after modifying the Makefile to use this script). thank you very much!