pic18f4550 hangs.. RX_INT DT_INTS-18.. please help


Closed Thread
Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Jul 2011
    Posts
    21


    Did you find this post helpful? Yes | No

    Default Re: pic18f4550 hangs.. RX_INT DT_INTS-18.. please help

    Hi Henrik,

    Thanks for reply. i am sorry i mean interrupt vector

    i have written my own code similar to bootloader using PBP and DT-INTS. this is what happens, it first receive firmware from USB and writes it to external EEPROM, then read it and reprogram flash and jump to the new firmware (@goto). Now i think my issue is when an interrupt occurs in the new firmware it looks into bootloader interrupt vector for corresponding routine to execute, since no reference exists there it hangs/resets. if somehow i can put new interrupt vector then i think problem would be solved.
    i would really appreciate any suggestions
    thank you

  2. #2
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,624


    Did you find this post helpful? Yes | No

    Default Re: pic18f4550 hangs.. RX_INT DT_INTS-18.. please help

    Oh! Yeah, that's a bit of a difference....
    The interrupt vectors are as far as I know something defined in the hardware of the chip itself. Location 0x0008h is the high priority interrupt vector and 0x0018h is the low priority interrupt vector. I don't see any way to change that.

    Are both your bootloader AND the application using DT-INTS? I have no idea how that should/would/could work....

    /Henrik.

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts