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

Search:

Type: Posts; User: M.Melani

Search: Search took 0.00 seconds.

  1. Replies
    69
    Views
    19,249

    Thank you KurtE, I did not know this thing: ""...

    Thank you KurtE, I did not know this thing:
    "" to use objdump to disassemble code and look to see the actual startup ... ""

    Dear Poul, the most correct question would have been: Excuse me, what...
  2. Replies
    69
    Views
    19,249

    since I learned to use structures and...

    since I learned to use structures and enumerators, I tried to set up base on kinetis.h, and base on other MK20DX256.h files.
    I believe that there must be a logical order of those instructions.
    For...
  3. Replies
    69
    Views
    19,249

    Guys I need help . After spending many hours...

    Guys I need help .
    After spending many hours reading a part of Joseph Yiu's book about M4 processor, I have to say that he often uses CMSIS-Core libraries in his examples, and completely ignores any...
  4. Replies
    69
    Views
    19,249

    While I wait for the book. I thought about using...

    While I wait for the book.
    I thought about using the IAR ARM version to understand the behavior of the registers in simulation mode.
    And to make a first program to turn on and off an LED, with two...
  5. Replies
    69
    Views
    19,249

    I Agree ! I will try to do my best .

    I Agree ! I will try to do my best .
  6. Replies
    69
    Views
    19,249

    Kurt , what i am trying to do , ( in the wrong...

    Kurt , what i am trying to do , ( in the wrong way for sure ) it is to read the address 0x000001A4 that it is the corresponding :
    VECTOR_105 // 0x0000_01A4 105 or IRQ 89 Port...
  7. Replies
    69
    Views
    19,249

    Hi Kurt , thanks for your advise . I am using...

    Hi Kurt , thanks for your advise .
    I am using Teensy 3.2 , and the Interrupt Vector is 105 , as the memory location should be 0x0000_01A4 .
    And since this memory is fix ( if it was not remapped) ,...
  8. Replies
    69
    Views
    19,249

    Paul , think easy , of course I read it , simply...

    Paul , think easy , of course I read it , simply I am trying to learn how to attach my Named function to an Interrupt directly in the memory of the array .Without using your work, but not because I...
  9. Replies
    69
    Views
    19,249

    Wait a minute .... interrupt vector are not...

    Wait a minute .... interrupt vector are not called from the other pins of port C if you not set the other pins to make it happen .
    In my example , Is fix to be for only one pin , so all the other...
  10. Replies
    69
    Views
    19,249

    Considering that I received the book in Thailand...

    Considering that I received the book in Thailand not before August 22nd, I'm trying to do MY point.
    There are three things we need to do in writing an ISR. These things are:

    initialize the...
  11. Replies
    69
    Views
    19,249

    Yes I will . Already in process .

    Yes I will . Already in process .
  12. Replies
    69
    Views
    19,249

    Yes , you right it is how it work . But I think...

    Yes , you right it is how it work .
    But I think I must study more , because words as _attribute , week , alias , i must clear first in my head.
    Hard fault happen if the IRQ it is abilitate but no...
  13. Replies
    69
    Views
    19,249

    And only then , when I will understand , I will...

    And only then , when I will understand , I will use the comfortable smart way of the final function attachedinterrupt .
    Because otherwise I will create even more empty holes in my brain...hahahah
  14. Replies
    69
    Views
    19,249

    Maybe it is _VectorsRAM , if so , this word do...

    Maybe it is _VectorsRAM , if so , this word do this job ( if I am not wrong ).
    That why Paul clearly suggest me to study the architecture and language .
  15. Replies
    69
    Views
    19,249

    I like your explanation , and it is work as you...

    I like your explanation , and it is work as you say , indeed it was already clear , that why I am looking for a direct call without using any pointers array table with enum or combined macro . ...
  16. Replies
    69
    Views
    19,249

    No , at 45 years old what student I can be ! It...

    No , at 45 years old what student I can be !
    It is only for the pleasure to understand Learning do not have age .
    It is not easy , I know it , but only because I didn’t get the gear jet .... but...
  17. Replies
    69
    Views
    19,249

    Thank you !

    Thank you !
  18. Replies
    69
    Views
    19,249

    Of course , it is a beautiful creation ! Small...

    Of course , it is a beautiful creation ! Small and flexible , and super fast !
  19. Replies
    69
    Views
    19,249

    Interrupt pin are not , but the portC it is or I...

    Interrupt pin are not , but the portC it is or I am wrong ?
    That address I post before it is of hardware because it start with 0x0000....
    So , ( I am trying to understand ) what the compiler...
  20. Replies
    69
    Views
    19,249

    I am sorry if seen my questions are ripetitive or...

    I am sorry if seen my questions are ripetitive or stupid .Or maybe I didn’t write so well English .
    Thanks for your explanation. Indeed the Void function portc_Isr it is a function for retrieves, so...
  21. Replies
    69
    Views
    19,249

    This are the definition and the Pointer to the...

    This are the definition and the Pointer to the function , right ?
    typedef void (*voidFuncPtr)(void);
    volatile static voidFuncPtr intFunc[CORE_NUM_DIGITAL];

    That accept the max PIN number base...
  22. Replies
    69
    Views
    19,249

    The ISR_Table was create to make our future work...

    The ISR_Table was create to make our future work easy ,programming easy , as for the macros well structured .
    But if i want to set only one interrupt , the manual tell me the memory location of...
  23. Replies
    69
    Views
    19,249

    It is true, very efficient , but it not easy to...

    It is true, very efficient , but it not easy to read . I believe all start from the enumerated Isr table vector , so each functions is related to the table ( number in sequence ) .
    But it should...
  24. Replies
    69
    Views
    19,249

    Hi guys !! I really need help ..... While...

    Hi guys !! I really need help .....

    While accelerating the study on function pointers, structures, Typedefinition, enumerators, I really have difficulty reconstructing the minimum system of use of...
  25. Replies
    69
    Views
    19,249

    As Paul post , previously , ...

    As Paul post , previously ,

    https://stackoverflow.com/questions/201101/how-to-initialize-all-members-of-an-array-to-the-same-value

    f your compiler is GCC you can use following syntax:

    int...
  26. Replies
    69
    Views
    19,249

    Hi everyone , Base on what i read over your...

    Hi everyone ,

    Base on what i read over your examples and complex function pointers , i replicate some functions , but for simple int array i got error on Arduino(Teensy) IDE as :
    "expected...
  27. Replies
    69
    Views
    19,249

    THANK YOU PAUL ! Appreciate !

    THANK YOU PAUL ! Appreciate !
  28. Replies
    69
    Views
    19,249

    Thank you Paul , you great ! I must study...

    Thank you Paul , you great !
    I must study Concatenation , never use it before .
    What about voidFuncPtr intFunc[CORE_NUM_DIGITAL] = { [0 ... CORE_NUM_DIGITAL-1] = dummy_isr };
    What is the meaning...
  29. Replies
    69
    Views
    19,249

    Beautiful this forum, thanks for your clear...

    Beautiful this forum, thanks for your clear answers ....
    Actually, a few months ago I was delighted on a Texas TM4C123GH6PM Cortex-M4 processor, which actually has the register for each pin.
    The...
  30. Replies
    69
    Views
    19,249

    Assigned IRQ interrupt to digital pin

    Hi guys,
    ( SORRY IF I DOUBLE POST , I AM NEW AND I MISTAKE FORUM )
    I hope someone more capable of me can help me solve this dilemma.
    I'm not a professional programmer so I apologize if my...
  31. Replies
    0
    Views
    599

    Assigned IRQ interrupt to digital pin

    Hi guys,
    I hope someone more capable of me can help me solve this dilemma.
    I'm not a professional programmer so I apologize if my question could be trivial.

    I am using Teensy 3.2 , great...
Results 1 to 31 of 31