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.
LEXIDE-U16 window position information is stored in the workspace ".metadata\.plugins" folder. If you use the Windows standard ZIP function ([Right-click] > [Send to] > [Compressed (zipped) folder]) in Explorer to compress a ZIP file, some parts of the Linux format folder starting with a dot are not compressed. In this case, extracting the ZIP file and opening it with LEXIDE-U16 will reset the window position information. If you want to compress the workspace, please use a compression application that supports Linux format folders such as 7-Zip or Lhaplus.
The method to redisplay the "Select a directory as workspace" dialog is as follows. 1. Select [Window] > [Preferences] from the LEXIDE-U16 main menu. 2. Select [General] > [Startup and shutdown] > [Workspaces] from the left panel of the [Preferences] dialog. 3. Enable the [Prompt for workspace on startup] checkbox.
Code Generation Tools (Startup Config tool/Peripheral Config tool) plug-ins are not compatible with LEXIDE-Ω. For this reason, LEXIDE-Ω does not appear in the selection items of the LAPIS menu. We apologize for the inconvenience, but please start each tool from the Windows start menu.
[ML62Q1000 series] In the Windows start menu "LAPS Code Generation Tools", select "ML62Q1000 Startup Config tool" and "ML62Q1000 Peripheral Configuration Tool".
[ML62Q2000 series] In the Windows start menu "LAPS Code Generation Tools", select "Startup Config tool" and "Peripheral Config tool".
After creating a project with the above setting tool, it can be started by double-clicking the project file (*1) displayed in the LEXIDE-Ω project tree.
Transition to $$brk_reset,$$error in the startup file (*.ASM) occurs when the BRK instruction (0xFFFF) is executed. Addresses to which no instruction is assigned are filled with 0xFFFF, so it seems that for some reason this address was executed and transitioned to $$brk_reset, $$error. As a possible cause, ・Interrupt vector is not defined ・A branch destination (function) such as an indirect call is not defined ・Interrupts are enabled within interrupt functions that disable multiple interrupts ・Stack overflow occurs And so on. Please check if any of the above apply. Transitions can be easily checked using the branch trace function of the on-chip emulator.
As the memory model goes from Small to Large, the size of pointers to functions changes from 2 bytes to 3 bytes. Please note that when using an array of pointers to functions. The sizeof operation result for a single pointer to a function in the Large model is 3, but in the case of an array of pointers to functions, a 1-byte padding is inserted after each element. So with 5 elements, the size of the array is ((pointer size 3 bytes) + (padding 1 byte)) * (number of elements 5) = 20 bytes. For details, see "1.5.2.2 Arrays other than char type" in "CCU8 Programming Guide".
Also, when calculating the number of elements in an array, it is generally calculated by dividing the size of the entire array by the size of the elements in the array. Therefore, the following macro may be defined as a macro for calculating the number of array elements. #define ARR_NUM(array) (sizeof(array)/sizeof(array[0])) If the pointer size is 3 bytes, the total array size includes 1 byte padding for each element, so the number of elements is calculated incorrectly. In this case, you need to change it as follows. #define ARR_NUM(array) (sizeof(array)/(sizeof(array[0]) == 3 ? 4 : sizeof(array[0])))
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.