Hi pgo, thanks for your time.
I've git pull'd and got commit 4bc668a8f7686085149e283f7ee288ce4890b9f6, then re-built after a "make -f Makefile.mk clean", and observe the same behaviour. I also stuck a "DEBUG := Y" at the top of Common.mk and re-built, and that gave me lots of ...-debug executables with debug symbols, but no logging? Is there logging that can be enabled? No ~/.usbdm directory is being created.
The output from either version is still
(usbdm:29198): Gtk-WARNING **: gtk_disable_setlocale() must be called before gtk_init()
12:32:27: Debug: Adding duplicate image handler for 'Windows bitmap file'
I can see with strace(8) that it's sitting in poll(2) waiting for input on file descriptors 3 and 4. 3 is a connection to the local X server, 4 is for events with eventfd(2). It never gets anything, and there is no timeout set. A stack backtrace at that point:
#0 0x00007f5f2eab7c20 in __poll_nocancel () from /usr/lib/libc.so.6
#1 0x00007f5f2de80f7c in ?? () from /usr/lib/libglib-2.0.so.0
#2 0x00007f5f2de81302 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#3 0x00007f5f2e4c64e7 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#4 0x00007f5f30c39165 in wxGUIEventLoop::DoRun() () from /usr/lib/libwx_gtk2u_core-3.0.so.0
#5 0x00007f5f30171223 in wxEventLoopBase::Run() () from /usr/lib/libwx_baseu-3.0.so.0
#6 0x00007f5f30136306 in wxAppConsoleBase::MainLoop() () from /usr/lib/libwx_baseu-3.0.so.0
#7 0x00007f5f301c31e0 in wxEntry(int&, wchar_t**) () from /usr/lib/libwx_baseu-3.0.so.0
#8 0x000000000045378a in main (argc=1, argv=0x7fffb0f2a2d8) at src/FlashProgrammerApp.cpp:107
I'm a bit stuck how to debug this. I know C, not C++, X Windows, but not wxWidgets, and really just want a command-line programmer for the MCF51AC256. :-) How do I go about forming a simple UsbdmScript Tcl script to do that?
Cheers, Ralph.