New to Uzebox. Atmel Studio ?

What is a Uzebox? How can I get one? Check here!
Post Reply
DaylightDreamer
Posts: 4
Joined: Wed Jul 18, 2012 11:36 am

New to Uzebox. Atmel Studio ?

Post by DaylightDreamer »

I was able to assemble the brand new Uzebox.
Its awesome i love this project.
Now i want to make game for it.

However i`m not sure how to start.
The first step would be to compile the existing examples.
But i`m not sure hot to create a project and attach the uzebox.h library.

I'm using Atmel Studio 6

Please advise.
User avatar
uze6666
Site Admin
Posts: 4801
Joined: Tue Aug 12, 2008 9:13 pm
Location: Montreal, Canada
Contact:

Re: New to Uzebox. Atmel Studio ?

Post by uze6666 »

Hi, welcome to the uzebox community! I am not aware of any tutorial with Avrstudio 6 so far. I would have to give it a look first. Eclipse is better suited IMHO, because you can invoke debug using the Uzebox emulator. There's a detailed page on setting up eclipse on the http://uzebox.org/wiki.
kathrin
Posts: 1
Joined: Fri Mar 08, 2013 7:39 am

Re: New to Uzebox. Atmel Studio ?

Post by kathrin »

Nice surprise about this shorter form. Can you tell us what it is you are talking/writing about?
Has any info. about this shorter form been posted before (and i just missed it)?
:idea:
kathrin
HylianSavior
Posts: 6
Joined: Sat Mar 02, 2013 2:39 am
Location: MA, USA
Contact:

Re: New to Uzebox. Atmel Studio ?

Post by HylianSavior »

Atmel's compiler won't take nicely to the avr-gcc compiler commands and all the code would have to be restructured. e.g. PROGMEM implementation is different between Atmel Studio and avr-gcc. There may be a way to get avr-gcc working with Atmel Studio but I doubt it.

Setting up the toolchain with Eclipse and WinAVR isn't too hard; beware that WinAVR installer overwrites your entire PATH environment variable, though.
User avatar
uze6666
Site Admin
Posts: 4801
Joined: Tue Aug 12, 2008 9:13 pm
Location: Montreal, Canada
Contact:

Re: New to Uzebox. Atmel Studio ?

Post by uze6666 »

There may be a way to get avr-gcc working with Atmel Studio but I doubt it.
In fact, in been integrated a long time ago and work very well. I sometime switch between the two IDEs for the same project. I.e: Develop in Eclipse, but use the simulators in AVRStudio.
Attachments
avrgcc.png
avrgcc.png (17.65 KiB) Viewed 9001 times
forsakenrider
Posts: 5
Joined: Mon Mar 04, 2013 5:19 am
Location: Montreal, QC, Canada
Contact:

Re: New to Uzebox. Atmel Studio ?

Post by forsakenrider »

I tried setting up eclipse and had a lot of trouble. I couldnt get anything to build after and so on. Im trying again now, but I think the wiki was a little "loose" for us non programer types.

Uzebox is making me learn C, so im a little behind...
User avatar
uze6666
Site Admin
Posts: 4801
Joined: Tue Aug 12, 2008 9:13 pm
Location: Montreal, Canada
Contact:

Re: New to Uzebox. Atmel Studio ?

Post by uze6666 »

forsakenrider wrote:I tried setting up eclipse and had a lot of trouble. I couldnt get anything to build after and so on. Im trying again now, but I think the wiki was a little "loose" for us non programer types.

Uzebox is making me learn C, so im a little behind...
I agree that setting up Eclipse is a pain and very tricky...I wish there was an easier way. Though once it is working it is much better than AvrStudio IHMO, specially with the GDB debugger support. Post your issue in details, I'll do my best to help and improve the Wiki (btw, what do you mean by "loose"?). :)
forsakenrider
Posts: 5
Joined: Mon Mar 04, 2013 5:19 am
Location: Montreal, QC, Canada
Contact:

Re: New to Uzebox. Atmel Studio ?

Post by forsakenrider »

By loose I mean, without direction. Some of it is assuming you know what each instruction is telling you.

I was able to get further this time, now Im just stuck on the debugger aspect.

I'll make a new thread on eclipse if I cant figure it out.
Post Reply