|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
problem in running 'Hello_fl' example by codewarrior 8.7Hi,
I'm trying to run Hello_Fl(latest version) example on a PHYCORE MPC555 with CW8.7, but after making the project when I try to debug,an error occurred(Could not set PC on entry point). I change the entry point of project in EPPC Linker(__start) to main but it doesn't work too.examine different states of debugger setting so,but each time the error occur ed. I set my printer port on normal mode and use MSIWiggler(Parallel port) and everything in setting page is default or set by example project. Some times it goes through and make an powerpc exception error: 'powerpc exception machine check exception 0X200' I think the addresses of the project aren't correct. {FPU Buffer address :0x10000000 Code address :0x10002000 Stack Address :0x100FFFF0 } Thanks in advance for all your replies. F.Kh |
|
|
RE: problem in running 'Hello_fl' example by codewarrior 8.7Keep the entry point at __start. When the debugger enters there, select
'mixed' mode so you can confirm if the source assembly is actually stored. In addition, under target settings in the debugger portion, select the checkbox for 'verify memory writes'. If the verify fails or you don't see your disassembled code in the debugger, then the code is not loading correctly - this is likely caused by having the linker assemble to the wrong address. On the subject of wrong address, please check you have memory at 0x10000000. This must be external RAM, correct? If so, please ensure the config file is correctly setting up a chip select for this memory. Maybe take a step back and try something easier i.e. under 'debug' tab, select connect to test if the wiggler is correctly communicating with the device. If it appears to connect, open a memory window at internal RAM and test you can read an write data. I don't know exactly what the connect does, but if it runs the config file, you should also be able to read/write the external RAM at 0x10000000. If it doesn't execute the config file, then view the registers and edit the BRx/ORx to enable the chip select x until you get your memory setup correctly. I am not familiatr with the board or project you are running - if its external flash, you have to ensure your flash programmer is correctly setup which is an additional step to aim for once you verify you can connect. - Allan ________________________________ From: MPC500@... [mailto:MPC500@...] On Behalf Of F KH Sent: Friday, January 02, 2009 11:07 PM To: MPC500@... Subject: [MPC500] problem in running 'Hello_fl' example by codewarrior 8.7 Hi, I'm trying to run Hello_Fl(latest version) example on a PHYCORE MPC555 with CW8.7, but after making the project when I try to debug,an error occurred(Could not set PC on entry point). I change the entry point of project in EPPC Linker(__start) to main but it doesn't work too.examine different states of debugger setting so,but each time the error occur ed. I set my printer port on normal mode and use MSIWiggler(Parallel port) and everything in setting page is default or set by example project. Some times it goes through and make an powerpc exception error: 'powerpc exception machine check exception 0X200' I think the addresses of the project aren't correct. {FPU Buffer address :0x10000000 Code address :0x10002000 Stack Address :0x100FFFF0 } Thanks in advance for all your replies. F.Kh [Non-text portions of this message have been removed] |
| Free embeddable forum powered by Nabble | Forum Help |