From: House, B. <Brandi.House@Trinity.edu> - 2006-01-30 16:13:39
|
Hi Colin, =20 I actually was using the wrong cable at the beginning, but after = switching some wires, I was able to get UISP to connect to the robostix. = However, I don't believe I ever tried unplugging the cable to get the = program to run. I read that NPEN should be high when the robostix is = not in programming mode, so I decided to manually pull it high. By = doing this, the programs worked properly. I am afraid however, that I = didn't actually need to provide external help to pull it high. However, = because of the success, I attempted to solder a switch to the NPEN = solder pad on the back of the board, and since then, I think the board = has been malfunctioning. A scope trace shows that NPEN and several = other pins on the board arenow being held at 2V. It may be time now to = loacte a new board... =20 Thanks for the help, =20 Brandi=20 ________________________________ From: gum...@li... on behalf of Colin Sauze Sent: Mon 1/30/2006 8:59 AM To: gum...@li... Subject: Re: Re: [Gumstix-users] NPEN on the robostix >Date: Mon, 30 Jan 2006 00:49:51 -0800 >From: Dave Hylands <dhy...@gm...> >To: gum...@li... >Subject: Re: [Gumstix-users] NPEN on the robostix >Reply-To: gum...@li... > >Hi Brandi, > >On 1/27/06, House, Brandi <Bra...@tr...> wrote: >=20 > >>I have been using UISP to program the Atmel 128, but I had a little = troub=3D >> =20 >> >le getting code to run once I sent it to the robostix. To get this to = work=3D >, I discovered that by externally pulling NPEN high via the solder pad = on t=3D >he back of the board, the programs would run. So basically, I've been = prog=3D >ramming the flash from a PC, then pulling NPEN high externally. The = Atmel1=3D >28 manual states that NPEN should be pulled high internally on power-on = res=3D >et, however, I have found that this isn't the case. Is there something = wro=3D >ng with the board/chip, or is this actually normal behavior? >=20 > I built a parallel port cable by following the directions at http://cvs.savannah.nongnu.org/viewcvs/uisp/doc/uisp-parport-connect.txt?= root=3Duisp&view=3Dmarkup. This works by using the "dapa" programmer type in UISP or the "bsd" type in Avrdude. I've not had to mess with NPEN at all to get this working. One thing I have found is that programs sometimes don't work properly unless you unplug the cable. Alternatively I also bought a cheap programmer from http://www.active-robots.com/products/controllr/avr-downloader.shtml and this works fine in UISP as a "stk200" programmer. Using both of these I've been able to get the light flashing examples in the SVN working fine. -- Colin Sauze PhD Student Room: C57 Intelligent Robotics Group Department of Computer Science University of Wales, Aberystwyth Aberystwyth Ceredigion UK SY23 3DB Email: co...@ab... Webpage: http://users.aber.ac.uk/cos ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log = files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D103432&bid=3D230486&dat=3D= 121642 _______________________________________________ gumstix-users mailing list gum...@li... https://lists.sourceforge.net/lists/listinfo/gumstix-users |