|ARM Technical Support Knowledge Articles|
Applies to: RealView Real-Time Library
Information in this knowledgebase article applies to:
When I use a bootloader to update the application on my AT91SAM7 based system, the application will die with a data abort if I try to run it as soon as the load completes.
On the AT91SAM7, the RTX kernel uses the PIT as the system timer. The kernel enables the system timer before it initializes its own data.
If you leave the PIT running during the update, it will trigger an IRQ as soon as you enable it. This will cause the kernel to attempt to switch tasks, using unititialized data.
During your bootloader process, you must disable the PIT and clear any pending interrupts.
Request the files attached to this knowledgebase article.
Article last edited on: 2008-09-09 06:54:06
Did you find this article helpful? Yes No
How can we improve this article?