MPC5516 VLE is not working in WinIDEA

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

MPC5516 VLE is not working in WinIDEA

3,270件の閲覧回数
San72
Contributor I
Hi,
 
I am using WinIDEA to debug my code on MPC5516EVB. Though the compiler generates the VLE code for my application I'm not able to test it. The start up code itself is not working for me. In the debugger initialization file i'm using the following steps
 
// Setup TLB3 (RAM) for VLE)
S "SPR":smileysad:270) L 0x10030000 // MAS0 configured for TLB3
S "SPR":smileysad:271) L 0xC0000400 // MAS1 (256K area)
S "SPR":smileysad:272) L 0x00000020 // MAS2 (Cache inhibit, VLE)
S "SPR":smileysad:273) L 0x4000003F // MAS3
I 7C0007A4 // tlbwe
 
But still its not working.
 
If anybody has already worked on it please gimme ur suggestions.
 
regards,
san
0 件の賞賛
返信
4 返答(返信)

1,159件の閲覧回数
dayve
NXP Employee
NXP Employee
Hey San,

Are you using the latest version of iSystem? Also what compiler are you using?

David
0 件の賞賛
返信

1,159件の閲覧回数
tyc
Contributor I
I am go try to get up MPC5516EVB up and running as well with winIDEA. Is there any gotcha that I should looking out for?

Many thanks,
tyc
0 件の賞賛
返信

1,159件の閲覧回数
CrasyCat
Specialist III
Hello
 
If you are running your application on WinIDEA, you need to get initialized variables copied from ROM to RAM at startup.
 
You need to create a ROM Image in that purpose. There is a FAQ around that on Freescale Web site.
Go to www.freescale.com and search for FAQ-27789.
 
I hope this helps a bit.
 
CrasyCat
0 件の賞賛
返信

1,159件の閲覧回数
tyc
Contributor I
I have found that the standard compiler that comes with WinIDEA does not generate code for VLE. You may have to use a different compiler, such as Metrowerks, for VLE.
0 件の賞賛
返信