ROBOTC.net forums
http://www.robotc.net/forums/

Compatable Microcontroller Question
http://www.robotc.net/forums/viewtopic.php?f=62&t=4675
Page 1 of 1

Author:  starwarslegokid [ Sat Jul 14, 2012 8:20 pm ]
Post subject:  Compatable Microcontroller Question

Hello Everyone!

Just got my arduino version downloaded and installed to give it a whirl and have afew questions. I do alot of avr stuff on a breadboard and no not actually own an official arduino board (i have my own boards fabed ;-)) and have some technical questions to ask:

* What are the memory requirements for the bootloader and firmware? I noticed that you use the arduino bootloader, but robotC also adds firmware to the memory space. How much space total would that require? I have alot of atmega168's lying around and was wondering if that would ever be possible.

* How exactly does robotC know what serial port the arduino is on? I noticed it does an autodetect for the board. Will robotC be able to find microcontrolers on a breadboard that communicate with a external usb to com port setup?

Thanks, talk to you all soon!
Scott B-)

Author:  mightor [ Sun Jul 15, 2012 1:31 am ]
Post subject:  Re: Compatable Microcontroller Question

starwarslegokid wrote:
What are the memory requirements for the bootloader and firmware? I noticed that you use the arduino bootloader, but robotC also adds firmware to the memory space. How much space total would that require? I have alot of atmega168's lying around and was wondering if that would ever be possible.

I believe it is around the 24K mark or so; the 168 is out.

Quote:
How exactly does robotC know what serial port the arduino is on? I noticed it does an autodetect for the board. Will robotC be able to find microcontrolers on a breadboard that communicate with a external usb to com port setup?

Windows doesn't treat devices on a hub any differently than connected directly. As for auto-detecting, it resets the port and checks for a signature from the bootloader, afaik. This is how it can tell. I also think you can actually specify the COM port to use but that doesn't work flawlessly with the Uno yet.

- Xander

Author:  starwarslegokid [ Sun Jul 15, 2012 2:42 am ]
Post subject:  Re: Compatable Microcontroller Question

Thanks Mightor!

Looks like ill invest in a atmega328 very soon B-)

Scott

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/