Robostix fuse help

View: New views
6 Messages — Rating Filter:   Alert me  

Robostix fuse help

by Lee Whitcher :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi there,
 
I've been using a Robostix for quite a while now but for one reason or another it has stopped letting me ISP new code to it, I'm using AVR Studio 4 which gives me the 'ISP MODE ERROR' window when I try to download code. The code already flashed on there works fine when I power it up though! Could it be a fuse problem? When I go to the fuse page none of the boxes are ticked and the bottom window says 'fuses address 0 to 2... 0xFF, 0xFF, 0xFF'.
 
If anyone could provide any help or advice whatsoever I'd be extremely grateful.
 
Thanks,
 
Lee Whitcher
Peterborough, UK 

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users

Re: Robostix fuse help

by Dave Hylands :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Lee,

> I've been using a Robostix for quite a while now but for one reason or
> another it has stopped letting me ISP new code to it, I'm using AVR Studio 4
> which gives me the 'ISP MODE ERROR' window when I try to download code. The
> code already flashed on there works fine when I power it up though! Could it
> be a fuse problem? When I go to the fuse page none of the boxes are ticked
> and the bottom window says 'fuses address 0 to 2... 0xFF, 0xFF, 0xFF'.

That probably just means that it was unable to read the fuses (which
is done using the same ISP mechanism as programming it is).

Presumably you have a flashing LED or something to know that the
program on the robostix is running? If the robostix is running, then
that's generally sufficient to be able to program it, provided the
lock bits haven't been programmed. If those are programmend, then
you're out of luck.

The only thing I've ever changed in AVR Studio is the ISP frequency.
If your're using a real AVRISP, AVRISP II, or STK500, then you should
be able to change the frequency. It's under the Advanced Tab in the
programmer dialog (IIRC). Set it to something like 125 kHz.

Does your robostix have the headers on the same side as the components?

I assume that you've checked stuff like power to the robostix, and
that your programmer is plugged in to the PC, and powered on, and
plugged into the robostix.

--
Dave Hylands
Vancouver, BC, Canada
http://www.DaveHylands.com/

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users

Custom Kernel Module

by booherbg :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hey guys,
  I'm trying to figure out more information about the open embedded system on
the gumstix platform (gumstix-custom-verdex). We are using the current
angstrom realease and would like to use the kernel module cp2101 with a usb
device.  The default cp2101 module won't work, since we have to edit the USB
Device ID in the source code.  I'm having a hard time figuring out:
1.  How do I 'enable' the cp2101 module in the kernel?
2.  How do I rebuild the kernel, once the source code is edited?
3.  How to I ensure that the module is part of the final build, so that I can
do a 'modprove cp2101' on the gumstix and have it load successfully?

I've found a few resources relating to this, but so far nothing that explains
it in a clear and concise manner (yet, at least).

Thank you in advance,
Blaine

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users

Re: Robostix fuse help

by Lee Whitcher :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Dave,
 
You're always forthcoming with your help, thank you very much!
 
I do indeed have a flashing LED on there that works at the moment. I have another Robostix that I have now programmed and got running so I know all the connections to my STK500 are working properly but no matter what I do I can't program the broken one despite it still running with its existing code. It won't let me set fuses either.
 
Thanks for your help but I'm sure it's doomed :(
 
Lee

2008/7/11 Dave Hylands <dhylands@...>:
Hi Lee,

> I've been using a Robostix for quite a while now but for one reason or
> another it has stopped letting me ISP new code to it, I'm using AVR Studio 4
> which gives me the 'ISP MODE ERROR' window when I try to download code. The
> code already flashed on there works fine when I power it up though! Could it
> be a fuse problem? When I go to the fuse page none of the boxes are ticked
> and the bottom window says 'fuses address 0 to 2... 0xFF, 0xFF, 0xFF'.

That probably just means that it was unable to read the fuses (which
is done using the same ISP mechanism as programming it is).

Presumably you have a flashing LED or something to know that the
program on the robostix is running? If the robostix is running, then
that's generally sufficient to be able to program it, provided the
lock bits haven't been programmed. If those are programmend, then
you're out of luck.

The only thing I've ever changed in AVR Studio is the ISP frequency.
If your're using a real AVRISP, AVRISP II, or STK500, then you should
be able to change the frequency. It's under the Advanced Tab in the
programmer dialog (IIRC). Set it to something like 125 kHz.

Does your robostix have the headers on the same side as the components?

I assume that you've checked stuff like power to the robostix, and
that your programmer is plugged in to the PC, and powered on, and
plugged into the robostix.

--
Dave Hylands
Vancouver, BC, Canada
http://www.DaveHylands.com/

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users

Defconfig file missing

by booherbg :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hey everyone,
  This should be a simple fix.  I am very new to the OE platform so I'm not sure where to start looking.  

When we try to build 'bitbake gumstix-x11-image', the build fails because 'defconfig' can not be found inside our kernel directory.  The kernel directory it complains about is:
(root)/com.gumstix.collection/packages/linux/gumstix-kernel-2.6.21/ (so its looking for defconfig in that folder).  
However, defconfig actually exists inside the subdirectory gumstix-custom-verdex.  When we built this image originally with default settings (a day or two ago), this did not error out.  This makes me believe that somewhere along the line I accidentally messed with a config file. I can move the defconfig file up one directory so that bitbake is happy, but this is a temporary fix.  Any suggestions?

Thank you,
Blaine

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users

Re: Defconfig file missing

by Grahame Jordan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Blaine,

You should probably do a svn update first.

If that fails, there should be a defconfig in

(root)/com.gumstix.collection/packages/linux/

Copy it to:

(root)/com.gumstix.collection/packages/linux/gumstix-kernel-2.6.21/

bitbake gumstix-kernel -c menuconfig

Cheers



Blaine Booher wrote:

> hey everyone,
>   This should be a simple fix.  I am very new to the OE platform so I'm not sure where to start looking.  
>
> When we try to build 'bitbake gumstix-x11-image', the build fails because 'defconfig' can not be found inside our kernel directory.  The kernel directory it complains about is:
> (root)/com.gumstix.collection/packages/linux/gumstix-kernel-2.6.21/ (so its looking for defconfig in that folder).  
> However, defconfig actually exists inside the subdirectory gumstix-custom-verdex.  When we built this image originally with default settings (a day or two ago), this did not error out.  This makes me believe that somewhere along the line I accidentally messed with a config file. I can move the defconfig file up one directory so that bitbake is happy, but this is a temporary fix.  Any suggestions?
>
> Thank you,
> Blaine
>
> -------------------------------------------------------------------------
> Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
> Studies have shown that voting for your favorite open source project,
> along with a healthy diet, reduces your potential for chronic lameness
> and boredom. Vote Now at http://www.sourceforge.net/community/cca08
> _______________________________________________
> gumstix-users mailing list
> gumstix-users@...
> https://lists.sourceforge.net/lists/listinfo/gumstix-users
>
>  


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users
LightInTheBox - Buy quality products at wholesale price