Enabling CMSIS-DAP debug on the NXP Semiconductors Tower System Tutorial
This quick tutorial shows how to quickly update the OpenSDA firmware on your NXP Semiconductors Vybrid™ Controller Tower™ System module to enable multicore debug with Arm DS-5 via USB using CMSIS-DAP (Cortex Microcontroller Software Interface Standard – Debug Access Port).
At the end of the tutorial you should be able to connect your DS-5 Debugger to run-control both the Arm Cortex-A5 and Cortex-M4 in the Vybrid Controller solutions.
1. Get the CMSIS-DAP firmware
Visit the "Jump Start Your Design" section located at freescale.com/TWR-VF65GS10 to download the CMSIS-DAP firmware and documentation.
You must have a TWR-VF65GS10 rev. G to follow this tutorial. For previous board revisions, please contact your Support representative.
2. Switch to bootloader mode
First connect the double headed USB cable to the host PC where you have installed the DS-5 tool suite.
Then, hold down the Reset button (SW3) before plugging the other end of the cable into the J3 USB micro-B connector on the board.
All going well, on Microsoft Windows you should a message saying that "Your device is ready to use" after a few seconds. The board will be mapped as a Mass Storage Device (MSD) under a volume labelled 'BOOTLOADER'.
LED D5 will blink in orange on the board to acknowledge it is on bootloader mode.
3. Write CMSIS-DAP firmware and go
- Find the CMSIS-DAP firmware image (it likely to be called CMSIS-DAP.S19, or similar) in your disk
- Copy it onto this new volume, 'BOOTLOADER'
- Unplug the USB cable from the board, then plug it back in to power cycle the module
- You are now ready to connect to your board via DS-5 Debugger