EasyManua.ls Logo

Nuvoton NuEclipse - Page 52

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 52 of 57 Rev 1.02.019
NU
ECLIPSE USER MANUAL
5 Q&A
1. Q: Can we simultaneously debug on Eclipse, Keil and Iar?
A: No, we must stop the debug mode on Eclipse first. Then we can debug on another IDE.
2. Q: Can we simultaneously debug on Eclipse and use the Nuvoton development tools, such as
ICP Programming tool?
A: No, we must stop the debug mode on Eclipse first. Then we can use them and vice versa.
3. Q: How many breakpoints and watchpoints are supported?
A: It depends on the hardware. For M0 chips, the supported number of breakpoints and
watchpoints is 4 and 2, respectively. For M4 chips, the supported number of breakpoints and
watchpoints is 6 and 4, respectively. For M23 chips, the supported number of breakpoints and
watchpoints is 4 and 4, respectively. For now, we do not support flash breakpoints.
4. Q: How to update firmware for Nu-Link?
A: Please use ICP Programming tool or Keil to update firmware.
5. Q: How to change Flash and RAM size after projects are created?
A: Please find and open the ld script in the ld scripts folder. From there, we can change Flash
and RAM size.
6. Q: Why can the application not enter the debug mode?
A: Firstly, we must install all the stuff by following the previously mentioned steps. Then check
the following list:
Leave the previous debug mode first if exists.
Flash and RAM size must be correct.
OpenOCD should not be launched before debugging. To check that, please go to
Windows Task Manager or System Monitor. If an OpenOCD process has already been
running, please end the process.
The target chip should not be held by other tools or IDE.
The Config options field of the Debugger tab must be correct.
In the Startup tab, the Initilal Reset type should be init. The Pre-run/Restart rest
type should be init.
The Eclipse preferences must be correct. Please refer to the previous discussion.
Upgrade Nu-Link firmware and USB driver to the latest one.
Check whether the executable has been downloaded to the target chip correctly.
Check SP. If it is wrong, please assign it to the correct location.
Write a correct Config value into the target chip.
If the operating system is Windows 7, please use USB 2.0 port, instead of USB 3.0
port.
The project path must not contain any special character or whitespace, such as
#$&`.{}.
Restart the computer.

Table of Contents