part number search

faq category 

show all answers
hide all answers
showing 1 to 4 of 4
    • 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.
    • products: microcontrollers (mcus)
    • 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.
    • products: microcontrollers (mcus)
    • it is assumed that no debug information is included.
      please check "compile/assemble options" and "target options" in ideu8.

      [compile/assemble options]
      check "print debug information" in the "general" tab.

      [target option]
      check "print debug information" in the "general" tab.

      after setting the above, build again and restart dtu8.
    • products: microcontrollers (mcus)
    • 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 " 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])))
    • products: microcontrollers (mcus)
showing 1 to 4 of 4
of 1