Search found 6 matches
- Thu Oct 25, 2018 12:41 pm
- Forum: Astrobe for ARM Cortex-M0, M3, M4 and M7
- Topic: SYSTEM function for special register
- Replies: 7
- Views: 37077
Re: SYSTEM function for special register
This way round, it's rather tedious for every special register but okay, I understand.
- Thu Oct 25, 2018 10:44 am
- Forum: Astrobe for ARM Cortex-M0, M3, M4 and M7
- Topic: SYSTEM function for special register
- Replies: 7
- Views: 37077
Re: SYSTEM function for special register
An application related example, is the global interrupt en/disable set in the PRIMASK register.
- Thu Oct 25, 2018 10:42 am
- Forum: Astrobe for ARM Cortex-M0, M3, M4 and M7
- Topic: SYSTEM function for special register
- Replies: 7
- Views: 37077
Re: SYSTEM function for special register
I'm developing on a bare metal M4 target (Apollo-2).
According to ARM prog. manual all the registers " APSR, IPSR, EPSR, IEPSR, IAPSR, EAPSR, PSR, MSP, PSP, PRIMASK, BASEPRI, BASEPRI_MAX, FAULTMASK, or CONTROL" are MSR /MRS accessible only , so quit alot ...
According to ARM prog. manual all the registers " APSR, IPSR, EPSR, IEPSR, IAPSR, EAPSR, PSR, MSP, PSP, PRIMASK, BASEPRI, BASEPRI_MAX, FAULTMASK, or CONTROL" are MSR /MRS accessible only , so quit alot ...
- Thu Oct 25, 2018 10:26 am
- Forum: Astrobe for ARM Cortex-M0, M3, M4 and M7
- Topic: SYSTEM function for special register
- Replies: 7
- Views: 37077
Re: SYSTEM function for special register
Yes I know, but why there exists a convenient SYSTEM.VMSR() function but not a more useful SYSTEM.MSR() ?
- Thu Oct 25, 2018 9:44 am
- Forum: Astrobe for ARM Cortex-M0, M3, M4 and M7
- Topic: SYSTEM function for special register
- Replies: 7
- Views: 37077
SYSTEM function for special register
Hi,
I want to set some registers which can be only accessed via MSR instructions.
So where can i find regarding SYSTEM functions for it ?
Thanks,
Marc
I want to set some registers which can be only accessed via MSR instructions.
So where can i find regarding SYSTEM functions for it ?
Thanks,
Marc
- Mon Oct 22, 2018 8:25 am
- Forum: Astrobe for ARM Cortex-M0, M3, M4 and M7
- Topic: Documentation of Module SYSTEM
- Replies: 1
- Views: 15581
Documentation of Module SYSTEM
Hi,
according the Cortex-M4 examples, the procedure SYSTEM.VMSR(0) is invoked, which seems to be an assembler equivalent for the unmapped FPSCR register.
Sadly this procedure is not documented somewhere , so I'm asking myself are there more undocumented instances like this ?
Regards,
Marc
according the Cortex-M4 examples, the procedure SYSTEM.VMSR(0) is invoked, which seems to be an assembler equivalent for the unmapped FPSCR register.
Sadly this procedure is not documented somewhere , so I'm asking myself are there more undocumented instances like this ?
Regards,
Marc