- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello there, i'm trying to run this project on my psoc 4 BLE - CY8C4247LQ*-BL483, but appear this error:
Someone can help me to take it out this error?
The project is: uCOS\Micrium\Examples\Cypress\uCOS_PSoC4_BLE\OS2\PSoC\uCOS II.cywrk
Solved! Go to Solution.
- Labels:
-
PSoC 4 MCU
- Tags:
- ucos
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @RoFr_4201436,
Right. I am sorry I missed changing the device to CY8C4247LQI-BL483. Now I am able to recreate the issue.
CY8C4247LQI-BL483 has 16KB SRAM and 128KB of Flash.
When I successfully built the project for the default device this was the memory consumption result -
The project requires about 167KB of flash and about 22KB of SRAM. The error is due to insufficient memory in the selected device.
Rakshith M B
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @RoFr_4201436,
These are the steps that I tried to recreate the issue -
- Downloaded the zip file shared and extracted it.
- Opened the project file in the path - uCOS\Micrium\Examples\Cypress\uCOS_PSoC4_BLE\OS2\PSoC\PSoC 4BLE_uCOS II.cydsn
- A few components required an update, so I updated the components and clicked on Build.
- The build went through as shown -
Can you please let me know if I have missed anything?
Rakshith M B
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I think that you missed of the "Device Selection", change the device for CY8C4247LQ*-BL483.
I was trying to follow this tutorial:
https://www.hackster.io/48767/c-os-ii-with-psoc-4-ble-73b961#comments
- 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
You forgot of change the "Device Selection" for CY8C4247LQ*-BL483.
I would like know if have a way to adaptide some arguments about the memory rom, ram, flash, etc, of this project. Because i need to program on uCOS.
I was trying to follow this tutorial:
https://www.hackster.io/48767/c-os-ii-with-psoc-4-ble-73b961
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @RoFr_4201436,
Right. I am sorry I missed changing the device to CY8C4247LQI-BL483. Now I am able to recreate the issue.
CY8C4247LQI-BL483 has 16KB SRAM and 128KB of Flash.
When I successfully built the project for the default device this was the memory consumption result -
The project requires about 167KB of flash and about 22KB of SRAM. The error is due to insufficient memory in the selected device.
Rakshith M B
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for help me. Do you know another project that use uCOS that can working on my psoc model?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @RoFr_4201436,
I used the project shared in the below link, updated the components, fixed few I2C API errors, removed DMA, and the project built successfully. Can you please try the same?
Project Link - https://www.micrium.com/download/micrium_cy8ckit-044_os2/
You could also try removing BLE in the previous application (if it's not needed) and check if that works.
Rakshith M B
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks. Sorry for my ignorance, but how to remove the dma of the project, can you attach the project that you change here?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @RoFr_4201436,
I removed the DMA component from the TopDesign, commented out all DMA calls, and fixed any build errors that showed up. The project will not be functional as DMA is removed but you should be able to use this as a reference to implement your uC/OS-II application.
Rakshith M B
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks dude, now it's working! I am learning about the uC/OS yet, that's why that I have difficult to organize the project.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Glad you are able to get it to work now! 🙂
Rakshith M B
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
One more question. If I was create a new project using uC/OS, do I need to create a project normally and then include the uC / OS folders? Is there an easier method?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
A workaround for this would be to create an empty uC/OS example and then copy that example for every new uC/OS project.
Rakshith M B