MPC5516 VLE is not working in WinIDEA

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

MPC5516 VLE is not working in WinIDEA

2,994 次查看
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 回复数

883 次查看
dayve
NXP Employee
NXP Employee
Hey San,

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

David
0 项奖励
回复

883 次查看
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 项奖励
回复

883 次查看
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 项奖励
回复

883 次查看
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 项奖励
回复