關(guān)于這個問題的彈窗報錯網(wǎng)上也已經(jīng)有了清晰的解決思路,就是更改軟件目錄下對應(yīng)的.pdsc文件(譬如*/ARM/PACK/Keil/STM32F4XXXXXX/2.15.0/Keil.STM32F4xx_DFP.pdsc)去掉該文件的只讀屬性,并根據(jù)Keil底部的build output內(nèi)的提示找到對應(yīng)行,刪除該行的報錯提示,保存文件。
Message(2, "Not a genuine ST Device! Abort connection.");
----------------------------------------------------------------
感覺像是掩耳盜鈴行為,但是經(jīng)過進一步搜索后,在arm網(wǎng)站找到類似問題文檔
Documentation – Arm Developer
https://developer.arm.com/documentation/ka003928/1-0/?lang=en
CAUSE
The?Debug Description?for STM32F7xx and STM32H7xx devices was updated and became incompatible to previous versions. This issue appears if you are using an STM32F7xx pack version 2.10.0 (or higher) or STM32H7xx pack version 2.1.0 (or higher) with a μVision project that was created with a previous version of these packs. Debug Description files (*.dbgconf) are automatically copied from the corresponding pack folder to your μVision project folder when a project is created.
RESOLUTION
Close your μVision project.
Delete all *.dbgconf files in your μVision project folder?ProjectFolder\DebugConfig\*.dbgconf.
Start μVision and load your project. A Debug Description file *.dbgconf (one per μVision target) will be copied automatically from the latest installed Device Family Pack.
?大意就是使用的器件支持包版本比較新,與舊版本產(chǎn)生矛盾,所以在使用新包打開在舊包創(chuàng)建工程文件的時候就會出現(xiàn)報錯。
解決方法:關(guān)閉工程文件,并刪除工程文件夾debugconfig內(nèi)*.dbgconf文件,然后重新打開軟件和工程,然就會根據(jù)已有最新的設(shè)備包自動生成Debug描述文件。
但是經(jīng)過實際操作,我這里生成的依然是舊的描述文件,并無法解決這個問題,不知道算不算特例。
總結(jié):
1、由于彈窗是警告目的,且不影響正常使用,可以直接對.pdsc文件中的對應(yīng)行進行操作(刪除或者加雙斜杠注釋掉均可)最為推薦,一勞永逸
2、可以嘗試官方提供的操作,但是不一定可行,猜測可能和下載的設(shè)備支持包相關(guān)。
3、新建一個工程然后轉(zhuǎn)移以下代碼也不是不行,但是應(yīng)該最麻煩。文章來源:http://www.zghlxwxcb.cn/news/detail-738094.html
以上。文章來源地址http://www.zghlxwxcb.cn/news/detail-738094.html
到了這里,關(guān)于關(guān)于“Loading PDSC Debug Description Failed”的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!