Description
A critical error is raised when pyOCD tries to load a flash algorithm without a RW section.
C Error: 'MemoryRange' object has no attribute 'data' [__main__]
Steps to Reproduce
- Select a device that uses a flash algorithm without a RW section.
- Run pyOCD
load command for selected target.
- Observe that a critical error is raised.
Expected Behavior
pyOCD should tolerate missing flash-algorithm sections. An absent section should be excluded from processing, and no critical error should be raised.
Additional Information
No response