I am having trouble recently. I dont understand why but suddenly some local variables are being created in the USB memory space (0x7FD00000-0x7FD03FFF). Normally it would be fine but some of the variables are then used to the flash via IAP. I first found this issue when the FLASH row backup buffer was being created in the USB memory space. I was able to make a messy fix to make it work but now it is happening with other variables. Is it just a result of having code that is growing too large? Is there a way to force the compiler not to create any variables in that space?
Ah it was the project settings. And I guess I misspoke about local variables. I meant just regular, old variables.
I dont think we have been having a problem with the IAP. How can I make sure?