Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: defragster

Search: Search took 0.01 seconds.

  1. Replies
    69
    Views
    17,215

    Using T_3.2 as above? PJRC code...

    Using T_3.2 as above?
    PJRC code ...\hardware\teensy\avr\cores\teensy3\kinetis.h is a working solution for reference.
  2. Replies
    69
    Views
    17,215

    Following up on Kurt's last - in case I...

    Following up on Kurt's last - in case I understand any of this - it seems like it is an attempt to prepopulate the RAM vector table to point to My_F()?

    But that vector table is only enabled after...
  3. Replies
    69
    Views
    17,215

    @M.Melani - re your PM - the notes about the...

    @M.Melani - re your PM - the notes about the debug library were to have any FAULTS caused by your attempts to code this captured and reported out to the Serial Monitor.

    I was assuming the Teensy...
  4. Replies
    69
    Views
    17,215

    @M.Melani - I see you visited debug post - and...

    @M.Melani - I see you visited debug post - and two folks have downloaded it. If you did and want to follow this path it will catch faults on bad code and dump the registers as Paul saw them that...
  5. Replies
    69
    Views
    17,215

    You might make use of the library I just posted -...

    You might make use of the library I just posted - :: LTO-Compile-Error

    Ignore the error and don't compile optimize with LTO.

    Hopefully the examples will show you logging the line number of the...
  6. Replies
    69
    Views
    17,215

    Which Teensy is being used - the code accounts...

    Which Teensy is being used - the code accounts for the changing layout of the interrupt vectors for each processor used.

    This table in ...\hardware\teensy\avr\cores\teensy3\mk20dx128.c sets up the...
  7. Replies
    69
    Views
    17,215

    In PJRC code the interrupt points to the...

    In PJRC code the interrupt points to the portc_isr() code above - any pin interrupt causes that function to be called. That function can be replaced in the primary interrupt address table.

    That...
  8. Replies
    69
    Views
    17,215

    See the link to the older less compact code in...

    See the link to the older less compact code in post #3 - it shows a functional and more readable evaluation
  9. Replies
    69
    Views
    17,215

    Not sure if this part was missed? >> All Pins on...

    Not sure if this part was missed?
    >> All Pins on a port trigger a single PORT interrupt for that port. The linked code then has to find the pin and jump to the function that was attached for that...
  10. Replies
    69
    Views
    17,215

    Indeed - not trivial to read - I was stymied...

    Indeed - not trivial to read - I was stymied getting to the last step before posting. But I know it is there without reading the manual. Which would also be required to begin to understand the...
  11. Replies
    69
    Views
    17,215

    PJRC has an efficient solution to catch the PORT...

    PJRC has an efficient solution to catch the PORT int and direct it to a given pin's _isr(). Finding and reading that code is the best answer and doc for the issue starting with attachInterrupt()
Results 1 to 11 of 11