Hello everyone: I have a problem.
My software in on-chip flash is very small,so I define the memory model in keil to "small" type.
But I have to save some datum in on-chip flash. I place the datum in the adress 0xC1F000,and define the section is "LARGE".When I build the code,it is warning "incompatible memory model ".When I run the code ,keil prompts "access violation".
What shall I do ? Thank you !
Thank you!
I want to tell everyone a detail should be paid attention to:the "far" variable reference should be edit to "far".Keil will not warning the error,and it will still access violation .