跳到主要內容

發表文章

MCC LIN TX 一些隱藏的小問題

  這2個函數有可能在多個地方被重複呼叫,主要是在中斷時用到 .mcc_generated_files/LINDrivers/lin_master.c:230:: advisory: (1510) non-reentrant function "_LIN_getChecksum" appears in multiple call graphs and has been duplicated by the compiler mcc_generated_files/LINDrivers/lin_master.c:270:: advisory: (1510) non-reentrant function "_LIN_stopTimer" appears in multiple call graphs and has been duplicated by the compiler 解法:其中一個不呼叫直接放內容或呼叫改名例如LIN_stopTimer_init() 避免重覆設定 開始計時也要將計數器歸零(同接收問題)LIN_timerCallBack=0 這2個函數有可能在多個地方被重複呼叫(但不會同時使用,暫時先不修正) C:\Program Files\Microchip\xc8\v3.10\pic\sources\c99\common\memcpy.c:4:: advisory: (1510) non-reentrant function "_memcpy" appears in multiple call graphs and has been duplicated by the compiler C:\Program Files\Microchip\xc8\v3.10\pic\sources\c99\common\memset.c:3:: advisory: (1510) non-reentrant function "_memset" appears in multiple call graphs and has been duplicated by the compiler
最近的文章

C# 縮寫

   Label  lbl  TextBox  txt  Button  btn  LinkButton  lnkbtn  ImageButton  imgbtn  ListBox  lst  DropDownList  ddl  DataGrid  dg  DataList  dl  CheckBox  chk  CheckBoxList  chklst  RadioButton  rdo  RadioButtonList  rdolst  Image  img  Panel  pnl  Calender  cal  AdRotator  ar  Table tbl  RequiredFieldValidator  rfv  CompareValidator  cv  RangeValidator  rv  RangeExpressionValidator  rev  ValidatorSummary  vs  CrystalReportViewer  rptvew  ComboBox  cbo  DataGridView  dgv  DataGridView 的 Column  col  GroupBox  grp  ImageList  il  ListView  lv  ListView 的 ColumnHeader  ch  MenuStrip  ms  ToolStripMenuItem  tsmi  PictureBox  pic  StatusStrip  ss ...

在 Windows 電腦上,將安裝好的軟體建立捷徑到桌面

 法一:找到程式集,把想用的程式左鍵按住不放拉到桌面. 法二: WIN鍵+R 輸入 shell:AppsFolder

VBA extra 功能

 

PC host java版本(UnifiedHost-1.19.0.jar)

  PIC16 Bootloader Offset(Byte Address):偏移量乘2(ex:0x300 ==>0x600) Program Memory Size(Bytes): (IC總容量+1 減去 偏移量)乘2 (ex:pic16f1936(8K) (0x1fff+1)*2 PIC18 Bootloader Offset(Byte Address):偏移量(ex:0x3000 ==>0x3000) Program Memory Size(Bytes): (IC總容量+1 減去 偏移量) (ex:pic18f26Q84(64K) (0xffff+1)