2007-09-16 11:17 PM
2007-09-14 10:09 PM
I have opened the vitual com port .eww project file that is included in the ST's USB kit. When building the application, I am getting two errors:
in init.s: Error [109] Expression is too complex. The offending instructions are (there are 6 like it) ldr sp,=SFE(CSTACK) & 0xFFFFFFF8 ; End of CSTACK(user) in vect.s: Error[40] Bad instruction. The instruction is ''COMMON'', in COMMON INTVEC:CODE(2) The IAR migration manual says that ''Too complex'' instructions must be rewritent. The do now say how. IAR also says that COMMON has been removed. They do not say what it must be replaced with. Can someone please make a suggestion. Thanks2007-09-15 08:46 PM
I worked around the problem by installing and using the IAR 4.42 workbench. The project builds OK without modfication.
However, the Virtual Com port program doesnt run. It hangs, waiting forever in the Virtual_Com_Port_init function, at the line while (pInformation->Current_Configuration == 0) NOP_Process(); I tried another demo including in the USB kit. The Joystick Mouse demo programs works: the program will also stop at that line, but continues when the USB cable is pluged and the device recongnized by Window. Has anyone successfully managed to run the Virtual Com demo?