I was able to build my workspace and BSP, the image built works fine
on the device. I need a much smaller footprint OS now, so I
recreated another workspace with TinyKernel template and the same BSP,
I added a few features from catalog manually, including minimal GWES
configuration, I then clean sysgen the workspace, the nk.bin was
built, but I got the following res2exe errors in makeimg. I loaded
the nk.bin on the device, it gives gwes abort.
Is it a dependency issue? What did I miss in the workspace? Thanks a
lot.
--------------------------- res2exe error in makeimg
C:\WINCE500>res2exe -r -c C:\WINCE500\PBWorkspaces\MyTinyOS\RelDir
\MyBSP\0409\explorer_1.res C:\WINCE500\PBWorkspaces\MyTinyOS\RelDir
\MyBSP\explorer.exe
ERROR: Res2Exe: BeginUpdateResourceA failed on C:\WINCE500\PBWorkspaces
\MyTinyOS\RelDir\MyBSP\explorer.exe.
ERROR: Res2Exe: BeginUpdateResourceA failed on C:\WINCE500\PBWorkspaces
\MyTinyOS\RelDir\MyBSP\explorer.exe.
ERROR: Res2Exe: Error adding resources to target (2)
ERROR: Res2Exe: Error adding resources to target (2)
C:\WINCE500>REM delete the list file
------------------------- gwes data abort when system boots
Data Abort: Thread=8fedd4a8 Proc=8d84e470 'gwes.exe'
AKY=00000009 PC=0004ba4c(gwes.exe+0x0003ba4c) RA=00052ff4(gwes.exe
+0x00042ff4) B
VA=08000008 FSR=00000007
Bruce Eitman [eMVP] - 22 Jul 2008 23:00 GMT
I am not familiar with explorer_1.res, could that possibly be your file?
Also the fact that you have a command prompt in front of that command is
suspicious, do you have a batch file that runs that command?

Signature
Bruce Eitman (eMVP)
Senior Engineer
Bruce.Eitman AT EuroTech DOT com
My BLOG http://geekswithblogs.net/bruceeitman
EuroTech Inc.
www.EuroTech.com
>I was able to build my workspace and BSP, the image built works fine
> on the device. I need a much smaller footprint OS now, so I
[quoted text clipped - 24 lines]
> +0x00042ff4) B
> VA=08000008 FSR=00000007
yualexwang@yahoo.com - 23 Jul 2008 17:53 GMT
You are correct, Bruce. I found the bat file that runs that command.
Thanks.