You are not logged in. [
Login
]
Main Index
|
Search
|
Active Topics
|
New user
|
Who's Online
|
FAQ
PSoC
>>
PSoC Mixed-Signal Array
Previous
Index
Next
Threaded
Pages: 1
srg
stranger
Reged: May 09 2008
Posts: 1
ljmp to interrupt handler do not placed @ address
#
55342
- Fri May 09 2008 12:34 PM
Edit
Reply
Quote
Quick Reply
Hi!
In C source the following handler is declared :
interrupt void isr_sleeptimer(void) @ 0x64
--------
The lst file is correct :
861 7FD6 __end_of_isr_sleeptimer:
862
863 psect vectors
864 0064 org 0x64
865 0064 7D 7FBD ljmp _isr_sleeptimer
--------
But the same location is used by boot.asm (generated in PSOC DESIGNER from boot.tpl).
There is no warning or error and in hex file the code from boot.asm. So the isr_sleeptimer handler do not called by respected event.
The workaround is to comment the hendler (@ 0x64 in the boot template) or manually add ljmp _isr_sleeptimer into the boot.tpl
BR,
Sergey.
Post Extras:
alager
Tester - PRO for PSoC
Reged: Aug 02 2007
Posts: 47
Re: ljmp to interrupt handler do not placed @ address
[Re:
srg
]
#
56242
- Thu May 15 2008 06:46 PM
Edit
Reply
Quote
Quick Reply
This sounds like you don't have that interrupt enabled. If you only declare the function, it'll appear in the correct location, but the interrupt needs to be turned on in order for the function to be called.
Aaron
Post Extras:
Pages: 1
Previous
Index
Next
Threaded
Extra information
0 registered and 0 anonymous users are browsing this forum.
Moderator:
ndouglas
,
Dan Henry
,
jtemples
,
jeff
,
Andrew L
,
mikerj
,
dave g
,
meisty
,
josh stevo
Print Topic
Forum Permissions
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Rating:
Topic views: 825
Rate this topic
Choose rating
1 star
2 star
3 star
4 star
5 star
Jump to
*HI-TECH Software Online Forums* -----
Forum help, feedback or general chat
Test Forum
*General Forums* -----
Announcements
General Programming
Interesting Projects and Tutorials
Market Place
*HI-TIDE* -----
HI-TIDE
*PICmicro & dsPIC* -----
PICmicro & dsPIC
Source Share for PICmicro & dsPIC
PIC F.A.Q. (Frequently Asked Questions)
PIC W.I.P. (Work In Progress)
*PSoC* -----
PSoC Mixed-Signal Array
HI-TECH C for the PSoC Mixed-Signal Array: F.A.Q. (Frequently Asked Questions)
*ARM* -----
ARM
*MSP430* -----
MSP430
*8051* -----
HI-TECH C PRO for the Silicon Labs 8051 MCU Family
*Other HI-TECH Compilers & Products* -----
Other HI-TECH Compilers & Products
8051 Legacy Compiler
Contact Us
|
Privacy statement
HI-TECH Software
Powered by UBB.threads™ 6.5.5