MPC5516 VLE is not working in WinIDEA

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MPC5516 VLE is not working in WinIDEA

2,862 Views
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 Kudos
4 Replies

751 Views
dayve
NXP Employee
NXP Employee
Hey San,

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

David
0 Kudos

751 Views
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 Kudos

751 Views
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 Kudos

751 Views
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 Kudos