• slider image 442
  • slider image 477
  • slider image 479
  • slider image 480
  • slider image 481
  • slider image 482
:::


Browsing this Thread:   1 Anonymous Users




(1) 2 »


MPLAB IPE, command line
#1
初級會員
初級會員


查看用戶資訊
請問

工廠在燒code 是用IPE 去燒,
有無 DLL 或 LIB, 可讓我們自行開發燒錄程式??
或是有無 command line 的方式??

發表於: 2020/9/7 16:45
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: MPLAB IPE, command line
#2
資深會員
資深會員


查看用戶資訊
您可以參考一下 MPLAB X IDE 5.40安裝路徑下的CommandLineReadmes.htm檔案 -> Release Notes for IPE Command Line Interface.

小弟之前使用的範例如下: (燒錄器PICKit 4 , MCU: PIC18F26K20)

java -jar ipecmd.jar -P18F26K20 -TPPK4 -F"c:/PIC18F26K20_APP_Demo.hex" -M

Attach file:



jpg  IPE_Command_Line_Interface_PIC18F26K20.jpg (82.88 KB)
5477_5f583d86b42fa.jpg 753X421 px

發表於: 2020/9/9 10:27
不要盲目地從一堆“嘗試”中去找答案;將時間用來找尋“最正確”的方法。
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: MPLAB IPE, command line
#3
初級會員
初級會員


查看用戶資訊
Hi GodBlessU

謝謝你提供的方法..

我實測測試.. 用 command line 的方式 燒 , 比用IPE 的時間長很多
這是正常的嗎???
有無什麼方式可加快?

發表於: 2020/9/9 18:00
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: MPLAB IPE, command line
#4
初級會員
初級會員


查看用戶資訊
command line 的方式,
ex: "java -jar ipecmd.jar -P18F26K20 -TPPK4 -F"c:/PIC18F26K20_APP_Demo.hex" -M"

似乎是每次執行 會重新呼叫 IPE..
再燒code
而時間是卡在 呼叫 IPE...

不知 command line 有無能先進 IPE,
之後 再個別執行燒錄的指令

發表於: 2020/9/10 11:27
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: MPLAB IPE, command line
#5
初級會員
初級會員


查看用戶資訊
有方式 加快 MPLAB IPE, command line 燒code 的時間嗎???

發表於: 2020/9/16 15:12
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: MPLAB IPE, command line
#6
資深會員
資深會員


查看用戶資訊
請問您用command line燒錄hex的時間要多久?

或者是先把IPE開啟, 之後用command line燒也縮短開啟時間.

發表於: 2020/9/17 13:03
不要盲目地從一堆“嘗試”中去找答案;將時間用來找尋“最正確”的方法。
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: MPLAB IPE, command line
#7
初級會員
初級會員


查看用戶資訊
Hi GodBlessU ,

請問您用 command line 燒錄 hex 的時間要多久? => 大約10秒

或者是先把 IPE 開啟,之後用 command line 燒也縮短開啟時間. => 先開啟IPE 再用 command line, 燒錄時間也差不多長

發表於: 2020/9/17 15:17
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: MPLAB IPE, command line
#8
資深會員
資深會員


查看用戶資訊
請問您使用的MCU是哪一顆? 跟flash的大小有關係.

發表於: 2020/9/17 22:29
不要盲目地從一堆“嘗試”中去找答案;將時間用來找尋“最正確”的方法。
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: MPLAB IPE, command line
#9
初級會員
初級會員


查看用戶資訊
我用的是 PIC16F18346

發表於: 2020/9/18 8:56
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: MPLAB IPE, command line
#10
資深會員
資深會員


查看用戶資訊
因為我手上沒有PIC16F18345(28KByte), 所以我使用PIC18F26K20(64Kbyte)來做測試.

下面是我的測試結果(PICKit 3)

1. IPE 燒錄時間: 扣掉開啟IPE的時間, 大約18秒
2. IPE Command line: 扣掉開啟IPE的時間, 大約14秒.

雖然每次使用IPE command line都會啟動MPLAB X IPE, 但是以Erase/Program/Verify的時間, command line還是快一點.

以下是美國論壇的相關討論

https://www.microchip.com/forums/m948727.aspx

之前您有提到過MPLAB X IDE/IPE是否有相關的Dll可以透過您們自己的寫程式呼叫調用來做燒錄. 是有的, 叫做mdbCOR.

您可以參考一下下面MPLAB X SDK網站來下載.

http://www.opensource4pic.org/content ... t/mplab-x-sdk-mplab-x-ide

這部分我沒有測試過, 您可以參考一下~

Attach file:



jpg  PIC18F26K20_Flash_64KB_Prgramming_Time_18sec_IPE.jpg (82.53 KB)
5477_5f642c4c69ab9.jpg 747X605 px

發表於: 2020/9/18 11:39
不要盲目地從一堆“嘗試”中去找答案;將時間用來找尋“最正確”的方法。
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... ]

教育訓練中心

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