Andes Workshop

It is currently Sun Oct 22, 2017 5:12 pm

All times are UTC + 8 hours [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: nds32le-elf-gdb restore memory very slow
PostPosted: Wed Feb 15, 2017 4:24 pm 
Offline

Joined: Thu Apr 14, 2011 11:27 am
Posts: 13
Basically load command runs on bus mode and restore command runs on CPU mode.
Because restore command is too slow, new version restore will switch to bus mode automatically if checking some condition meet.
customer EVB may not meet such condition,and so restore command always run cpu mode and speed is very slow.
The following command can force restore command switch to load mode.

$ time nds32le-elf-gdb -ex "target remote:1111" -ex "monitor nds mem_access bus" -ex "restore 32K.bin binary 0x40000 0x0" --batch
[info] Loading .Andesgdbinit.
[info] .Andesgdbinit loaded.
0x0005438c in ?? ()
nds32.cpu0: No data cache
nds32.cpu0: Instruction cache disabled
Restoring binary file 32K.bin into memory (0x40000 to 0x48000)

real 0m0.774s
user 0m0.044s
sys 0m0.016s


Top
 Profile Send private message E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group