We have an embedded system with a SHARC ADSP-21161 processor with three additional SDRAM in use. The program that is running on the DSP was programmed years ago and I ported it now to VisualDSP++ 5.1. It consists of several parts whereby some parts can be debugged without any problems. However, some parts of the software can not be debugged as always when I downloaded the DSP program (.dxe file) the program halts at the address 0x21CC40 (_adi_stack_overflowed, __stack_overflowed, do_not_know_what_to_do) instead at the address 0x21B4FF of the main routine. That, although I am using a custom ADSP-21161-proc.xml file where the SDRDIV and SDCTL values are changed according to our system.
Does anybody know the cause for that behavior or have at least a hint what may that cause?
Following some further information about the entire environment:
- Processor: SHARC ADSP-21161
- Used emulator: ADDS-HPUSB-ICE
- IDDE: VisualDSP++ 5.1
- OS: Windows 7 Enterprise 64Bit
Thank you all for your reply!