I'm flashing an MPC5777M on on own board design for the first time and seeing the pop up window below each time.
Is this a sign that I have something wrong on the board or another issue? I'm seeing this after entering debug from S32 Design Studio. I'm using a PE Multilink Universal to interface. Once I cycle power it SEEMS to finish flashing, but then I get another error shown below. I'm not sure if the issues are related or separate.
if you use MPC5777C EVB at first check LED D2. If the LED is off, then micro is not in escalation reset and there is a problem with S32DS (this option is most probable).
Second step is exit S32DS and switch to the Windows task manager and kill processes s32de.exe and power-pc-eabivle-gdb.exe. Try again to connect to the micro.
If the steps above will not fix the issue, please write me back and clarify me these points:
1) Cut of the micro
2) Did you create single or multi core project?
I am not using an evaluation board. This is a simple breakout board of my own design as a first prototype for a university capstone project. It's not my first board design, but it is entirely possible I did something wrong with the board design such as not supplying enough current..... I'm currently supplying 200 mA each on the 1.3V and 3.3V supplies and up to 1.5A on the 5V. I'm using a 40 MHz crystal oscillator.
I am actually trying to enter debug from within S32DS. However, I shut those processes down, restarted S32DS and tried again. I even added a 250 ms delay into the debug settings just as Stanislav suggested. I see the same error. Below is what my debug settings look like.
Below is the micro info from the NXP invoice:
I am trying to use multi-core and I am doing all my cpu configuration on the z4 peripheral core before starting the other cores.
After taking the screen shot of the debug settings, I noticed that the port was not showing up. This persisted even if I clicked Refresh. I saw the driver load when I plugged in the USB Multilink and confirmed it was recognized in my device manager as shown below. Maybe this could be part of the problem?
I have updated drivers for PE Micro. Results below.
I have also added an external power supply to the 1.3V bus to rule out power issues.
After adding the external power I seem to be getting the reset escalation error less often, but I seem to be getting several different other errors seemingly random. I've included screen shots of the errors I'm getting. Sometimes they occur and sometimes they don't. I am pretty sure I have not been able to actually get my program to run at all. I thought I was starting off simple by just setting up a single pad, T15, to toggle. The associated SIUL register never changes from default even though I have the line:
|SIUL2_MSCR_IO_288 = 0x12380000;||/* Set PT15 to GPIO */|
I'd appreciate any help in getting pointed in the right direction.
I am starting to be little bit helpless. I have consulted this issue with my colleague and it seems it could be some hardware problem. Because we do not have your hardware, we are not able to replicate the issue to investigate it deeper. Are you able to use NXP EVB? Do you have any other debugger (for example Lauterbach)? This could exclude or confirm hardware problem.