Hello, I have some problem when I try to write to Flash memory. I read AN201 "WRITING TO FLASH FROM FIRMWARE" and I use write functions for F350 (page 100). There is no problem with a light program. But now I try to integrate these functions on a large program. When I look at memory, any data has been written. In AN20 (page 3), I found this : "Be cautious when using the 'Large' and 'Compact' memory models, which target xdata and pdata spaces for user variables, both of which generate MOVX write opcodes." Indeed, my first program use small memory model (no pb) and my last program use large one. Is there a solution to write to flash memory with a large program ?
"The memory model choses has nothing to do with program size." What I tried to say was "if you have a large program, you do not HAVE TO choose the large model" Erik