Hello,
I use the following code to initialize the FIQ Banked register.
;Initialization of fiq Time Out interrupt routine
;------------------------------------------------
cps #fiq_Mode ;Switch to FIQ mode (M = 10001)
ldr R8,$ScheStacktop ;R8_fiq = Top of the schedulers stacks
movr32 R9,#taskToutFrCt ;R9_fiq = address of the free running counter
cps #user_Mode ;Switch to System Mode (M = 11111)
$ScheStacktop .word spScheduler01 ;Top of the scheduler stack
This code works well with R4F processor.
But with R5F processor the value of the FIQ banked register disappear when the processor return in user mode.
Where is the problem?
Thanks a lot for your help
Jerome