• How to prevent OT 8 from generating an LJMP
    If Optimize 8 (Reuse Common Entry Code) detects void MyFunc() as the last statement within void OuterFunc() (for example), it will produce an LJMP to MyFunc() rather than an LCALL. (see examples) Nice...
  • Is there a way to prevent access to the stack?
    Hello all, I have problem: My preemptive scheduler rewites the CPU stack when needing to switch to another stack. But, I want to prevent users (=tasks) from rewriting the stack, mainly because of malicious...
  • Format prevention of a USB device
    Hello, I am trying to prevent a USB device from being formatted. The following solution does not work (I'm using XP SP3) - can you tell me why? Once there is an attempt to overwrite sector 0 (root...
  • TCPNet / Ethernet - Preventing 'interrupt storm'
    Background information that is hopefully relevant: - We are using the RL-ARM/TCPNet stack and appropriate Keil Ethernet driver for the ST Cortex-M4 in use (STM32F417). - Using the Keil RTX. ...
  • Prevent cpplib from being included
    Hello, I'm trying to compile a C app as C++, but it doesn't run. I looked at the .s files, and one difference with the C++ compilation is the line: IMPORT ||Lib$$Request$$cpplib|| [CODE,WEAK...