• slider image 442
  • slider image 483
  • slider image 484
  • slider image 485
  • slider image 486
  • slider image 487
:::


Browsing this Thread:   1 Anonymous Users






Re: 副檔案與無法燒錄的問題
#2
管理員
管理員


查看用戶資訊
a780917a 你好,如果需要在 MPLAB X IDE 新建專案並自行新增文件,使用PIC系列MCU可以選擇 main.c;使用AVR系列MCU可以選擇 avr-main.c。這兩個檔案皆會加入MCU需要的基本 Header File 和建立 main 函式。若需要自行建立 Header File,可以透過選擇 C Header File 或 xc8_header.h 來新增檔案並自行修改。
建議可以使用 MPLAB X IDE 中 MCC 工具來產生專案所需要的文件。

另外請問目前使用的燒錄器型號,如果身邊有其他燒錄器也可以更換使用其他燒錄器測試。

發表於: 2022/7/21 9:45

Edited by KevinLu on 2022年07月21日 17:15:32
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


副檔案與無法燒錄的問題
#1
高級會員
高級會員


查看用戶資訊
各位好,小弟用的是MPLAB X IDE,PIC16F1933 想請問

Source Files除了main.c 要在加入副程式是新增main.c 還是avr-main.c 呢?
Header Files 建立新的是選擇xc8_herder.h嗎?

小弟想試一下用I2C 控制OLED ,附件的檔案編譯成功,但是卻不行燒錄,不曉得問題出在哪裡
BUILD SUCCESSFUL (total time: 2s)
Loading code from C:/Users/keror/MPLABXProjects/OLED_Test1933.X/dist/default/production/OLED_Test1933.X.production.hex...
Program loaded with pack,PIC12-16F1xxx_DFP,1.2.63,Microchip
Loading completed
Cannot program a production build to a debug header.

Attach file:


Link only for registered users

發表於: 2022/7/19 15:28
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部







You can view topic.
不可以 發起新主題
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.
You cannot create PDF files.
You cannot get print page.

[進階搜尋]


:::

Microchip連結

https://www.facebook.com/microchiptechnologytaiwan/
http://www.microchip.com.tw/modules/tad_uploader/index.php?of_cat_sn=13
https://mu.microchip.com/page/tmu
http://elearning.microchip.com.tw/modules/tad_link/index.php?cate_sn=1
https://page.microchip.com/APAC-PrefCenters-TW.html
http://www.microchip.com/
http://www.microchip.com/treelink
http://www.microchipdirect.com/
http://www.microchip.com.cn/newcommunity/index.php?m=Video&a=index&id=103
http://www.microchip.com.tw/modules/tad_uploader/index.php?of_cat_sn=2
http://www.microchip.com.tw/Data_CD/eLearning/index.html
http://www.microchip.com.tw/RTC/RTC_DVD/
https://www.microchip.com/development-tools/
https://www.youtube.com/user/MicrochipTechnology
[ more... ]

教育訓練中心

!開發工具購買
辦法說明 [業界客戶] [教育單位]
----------------------------------
!校園樣品申請
辦法說明 [教師資格] [學生資格]
----------------------------------