This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

STR9

I am running a program test it is giving the following error I tried many options but it is there

test.axf: error: L3900U: Unrecognized option '--scatter'.
Target not created

Parents
  • You say that you have tried many options. You don't mention any things you have tried. And what options have you tried not to use?

    You don't mention what linker you are using - gcc or RealView or any of the discontinued tools? Evaluation version or full version. Latest version or older.

    You don't supply the complete command line sent to the linker.

    The linker supplied with the RealView compiler has a --scatter parameter.

    But let's try to help you anyway, even without all the information you should have supplied.

    Guess what would have happened if you had tried to google for your error message? The first link you would have found would have been to another thread on this forum.

    http://www.keil.com/forum/docs/thread7710.asp

    The conclusion of the error message?

    "You are correct, the Eval Version does not allow Scatter Loading."

    and a link to this page:

    http://www.keil.com/demo/limits.asp

    So - it doesn't help to try many options randomly. And if you ask for help on a forum, you should supply a lot of information about your problem and about what you have already tried.

    But the best way when you get stuck is not to ask in a forum, but to either figure out the best manual to read, or to google based on known facts.

Reply
  • You say that you have tried many options. You don't mention any things you have tried. And what options have you tried not to use?

    You don't mention what linker you are using - gcc or RealView or any of the discontinued tools? Evaluation version or full version. Latest version or older.

    You don't supply the complete command line sent to the linker.

    The linker supplied with the RealView compiler has a --scatter parameter.

    But let's try to help you anyway, even without all the information you should have supplied.

    Guess what would have happened if you had tried to google for your error message? The first link you would have found would have been to another thread on this forum.

    http://www.keil.com/forum/docs/thread7710.asp

    The conclusion of the error message?

    "You are correct, the Eval Version does not allow Scatter Loading."

    and a link to this page:

    http://www.keil.com/demo/limits.asp

    So - it doesn't help to try many options randomly. And if you ask for help on a forum, you should supply a lot of information about your problem and about what you have already tried.

    But the best way when you get stuck is not to ask in a forum, but to either figure out the best manual to read, or to google based on known facts.

Children