I tried compiling the codes provided above using IAR 5.40, it requested the workspace to be updated since it was created from an old version of EWARM. After which I was not able to continue with the compilation with the ff. errors:
Error[Li005]: no definition for "__program_start" [referenced from C:\DS0201_OpenSource\DS0201_DFU\project\EWARM\Debug_FLASH\Obj\
Error while running Linker
Comparing the provided sourcecode above with the codes provided by bure from the chinese forums, mostly the changes were the logo and the comments (which are very good). I would like to know if the updated source code will be released, since its tagged as an opensource device. Hopefully it will be compatible with the latest IAR IDE (v5.40)
I noticed that the latest f/w shows v1.1 in the logo, I believed the hardware that seeedstudio will release is a 1.3a and not a 1.1.
I also liked the v1.4 f/w from paul (only there was a few spelling errors).
I fixed the error by adding this code
# define __program_start __iar_program_start
It turns out that, IAR5.xx compilers have considerably changed from IAR4.xx the method for the entry procedure.