You're right. Yes, the problem comes from the file conversion. So the converter need to be fixed.
Thanks Dave. ----- Original Message ----- > On Thursday 29 October 2009, Jerry Ling wrote: >> Thanks for improving the way to load debug handler... >> >> However, I got a problem while doing the bin2char conversion under Cygwin >> $ bin2char xscale_debug_handler < debug_handler.bin > xscale_debug.h >> >> It treats the character "0x1A" as the EOF. So it stopped converting at >> offset 0x22 of debug_handler.bin. >> Anyway, it works perfectly and doesn't make such mistake under my Linux >> environment. >> >> Is there a solution for Cygwin? > > Sure. Modify "bin2char" so it doesn't use stdin, but uses > a file name. Open it in "binary" mode, or whatever Windows > needs. Change how this is invoked, and how the setup.tcl > stuff is done too. > > Sound right? > > - Dave -- This message has been scanned for viruses and dangerous content by Draytek E-mail System, and is believed to be clean. _______________________________________________ Openocd-development mailing list [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
