PSoC >> PSoC Mixed-Signal Array

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

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: Print Post   Remind Me!   Notify Moderator  
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

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: Print Post   Remind Me!   Notify Moderator  
Pages: 1



Extra information
0 registered and 3 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: 826

Rate this topic

Jump to

Contact Us | Privacy statement HI-TECH Software

Powered by UBB.threads™ 6.5.5