Check the mode setting P0MOD0 of the P00/TEST0 pin in your program. When using the on-chip emulator, use the P00/TEST0 pin as an input pin for on-chip debugging. If P0MOD0 is set to no input or output enabled, communication with the on-chip emulator will be disabled, and "ICE error: 6603H" will occur, making debugging impossible. Set P0MOD0 to the initial value 05H.
The cause may be that the data flash erase processing in the program was executed. The program starts running when the microcontroller is powered on. After that, when the debugger is started with LEXIDE-U16, the debugger stops the program. If the program executed before starting the debugger includes data flash erase processing, the data flash area will be erased. As a result, it appears that the data flash area is initialized when the debugger is started.
The MWU16 saves a history of operations and results in log files. This error occurs when the log file cannot be written to. The storage location of the log file can be checked with [File] > [Set Log File ...] on the MWU16, and can be changed. Change the log file attribute to a rewritable attribute, or change the log file storage location to a rewritable folder.
This is because the information of the copy source remains in the project. Please follow the steps below to delete the copy source information and set it again.
Right click on the project > [Properties] > [C/C++ Build] > [Refresh Policy] (1) Delete the copy source project displayed in "a" with the [Delete] button in "b" (2) Click the "c" [Add Resource] button to add the current project
When importing an IDEU8 project into LEXIDE-U16, only one compile option set will be imported ([_default] by default), and the imported option set will be applied to all files. Since the compile options that were individually set in IDEU8 are not inherited, it seems that the behavior of the program has changed. After checking the compile options that were individually set in IDEU8, set the same compile options in LEXIDE-U16. The procedure is as follows. With the source file selected on [Project Explorer], select [Properties] from the pop-up menu displayed by right-clicking, In the [Properties] dialog, In [C/C++ Build] > [Settings] > [Tool Settings] > [Compiler], set the option corresponding to IDEU8.
Please refer to the application note "How to Allocate Functions and Variables to Specific Areas". It describes how to allocate functions and RAM variables in specific areas. The application note can be downloaded from our support site.
With the name of the function you want to find selected on the LEXIDE-U16 edit screen (not including parentheses), select "Open Declaration" from the pop-up menu that appears when right-clicked, and the contents of the defined function will be displayed.