Author Topic: uTasker_BM_Loader something is err in the CW7.1 and CW7.2  (Read 4506 times)

Offline tr111

  • Jr. Member
  • **
  • Posts: 72
    • View Profile
uTasker_BM_Loader something is err in the CW7.1 and CW7.2
« on: September 07, 2012, 03:23:31 AM »
when I built the M5225x_BM_rom use uTaskerM522XX_V1.4-11 and CW7.1
 the board can not run, because the uTasker_boot.bin and the uTasker_BM.bin is err in the beginning in the file! when I progarm the uTasker_boot.S19 and the uTasker_BM.S19 to the board ,and the read back to the file to bin file from the board ,I find the s19 file is not same as the uTasker_BM.bin and theuTasker_boot.bin at the beginning!
when I use the CW7.2 it can built the  uTasker_boot.rbin and the uTasker_BM.rbin that is right, it can run at the board!
like:
SET PATH=%PATH%;..\..\..\..\tools
uTaskerCombine "..\..\..\uTaskerBoot\CodeWarrior_M5223X\bin\uTasker_boot.rbin" uTasker_BM.rbin 0x800 uTaskerBM_APP.rbin
uTaskerConvert.exe uTasker_BM.bin H_Upload.bin -0x1234 -a748b6531124

the M5225X_BOOT_APP_FLASH.lcf must to change
MEMORY
{
    /*flash   (RX)   : ORIGIN = 0x00006080, LENGTH = 0x0003f800*/
    flash   (RX)   : ORIGIN = 0x00000800, LENGTH = 0x0003f800
   vectorram(RWX) : ORIGIN = 0x20000000, LENGTH = 0x00000400
   sram   (RWX)  : ORIGIN = 0x20000400, LENGTH = 0x00007C00       
   ipsbar  (RWX)  : ORIGIN = 0x40000000, LENGTH = 0x0
}
« Last Edit: September 07, 2012, 04:10:25 AM by tr111 »