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...
Type: Posts; User: M.Melani
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...
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...
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...
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...
I Agree ! I will try to do my best .
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...
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) ,...
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...
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...
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...
Yes I will . Already in process .
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...
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
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 .
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 . ...
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...
Thank you !
Of course , it is a beautiful creation ! Small and flexible , and super fast !
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...
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...
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...
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...
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...
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...
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...
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...
THANK YOU PAUL ! Appreciate !
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...
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...
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...
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...