2014-03-21 04:40 AM
Hello,
I have posted this on the Keil site, just wondered if anyone on here had come across this?I recently formatted my computer and re-installed UVision4.
I moved all my files to my Dropbox folder prior to the format. Once setup again I dragged a program back to my hard drive that compiled fine prior to the format.When I first went to compile the program I had errors relating to files paths, so I removed all files from the project and added them back, this resolved these initial errors.
I now get several errors, all are A1163E - 'Unknown opcode <instruction> , expecting opcode or Macro'.
The errors are related to instructions in the startup.s file (Apologies I would normally copy and paste the errors but I am currently away from home).
I can't understand why I am getting these, I replaced all files like for like so the program structure is as it was prior to the format. Looking up the error code on here explains this error is normally due to missing white spaces before the instruction, but the instructions that get the errors against them have white spaces before them?
Example programs do compile fine
Any ideas much appreciated.
2014-03-21 06:57 AM
Did you ZIP theses files, or otherwise confirm the integrity?
Is this the same version of Keil uV4? Same STM32 Libraries? Are the files on the Desktop or under Program Files? Do you have a ZIP'd project that demonstrates this condition?2014-03-21 07:18 AM
2014-03-21 07:48 AM
Not too sure what you mean by this,...
Do you have a project that demonstrates this condition that you can ZIP up in an archive and supply for review?2014-03-21 07:54 AM
Not on the machine I'm on at the moment but I can have later this evening.
2014-03-26 08:58 AM
Just to update, I found a earlier version of my project which compiled fine and had all the elements in it I required, so I've continued with this, thanks for help.