Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 4923

PROTEUS showing Stack overflow error

$
0
0
I wanted to generate a delay of 1ms by using PIC18F2550 Timer0 Interrupt Service Routine using MIKROC for pic
when i tried to simulate this in PROTEUS, i got some errors

[PIC18 STACK] PC=0x0038. Stack overflow is forcing device reset. [U1]


Here is my code..
Code (C):
  1. //Timer0, Prescaler 1:8; TMR0 Preload = 6; Actual Interrupt Time : 1 ms//
  2. #define Pulse LATB
  3.  
  4.  
  5. /***************Interrupt Service Routine for Timer1******************/
  6. void interrupt_Timer0_ISR()
  7. //void...


PROTEUS showing Stack overflow error

Viewing all articles
Browse latest Browse all 4923

Trending Articles