![]() For example I have this:Ĭ:\nxp\KDS_3.2.0\eclipse\./segger/JLinkGDBServerCL -if swd -device MK64FN1M0xxx12 -endian little -speed 1000 -port 2331 -swoport 2332 -telnetport 2333 -vd -ir -localhostonly 1 –s On KDS you can find them in the arm-none-eabi-gdb properties inside the Debug view (see Eclipse and GDB: Process Properties, Arguments and GDB Traces | MCU on Eclipse ). I don't have a Mac, but if it works for KDS, but not for MCUXpresso, I suggest to have a look at the start parameters for GDB. At least I have found it in a OpenOCD post ( OpenOCD - Open On-Chip Debugger / Mailing Lists ). So maybe your machine somehow is not as fast than others, then it causes the problem (I think). The gdb error "Unknown remote qXfer reply: OK" seems to be related to a timeout of GDB. KDS has Other options, plus commands, while in MCUX there is no place to enter commands and options. If I do everything from the command line, by providing "target remote localhost:2331", etc to arm-none-eabi-gdb, debugging is fine.Īlso KDS's GDB Client Setup is more flexible than MCUX GDB Client Settings. \"show configuration\" for configuration details."Ģ80,938 ~"\nFor bug reporting instructions, please see:\n"Ģ80,938 ~"Find the GDB manual and other documentation resources online at:\n.\n"Ģ80,938 ~"Type \"apropos word\" to search for commands related to \"word\".\n"Ģ80,939 3-environment-cd /Users/xxx/tmp/workspaces/mcuxpresso/frdmk22f_hellodemo_apps_hello_worl\Ģ80,943 6-gdb-set python print-stack noneĢ80,944 8-gdb-set print sevenbit-strings onĢ80,946 9^error,msg="Cannot convert between character sets `UTF-32' and `ISO-8859-1'" Type \"show copying\"\nand \"show warranty\" for details.\n"Ģ80,938 ~"This GDB was configured as \"-host=x86_64-apple-darwin10 -target=arm-none-eabi\".\nType \ J-Link GDB server connected successfully to the board, and started listening to localhost port 2331.īut arm-none-eabi-gdb didn't send the following command (existed in KDS):Īnd as a result MCUX aborts the debugging, shows a misleading message of "Cannot get Jtag device".Ģ80,937 ~"GNU gdb (GNU Tools for ARM Embedded Processors) 7.1204-git\n"Ģ80,938 ~"Copyright (C) 2016 Free Software Foundation, Inc.\n"Ģ80,938 ~"License GPLv3+: GNU GPL version 3 or later \nThis is fre\Į software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitt\Įd by law. See the attachment jlink_setting.png for the debugger setup. I tried the suggestion to delete existing debug configuration and recreate one from Quickstart panel as the following discussion, but it didn't help: It seems MCUX doesn't provide proper commands to arm-none-eabi-gdb. It can be used free of charge for educational and non-commercial purposes, without requirement to register.On OSX by using the same FRDM-K22F board and Onboard OpenSDA/J-Link, with KDS 3.2 I can debug w/o problem, but with MCUXpresso 10 I can't. ![]() Embedded Studio can be easily downloaded from and fully evaluated without code size, feature or time limit. ![]() The new implementation is tested and ready-to-go with J-Link GDB Server, OpenOCD, as well as ST-LINK GDB Server on Windows. The GDB Server software is executed in a separate process and thus does not affect the stability of Embedded Studio. Port number, host and protocol features are configurable for maximum flexibility. This new feature is included in all editions: ARM, Cortex-M, and RISC-V, on Windows, macOS, and Linux 32- and 64-bit platforms.Įmbedded Studio can automatically launch the 3rd party GDB Server upon starting a debug session, keeping debugging easy and convenient. The new version can now be used with any debug probe that comes with a GDB Server. SEGGER Embedded Studio V4.20 adds fully configurable support for debug probes using the GDB protocol.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |