[En-Nut-Discussion] Cycle counter based NutMicroDelay Implementation problems
Ole Reinhardt
ole.reinhardt at embedded-it.de
Sun Aug 19 22:55:15 CEST 2012
Hi all,
The Cortex implementation used the System Core Debug unit CPU Cycle
counter to implement a high precise NutMicroDelay() function.
Unfortunately on the LPC CPUs it seems that the Core Debug registers may
not be user programmed which caused NutMicroDelay to freeze the system.
Curiously it works if a JTAG Debugger is connected.
As long as this function does not work reliable it is disabled by
default and the old NutMicroDelay implemetation is used.
Use the new config option "NUT_MICRODELAY_CM3_CYCCNT" in the
RTOS->TimerManagem section to re-enable it.
Best regards,
Ole
--
Thermotemp GmbH, Embedded-IT
Embedded Hard-/ Software and Open Source Development,
Integration and Consulting
http://www.embedded-it.de
Geschäftsstelle Siegen - Steinstraße 67 - D-57072 Siegen -
tel +49 (0)271 5513597, +49 (0)271-73681 - fax +49 (0)271 736 97
Hauptsitz - Hademarscher Weg 7 - 13503 Berlin
Tel +49 (0)30 4315205 - Fax +49 (0)30 43665002
Geschäftsführer: Jörg Friedrichs, Ole Reinhardt
Handelsregister Berlin Charlottenburg HRB 45978 UstID DE 156329280
More information about the En-Nut-Discussion
mailing list