You are here

Debugger with AUTOPTR | Cypress Semiconductor

Support & Community

Debugger with AUTOPTR

Last Updated: September 22, 2011

I am using the debugger to step through the code which uses the AUTODATA to transfer data. I I see the value stored in AUTOPTR incrementing on each step of the code involving the AUTODATA read/write by 2 to 3 bytes at a time.Is it not supposed to increment ONLY when I read or write the AUTODATA register?


The AUTOPTR register increments on any access to the AUTODATA register.  If you are trying  to read the contents of the AUTODATA register using the debugger, as the monitor updates the values on reading this register (hence accessing it),the autopointer will increase even though  you are not reading this register in your firmware.Any access to the AUTODATA be it your firmware or the monitor will cause the Autopointer to increment.

Knowledge Base Tags: 

Provide feedback on this article

Browse KB By Product

Browse KB by Type