Shop OBEX P1 Docs P2 Docs Learn Events
Ybox2 bootloader upgrade — Parallax Forums

Ybox2 bootloader upgrade

FjornirFjornir Posts: 9
edited 2011-02-25 17:05 in Propeller 1
First, my apologies if this is too far offtopic. I've posted on the forums at the vendor but I thought I would ask here as well since the experts seem to be here. I just built out my Christmas present -- a ybox2 kit from adafruit that came with the 1.0 bootloader installed. Here's the story: I don't have wired ethernet to where I want this thing installed so for the moment I'm trying to make do with running wire from my laptop and then either ICS or Bridged Connections to get the ybox2 its DHCP address. Alas, bridged connections do not appear to be getting DHCP requests and/or DHCP responses to/from my wireless. ICS is working to get the ybox2 online but unfortunately ICS is assigning it a new IP address every boot - unacceptable!

Looking around on the tubes the 1.1 bootloader appears to have static IP support which would make me a happy camper.

How do I go about doing the bootloader upgrade? Do I need to fab a programming cable or can that be done over the ethernets?

Thanks for your help!

Comments

  • wjsteelewjsteele Posts: 697
    edited 2011-02-25 05:09
    The Ybox2 has a programming header on it right next to the eeprom. You can use a simple propclip/propplug (depending on header) to reprogram it.

    Here is a picture of it: http://www.ladyada.net/images/ybox2/proghead.jpg

    Bill
  • FjornirFjornir Posts: 9
    edited 2011-02-25 07:26
    wjsteele wrote: »
    The Ybox2 has a programming header on it right next to the eeprom. You can use a simple propclip/propplug (depending on header) to reprogram it.

    Here is a picture of it: http://www.ladyada.net/images/ybox2/proghead.jpg

    Bill

    Sorry, maybe I was unclear in my question. I know you can program it over the programming cable; the question was, can I swap out the bootloader over the ethernet port without a programming cable.
  • Mike GreenMike Green Posts: 23,101
    edited 2011-02-25 08:17
    From the deepdarc FAQ:
    Q: Can the bootloader be upgraded over the network?
    Yes! It is a two step process. You upload the new bootloader into stage 2, boot into it, and then do it again... The second time it will upgrade the bootloader. The purpose of this being a two step process was to help make it more difficult for me (or anyone else) to accidently write a busted bootloader to the device. I would recommend being very cautious about upgrading the bootloader if you don't have a prop-plug.
  • KPRKPR Posts: 189
    edited 2011-02-25 13:57
    Mike is correct all of the info is available on the LadyAda Forums or better yet.. From the developers site http://www.deepdarc.com/ybox2/ Look in the code at his SVN..

    k.
  • FjornirFjornir Posts: 9
    edited 2011-02-25 17:05
    Mike Green wrote: »
    From the deepdarc FAQ:
    Q: Can the bootloader be upgraded over the network?
    Yes! It is a two step process. You upload the new bootloader into stage 2, boot into it, and then do it again... The second time it will upgrade the bootloader. The purpose of this being a two step process was to help make it more difficult for me (or anyone else) to accidently write a busted bootloader to the device. I would recommend being very cautious about upgrading the bootloader if you don't have a prop-plug.

    Uhm, egg on my face. I honestly do not know how I managed to miss the FAQ because, well, I looked and did not find it. Mea culpa.
Sign In or Register to comment.