PB編譯出現:系統找不到指定的路徑。

      由於一直出現上篇博客所描述的情況,進不了系統,後來乾脆就Bulid and Sysgen了,但是PB編譯出現:系統找不到指定的路徑。但是最後沒有生成錯誤,燒內核的時候eboot用不了,就用的以前的,沒想到燒進去竟然進了系統 ,只是串口信息不一樣:

Image Start Address (Fixed): 0x80001000

[Launch Address, Hex, 0x80002000]:
Launch Address you entered: 0x80002000

[Size of Image, Dec, 30408704 (Bytes)]:
Size you entered: 30408704

-Download Image
[ ====== 80001000, 1D00000, 80002000 ======]
ROMHDR at Address 80001044h
In OEMLaunch : )
=== 1 ===
=== 4 ===
Ready to write : Start:80001000 Length:1D00000 Launch:80002000
IsValidMBR: MBR sector = 0x240
OpenPartition: Partition Exists=0x0 for part 0x21.
CreatePartition: Enter CreatePartition for 0x21.
LastLogSector: Last log sector is: 0x1fdbf.
CreatePartition: Start = 0x260, Num = 0xe800.
Log2Phys: Logical 0x260 -> Physical 0x4a0
WriteMBR: MBR block = 0x12.
BP_SetDataPointer at 0x0
WriteData: Start = 0x0, Length = 0x1d00000.
Log2Phys: Logical 0x260 -> Physical 0x4a0
IsValidMBR: MBR sector = 0x240
OpenPartition: Partition Exists=0x0 for part 0xb.
CreatePartition: Enter CreatePartition for 0xb.
FindFreeSector: FreeSector is: 0xea60 after processing part 0x21.
CreatePartition: Num sectors set to 0x11220 to allow for compaction blocks.
CreatePartition: Start = 0xea60, Num = 0x11220.
WriteMBR: MBR block = 0x12.
TOC {
dwSignature: 0x434F544E
BootCfg {
  ConfigFlags: 0x2830
  BootDelay: 0x5
  ImageIndex: 1
  IP: 0.0.0.0
  MAC Address: 00:00:00:00:00:00
  Port: 0.0.0.0
  SubnetMask: 255.255.255.0
}
ID[0] {
  dwVersion: 0x20004
  dwSignature: 0x45424F54
  String: 'eboot.nb0'
  dwImageType: 0x2
  dwTtlSectors: 0x200
  dwLoadAddress: 0x8C038000
  dwJumpAddress: 0x8C038000
  dwStoreOffset: 0x0
  sgList[0].dwSector: 0x40
  sgList[0].dwLength: 0x200
}
ID[1] {
  dwVersion: 0x1
  dwSignature: 0x43465349
  String: ''
  dwImageType: 0x2
  dwTtlSectors: 0xE800
  dwLoadAddress: 0x80001000
  dwJumpAddress: 0x80002000
  dwStoreOffset: 0x0
  sgList[0].dwSector: 0x4A0
  sgList[0].dwLength: 0xE800
}
chainInfo.dwLoadAddress: 0X00000000
chainInfo.dwFlashAddress: 0X00000000
chainInfo.dwLength: 0X00000000
}

 

網上搜的解決方法,但是還沒有試:

1.把BSP拷貝到相應的目錄,然後去掉只讀屬性,編譯!
2.將xcopy.exe複製到安裝目錄下幾層的BIN文件夾下就可以了


3.解決辦法(我的開發環境全部安裝在C盤):
將C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322目錄下的cvtres.exe(版本:7.10.3052.4)
拷貝到C:/WINCE420/SDK/BIN/I386目錄下覆蓋原來的cvtres.exe(版本:5.1.2409.1)
拷貝到C:/Program Files/Microsoft eMbedded C++ 4.0/EVC/WCE400/BIN目錄下覆蓋原來的cvtres.exe
編譯下載運行正常

 

發佈了18 篇原創文章 · 獲贊 1 · 訪問量 3萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章