Environment is QN9020 MiniDK & uVision V5.24.2.0.
On the QN9020 Mini DK I have soldered SWDIO & SWDCLK (0 ohm) links on R37 & R39. I have not altered UART R36 nor R37. uVision Pack Installer does not include the QN9020 under Devices:NXP nor the QN9020 Board, however ARM, MDK etc packs are “Up to date”, however QN9020DevDBforIDE was used to install the QN9020 database.
I run a copy of the timer.c which builds/links all elements and shows the QN9020 enabled.
*** Using Compiler 'V5.06 update 5 (build 528)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
Build target 'timer'
After Build - User command #1: fromelf --bin --output ./bin/timer.bin ./obj/timer.axf
".\obj\timer.axf" - 0 Error(s), 0 Warning(s).
Build Time Elapsed: 00:00:00
I can run KEIL debugger on the timer.c example and change the PWM buzzer tone verifying functionality.
Running with Code Size Limit: 32K
However, I am unable to set breakpoints and have debug session stop at those breakpoints, trace variables etc. Also, I am unable to use print to send message to View:Serial Window:Debug(printf) Viewer. When I check the J-Link setup all looks OK. I’m sure I am missing something simple but hope you can steer me to a solution.
Hi Gerald,
Your device is working fine.
What is the Keil Version that you have?
Did you install the device database for the Keil IDE_
Regards,
Mario
Hi Gerald,
On the QN9020 Mini DK I have soldered SWDIO & SWDCLK (0 ohm) links on R37 & R39. I have not altered UART R36 nor R37.
The QN9020_MINIDK_V8 as you can see the R38 SWCLK, You have to remove it. Then you can use an external J-Link
Did you try with the JLink command?
What is the version of the DK that you have?
Regards,
Mario
Mario,
Screen capture image did not post.
J-Link command summary is:
Mario,
Thank you for your response.
RE:On the QN9020 Mini DK I have soldered SWDIO & SWDCLK (0 ohm) links on R37 & R39. I have not altered UART R36 nor R37.
Must have been late but should have read: On the QN9020 Mini DK I have soldered SWDIO & SWDCLK (0 ohm) links on R37 & R38. I have not altered UART R35 nor R36.
The version of the DK is: QN9020_MINIDK_V8.
J-Link command summary is:
Regards,
Jerry