Quantcast
Channel: Processors
Viewing all articles
Browse latest Browse all 125351

Forum Post: EHPI boot with switch to USE_RETA stack mode

$
0
0

Hi,

I am using a C5510 processor that is booting from EHPI.  Since the stack mode is set to the C54X 32-bit mode by the default reset vector in ROM, in order to switch to the fast 16-bit stack mode (I assume this is preferred) I have a handler at SARAM address 0x10000 to update the IPVD register appropriately and perform a software reset to jump to _c_int00 entry point of the BIOS. The HWI object has been configured to use the fast 16-bit stack mode so this is encoded in the reset vector.  Is this the recommended way to swap stack modes when booting from EHPI and initialising the BIOS?

I note that when loading from the debugger however, the debugger appears to always jump to the configured reset vector, but doesn't respect the stack mode encoded into the vector.  Is this correct?  Is there a recommended way to force the debugger to put the processor in a non-default stack mode?

Thanks in advance


Viewing all articles
Browse latest Browse all 125351

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>