This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Part Number: F28M36P63C2
Tool/software: Code Composer Studio
I'm trying to copy a constant from an input port to a specific address in the shared memory, the program is running on the M3 core. unfortunately, It didn't work.
for some addresses, Code Composer Studio stop running and exit automatically (for example 20009FF0 and 20008000 in S0 RAM).
for some other addresses, the program copies the value but the M3 core stop running (for example 2000AAAA in S1 RAM).
for other addresses, the program still running but enable to copy the value.
How can I found the best address to do that?
thanks in advance;
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to Ozino Odharo:
when the program copies the value and the M3 core stop running the following message occurs in CCS's console:
Cortex_M3_0: SemiHosting : File IO Error : fopen() : ÿÿ : No such file or directory
Cortex_M3_0: Trouble Reading Register SPSR_SVC: (Error -1064 @ 0x400271) Attempted to access an unknown or invalid register. Confirm the register is valid and accessible, and retry the operation. (Emulation package 5.1.507.0)
Cortex_M3_0: SemiHosting : Read Failure : Register: SPSR_SVC
In reply to kissi yahya:
thank you very much for your help; you're right, I must give the ownership of the shared memory blocks to the C28 processor, by setting the appropriate bits in the
Sx SHRAM Master Select Register (MSxMSEL) (spruhe8d page 480); Now it works fine.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.