May 19, 2022
08:22 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 19, 2022
08:22 PM
i debug the program, the program enters the Cy_Syslib_ProcessingFault function.
when the program runs to the
, The program will sure enter cy_ Syslib_ Processingfault function.
When I use a certain value instead of uitemp0, the program will not enter the fault function.
what's the reason? Thanks!
Labels
- Labels:
-
PSoC 6 MCU
1 Reply
May 19, 2022
11:14 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 19, 2022
11:14 PM
Hi:
建议你看下汇编代码,或者看下这个变量的地址,尤其是uitemp0,看上去是个函数内部的变量,估计是存在栈里面,你看下,是不是栈覆盖了这个变量的值。你这样截图,我很难定位问题的。建议给个完整的代码。