Trying to convert LPC2129 port rtos code to PLC2378(using keil compiler), for that i changed project startup file and all neccessary changes i did (means changing header file and IC name in project),but still its not working, when i am trying to run code then it hangs at DABt Handler instruction in startup file whose PC=0x0000004C so please suggest to come out of this problem
If you changed the start up code then you will probably have replaced the vector table. Did you install the FreeRTOS interrupt handlers?
Thank you for quick responce This is already available in startup file so i think thereis no need to add interrupt handler still if you suggest to add interrupt handler then please guid me with few words in that way
Vectors LDR PC, ResetAddr
LDR PC, UndefAddr
LDR PC, SWIAddr
LDR PC, PAbtAddr
LDR PC, DAbtAddr
NOP ; Reserved Vector
; LDR PC, IRQAddr
LDR PC, [PC, #-0x0120] ; Vector from VicVectAddr
LDR PC, FIQ_Addr
ResetAddr DCD ResetHandler UndefAddr DCD UndefHandler SWIAddr DCD SWIHandler PAbtAddr DCD PAbtHandler DAbtAddr DCD DAbtHandler DCD 0 ; Reserved Address IRQAddr DCD IRQHandler FIQAddr DCD FIQHandler
UndefHandler B UndefHandler SWIHandler B SWIHandler PAbtHandler B PAbtHandler DAbtHandler B DAbtHandler IRQHandler B IRQHandler FIQHandler B FIQHandler
; Reset Handler
EXPORT Reset_Handler
Reset_Handler​
and one more thing LPC 2129 Demo code is working and same code i am converting in LPC 2378 in same compiler so i think there should not be interrupt handler issue
I think you are right, you are talking about changes in port.c file where ISR handlers defined
when i am debugging i found after scheduler start program hangs at "DAbt handler" i think it means tick is not working properly so i checked interrupt vector add tables for LPC2129 and LPC2378 and timer initialization also but i am not able to trace exact problem so please help...​