Attention to Internet Explorer users: ROHM website does not recommend browsing in IE 11. Please use latest browser to ensure the best performance on ROHM website.
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.
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
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.
This error indicates that an address is duplicated. The following are possible causes. (1) Duplicate addresses exist in a single file. (2) When multiple files are AddListed, data with the same address exists in each file.
The following is a description of the workaround. (1) The vector address 00h to 7Fh of the interrupt may have overlapping definitions. First, refer to the map file (*.map) and check which addresses overlap. The overlapped area will be marked with *OVL* on the left side as shown below. *OVL* S CODE* 00:0010 00:004F 0040(64) (absolute)
Please search "#pragma interrupt" and check if there are any duplicate vector address definitions. If there are any, delete one of them. Enable the option "Stop by warning occurrence" to stop the build when a warning occurs during linking to ensure that this problem is detected.
(2) Check if the addresses are duplicated between the files to be AddListed. Also, when adding separately created files such as audio data and table data, it is possible that they are AddListed without offsets being set. In this case, set the offset and add the file when performing AddList.
It is possible. With the project selected on the [Project Explorer] of LEXIDE-U16, select [LAPIS]>[Debugger (DTU8)]. DTU8 will start and the program will be loaded and ready for debugging.
To save the contents of all SFR to a file, use DTU8. The SFRSAV command of DTU8 allows you to save SFR data to a Motorola S2 format file. Select [Tools] > [Execute script command] of DTU8, and in the dialog, specify the folder and file name to save, such as SFRSAV C:\\temp\\SFR1. In the above case, SFR1.ram will be saved in the C:\\temp folder. Please note that the SFR data file is in Motorola S2 format, so the SFR name is not output.
For the Motorola S2 format, refer to "9.5.4 Motorola S2 Format" in "MACU8 Assembler Package User's Manual".
It is possible to change the character encoding by selecting "Resource" in the [Properties] dialog and selecting Other in [Text file encoding]. Please check if any of the six codes listed in the pull-down list will not eliminate the garbled characters. If the garbled characters are resolved, that is the corresponding code, so save the file with that code. If the garbled characters are not resolved by any of the codes, set the code (default is MS932) and retype the comment.