QN9080 with CMSIS+OpenOCD

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

QN9080 with CMSIS+OpenOCD

2,343 次查看
arpad_toth
Contributor II

Hello,

Do you have OpenOCD configuration file or full tutorial for QN908x?

OpenOCD for CMSIS doesn't support that CPU.

Thank you,

标签 (1)
  • QN

标记 (2)
0 项奖励
回复
10 回复数

2,112 次查看
iosabi
Contributor I

Hi arpad.toth@scorpionauto.com,

FYI, I just uploaded a patch to OpenOCD to add support for the QN908x here: Gerrit Code Review  You would need to download that version from the pending patch since it hasn't made it to the master branch. Manually compile openocd from there to use it. I haven't tried with a cmsis-dap programmer yet, but you can give it a try.

Needless to say, this openocd patch is provided as-is and it is not officially supported or endorsed by NXP in any way. Have fun!

0 项奖励
回复

2,112 次查看
estephania_mart
NXP TechSupport
NXP TechSupport

Hello,

The QN9080-DK  can work with both CMSIS-DAP and J-link.

Those are the only ones  available, sorry for the inconveniences this might cause you.

Regards,

Estephania

0 项奖励
回复

2,112 次查看
arpad_toth
Contributor II

Hello,

How can I download with CMSIS-DAP via command line for production target board?

Jlink is way too expensive for production.

Thanks,

0 项奖励
回复

2,112 次查看
estephania_mart
NXP TechSupport
NXP TechSupport

Hello,

Please check the  Appendix B - Updating Debugger firmware in the SDK documentation

"<installation path>\docs\Getting Started with MCUXpresso SDK for QN908x.pdf"

Or you can check as well section 4.4 Update debugger firmware to support J-Link/CMSIS-DAP of the QN908x Quick Start User Manual.

 

Regards,

Estephania

0 项奖励
回复

2,112 次查看
arpad_toth
Contributor II

Hello,

Those documents are about upgrading the programmer itself.

It already has CMSIS-DAP, but how can I use it to program QN9080 in command line?

QN908x_Programming_Tool.exe cannot be used in command line.

"MCUXpresso IDE GUI flash programmer" also cannot be used in command line.

0 项奖励
回复

2,112 次查看
estephania_mart
NXP TechSupport
NXP TechSupport

Hello,

The closest thing I can think of it's that you use the Image Editor as it is a command line tool that includes following features:

  • convert a boot image file to specific format
  • download image file by USB
  • generate bin files for ISP tool

Regards,

Estephania

0 项奖励
回复

2,112 次查看
arpad_toth
Contributor II

Hello,

This "Image editor" cannot burn in/flash the QN9080 via CMSIS-DAP, it only generates files.

I already have the file binary file, but I'm missing the app to burn the file in via command line.

0 项奖励
回复

2,112 次查看
estephania_mart
NXP TechSupport
NXP TechSupport

Hello,

Sorry that it's all we have available, as I mentioned you, you can use a J-Link or another Tool.

You can create another kind of bootloader and create your tool to achieve that, but still, that would be you own implementation of it.

Sorry for the inconveniences this might cause you.

Regards,

Estephania

0 项奖励
回复

2,112 次查看
arpad_toth
Contributor II

Hello,

Do you provide any OpenOCD support for CMSIS-DAP programming the QN9080?

0 项奖励
回复

2,112 次查看
estephania_mart
NXP TechSupport
NXP TechSupport

Hello,

The only support we provide it's the one I already mentioned.


Sorry for the inconveniences this might cause you

Regards,

Estephania

0 项奖励
回复