avr-chat
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-chat] Dragon: mega slow at dumping Flash, normal ?


From: Joerg Wunsch
Subject: Re: [avr-chat] Dragon: mega slow at dumping Flash, normal ?
Date: Mon, 29 Jun 2009 21:37:53 +0200 (MET DST)

Vincent Trouilliez <address@hidden> wrote:

>> If you instead look at the hex dump of the .bin file, you'll be
>> much faster. ;-)

> Mmpf... my make file doesn't create that file it seems.

Than make a makefile that does it. ;-)

All you have to do is replacing the -O ihex by -O binary in the
avr-objcopy command.

> How do you create this hex dump automatically from the makefile,
> when compiling ?

I don't.

> And most importantly... is it actually formatted like the terminal
> mode in avrdude ?

That's the "classical" layout for a hexdump, I'd say.  That would
be an example:

% hd lcmeter.bin | head -20
00000000  0c 94 04 01 0c 94 2d 01  0c 94 2d 01 0c 94 67 01  |......-...-...g.|
00000010  0c 94 2d 01 0c 94 2d 01  0c 94 2d 01 0c 94 2d 01  |..-...-...-...-.|
00000020  0c 94 2d 01 0c 94 2d 01  0c 94 2d 01 0c 94 43 01  |..-...-...-...C.|
00000030  0c 94 2d 01 0c 94 2d 01  0c 94 2d 01 0c 94 2d 01  |..-...-...-...-.|
00000040  0c 94 2d 01 0c 94 2d 01  0c 94 f3 01 0c 94 2d 01  |..-...-...ó...-.|
00000050  0c 94 2d 01 0c 94 2d 01  0c 94 2d 01 0c 94 2d 01  |..-...-...-...-.|
00000060  0c 94 8e 01 0c 94 2d 01  0c 94 2d 01 0c 94 2d 01  |......-...-...-.|
00000070  0c 94 2d 01 0c 94 2d 01  0c 94 2d 01 0f 08 18 18  |..-...-...-.....|
00000080  18 08 0f 00 0f 08 1b 1b  1b 08 0f 00 1f 00 00 00  |................|
00000090  00 00 1f 00 1f 00 03 03  03 00 1f 00 1f 00 1f 1f  |................|
000000a0  1f 00 1f 00 1f 01 1d 1d  1d 01 1f 00 1f 01 01 01  |................|
000000b0  01 01 1f 00 02 05 05 06  00 01 05 05 06 00 01 04  |................|
000000c0  05 06 00 01 03 05 06 00  01 03 04 06 00 01 03 03  |................|
000000d0  06 00 01 03 03 07 00 20  20 20 20 20 20 20 4c 43  |.......       LC|
000000e0  20 4d 65 74 65 72 00 20  20 20 20 20 20 20 20 44  | Meter.        D|
000000f0  4c 38 44 54 4c 00 43 61  6c 69 62 72 61 74 69 6e  |L8DTL.Calibratin|
00000100  67 2e 2e 2e 00 6e 61 6e  00 69 6e 66 00 00 40 7a  |address@hidden|
00000110  10 f3 5a 00 a0 72 4e 18  09 00 10 a5 d4 e8 00 00  |.óZ. rN....¥Ôè..|
00000120  e8 76 48 17 00 00 e4 0b  54 02 00 00 ca 9a 3b 00  |èvH...ä.T...Ê.;.|
00000130  00 00 e1 f5 05 00 00 80  96 98 00 00 00 40 42 0f  |address@hidden|

-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]