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.

doubt about the api of "C28_plug(vecid, fxn);"

it writes,

This API can plug the full set of vectors supported by the PIE (0-127). If
the PIE is not enabled, the vector will be plugged in the default vector
area. If the PIE is enabled, the vector will be plugged in the PIE vector
area.

If the default vector is set in the internal rom, from the address 0x3FFFC2 to  0x3FFFFF, what will happen?

  • I'm not familiar with the function you mention.   The vectors set by ROM are documented in the boot ROM users guide.   In general, the ITRAP vector is populated such that it will enable the watchdog to reset the device.  The other vectors go to RAM locations for testing purposes only.  In your application you should always configure, initialize, enable and use the PIE. 

    Regards

    Lori