FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [December 2016 Threads] LPC2378 freertosPosted by sachinwaghmode on December 6, 2016 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
LPC2378 freertosPosted by rtel on December 6, 2016 If you changed the start up code then you will probably have replaced
the vector table. Did you install the FreeRTOS interrupt handlers?
LPC2378 freertosPosted by sachinwaghmode on December 6, 2016 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​
LPC2378 freertosPosted by rtel on December 6, 2016 You need to install the FreeRTOS handlers. Just copy how it is done in the vector table defined in the start up file included in the project you used as a base.
LPC2378 freertosPosted by sachinwaghmode on December 6, 2016 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
LPC2378 freertosPosted by sachinwaghmode on December 6, 2016 I think you are right, you are talking about changes in port.c file where ISR handlers defined
LPC2378 freertosPosted by sachinwaghmode on December 7, 2016
LPC2378 freertosPosted by sachinwaghmode on December 7, 2016 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...​
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|