A customer has observed that the GPIOB MUX1 register gets correctly to 0x00000000 after reset, but when loading code it is set to 0XFFFFFFC0.
"Load any example project for 28335 in CCS.Watch memory at address 0x6F96 (GpioCtrlRegs.GPBMUX1).Observe that this memory location is correctly set to 0x0 after reset.Compile your project and load.Observe that after load, the memory gets set to 0XFFFFFFC0."
I have tested this, and I have seen that this happens even if you are using a non-example based project (one written from scratch).I have also observed that this behaviour also occurs when using the on-chip flash programmer.When running code from Flash, this register remains at 0x00000000 after reset, until modified by code. The change is only when programming the Flash.This only happens on the new F28335 devices (im not sure about the variants of this device - I dont have any to test); I didn't see it happening on the F2808 or F2812. On devices F2808 and F2812 memory location 0x6F96 remains at 0x00000000 after loading, as do all the GPIO MUX registers.
I used a SD XDS510 PP emulator to load the code onto the F28335 eZdsp
Does anyone have any clues what is causing this?It appears to me that the emulator is doing this as it loads the code.
I will suggest that the customer takes care to initialize this register for now.
Thanks in advance-Adam
The GEL file we supply sets up the GPIO for XINTF functionality on file load. We did this so folks could load debug code directly into the XINTF. If you look in the 'on file preload' function and remove the enable XINTF call this should go away.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.