會員登陸
網站導航
最新下載
- Microchip 程式... (Tue, 17-Apr-2018)
- Microchip 程式... (Mon, 09-Apr-2018)
- Microchip2018微... (Fri, 19-Jan-2018)
- Microchip 2018 ... (Tue, 19-Dec-2017)
- 2017 精英年會特... (Wed, 11-Oct-2017)
- 2017 秋 研討會... (Wed, 11-Oct-2017)
- 2017 暑期微控制... (Fri, 07-Jul-2017)
- ATM6 講義與實作... (Tue, 27-Jun-2017)
- ATM5 講義與實作... (Tue, 27-Jun-2017)
- ATM4 講義與實作... (Tue, 27-Jun-2017)
訪問統計 (自2012/5/3)
|
正在流覽:
1 名訪客
|
請問 C18移植XC8 MCC或Harmony及PIC32與PC WIFI控制資料傳輸 |
|
中級會員 
註冊日期: 2007/07/02 10:23
來自 桃園市楊梅區
所屬群組:
註冊會員
文章: 64
等級: 6; EXP: 89 HP : 0 / 147 MP : 21 / 4652
|
楊老師,版主大家好! 我的使用環境如下; 1. Win10, MPLABX4.0.5, XC81.4.5, Harmony2.0.5, MPLAB8.92, C183.47, MCP6V01 + Curiosity PIC32MZ2048EFM100 + ADM00667
2.因為測溫範圍在600度以內, 量220V電壓電流, 所以要整合約 5組 MCP6V01 + 兩組ADM00667 請問有更好的建議嗎?
3.參照C18移植XC8資料, 所以先做 MCP6V01 Demo Code的轉移時, 用 MPLAB 8.92 Compiler, Link, LIB都設定使用 XC8 bin次目錄下, 但始終有許多#include Error如下, 請問我的錯誤是?
Clean: Deleting intermediary and output files. Clean: Deleted file "C:\Work\MCP6V01TCdemo\autofiles\main.o". Clean: Deleted file "C:\microchip\apps\MCP6V01_Firmware\MCP6V01ThermocoupleDemo.mcs". Clean: Done. Executing: "C:\Program Files (x86)\Microchip\xc8\v1.45\bin\mcc18.exe" -p=18F2550 /i"C:\Work\MCP6V01TCdemo" "main.c" -fo="C:\Work\MCP6V01TCdemo\autofiles\main.o" -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa- Executing: "C:\Program Files (x86)\Microchip\xc8\v1.45\bin\mcc18.exe" -p=18F2550 /i"C:\Work\MCP6V01TCdemo" "usbmmap.c" -fo="C:\Work\MCP6V01TCdemo\autofiles\usbmmap.o" -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa- usbmmap.c: 38: #include "system\typedefs.h" ^ (141) can't open include file "system\typedefs.h": No such file or directory (908) exit status = 1 (908) exit status = 1 Halting build on first failure as requested.
4. 我已試完Curiosity PIC32MZ EF板的 C:\microchip\harmony\v2_05\apps\usb\msd_basic 及 C:\microchip\harmony\v2_05\apps\tcpip\wifi_rgb_easy_configuration 兩個Harmony範例, 請問有PIC32 Harmony 或 MCC與PC WIFI之間的控制及資料傳輸範例嗎? 多謝您們指點!!
1月25日 07:04:44
|
|
|
Re: 請問 C18移植XC8 MCC或Harmony及PIC32與PC WIFI控制資料傳輸 |
|
中級會員 
註冊日期: 2007/07/02 10:23
來自 桃園市楊梅區
所屬群組:
註冊會員
文章: 64
等級: 6; EXP: 89 HP : 0 / 147 MP : 21 / 4652
|
楊老師, 板主及大家好! 有關 MCP6V01 demo code, 目前我暫時解決的方法是將所有 #include xx.c 和 xx.h 都加上絕對路徑, 並在 MPLAB v8.92, 使用C18 v3.47的編譯器, LIB, LINK, 才能順利編譯. 但是將 Project 的Select Language Toolsuite 設定成 XC8 的 compiler, Lib, Link, 就出現無法編譯的訊息
Executing: "C:\Program Files (x86)\Microchip\xc8\v1.45\bin\mcc18.exe" -p=18F2550 /i"C:\Work\MCP6V01TCdemo" "usb9.c" -fo="C:\Work\MCP6V01TCdemo\autofiles\usb9.o" -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa- usb9.c: USBStdGetDscHandler() 149: pSrc.bRom = *(USB_CD_Ptr+SetupPkt.bDscIndex); ^ (359) illegal conversion between pointer types (warning) rom pointer to const rom unsigned char -> pointer to rom unsigned char 154: pSrc.bRom = *(USB_SD_Ptr+SetupPkt.bDscIndex); ^ (359) illegal conversion between pointer types (warning) rom pointer to const rom unsigned char -> pointer to rom unsigned char Executing: "C:\Program Files (x86)\Microchip\xc8\v1.45\bin\mcc18.exe" -p=18F2550 /i"C:\Work\MCP6V01TCdemo" "usbdsc.c" -fo="C:\Work\MCP6V01TCdemo\autofiles\usbdsc.o" -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa- usbdsc.c: 71: rom struct{ USB_CFG_DSC cd01; USB_INTF_DSC i00a00; USB_HID_DSC hid_i00a00; USB_EP_DSC ep01i_i00a00; USB_EP_DSC ep01o_i00a00;} cfg01={ (984) type redeclared ^ (1098) conflicting declarations for variable "cfg01" (usbdsc.c:71) ^ (908) exit status = 1 (908) exit status = 1 Halting build on first failure as requested.
1月31日 16:26:42
|
|
您無法在此發表文章
您可以在此觀看文章
您無法回覆文章
您無法編輯自己的文章
您無法刪除自己的文章
您無法發起投票調查
您無法在此投票
您無法上傳附加檔案
您無法不經審核直接發表文章
|
搜尋
Microchip連結
網頁捷徑
2018 Winter Elite 報名
教育訓練
其它網站連結
|