Quantcast
Channel: Help!! IOPWR reset, unknown cause.
Browsing all 40 articles
Browse latest View live

Re: Help!! IOPWR reset, unknown cause. (DarioG)

In my opinion, since "EP" series by Microchip do have some subtle differences in instructions, this could be a matter of code...

View Article



Re: Help!! IOPWR reset, unknown cause. (Jack0Parks)

MBedderMake sure you have configured all unused pins as outputs. The pins which were left floating do readily grab the EMI which can easily cause resets and other unwanted effects especially on the...

View Article

Re: Help!! IOPWR reset, unknown cause. (maxruben)

Make a minimal version of the code and see if the problem persists. If it doesn't, you know it is your code. /Ruben

View Article

Re: Help!! IOPWR reset, unknown cause. (Jack0Parks)

maxrubenMake a minimal version of the code and see if the problem persists. If it doesn't, you know it is your code. /RubenI considered that, but what if the peripherals are causing this? I`m now...

View Article

Re: Help!! IOPWR reset, unknown cause. (BobAGI)

What kind of PCB are you using?2- or 4-layers?If you don't have an inner layer dedicated to ground and run all connections to gnd directly down to this plane you may have problems especially at high...

View Article


Re: Help!! IOPWR reset, unknown cause. (Jack0Parks)

OK. I did all the mentioned advice and added some of my own. I had 6 devices under test. Unfortunately 3 of them had the error again. They were all started at the same time, but the error of all three...

View Article

Re: Help!! IOPWR reset, unknown cause. (Jack0Parks)

Ok, I just succeed to run the code with no errors for more than 24hours now. I disabled all the interrupts, and handled the interrupt routines in the main loop. Since this device is much more faster...

View Article

Re: Help!! IOPWR reset, unknown cause. (T Yorky)

Hello Willp,I have been watching with interest your thread as I am going to be involved in updating to an EP product next year.I am concerned about the errata you have posted. Imagine buying your new...

View Article


Image may be NSFW.
Clik here to view.

Re: Help!! IOPWR reset, unknown cause. (Jack0Parks)

T YorkyHello Willp,I have been watching with interest your thread as I am going to be involved in updating to an EP product next year.I am concerned about the errata you have posted. Imagine buying...

View Article


Re: Help!! IOPWR reset, unknown cause. (NKurzman)

All interrupts have the auto_psv enabled and don't share in an unsafe way variables with the mainloop. are you changing the PSV?  If not you can leave it to Off.Stack Overflow? "unsafe"  careful here...

View Article

Re: Help!! IOPWR reset, unknown cause. (Jack0Parks)

NKurzmanAll interrupts have the auto_psv enabled and don't share in an unsafe way variables with the mainloop. are you changing the PSV?  If not you can leave it to Off.Stack Overflow? "unsafe"...

View Article

Re: Help!! IOPWR reset, unknown cause. (NKurzman)

"Nope, not changing the PSV. But not sure if compiler does it behind the scenes." Only is you are accessing PSV data like a const table.

View Article

Image may be NSFW.
Clik here to view.

Re: Help!! IOPWR reset, unknown cause. (Jack0Parks)

So, after some more days testing concurrent with an RealICE, we found out that every time the crash happens, the trace call leads us to a random mainloop/background function executing an return in...

View Article


Re: Help!! IOPWR reset, unknown cause. (maxruben)

Have you tried with different compiler versions? /Ruben

View Article

Re: Help!! IOPWR reset, unknown cause. (RISC)

Hi,As you have a real-Ice I suggest you set a data breakpoint on a write of a specific value in RAM.Maybe you can try to set a breakpoint when the word 0xFA52 gets written into the memory 28D6.If I...

View Article


Re: Help!! IOPWR reset, unknown cause. (Jack0Parks)

maxrubenHave you tried with different compiler versions?/RubenJust did this weekend. I updated to the latest XC version. However, Just found out that the same problem occurs. RISCHi,As you have a...

View Article

Re: Help!! IOPWR reset, unknown cause. (Jack0Parks)

OK, I got this bug fixed -> YAY! <- It was not the microcontroller that was causing the error! It was an user application error. Some details: We make use of an external CANbus controller...

View Article


Re: Help!! IOPWR reset, unknown cause. (maxruben)

Are you sure that the CAN controller actually is sending the wrong data since this didn't happen when you where running without interrupts? Perhaps you are only fixing some of the effects from the...

View Article

Re: Help!! IOPWR reset, unknown cause. (Jack0Parks)

maxrubenAre you sure that the CAN controller actually is sending the wrong data since this didn't happen when you where running without interrupts? Perhaps you are only fixing some of the effects from...

View Article

Re: Help!! IOPWR reset, unknown cause. (maxruben)

You probably already know this, but - Be especially aware of non atomic operations in shared registers (such as interrupt flag registers and ports/lats). If the operation isn't atomic, and interrupted...

View Article
Browsing all 40 articles
Browse latest View live




Latest Images