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

Why removing code from startup file crashes my code ?

Product         DCD     0 ;0
                EXPORT  Product

FirmwareVer     DCD     0x00000001             Version, cc = Major Version
                EXPORT  FirmwareVer

After removing above lines from my startup file(filename.s), my application doesn't even make it to main() or __main().
When I undo this change, I am running.

Please advise!

Parents
  • Perhaps someone within your organization can explain the purpose and impact of these structures/values. The random data supplied so far isn't going to be enough for third parties to figure out what's going on here.

    You should also be able to turn off "run to main" and trace through your code and better understand it and it's behaviour.

Reply
  • Perhaps someone within your organization can explain the purpose and impact of these structures/values. The random data supplied so far isn't going to be enough for third parties to figure out what's going on here.

    You should also be able to turn off "run to main" and trace through your code and better understand it and it's behaviour.

Children