AnsweredAssumed Answered

SPC5606S code flash programmer issue

Question asked by zhijian yang on Feb 7, 2017
Latest reply on Feb 10, 2017 by zhijian yang

I have problem of  code flash program with CW 10.7 and P&E USB multilink Universal. After flash image is downloaded to CPU and Program cannot run correctly,  But RAM image is download to ECU and Program can run correctly.

 

I wonder if there is no correct parameters configuration program download.

We can see if you can help me find a problem or there is no program to download the relevant documents.

 

 

Thanks a lot for your help!

 

The following is the configuration interface:

 

The contents of console  are as follows:

fl::target -lc "download"

fl::target -b 0x40000000 0xc000

fl::target -v off -l off

cmdwin::fl::device -d "MPC5606S_CODE_FLASH_VLE" -o "1Mx32x1" -a 0x0 0xfffff

cmdwin::fl::erase all

 Beginning Operation ...   

-------------------------

Chip erase not supported. Erasing sector by sector.  

Performing target initialization ...   

Reading SSCM.STATUS ...

MCU not in single chip mode.

Set interrupt vector base address at 0x40000000

init ECC SRAM 0x40000000:0xC000

Get application entry point ...

Searching for boot sectors ...

Found boot sector at 0x0000 and entry point at 0xe0.

 Downloading Flash Device Driver ...  

 Reading flash ID ...

Erasing Sector 0x00000000 to 0x00007FFF  

Erasing Sector 0x00008000 to 0x0000BFFF  

Erasing Sector 0x0000C000 to 0x0000FFFF  

Erasing Sector 0x00010000 to 0x00017FFF  

Erasing Sector 0x00018000 to 0x0001FFFF  

Erasing Sector 0x00020000 to 0x0003FFFF  

Erasing Sector 0x00040000 to 0x0005FFFF  

Erasing Sector 0x00060000 to 0x0007FFFF  

Erasing Sector 0x00080000 to 0x0009FFFF  

Erasing Sector 0x000A0000 to 0x000BFFFF  

Erasing Sector 0x000C0000 to 0x000DFFFF  

Erasing Sector 0x000E0000 to 0x000FFFFF  

 Erasing .........

 Erase Command Succeeded   

cmdwin::fl::blankcheck all

 Beginning Operation ...   

-------------------------

 Downloading Flash Utility Driver ...  

Performing Blank Check from 0x00000000 to 0x000FFFFF ...   

 Blank Checking ...

 Blank Check Succeeded   

Blank Check Completed Successfully  

cmdwin::fl::image -f "F:\\Users\\yzj\\workspace - 20160207\\MPC560xS_ADC_SW_scan\\MPC5606S_INTERNAL_FLASH\\MPC560xS_ADC_SW_scan.elf" -t "Auto Detect" -re off -oe off

cmdwin::fl::write

-------------------------

Programming file F:\Users\yzj\workspace - 20160207\MPC560xS_ADC_SW_scan\MPC5606S_INTERNAL_FLASH\MPC560xS_ADC_SW_scan.elf  

Auto-detection is successful.  

  File is of type Elf Format.  

 

 Downloading Flash Device Driver ...  

 Reading flash ID ...

Auto-detection is successful.  

  File is of type Elf Format.  

 

Downloading 0x00000008 bytes to be programmed at 0x00000000  

Executing program ....  

 Program Command Succeeded   

Downloading 0x0000028C bytes to be programmed at 0x00000020  

Executing program ....  

 Program Command Succeeded   

Downloading 0x000001A4 bytes to be programmed at 0x00001000  

Executing program ....  

 Program Command Succeeded   

Downloading 0x000003DC bytes to be programmed at 0x00002000  

Executing program ....  

 Program Command Succeeded   

Downloading 0x0000000C bytes to be programmed at 0x000023E0  

Executing program ....  

 Program Command Succeeded   

cmdwin::fl::verify

-------------------------

Verifying file F:\Users\yzj\workspace - 20160207\MPC560xS_ADC_SW_scan\MPC5606S_INTERNAL_FLASH\MPC560xS_ADC_SW_scan.elf  

Auto-detection is successful.  

  File is of type Elf Format.  

 

Auto-detection is successful.  

  File is of type Elf Format.  

 

Reading 0x00000008 bytes starting from address 0x00000000  

Reading 0x0000028C bytes starting from address 0x00000020  

Reading 0x000001A4 bytes starting from address 0x00001000  

Reading 0x000003DC bytes starting from address 0x00002000  

Reading 0x0000000C bytes starting from address 0x000023E0  

Verify Command Succeeded  

Outcomes