4.x build/assemble just does nothing...

Go To Last Post
6 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi All,

(my first post to AVR Freaks)

I haven't been able to use Studio 4.09 for months now. (luckily I haven't needed to)
Whether an existing project or a new one, clicking the build icon produces the message "building project..." and that's all. The program hasn't locked up, all other actions in the IDE continue to function, it just won't assemble anything. A valid project, an empty one, a one line program of nonsense, they all have the same result.

I've uninstalled and reinstalled numerous times, all appears to go correctly, but the problem remains. This happens with both 4.09 and also with 4.10 just downloaded yesterday. I've installed the MS XML parser as described in an earlier thread - no change.
Version 3.56 still works (but who wants to use that)

My system is running WIndows 98. Studio 4.09 used to work on it, I don't know what's happened to break it.

Any ideas?
Anyone had the same problem? If so, how did you fix it?

BTW: You all seem remarkably tolerant of this truly woeful piece of code here.
Are negative comments about the numerous bugs and deficiencies in AVR Studio unacceptable in this forum for some reason?

Regards,
Rob Storey

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Searh AVR Studio HELP for "XML". (Or browse "Known Issues".)

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I just realized that I swapped my PC's (this one's faster) a few months ago. Maybe the last time I saw AVR Studio run properly was on the other machine. Of course *everything else* works fine on this one, just not AVRS.

Yet another bug, and all the more reason to find an alternative...

Rob Storey

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Check if you get a file called avrbuild.bat in the folder where you strore your project. The assembler is run from a command file. If this file exists, try to execute it and see what happens.

Lars K
Atmel Norway

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Yes, it generates the .bat file, but doesn't execute it.

Running the bat causes the assembly to proceed, but no change in avrstudio display.
Deleting all generated files and retrying produces the same result.

Btw, there's a new bug in avrasm2.
The assembler now wants a lower case 'b' in binary constants:-

.EQU PBDIRM =0B11110000
Used to be accepted, but now gets an error:-
"B11110000: Unknown instruction or macro"

.EQU PBDIRM =0b11110000
works

Rob Storey

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

intabits wrote:
Yes, it generates the .bat file, but doesn't execute it.

Running the bat causes the assembly to proceed, but no change in avrstudio display.
Deleting all generated files and retrying produces the same result.


There is a bug in studio causing the assembler output to not be shown if it is less than 6 lines (IIRC). Check to make sure that no output files are generated after running Build in Studio. Maybe the .bat file actually was executed even if nothing appeared to happen?

Quote:
Btw, there's a new bug in avrasm2.
The assembler now wants a lower case 'b' in binary constants:-

.EQU PBDIRM =0B11110000
Used to be accepted, but now gets an error:-
"B11110000: Unknown instruction or macro"

.EQU PBDIRM =0b11110000
works


Thanks. I didn't know about this bug.

Roland Kruse
Atmel AVR Tools

Please don't report bugs in private forum messages.
--
Roland Kruse
Atmel AVR Tools