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?
\$\begingroup\$
\$\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_timerCommented May 26, 2016 at 2:07
Add a comment
|
2 Answers
\$\begingroup\$
\$\endgroup\$
1
You can use QBlue ISP programmer using UART communication. You need a USB serial TTL convertor with 3.3V.
-
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\$ Commented May 26, 2016 at 2:06