Re: ZDOFW

View: New views
2 Messages — Rating Filter:   Alert me  

Parent Message unknown Re: ZDOFW

by Daniel Drake :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Openschemes wrote:
> I'm working with your ZDOFW disassembler.  What type of input file is
> it expecting?  I have raw binary dumps of the ZD1211 (0xEE00) but the
> output is minimal: Less that what I can determine disassembling by
> hand.
>
> Can you shed any light here?  Thanks!

Please send questions to the list.

zdofw-dis works on the usual firmware distribution that the driver
loads. See the roundtrip target in the makefile for an example.

Daniel

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Zd1211-devs mailing list - http://zd1211.wiki.sourceforge.net/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs

Re: ZDOFW

by openschemes :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I believe there is a small bug in zdofw-dis.c.  Firmware file should be read in binary mode, otherwise the disassembly craps out after word 97 from what I've found.  

The proposed edit is on Line 671:

Change:
        in = fopen(argv[optind], "r");

To:
        in = fopen(argv[optind], "rb");


BTW - very nice work!
LightInTheBox - Buy quality products at wholesale price