Hello Esteban:
You can review in AN2295 on the 6.1.1 Memory allocation where is explained what you need to change on the *.lcf file, on the AN is also suggested to review on 6.1.5.1 Memory occupied.
Also if you download AN2295 and AN2295SW, you can find find the *.lcf file only for PK60N512 in this installation path:
C:\(Your download path)\an2295sw\src\Kinetis\CW_10.2\Project_Settings\Linker_Files.
Another thing that I would like to know is if you are using a Freesclae's development board or if you are using a custom board and also you mention that you tried using serial port but you only was able to erase your device, I would like to know more details about this problem, how did you find that this does not worked as you expected?
Have a nice day,
Perla Moncada
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------