*
*Home|Chinese|Japanese*About ARM|Forums|Events|News|Employment|Contact Us|Investors*
dotted rule
*ARM - the architecture for the digital worldARM - the architecture for the digital world
search
*
*
***
*MARKETS:PRODUCTS & SOLUTIONS:CONNECTED COMMUNITY:TECHNICAL SUPPORT:DOCUMENTATION*
*
technical support
*
*
****
*.Technical Support
*
*
*>>Home Page*
*
*.Obtaining Support*
*
*.FAQs*
*
**Development Tool FAQs*
**IP FAQs*
**Embedded Software FAQs*
**Artisan Physical IP FAQs (Login Required)*
*
*.Downloads*
*
*.Documentation*
*
*.Training*
*
*.Where To Buy*
*
*.Keil MCU Tools*
*
*.What's New*
*
*.ARM Newsgroups*
*
*.Active Assist On-site Services*
*
*
*
technical support FAQsask ARM*
*

Technical Support Search
*     (Advanced Search)
  FAQs   Documentation   Downloads   Forums

*

 
downarrowRMTarget does not re-enable IRQs correctly
Applies to: Assembler, RealMonitor

This is fixed in AFS 1.4.
There is an error in the source code for RMTarget 1.0 that will sometimes cause IRQs to remain disabled when the foreground application is stopped. The effect of this is disrupt communication between the target and host, resulting in "RDI Warning 00200: Data link timeout error". To fix this, you must perform the following steps:

1) In the Sources/rm_asm.s file, locate the following text:

        ; Re-enable IRQs if they are enabled in the SPSR.
MRS a4, SPSR
TST a4, #PSR_IRQ_BIT
MRSEQ ip, CPSR
BICEQ ip, ip, #PSR_IRQ_BIT
MSREQ CPSR_f, ip
; IRQS NOW ENABLED.

2) Change the fields of the MSREQ instruction from '_f' to '_c', as follows:

        ; Re-enable IRQs if they are enabled in the SPSR.
MRS a4, SPSR
TST a4, #PSR_IRQ_BIT
MRSEQ ip, CPSR
BICEQ ip, ip, #PSR_IRQ_BIT
MSREQ CPSR_c, ip
; IRQS NOW ENABLED.

(DE 47291)






back to top

*
**
*4 dots*Other ARM Websites
*
shadow *LEGAL STATEMENTshadow