- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I want to use the AN89056 Ram test in my project. I have copied all the required files from the AN89056_Ram test in my custom project. I have also compared the build settings of Project AN89056 Ram-test and make them equal but it is giving an error.
--undefined reference to MArch_Test_init
--undefined reference to MArch_Test_SRAM
this function is in "CyLib.h" and in assembly but the project does not find a reference. Could you please help me regarding????
Solved! Go to Solution.
- Labels:
-
PSoC 4 MCU
- Tags:
- Safety Library
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @msnaeem89,
I noticed a couple of things in the project shared -
1. Some of the files were not included in the project directory and that is why it was not included in the archive as well. So I added the files manually from the Class B Library to the project directory. I also added them in the PSoC Creator Workspace Explorer.
2. UART_Debug.c file was renamed as SelfTest_UDB_CfgReg.c. I deleted this file and added both these files to the project.
After fixing these two things the project built successfully. I am attaching the project for your reference. Please build the project and let me know if this works.
Rakshith M B
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @msnaeem89,
Can you please let us know which device you are using so that we can try and recreate the issue? Did the default _Ram project build successfully for your device? Also, can you let me know if you have added the SelfTest_SRAM_March_GCC.s file to the project directory in PSoC Creator?
Would it be possible for you to share your project? This would help us in debugging the project.
Rakshith M B
- 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
I also attached the SelfTest_SRAM_March_GCC.s file in project
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @msnaeem89,
I noticed a couple of things in the project shared -
1. Some of the files were not included in the project directory and that is why it was not included in the archive as well. So I added the files manually from the Class B Library to the project directory. I also added them in the PSoC Creator Workspace Explorer.
2. UART_Debug.c file was renamed as SelfTest_UDB_CfgReg.c. I deleted this file and added both these files to the project.
After fixing these two things the project built successfully. I am attaching the project for your reference. Please build the project and let me know if this works.
Rakshith M B