QN9080-DK SWD connection

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

QN9080-DK SWD connection

Jump to solution
2,289 Views
masahirokiniwa
Contributor IV

Hi,

I'm using a QN9080-DK with on-board LPC-Link2(J-Link), and I have an issue that the on-board LPC-Link2 couldn't connect to QN9080 by SWD.

It occurred when I programmed the flash by MCUXpresso.

It message as below.

I used MCUXpresso IDE 10.3.1, MCUXpresso SDK 2.5.0 and its sample project.

I tried to program by ISP mode, and erasing the flash by J-Flash Lite.

But I couldn't get a good result, it couldn't connect to the QN9080 by both methods.

(When I use ISP mode, I tried to connect by both USB and COM port.)

Could you tell me how to recover from this issue?

pastedImage_1.png

Best regards,

M.Kiniwa

Labels (1)
  • QN

0 Kudos
1 Solution
1,917 Views
estephania_mart
NXP TechSupport
NXP TechSupport

Hello,

If you already updated and you are completely sure that you loaded the correct files in both the LPC and the QN9080 and it did not succeed , you might want to apply for a warranty of your product. Usually, with the steps I provided the issues go away.

Regards,

Estephania

View solution in original post

0 Kudos
14 Replies
1,917 Views
masahirokiniwa
Contributor IV

Hi Estephania,

Thank you for you reply.

I re-confirmed the SDK version on MCUXpresso IDE, so it's SDK_2.2.0_QN9080XC.

Basically I use J2 connector for debugging.

(When I use ISP mode and programming by USB, I use J1 connector.)

When I use ISP mode, I close JP15 and JP8.

I'm using on-board LPC. (I wrote it LPC-Link2).

Best regards,

M.Kiniwa

0 Kudos
1,917 Views
estephania_mart
NXP TechSupport
NXP TechSupport

Hello,

Could you please help me confirm that you are using the right format file ? I'm mentioning this as the USB ISP bootloader expects a binary in a specific format you can find more information about this in chapter 7.6.1 USB firmware structure of the QN908x User Manual.

To generate the correct format, you can use the QN908x Image Editor tool to convert a binary to the expected USP ISP format.

Also, you can check this thread as well, you might be experiencing some of the same issues.

Please let me know if you still have problems

Regards,

Estephania

0 Kudos
1,917 Views
masahirokiniwa
Contributor IV

Hi estephania_martinez‌,

I have some QN9080-DK boards, and this issue occurred only two boards.

I can program to other boards by USB ISP bootloader, so I think that I use the correct format.

I'd like to know how to recover above two boards.

And if I can, I would like to know why this occurred for keeping the normal condition.

Best regards,

M.Kiniwa

0 Kudos
1,917 Views
estephania_mart
NXP TechSupport
NXP TechSupport

Hello,

Is your program using low power when you are trying to flash it ? What might be happening if that its the case, its that your device SWD reset pin it's not being controlled by the external debugger because your IC goes to low power mode.

Could you please help me confirm that ?

Regards,

Estephania

0 Kudos
1,917 Views
masahirokiniwa
Contributor IV

Hi estephania_martinez‌,

I use the Wireless UART sample project in MCUXpressoSDK, it doesn't use low power mode.

When the programming issue occurred, I couldn't program to the QN9080-DK both by debugger and ISP mode.

I think that I need not care the low power mode by user program when I use ISP mode.

Could you tell me more check points of this issue?

Best regards,

M.Kiniwa

0 Kudos
1,917 Views
estephania_mart
NXP TechSupport
NXP TechSupport

Hello,

Have you tried updating the software for the LPC ? If you have not, could you please try doing that ? This it's to identify if the issue it's related to the LPC or the QN9080.

Regards,

Estephania

0 Kudos
1,917 Views
masahirokiniwa
Contributor IV

Hi estephania_martinez‌,

I have tried updating the LPC by LPCScrypt and succeeded, however it was improved.

Best regards,

M.Kiniwa

0 Kudos
1,917 Views
estephania_mart
NXP TechSupport
NXP TechSupport

Hello,


What do you mean that it was improved? So, just to make sure you already updated the QN, the LPC an still does not work?

Regards,

Estephania

0 Kudos
1,917 Views
masahirokiniwa
Contributor IV

Hi estephania_martinez‌,

I can update LPC and QN when I use normally condition QN9080-DK.

But I cannot program to the QN9080-DK occurred above programming issue.

If the issue occur, the QN9080-DK cannot improve to the normally condition.

Best regards,

M.Kiniwa

0 Kudos
1,917 Views
estephania_mart
NXP TechSupport
NXP TechSupport

Hello,

Sorry for the inconvenience this might cause you, but the issue it's not clear, in which state are you currently on /? Are you still having issues? If you do, which one under which conditions ? Also, which example are you using ?

Regards,
Estephania

0 Kudos
1,917 Views
masahirokiniwa
Contributor IV

Hi estephania_martinez‌,

Yes, I'm still having this issue.

Now I'm using other board careful not to occur the same issue.

I'm using MCUXpressoSDK example "qn908xcdk_wireless_examples_bluetooth_wireless_uart_bm".

I'd like to recover boards having this issue.

Best regards,

M.Kiniwa

0 Kudos
1,918 Views
estephania_mart
NXP TechSupport
NXP TechSupport

Hello,

If you already updated and you are completely sure that you loaded the correct files in both the LPC and the QN9080 and it did not succeed , you might want to apply for a warranty of your product. Usually, with the steps I provided the issues go away.

Regards,

Estephania

0 Kudos
1,917 Views
masahirokiniwa
Contributor IV

Hi estephania_martinez‌,

Thank you for your advice.

I couldn't program to QN9080, so I think that I cannot recover their boards.

I consider applying for a warranty.

Best regards,

M.Kiniwa

0 Kudos
1,917 Views
estephania_mart
NXP TechSupport
NXP TechSupport

Hello,

Just to confirm, where did you get the SDK you mention ? The latest SDK released for the QN9080 was the SDK_2.2.0_QN908XC, still there are some versions and updated that kept the name of 2.2, but you will need to make sure you downloaded the latest of the MCUXpresso Builder.


Do you have your board connected through your J2 connector? Could you please help me confirm ?

Also, which ISP jumper are you using ? Could you please let me know?

Is there a specific reason why you are not using the LPC that it's on the board?

Regards,

Estephania

0 Kudos