欧美极品高清xxxxhd,国产日产欧美最新,无码AV国产东京热AV无码,国产精品人与动性XXX,国产传媒亚洲综合一区二区,四库影院永久国产精品,毛片免费免费高清视频,福利所导航夜趣136

 找回密碼
 立即注冊

QQ登錄

只需一步,快速開始

搜索
查看: 2204|回復(fù): 3
收起左側(cè)

官網(wǎng)AN1299對應(yīng)的工程,dsPIC33CK芯片,編譯不成功,怎么辦?

[復(fù)制鏈接]
ID:959891 發(fā)表于 2022-3-3 23:00 | 顯示全部樓層 |閱讀模式
在Microchip官網(wǎng)下載了AN1299對應(yīng)工程,芯片是dsPIC33CK芯片的,編譯不通過。詳細情況請看截圖。
1.截圖的左側(cè)工程的文件是灰色。但是雙擊能夠打得開。
2.編譯報錯,都是生成.o格式的文件報錯。
nbproject/Makefile-MCLV2.mk:166: recipe for target 'build/MCLV2/production/_ext/1360926148/adc.o' failed
捕獲.JPG
回復(fù)

使用道具 舉報

ID:959891 發(fā)表于 2022-3-5 14:44 | 顯示全部樓層
有沒有大神幫忙看看?
回復(fù)

使用道具 舉報

ID:285526 發(fā)表于 2023-10-18 00:50 | 顯示全部樓層


I am using DSPIC33CK32MC102 , I have code and its hex file ready. I made the connections for the controller those are as follows:

    Pullup resistor of 5.5 kΩ for MCLR pin and 100 Ω between pullup and MCLR pin
    0.1 uF ceramic capacitor between VDD and VSS as told in datasheet

I am using PICKIT 4 for programming where the pin are connected as follows:

    MCLR = pin 27
    VDD = pin 20
    VSS = pin 19
    PGD = pin17
    PGC = pin 18

The connections are perfect and no wire is bas solder

When I plug USB to laptop and click "connect" it says following error and connects anyhow:

    Target Device ID (0x0) is an Invalid Device ID. Please check your connections to the Target Device. UDID1 = 000000 UDID2 = 000000 UDID3 = 000000 UDID4 = 000000 UDID5 = 000000

After this, when I click "program" it gives following error:

    Programming did not complete. You are trying to change protected boot memory. In order to do this you must select the "Boot, Secure and General Segments" option on the debug tool Secure Segment properties page.

Then in settings > secure segment > segments to be programmed > Boot, General and Config segment is selected.

After this, when I click "program" it gives following error:

    [ Pgm ] at 0x0, expected 0x00040200, got 0x00000000. You have set the program speed to Normal. The circuit on your board may require you to slow the speed down. Please change the setting in the tool properties to low and try the operation again. Programming did not complete.

Then in settings > PICKIT4 tool options > programming speed > low selected.

After this, when I click "program" it gives following error:

    [ Pgm ] at 0x0, expected 0x00040200, got 0x00000000. Programming did not complete.

Also this approach:

    Target Device ID (0x0) is an Invalid Device ID. Please check your connections to the Target Device. UDID1 = 000000 UDID2 = 000000 UDID3 = 000000 UDID4 = 000000 UDID5 = 000000

After this I click "erase" followed by "read" it says:

    Read complete Warning: Debug bit is set on target image. This may not run correctly in production.

Now if I hit "program" it says following warning:

    Memory Image changed do you wish to continue programming device

Selecting yes it programs successfully, but I don't know what has he program its more like a blank file is been programmed.

The following memory area(s) will be programmed:

    program memory: start address = 0x0, end address = 0x5eff configuration memory Programming/Verify complete 2023-08-02 15:58:58 +0530 - Programming complete *** Hold In Reset mode is enabled ***
help me,
is it
hardware error
How i can rid of it.
回復(fù)

使用道具 舉報

ID:285526 發(fā)表于 2023-10-18 15:15 | 顯示全部樓層
我有與上面鏈接相同的問題,
有什么可以幫助我的嗎
回復(fù)

使用道具 舉報

您需要登錄后才可以回帖 登錄 | 立即注冊

本版積分規(guī)則

小黑屋|51黑電子論壇 |51黑電子論壇6群 QQ 管理員QQ:125739409;技術(shù)交流QQ群281945664

Powered by 單片機教程網(wǎng)

快速回復(fù) 返回頂部 返回列表