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

論壇索引


Board index » All Posts (jhlarn)




PIC16F18855 ADC 在 3.1V 不準
#1
初級會員
初級會員


您好

我們有發現 PIC16F18855 ADC 在 3.1V 會不準,
不知道這是否是已知的問題?
是不是有workaround??

發表於: 2022/7/15 15:22
頂部


編譯時 出現空間不足問題
#2
初級會員
初級會員


您好

MCU: PIC16F18346

請問.. MCC gen出的bootloader code 中, 有一個 frame 的資料結構

我想需將data 擴充到512byte
如下
typedef union
{
    
struct
    
{
        
uint8_t     command;
        
uint8_t     tag;
        
uint16_t    data[WRITE_FLASH_BLOCKSIZE*8]; // 32*8

    
};
    
uint8_t  buffer[WRITE_FLASH_BLOCKSIZE*8*2+2];
}
frame_t;


則會出現 空間不足的錯誤訊息
FW_Update.c:13:: error: (1250) could not find space (514 bytes) for variable _frame
(908) exit status = 1


data 若為64bytes 時, Data Space 僅用了 259byte, 剩的空間應該足夠加到512Bytes
Memory Summary:
Program space used 725h ( 1829) of 25F0h words ( 18.8%)
Data space used 103h ( 259) of 800h bytes ( 12.6%) => data 為64byte 時的用量
EEPROM space used 0h ( 0) of 100h bytes ( 0.0%)
Configuration bits used 4h ( 4) of 4h words (100.0%)
ID Location space used 0h ( 0) of 4h bytes ( 0.0%)

請問 有什麼方法 能解決這個問題???

發表於: 2020/9/25 11:31
頂部


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


數量大約是幾十K的範圍

我的應用是 要燒SN 到MCU的EEROM, 每個MCU都會不同
而SN 可能會是不連續不定的號碼, 因而不太適合用SQTP 的方式.
才想到用command 的方式去帶不同的HEX方式...
但command line 的方式 燒錄又太久..

請問microchip 的燒錄器中, 有無可自訂區域及可自訂的值 燒到EERPOM???

發表於: 2020/9/21 13:38
頂部


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


Hi GodBlessU

1. 加速版本的 command line interface 如果您想知道的話,我下週一再回覆您。 => 再請指點一下

2. 之前你提到的 SDK, 我下載來 大致瀏灠了一下,
想確定一下 , SDK 只能用Java 來做嗎???

發表於: 2020/9/21 9:48
頂部


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


Hi GodBlessU

IPE 是5.4


更正

2. IPE Command line: 扣掉開啟 IPE 的時間,大約 10 秒.

時間應該是卡在每下一次command line 都會開 IPE


有機會加速每次下COMMAND LINE ( 從下COMMAND 到燒完) 的總時間 嗎?

我的應用是
在工廠燒MCU 時,, 因每個MCU的HEX 檔的內容會略為不同.
因此我會用程式去修改HEX的部分內容
然後 用程式, 去CALL COMMAND LINE, HEX檔就帶我改過的
但燒錄時間太長, 不合成本效益...
不知有無方式可加速 ?

或者 是否能幫忙反應給原廠 看看能不能提供新的COMMAND LINE TOOL??

發表於: 2020/9/18 17:20
頂部


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


我是用 PIC16F18346 (56KByte), .

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

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

用 IPE 燒的時間 反而是快很多..

看美國論壇的討論... 目前是沒加快的方式了嗎???

發表於: 2020/9/18 14:02
頂部


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


我用的是 PIC16F18346

發表於: 2020/9/18 8:56
頂部


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


Hi GodBlessU ,

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

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

發表於: 2020/9/17 15:17
頂部


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


有方式 加快 MPLAB IPE, command line 燒code 的時間嗎???

發表於: 2020/9/16 15:12
頂部


Re: 中斷所使用的變數需加 volatile 的疑問
#10
初級會員
初級會員


Hi 版本

不做任何的 Optimizations 嗎?

即 Optimizations 選 0 嗎??

發表於: 2020/9/14 9:45
頂部



(1) 2 3 4 »



:::

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... ]

教育訓練中心

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