This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

about GDB download speed.


hello, everybody,

    (sorry about my last mail.)
    I have ported redboot to an ARM board with a FLASH
ROM in 0x00000000, and the redboot is running in ROM
mode. Debug function is OK, and the tftp download
speed is about 3 M bps. But the GDB download speed is
only about 75 K bps. 
    I have read the mail talking about speed up the
GDB download speed, and modified the packet size of
redboot GDB stub to 20K bytes, 

(generic-stub.c)
// #define BUFMAX 2048
#define BUFMAX 20480

and set the GDB with the following command in the
console:

    set download-write-size 20000
    set remote memory-write-packet-size 20000
    set remote memory-write-packet-size fixed

    Why the speed is still so slow, does the mode of
run in ROM effect? BTW, I have never enabled the cache
of the CPU, does this effect?
    Any suggestion is appreciated.

Best Reguards
Rich


_________________________________________________________
Do You Yahoo!? 
惠普TT游戏剧,玩游戏,中大奖!
http://cn.rd.yahoo.com/mail_cn/tag/SIG=1402c0to2/**http%3A%2F%2Fhp.allyes.com%2Flaserjet%2Fgamestory%2Findex.html%3Fjumpid%3Dex_hphqapcn_MongooseLJ1010%2F201073CN407016%2FYahoo

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]