Update: on windows, and Mac, I have been unable to configure OpenOCD to connect to target. I am able to compile on both the OS. On windows I followed the suggestion to start the OpenOCD server before trying to attach, but to no avail
Resolved this for Mac:
How to Build and Debug Projects
You need to follow all the instructions in the document titled "Using the FX3 SDK under Mac OS, Version 1.3.3"
Pro Tip #1: After importing Projects into Eclipse, add the Build Environment Variables viz FX3_INSTALL_PATH, ARMGCC_VERSION in the Project specific C/C++ Build settings
Build the Project
Ensure the USB Serial Debugger chip is detected by Mac. It will be a tty.usbmodem device under /dev
Refer to the Document "EZ-USB Suite User Guide, Version 1.3.3"
You will find instructions pertaining to building OpenOCD for Mac
Once it is built, drive to the install location on terminal.
Replace ../config/arm926ejs_FX3.cfg with attached (rename from .txt to .cfg before replacing) This will take care of disabling Fast Memory Access
Launch the OpenOCD manually using the command:
./openocd -c gdb_port 3333 -c telnet_port 4444 -f ../Config/arm926ejs_FX3.cfg
In the Eclipse Debug options, un-check the Launch OpenOCD locally. This will ensure, you will connect to already running process
arm926ejs_fx3_1.txt.zip 759 bytes