EasyManua.ls Logo

Nuvoton NuEclipse - Debug in RAM; Figure 4-22 Memory Layout

Default Icon
57 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
NuEclipse
Apr. 25, 2022 Page 31 of 57 Rev 1.02.019
NU
ECLIPSE USER MANUAL
Debug in RAM
To debug in RAM, there are several steps to follow:
1. Modifying the ld script.
2. Assigning PC to the specific RAM address.
3. Assigning SP to the specific RAM address.
4. Downloading the binary file to RAM.
The ld script is responsible for telling the linker the layout of the compiled executable. For example, the
memory layout looks like:
Figure 4-22 Memory Layout

Table of Contents