AnsweredAssumed Answered

Regarding .LCF

Question asked by Hu Ez on Feb 16, 2015
Latest reply on Mar 3, 2015 by Hu Ez

Hello there,

I recently created another thread but that thread was to general. Thus I'm creating a new one with a more "centralized" question.


When your project is being built, the file generated contains all the parts that can be found in MEMORY (in LCF file). For instance resetvector, init, exception_handlers, internal_flash and so on. Correct me if I'm wrong here.

Is this generated file a .s19 format?


The internal_flash contains my program code (main and other functions). I assume?


Ok, so if I want to program the flash with a new set of code I will have to erase all parts mentioned before in the flashmemory and then write the new code, starting from the first address which is resetvector. It's not just enough to erase the main program code, right?





Ps. I'm not really sure where I should post this subject..