dfu-util fail: Bad CPU type in executable

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

dfu-util fail: Bad CPU type in executable

1,305 次查看
eblas
Contributor I

Hi,

I have dusted off my LPC4088 dev board and am trying to run an example but I am having trouble.  I am on macOS Big Sur and also have a LPC-Link2 debugger attached via JTAG.  When I try to debug an example or try to program the flash I receive the following errors relating to the dfu-util and and the LinkServer:

Screen Shot 2022-08-29 at 10.26.58 PM.png

Screen Shot 2022-08-29 at 10.31.13 PM.png

It seems like the board is recognized: 

 

> system_profiler SPUSBDataType

 LPC:

          Product ID: 0x000c
          Vendor ID: 0x1fc9  (NXP Semiconductors)
          Version: 1.00
          Serial Number: ABCD
          Speed: Up to 480 Mb/s
          Manufacturer: NXP
          Location ID: 0x14200000 / 11
          Current Available (mA): 500
          Current Required (mA): 100
          Extra Operating Current (mA): 0

 

Any help would be appreciated.

 

UPDATE: I tried switching to MCUXpresso and everything seems to be working now.  Unclear if a reinstallation of LPCXpresso would have worked but a fresh install of MCUXspresso worked.

标记 (3)
0 项奖励
回复
1 回复

1,294 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello eblas,

Thanks for your sharing, and recommend use MCUXpresso IDE, the  LPCxresso IDE is legacy took, won't provide update and any patch.

 

BR

Alice

0 项奖励
回复