2018-03-23 05:11 AM
I ported u-boot 2018.03 to my own board based on stm32f767igt,i set some register with systick timer as below:
as the above picture, the systick timer count is changed,but i couldn't get in systick handler?besides register on 0xe000e010,is there some other registers will influence systick timers performance??I get confused ...
Solved! Go to Solution.
2018-03-23 05:59 AM
Vector Table Address
Entry in Vector Table
Other interrupts with higher priority blocking
System Handler settings in SCB
Interrupts Disabled
2018-03-23 05:59 AM
Vector Table Address
Entry in Vector Table
Other interrupts with higher priority blocking
System Handler settings in SCB
Interrupts Disabled
2018-03-23 07:56 AM
I solved this problem,as your advice .I check my scb relate register status :
i find systick is always pending , then i thought my systick handler function waste too long time ,so i remove much codes in the handler.then i found it's still pending,after i check shcrs register, i notice i set bit 11 before.after i remove thie code,the handler is ok.no pending as below
2018-03-28 05:22 AM
'
after i remove thie code...'
lesson learned here: it is stupid not to post the code when looking for help in debugging the said code.
2018-03-28 05:57 AM
en,it's my mistake.i forget to add this line code ,the line code i delete just like below
*(volatile unsigned int *)0xE000ED24 |= (1 << 11);this code is around systick init code,just before systick init code.it's meaning systick is actived before systick is enable.So after i delete this line code,systick function is ok.thanks for your advice。