Andes Workshop

It is currently Thu Mar 28, 2024 11:08 pm

All times are UTC + 8 hours [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: load code到ILM裡執行
PostPosted: Tue Dec 13, 2011 12:50 pm 
Offline
User avatar

Joined: Fri Mar 04, 2011 9:36 pm
Posts: 500
使用MCU Program Debug:
要將Reset-and-Hold打勾,
並將下列指令打入:
set $ilmb=0x1
restore E:\Andestech\AndeSight200MCU\mcu\workspace\demo-ls1\Debug\output\demo-ls1.bin binary 0x0

set $ilmb=0x1 這一行是將ILM的base設在0x0,並且Enable。
Attachment:
ilm1.gif
ilm1.gif [ 31.95 KiB | Viewed 9081 times ]


可以用這一篇的code試試
viewtopic.php?f=18&t=204
Attachment:
demo-ls1-dlm-nosdram.zip [83 KiB]
Downloaded 836 times

原本這裡要放到flash,現在改成直接放到ILM裡。
當user的design是EILM上掛flash時,可以直接使用這個code。


Top
 Profile Send private message E-mail  
 
 Post subject: Re: load code到ILM裡執行
PostPosted: Wed Dec 28, 2011 6:54 pm 
Offline
User avatar

Joined: Fri Mar 04, 2011 9:36 pm
Posts: 500
修正後的ICEman可以直接load code到ILM裡面。

因為我的板子上沒有enable reset。
所以我先用gdb enable ILM,然後才load code。
如下圖,使用MCU debug。
Attachment:
ilm_debug.gif
ilm_debug.gif [ 10.07 KiB | Viewed 9023 times ]


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

All times are UTC + 8 hours [ DST ]


Who is online

Users browsing this forum: Google [Bot] and 20 guests


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