• slider image 442
  • slider image 492
  • slider image 493
  • slider image 494
  • slider image 495
  • slider image 496
:::

論壇索引


Board index » All Posts




dsPIC33CK256MC506燒錄失敗求救
資深會員
資深會員


1. 實驗板APP041-V3.10
2. PIM板APP041-3 v1.10,其MCU為dsPIC33CK256MP506
3. MPLAB X 5.50
4. XC16 v1.7
出現如下的畫面,從訊息知有detected到晶片,可Ereaed,但Programming失敗,不曉得問題出在那?請教有經驗的專家.

Attach file:



jpg  dspic33ck.JPG (39.44 KB)
400_628227bbc73d8.jpg 603X443 px

發表於: 2022/5/16 18:29
頂部


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)
管理員
管理員


cct1210你好,目前課程使用的教材或實驗板資料,可以至CAE空中教室網頁中的 教材下載實驗板(購買) 來取得。

發表於: 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 /* AVR register stuff */
#include /* AVR interrupt */
#include /* AVR program memory space */
#include /* AVR delay */

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
頂部



« 1 ... 78 79 80 (81) 82 83 84 ... 7525 »



:::

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

教育訓練中心

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