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: MSP-EXP432P401R
Tool/software: Code Composer Studio
I have made edits to startup_msp432_ccs.c file and changed the defaultisr name to a custom name, but when I do this the interrupt function is not being created. I can look in assembly code and see that it sees that part of the program but in the disassembly views and the memory browser it is not there. I have tried manually linking the startup file to the project but I then get an error that Interruptvector has been declared multiple times. Do you know where I could remove all the instances the startup file is linked, or another way to fix this problem?
You can use the default ISR handler provided in the startup_msp432p401r_ccs.c file in your application.
For example if you have enabled ADC interrupt, then your application should use the ISR handler "ADC14_IRQHandler". If you want to use a custom handler, then you must add this custom handler to the correct location in the array "interruptVectors".
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 Sai Reddy:
I know this and I tried this but when I do this and declare the function it is never created, I cannot see it in my disassembler or memory.
In reply to Shelby Critcher:
Can you share the snippet of code for how you tried adding the custom handler?
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.