I am using TMS320f28027. Because my code is getting longer, so I changes the CMD file as following.
page0: FLASHD : origin = 0x3F0000, length = 0x002000 /* on-chip FLASH */ FLASHC : origin = 0x3F2000, length = 0x002000 /* on-chip FLASH */ FLASHA : origin = 0x3F4030, length = 0x003F50 /* on-chip FLASH */ Page 1: FLASHB : origin = 0x3F4000, length = 0x000020 /* on-chip FLASH */
page0: FLASHD : origin = 0x3F0000, length = 0x002000 /* on-chip FLASH */ FLASHC : origin = 0x3F2000, length = 0x001000 /* on-chip FLASH */ FLASHA : origin = 0x3F3030, length = 0x004F50 /* on-chip FLASH */ Page 1: FLASHB : origin = 0x3F3000, length = 0x000020 /* on-chip FLASH */
After Modification, The code gets compiled properly.When I run the code , The DSP gets trapped in Illegal ISR loop and program stops.How should I solve this issue.
The changes you made to the CMD file look OK to me.
What is the new code that you added? I would check there first.
You can also try to step through your code to see which part causes the illegal ISR.
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. 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 respect to these materials. 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.