This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

am335x wince7 compile error

When I compile am335x wince7 bsp there are

C:\WINCE700\build.log(101675) : Error: Could not find file 'C:\WINCE700\OSDesigns\AM335X_OS\AM335X_OS\RelDir\AM33X_BSP_ARMV7_Release\PRU_memCopy.fw' on disk {log="C:\WINCE700\build.log(101675)"}
C:\WINCE700\build.log(101678) : Error: failed setting line {log="C:\WINCE700\build.log(101678)"}
C:\WINCE700\public\common\oak\misc\makeimg.proj(680,5): error MSB3073: 命令“romimage C:\WINCE700\OSDesigns\AM335X_OS\AM335X_OS\RelDir\AM33X_BSP_ARMV7_Release\ce.bib ”已退出,返回值为 1。 {log="C:\WINCE700\build.log(101679)"}
C:\WINCE700\public\common\oak\misc\makeimg.proj(680,5): error MSB3073: 命令“romimage C:\WINCE700\OSDesigns\AM335X_OS\AM335X_OS\RelDir\AM33X_BSP_ARMV7_Release\ce.bib ”已退出,返回值为 1。 {log="C:\WINCE700\build.log(101686)"}
BLDDEMO: ERROR: Error(s) in makeimg phase. See C:\WINCE700\build.log for details. {log="C:\WINCE700\build.log(101693)"}

errors: 

  • Hi zhiyuan

    It is because there is no directory named bin under Wince700/platforum/Am33xx_bsp/src/drivers/pru/firmware.

    You should edit build_firmware.bat file above directory.Chage following lines 

    %SOC_PRU_PATH%\utils\pru-as\windows\pasm -b %SOC_PRU_PATH%\%APP_PATH%\%%A\%%A.p %PROJECT_PLAT_PATH%\firmware\bin\%%A

    copy %PROJECT_PLAT_PATH%\firmware\bin\*.bin %_TARGETPLATROOT%\FILES\*.fw

    to

    %SOC_PRU_PATH%\utils\pru-as\windows\pasm -b %SOC_PRU_PATH%\%APP_PATH%\%%A\%%A.p %PROJECT_PLAT_PATH%\firmware\%%A

    copy %PROJECT_PLAT_PATH%\firmware\*.bin %_TARGETPLATROOT%\FILES\*.fw

    I hope it helps,

    Buğra Aydoğar

  • Hi Buğra Aydoğar,

    That's exactly what I was looking for! It solved my problem in a few seconds.

    Cheers!