Home arrow Support arrow Forums

Luminary Micro Forums

adaniell

Fresh Boarder
Click here to see the profile of this user

2007/01/25 14:02

uV3 Problem

Until yesterday the Keil system was working as expected, cycling through progressive larger code. However, I apparently did something and I can no longer even compile 'hello'. At the beginning I recorded the 'Options for Target' and I can not get the same Compiler/Linker Control Strings. For 'hello' and 'pwmgen' I get the error messages:
Build target 'pwmgen'
assembling Startup.s...
Startup.s: Warning: A3910W: Old syntax, please use '--via'.
Startup.s: Warning: A3912W: Option 'c' is deprecated.
Startup.s: error: A3900U: Unrecognized option '-pu'.
Target not created
Suggestions to correct this problem? Thanks.

login or register to reply

LMI Eric

Moderator
Click here to see the profile of this user

2007/01/25 15:18

Re:uV3 Problem

It almost seems as if the flags are getting jumbled around. It looks like the second warning and error should be -cpu.

Do --via or -cpu show up in the assembler flags of your project? The most recent DriverLib project files don't seem to show those.

login or register to reply

adaniell

Fresh Boarder
Click here to see the profile of this user

2007/01/25 15:51

Re:uV3 Problem

After open uV3 and open 'hello' the AssemblerControlString is:
-cpu Cortex-M3 -g -apcs /interwork --c --device DLM -o *.o
and the CompilerControlString is:
-c -cpu Cortex-M3 -g -O0 -apcs /interwork -o "*.o"
Then after RebuildAllTargetFiles, I get the error messages given earlier. Similar error messages are now obtained from my working code. Earlier, if my notes are correct (a typed copy & I may have missed the double --), I obtained for the CompilerControlString:
-c -device DLM -g -00 -I "CProgrammingLumMicroKeilARMINCLuminary" -o''' .o''
I hope this helps. Thanks for respondinng. Al Daniel

login or register to reply

LMI Eric

Moderator
Click here to see the profile of this user

2007/01/25 15:57

Re:uV3 Problem

OK, I see the same flags you listed for the original configuration from your notes. That's weird how those read-only flags were switched like that... I don't know how that could happen. I think those flags are populated by the IDE based on target device, not by the project options.

I would suggest trying to reinstall the Keil tools to see if that fixes the problem. You can get the latest build from the Keil website. The latest RVMDK version is 3.03a, but the uVision version will say 3.34 in the Help>About screen.

login or register to reply

adaniell

Fresh Boarder
Click here to see the profile of this user

2007/01/25 21:22

Re:uV3 Problem

Eric: Back in operation. Thank you. KeilMDKv3.04 & uV3v3.50 installed. When working with new tools, it is often difficult to evalute the problems properly. I tend to assume that I am the cause of the problems when I am uncertain of the terrane. Your assistance was helpful and appreciated.

login or register to reply