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])))
Connect ML62Q1000 series and PC with UART (RS-232C), there is an IAP function as a method of rewriting the flash memory. Details of IAP function are included in ML62Q1000S_ReferenceSoftware ”ML62Q1000 series IAP (In-Application Programming) Sample Program Ver2 AP Note” (FEXT62Q1000_IAPv2).
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 input disabled 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.