How to program the flash on the M52259DEMOKIT and M52259EVB

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

How to program the flash on the M52259DEMOKIT and M52259EVB

Jump to solution
3,225 Views
macl
Senior Contributor I

Here's how to program the flash with the MQX demo software.   This is the web server demo that comes pre-flashed on the board and is described in the quick start guide.  If you are having trouble with the board or would like to get it back in its original state follow these instructions.     

  1. In the Demo Kit or EVB Quick Start Guide (found on the DVD), replace step 3 with the following steps.  This will program the board with the demo software that is introduced in the quick start guide.  The following steps are taken from Lab 4 of the Freescale MQX RTOS, USB, TCP/IP Lab Tutorials document found on the DVD Training tab, or at the link online here: http://www.freescale.com/files/soft_dev_tools/doc/support_info/MQXTUTORIALLAB.pdf
  2.  Be sure that the following is installed. 
    1. CodeWarrior for ColdFire v7.1 Professional Edition (evaluation available)
    2. CodeWarrior Update Patch 7.1.1
    3. MQX Software package. 
  3. Start Codewarrior and open the project by selecting
    1. File > Open menu item:
    2. c:\Program Files\Freescale\Freescale MQX 3.0\demo\web_hvac\codewarrior\web_hvac_m52259demo.mcp (or web_hvac_m52259evb.mcp)
  4. In the project pane select the build target WEB_HVAC - Int. Flash Release
  5. Compile the project by pressing the F7 key or by clicking the Make icon on the project pane toolbar.
  6. Open the Flash Programmer tool in the Tools menu. Make sure the "Use custom Settings" checkbox is Not selected (i.e. the configuration will be taken from the project).
  7. Click the "Load Settings" button and select MCF52259_INTFLASH.xml.
  8. Select the Erase/Blank Check page, select "All Sectors" and click Erase.
  9. Select the Program/Verifypage and click Program. Upon successful programming, the status will display "Completed Successfully."
  10. Push the reset button on the M52259DEMOKIT or M52259EVB, to execute the code that was just programmed. 
  11. Jump back to the Quick Start Guide Step 4.


Message Edited by macl on 2009-02-05 04:10 PM
0 Kudos
1 Solution
1,211 Views
macl
Senior Contributor I

Hi,

 I think you have an SRAM target selected.  Typically the internal sram is mapped to addresses starting at 0x20000000.  Be sure the select a Flash target, then launch the flash programmer.

 

MacL

View solution in original post

0 Kudos
2 Replies
1,211 Views
ABENE
Contributor I

Hi,

When flashing same examples from the MQX, this message appears and he stop flashing.

in 0x00001C2C bytes of Target Memory at 0x20000420 is not within flash boundaries.

 

I need your help please.

 

Thinks

 

 

 

 

Enjoy technologies, enjoy life !!!

0 Kudos
1,212 Views
macl
Senior Contributor I

Hi,

 I think you have an SRAM target selected.  Typically the internal sram is mapped to addresses starting at 0x20000000.  Be sure the select a Flash target, then launch the flash programmer.

 

MacL

0 Kudos