So initially when I started working on my project in keil, I got the no 'write' permission error. After an intense research on why this error occured, I realized that the initial file was missing with the desired address range. Once I entered the file, it did work and I was able to debug my code and print out some statements to the console without getting that error.
Now after almost finishing up my project, I start to debug and am seeing that error yet again. Previously the address range was between 0x40023800, 0x400238FF and now the error says:
*** error 65: access violation at 0x1FFFFFFC : no 'write permission' *** error 65: access violation at 0x1FFFFF84 : no 'write' permission *** error 65: access violation at 0x1FFFFF84 : no 'read' permission *** error 65: access violation at 0x1FFFFF34 : no 'write' permission
Do I need to edit my initial file yet again with different address range?
Okay I figured that this error is caused by one of the functions that I am using in my .cpp file. But I don't quite know what could be wrong with that function
Very little details to work with here, what part?
Somewhat indicative that it is touching memory it shouldn't, indexing below SRAM on a Cortex-Mx. Range check your arrays, make sure the stack isn't ploughing off the bottom of the memory.