3.6 RAM Execution

The dsPIC33A family of devices can execute code from RAM. This ability provides flexibility to create more dynamic systems by allowing the run-time loading of code for execution. It also opens the same the possibility for an attacker to use the RAM as an attack surface to run malicious code in the system. In Security Use Cases, several different use cases will address considerations for RAM execution in specific use cases. This section will cover the basics for interacting with RAM execution on the device.