Forum Discussion
Altera_Forum
Honored Contributor
20 years agotrouble with the optimizing level settings
Hi all, I am having trouble with the optimizing level settings of my design which uses Nios II embedded system as a camera controller and transfering bulk image data to PC by UDP. Now th...
Altera_Forum
Honored Contributor
20 years agoThank you for you suggestions!! Yes, I think the "volatile" definition do play some role. But I am not quite sure in what cases should I use this keyword.
And in the uC/OS-II there are OS_ENTER_CRITICAL() and OS_EXIT_CRITICAL() macros that protects certain critical code from being interrupted. I again do not know where I should use them. Is there any rules about the usage of these items?? Thank you!!