How to program flash runningly on 8036?

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

How to program flash runningly on 8036?

2,698 Views
admond
Contributor I

Hi guys:

       I got a problem that I can't program PROGRAM memory which partly is used as data memory. I had a good look at some application project produed by PE finding it need runing program in RAM when operating flash. I double checked the datasheet of both 8036 and peripheral of 80xx finding no such suggestion, so confusion really bores me. could you kindly provide some key to this issure.

 

 

 07.09.2009

   Edmond

Labels (1)
Tags (1)
0 Kudos
8 Replies

636 Views
trytohelp
NXP Employee
NXP Employee

Hello,

 

Do you mean the example delivered on the installation is not working ?

Please can you provide more details about the problem ?

 

You can find more details about the lcf structure in the attached file.

Please have a look at the end of this file. 

In another way you could find more info in the Targeting_56800E.pdf manual

 

Regards

Pascal

 

MC56F8036_smm_pROM_xRAM_linker.zip

Message Edited by t.dowe on 2009-10-15 06:00 PM
0 Kudos

636 Views
admond
Contributor I

Hi Pascal:

 

     thank you for reply!       

 

     This is not what I want. I want to erase and write data to program flash on runtime. I really want how to deal with this. must I run program on RAM when do flash operation such as erase and write. hope it makes sense.

 

 

07.09.2009

   Edmond

0 Kudos

636 Views
trytohelp
NXP Employee
NXP Employee

Hi,

 

Processor Expert proposes a bean for that: IntFlash bean.

Attached you will find an example created for 8346EVM board.

Please havea look at it for details.

 

You will find some inf about the bean under the installation folder:

  \ProcessorExpert\BEANs\IntFLASH

 

A project example is delivered too.

Please refer to:

  \Processor_Expert_Examples\DemoApplications\HWBeans\56F803x\InFlash

 

Hope this will help you.

 

Regards

Pascal

 

56F8346_INFLASH.zip

Message Edited by t.dowe on 2009-10-15 06:01 PM
0 Kudos

636 Views
admond
Contributor I

Hi Pascal:

         

       thanks to your reply. the flash struture of 8036 is very different from 8036 which only has program flash, but the 83xx has boot data and program flash. it is rarely situation for program flash of 83xx to be used as data memory at the present of data flash.

     

       I want repeat that my situation is on using the 8036, so the embarrassment is related to how to program P flash on the fly. hope it makes sense.

 

Best regards,

   Edmond

07.10.2009

0 Kudos

636 Views
trytohelp
NXP Employee
NXP Employee

The example sent used Processor Expert.

Processor Expert allows you to select another chip for the project.

On my side I selected 8036.

The INTflash bean has been adapted to use the Programm Flash instead of Data.

Now I'm able to build the project.

 

I can not test it on my side because I don't have the board.

 

Find attached the corrected project.

 

Regards

Pascal

 

56F8346_InFlash.zip

Message Edited by t.dowe on 2009-10-15 06:02 PM
0 Kudos

636 Views
admond
Contributor I

Hi Pascal:

        thank you for the project. I really appreciate it if you provide some datasheet about 8036 flash operation on the fly which I think is more important than an exmple. anyhow I have ported some code by PE to mine and it seems sucessful. I don't get enough imformation about flash operation on 8036 so it is emergent for me.

 

 

Best regards,

Edmond

0 Kudos

636 Views
trytohelp
NXP Employee
NXP Employee

Hi,

 

Please refer to the manual:

 http://www.freescale.com/files/dsp/doc/data_sheet/MC56F8036.pdf?fpsp=1

 

There are information about the Flash programming.

Hope this will help you.

 

Regards

Pascal

0 Kudos

636 Views
admond
Contributor I

Hi: 

       I have studied the datasheet long time ago without realizing that some valuable imformation has been absorted. anyhow thank you for your attention.

 

 

Best regards,

Edmond

0 Kudos