1
\$\begingroup\$

I have made a small breakout board with the QN9021 SOC (BLE + ARM Cortex M0). I am having trouble flashing the code into this device. Assuming that this device is wired properly and working fine, how do I program it? None of the cheap OpenOCD debuggers seem to support it! and the commercial (JLink/ULink) are too costly for me. Can I still use the unsupported debuggers somehow (mayne by manually adding the memory location map)? If so kindly tell me how to do so?

\$\endgroup\$
1
  • \$\begingroup\$ openocd knows how to speak swd, what did you try? stlink? you can get a nucleo board for about $10 (cheaper than the dedicated stlink dongle), remove the jumpers and use it as an SWD/openocd debugger. \$\endgroup\$
    – old_timer
    Commented May 26, 2016 at 2:07

2 Answers 2

2
\$\begingroup\$

You can use QBlue ISP programmer using UART communication. You need a USB serial TTL convertor with 3.3V.

\$\endgroup\$
1
  • 1
    \$\begingroup\$ UM10995 from the NXP website describes the UART bootloader interface, you can use an existing one or write your own (host-loader) program. \$\endgroup\$
    – old_timer
    Commented May 26, 2016 at 2:06
1
\$\begingroup\$

Can you use the LPC Link2? It's only about $20.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.