Programming possibility using USB (D+, D-) for QN9080

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

Programming possibility using USB (D+, D-) for QN9080

跳至解决方案
1,626 次查看
James5427
Contributor III

Hi,

We are working on QN9080 MCU. We had a requirement related to program/.bin file flashing in QN9080.
Presently we are using J-Link to flash the application. Now, we want use only USB port to program teh MCU.
Is there any possibility of flashing the application to QN9080 using USB port (D+, D-) signals?
Could anyone please provide the possibility and the procedure information to meet the requirement?


Thank you,
Vamshi

0 项奖励
回复
1 解答
1,560 次查看
Ricardo_Zamora
NXP TechSupport
NXP TechSupport

Hello,

 

As mentioned on chapter 7, the QN908x supports ISP via USART, SPI and USB.

 

The USB interface is implemented on the following pins:

  • PA26 for positive differential data
  • PA27 for negative differential data

 

Hope this helps!

 

Regards,

Ricardo

Best Regards,
Ricardo

在原帖中查看解决方案

0 项奖励
回复
4 回复数
1,511 次查看
James5427
Contributor III

Hi,

Thank you for the help,

It worked for me but before flashing actual .bin file, we need to convert to the format it accepts. 

The Image editor will do all the necessary things to the .bin file generated by IAR/MCU Expresso IDEs. 

Download the Connectivity QTool found in the same page as the Image Editor and install it. The installation folder for this tool will contain the libgcc_s_dw2-1.dll, so run the QN908x_Image_Editor_v1.0.0.exe from that location. This will set the format and generate a .bin file.

This converted .bin file can be used to flash to the MCU in ISP mode. 

0 项奖励
回复
1,590 次查看
James5427
Contributor III

Hi,
Thank you for the reply,

Yes, we referred to the ISP process. For this ISP mode, we need to use J-Link. Please let me know if I am wrong. But we have a requirement to flash the application file through USB port (using Micro B cable, Signals: D+, D-) only. We don't want to use J-Link. Is it possible to flash application only through USB port instead of J-Link in ISP mode?
Or Is there any way to do as per our requirement?
Please provide the required information.

0 项奖励
回复
1,561 次查看
Ricardo_Zamora
NXP TechSupport
NXP TechSupport

Hello,

 

As mentioned on chapter 7, the QN908x supports ISP via USART, SPI and USB.

 

The USB interface is implemented on the following pins:

  • PA26 for positive differential data
  • PA27 for negative differential data

 

Hope this helps!

 

Regards,

Ricardo

Best Regards,
Ricardo
0 项奖励
回复
1,605 次查看
Ricardo_Zamora
NXP TechSupport
NXP TechSupport

Hello Vamshi,

 

Hope you are doing well. The QN9080 on-chip Rom contains a bootloader which provides IN-System Programming (ISP) feature.

Please help me checking section 7 (Boot process) from the QN908x user manual.

 

Hope this helps.

 

Regards,

Ricardo

Best Regards,
Ricardo
0 项奖励
回复