- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Sirs and Madams,
CyIntSetSysVector (4, & CySoftwareReset);
Is it possible to assign a reset function to the exception reserved as above?
Or something it should be noted there will be?
Regards,
Solved! Go to Solution.
- Labels:
-
PSoC 4 MCU
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We recommend you hook a new function using CyIntSetSysVector () and call the CySoftwareReset function inside that newly hooked function instead of directly assigning the reset handler's address. Please check if this solves your purpose.
Also, if possible please explain your requirement a little more.
Thanks and regards
Ganesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We recommend you hook a new function using CyIntSetSysVector () and call the CySoftwareReset function inside that newly hooked function instead of directly assigning the reset handler's address. Please check if this solves your purpose.
Also, if possible please explain your requirement a little more.
Thanks and regards
Ganesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ganesh-san,
As I thought, it is not good to assign the reset handler address directly.
Consider how to use CyIntSetSysVector () that you taught us.
Maybe I may ask you and additional question.
Thank you,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please confirm the following two points regarding the proposal.
Why do I have to hook a new function?
What's wrong with not hooking a new function?