Example MPC5748G Flash RW

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

Example MPC5748G Flash RW

Example MPC5748G Flash RW

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

* Detailed Description:

*

* Unlock, erase and program of flash mid block 0x00FB_8000 - 0x00FB_FFFF.

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

* Test HW:        X - PC5748G - MB (rev C)

* MCU:             PPC5748GMMN6A

* Maskset:       1N81M

* Fsys:             160 MHz

* Debugger:     Lauterbach Trace32

*            

* Target:     Internal_FLASH

*

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

Labels (1)
Attachments
Comments

Lukas,

In the "MPC5748G-Flash_RW-GHS614\source\main.c" file I see the bit settings for LOCK/SEL for Flash blocks on MPC5748G.

Shouldn't the Large blocks be using SEL2 instead of SEL0 ?

pastedImage_2.png

thanks

Anoop

Hi Anoop,

thanks for your comment. You are right, that's copy-paste issue. I uploaded corrected version.

Regards,

Lukas

t32_diff.png

Is it right?

Hi Lukas Zadrapa !!!

   Where can I download  Green Hills MULTI IDE v6.1.4 ? Think you!!!

%3CLINGO-SUB%20id%3D%22lingo-sub-1123178%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EExample%20MPC5748G%20Flash%20RW%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1123178%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E********************************************************************************%3C%2FP%3E%3CP%3E*%20Detailed%20Description%3A%3C%2FP%3E%3CP%3E*%3C%2FP%3E%3CP%3E*%20Unlock%2C%20erase%20and%20program%20of%20flash%20mid%20block%200x00FB_8000%20-%200x00FB_FFFF.%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%20X%20-%20PC5748G%20-%20MB%20(rev%20C)%3C%2FP%3E%3CP%3E*%20MCU%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20PPC5748GMMN6A%3C%2FP%3E%3CP%3E*%20Maskset%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%201N81M%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%26nbsp%3B%20160%20MHz%3C%2FP%3E%3CP%3E*%20Debugger%3A%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%20%3C%2FP%3E%3CP%3E*%20Target%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Internal_FLASH%3C%2FP%3E%3CP%3E*%3C%2FP%3E%3CP%3E********************************************************************************%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1123178%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3EGeneral%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1123182%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Example%20MPC5748G%20Flash%20RW%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1123182%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20Lukas%20Zadrapa%20!!!%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3BWhere%20can%20I%20download%26nbsp%3B%20%3CSPAN%20class%3D%22%22%3EGreen%20Hills%20MULTI%20IDE%20v6.1.4%3C%2FSPAN%3E%26nbsp%3B%3F%20Think%20you!!!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1123181%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Example%20MPC5748G%20Flash%20RW%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1123181%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22t32_diff.png%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22t32_diff.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F6989i991DD0DA55FE7A9E%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22t32_diff.png%22%20alt%3D%22t32_diff.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EIs%20it%20right%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1123180%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Example%20MPC5748G%20Flash%20RW%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1123180%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20Anoop%2C%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3Ethanks%20for%20your%20comment.%20You%20are%20right%2C%20that's%20copy-paste%20issue.%20I%20uploaded%20corrected%20version.%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3ERegards%2C%3C%2FP%3E%3CP%3ELukas%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1123179%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Example%20MPC5748G%20Flash%20RW%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1123179%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3ELukas%2C%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EIn%20the%20%22MPC5748G-Flash_RW-GHS614%5Csource%5C%3CSTRONG%3Emain.c%3C%2FSTRONG%3E%22%20file%20I%20see%20the%20bit%20settings%20for%20LOCK%2FSEL%20for%20%3CSTRONG%3EFlash%20blocks%20on%20MPC5748G%3C%2FSTRONG%3E.%3C%2FP%3E%3CP%3EShouldn't%20the%20Large%20blocks%20be%20using%20SEL2%20instead%20of%20SEL0%20%3F%20%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22pastedImage_2.png%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22pastedImage_2.png%22%20style%3D%22width%3A%20408px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F10610i37C1B3C3108433A4%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22pastedImage_2.png%22%20alt%3D%22pastedImage_2.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3Ethanks%3C%2FP%3E%3CP%3EAnoop%3C%2FP%3E%3C%2FLINGO-BODY%3E
No ratings
Version history
Last update:
‎06-03-2015 06:03 AM
Updated by: