Re: 請問關於昨天CAE空中教室課程開發板使用SNAP燒錄器問題
|
||||
---|---|---|---|---|
高級會員
|
原來如此,謝謝dginlon和Kevin老師的解說! 感謝!
發表於: 2022/5/14 13:17
|
|||
|
Re: 請問關於昨天CAE空中教室課程開發板使用SNAP燒錄器問題
|
||||
---|---|---|---|---|
管理員
|
twmic你好, MPLAB SNAP僅支援 Low-Voltage Programming (LVP),一旦關閉LVP並使用支援 High-Voltage Programming 的燒錄器燒錄後,將無法使用SNAP燒錄,因為目前無法以LVP的方式對MCU進行設定。
必須在程式中將LVP功能開啟,並使用支援 High-Voltage Programming 的燒錄器再次燒錄後,才能使用SNAP進行燒錄。
發表於: 2022/5/13 17:19
|
|||
|
Re: 請問關於昨天CAE空中教室課程開發板使用SNAP燒錄器問題
|
||||
---|---|---|---|---|
資深會員
|
正確 !
而且有一些 PIC MCU有 二組ICSP 介面時 只有一組可以設定 LVP(EX: PIC16F1459)
發表於: 2022/5/13 15:32
|
|||
|
請問關於昨天CAE空中教室課程開發板使用SNAP燒錄器問題
|
||||
---|---|---|---|---|
高級會員
|
我之前有購買一片APP1618SD開發板
昨天看到Kevin老師使用SNAP來燒錄APP1618SD開發板 可是我使用SNAP都會碰到LVP問題無法燒錄(因之前開發板LVP是設為OFF) 雖然SNAP在燒錄時已經有將CONFIG LVP = ON 但是SNAP燒錄時,在連接IC狀態時會回傳CHIP為0,然後就失敗了 我只能先拿PICKIT 3 ,將LVP設為ON燒錄過一遍之後 再拿SNAP燒錄就都沒問題了 所以如果IC已經燒錄過使用LVP=OFF,就無法再使用SNAP來燒錄嗎(就算在燒錄時LVP有設為ON)?
發表於: 2022/5/13 11:20
|
|||
|
Re: APP041-V3.10實驗板相關資料到那裡下載(MCU:dsPIC33CK256MP506)
|
||||
---|---|---|---|---|
管理員
|
發表於: 2022/5/12 10:52
|
|||
|
ATmega16 搭配 MPLAB X IDE V5.30 又發生無法模擬中斷事件
|
||||
---|---|---|---|---|
高級會員
|
MPLAB X IDE V5.30
之前 ATtiny85 無法中斷,更新 V5.30 版之後就正常. 這次 ATmega16 搭配 MPLAB X IDE V5.30 又發生無法模擬中斷事件.. MPLAB X IDE V5.30 之後又無法使用 32bit MPASM Compiler,所以不想升級了. #define F_CPU 1000000UL #include #include #include #include volatile unsigned char porta; void initialize_cube (void) { /* Frame buffer interrupt */ TCNT2 = 0x00; /* Initial counter value 0 */ TIMSK |= (1 << OCIE2); /* Enable CTC interrupt */ /* Every 1024th cpu cycle, a counter is incremented. * Every time that counter reaches 5, it is reset to 0 * and the interrupt routine is executed. * 1000000/1024/5 = 195 hz refresh * There are 5 layers to update.. * 195 hz / 5 layers = 39 FPS */ OCR2 = 50; /* Interrupt if counter hold value 5 */ TCCR2 = 0x02; /* Prescaler set to 1024 */ TCCR2 |= (1 << WGM01); /* Clear Timer on Compare Match (CTC) mode */ /* Set data direction on all ports to output */ DDRA = 0xFF; /* Data direction PORTA to output */ /* Enable interrupts */ sei(); } ISR(TIMER2_COMP_vect) { porta++; PORTA = porta; } int main (void) { initialize_cube(); /* Set timers, interrupts, I/O ports */ while(1) { __asm__("nop"); __asm__("nop"); __asm__("nop"); __asm__("nop"); } }
發表於: 2022/5/12 0:32
|
|||
|
APP041-V3.10實驗板相關資料到那裡下載(MCU:dsPIC33CK256MP506)
|
||||
---|---|---|---|---|
資深會員
|
在教育訓練光碟內只有APP041 v2.01 / APP041 v1.00實驗板相關資料,缺APP041-V3.10資料,請問要在那裡下載?(附註:PIM為APP041-3 v1.10,其MCU為dsPIC33CK256MP506)
發表於: 2022/5/11 20:52
|
|||
|
Re: 更新新版本MHC會被Win10內建防毒軟體攔截mhc.jar視為嚴重病毒
|
||||
---|---|---|---|---|
高級會員
|
謝謝Libra老師的說明,我目前是設定讓防毒軟體允許其威脅
發表於: 2022/5/11 19:50
|
|||
|
Re: MPLAB X Plugins問題請教
|
||||
---|---|---|---|---|
管理員
|
cct1210你好,X2C-Scope或部分的MPLAB X IDE Plugins可以在Microchip Gallery中找到。一般使用下建議從MPLAB X Plugin Manager中進行安裝。
MPLAB® Code Configurator 建議可以安裝至最新版本,各版本的差異可以參照Release Notes。 需要注意的是,如果安裝MPLAB X IDE 6.00以上版本,需搭配MCC v5.1.0以上版本才能使用。
發表於: 2022/5/11 17:36
|
|||
|