Example MPC5643L Flash_program_simple CW210

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Example MPC5643L Flash_program_simple CW210

Example MPC5643L Flash_program_simple CW210

********************************************************************************

* Detailed Description:

* Example show simple flash programming routine. During runtime it changes

* content of field of constants 'test' (thus located in internal flash).

* Also it shows how to relocate code into RAM a data into FLASH (used linker

* command file is MPC5643L_my_sections.lcf and MPC5643L_DEBUG_my_sections.lcf).

*

* Note: For complex tasks use SSD driver (Freescale site for particular device,

* Software&Tools/Run-Time Software/Middleware-Device Drivers

*

* ------------------------------------------------------------------------------

* Test HW:         xPC564xLKIT, PPC5643L Cut3 silicon

* Target :         internal_FLASH, RAM

* Fsys:            120 MHz PLL0

* Debugger:        Lauterbach Trace32

*                  PeMicro USB-ML-PPCNEXUS

* Terminal:        19200-8-no parity-1 stop bit-no flow control via LINFlex0

* EVB connection:  default

*

********************************************************************************

Labels (1)
Attachments
%3CLINGO-SUB%20id%3D%22lingo-sub-1115180%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EExample%20MPC5643L%20Flash_program_simple%20CW210%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1115180%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E********************************************************************************%3C%2FP%3E%3CP%3E*%20Detailed%20Description%3A%20%3C%2FP%3E%3CP%3E*%20Example%20show%20simple%20flash%20programming%20routine.%20During%20runtime%20it%20changes%20%3C%2FP%3E%3CP%3E*%20content%20of%20field%20of%20constants%20'test'%20(thus%20located%20in%20internal%20flash).%20%3C%2FP%3E%3CP%3E*%20Also%20it%20shows%20how%20to%20relocate%20code%20into%20RAM%20a%20data%20into%20FLASH%20(used%20linker%3C%2FP%3E%3CP%3E*%20command%20file%20is%20MPC5643L_my_sections.lcf%20and%20MPC5643L_DEBUG_my_sections.lcf).%3C%2FP%3E%3CP%3E*%3C%2FP%3E%3CP%3E*%20Note%3A%20For%20complex%20tasks%20use%20SSD%20driver%20(Freescale%20site%20for%20particular%20device%2C%20%3C%2FP%3E%3CP%3E*%20Software%26amp%3BTools%2FRun-Time%20Software%2FMiddleware-Device%20Drivers%3C%2FP%3E%3CP%3E*%3C%2FP%3E%3CP%3E*%20------------------------------------------------------------------------------%3C%2FP%3E%3CP%3E*%20Test%20HW%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20xPC564xLKIT%2C%20PPC5643L%20Cut3%20silicon%3C%2FP%3E%3CP%3E*%20Target%20%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20internal_FLASH%2C%20RAM%3C%2FP%3E%3CP%3E*%20Fsys%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20120%20MHz%20PLL0%3C%2FP%3E%3CP%3E*%20Debugger%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Lauterbach%20Trace32%3C%2FP%3E%3CP%3E*%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20PeMicro%20USB-ML-PPCNEXUS%3C%2FP%3E%3CP%3E*%20Terminal%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2019200-8-no%20parity-1%20stop%20bit-no%20flow%20control%20via%20LINFlex0%3C%2FP%3E%3CP%3E*%20EVB%20connection%3A%26nbsp%3B%20default%20%3C%2FP%3E%3CP%3E*%3C%2FP%3E%3CP%3E********************************************************************************%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-1115180%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E********************************************************************************%3C%2FP%3E%3CP%3E*%20Detailed%20Description%3A%20%3C%2FP%3E%3CP%3E*%20Example%20show%20simple%20flash%20programming%20routine.%20During%20runtime%20it%20changes%20%3C%2FP%3E%3CP%3E*%20content%20of%20field%20of%20constants%20'test'%20(thus%20located%20in%20internal%20flash).%20%3C%2FP%3E%3CP%3E*%20Also%20it%20shows%20how%20to%20relocate%20code%20into%20RAM%20a%20data%20into%20FLASH%20(used%20linker%3C%2FP%3E%3CP%3E*%20command%20file%20is%20MPC5643L_my_sections.lcf%20and%20MPC5643L_DEBUG_my_sections.lcf).%3C%2FP%3E%3CP%3E*%3C%2FP%3E%3CP%3E*%20Note%3A%20For%20complex%20tasks%20use%20SSD%20driver%20(Freescale%20site%20for%20particular%20device%2C%20%3C%2FP%3E%3CP%3E*%20Software%26amp%3BTools%2FRun-Time%20Software%2FMiddleware-Device%20Drivers%3C%2FP%3E%3CP%3E*%3C%2FP%3E%3CP%3E*%20------------------------------------------------------------------------------%3C%2FP%3E%3CP%3E*%20Test%20HW%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20xPC564xLKIT%2C%20PPC5643L%20Cut3%20silicon%3C%2FP%3E%3CP%3E*%20Target%20%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20internal_FLASH%2C%20RAM%3C%2FP%3E%3CP%3E*%20Fsys%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20120%20MHz%20PLL0%3C%2FP%3E%3CP%3E*%20Debugger%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Lauterbach%20Trace32%3C%2FP%3E%3CP%3E*%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20PeMicro%20USB-ML-PPCNEXUS%3C%2FP%3E%3CP%3E*%20Terminal%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2019200-8-no%20parity-1%20stop%20bit-no%20flow%20control%20via%20LINFlex0%3C%2FP%3E%3CP%3E*%20EVB%20connection%3A%26nbsp%3B%20default%20%3C%2FP%3E%3CP%3E*%3C%2FP%3E%3CP%3E********************************************************************************%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1115180%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3EGeneral%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
No ratings
Version history
Last update:
‎08-11-2014 07:38 AM
Updated by: