Go Down

Topic: Run developers environment from usb stick (Read 1 time) previous topic - next topic

cooz

Hi all, newbie here looking forward to receiving an arduino starter kit at Xmas so I can have a play.

As the kit comes in a storage box, I was wondering if it's possible to install the developers environment onto a USB stick, and run it from there. That way I'm not tied to a single PC and the whole setup becomes portable (between PCs, obviously).

I realize I'll need to stick to a single os (probably windows in my case) and probably keep drivers on the USB stick too - but could this work? Has anyone tried it?

nickgammon

I don't see why not. I run various versions of the IDE from different folders, and a USB stick would be similar to that. The drivers are part of the IDE folder, you would need to actually install the USB drivers onto those computers that needed them, and didn't have them yet.
Please post technical questions on the forum, not by personal message. Thanks!

More info: http://www.gammon.com.au/electronics

retrolefty

You will need to use computers that have at least 2 USB ports.  :D

I would suspect it would be a little more tricky if you wanted to be able to run on all three platforms, Windows, Mac and Linux, but maybe not.


cooz

Thanks Nick! Sounds like a plan then. For some reason having the whole lot portable appeals.

My only concern was whether having both the developers environment and the arduino connected to a PC by USB causes problems when uploading code. Guess there's only one way to find out.

About how much space do I need for the developers environment? I'm guessing the project sketches won't take up too much room ;-)

Retrolefty: yup, might need to explore what hubs work reliably :-). Moving between windows & Linux would be good but I think I should be at least a little realistic with my ambitions. Got electronics & arduino to learn first!

nickgammon


My only concern was whether having both the developers environment and the arduino connected to a PC by USB causes problems when uploading code.


Can't think why it would.


About how much space do I need for the developers environment?


My Arduino 1.0 folder takes 232 Mb unzipped. Unless you have a really old USB stick you have plenty of room. :)
Please post technical questions on the forum, not by personal message. Thanks!

More info: http://www.gammon.com.au/electronics

mrburnette

#5
Dec 07, 2012, 05:53 pm Last Edit: Dec 07, 2012, 05:56 pm by mrburnette Reason: 1
... I'm guessing that the PATH environmental will need changing (overriding) by a CMD/BAT file located on the flash medium.  The commandline environment on my XP box is:

Path=C:\Program Files\arduino-1.0.1\hardware\tools\avr\bin;C:\Program Files\WinA
VR-20100110\utils\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:
\Program Files\arduino-1.0.1\hardware\tools\avr\bin;C:\Program Files\IVI Foundat
ion\VISA\WinNT\Bin;C:\Program Files\Atmel\Flip 3.4.7\bin

Other concerns will be that the Temp directory utilized by Arduino should be on the local harddisk and not on the flash!

Then, there is the issue of never using hardcoded drive letters in the Path since the flash USB can be any drive letter on different computers.

Should give you something 'else' to play around with at Christmas other than the Arduino ...

- Ray

cooz

Ray - many thanks. The technical details of your answer escape me, but to summarise I won't try this straight away! Thanks for saving me additional and unnecessary agro when I'm first learning my way around the system.

Go Up