To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.nxtOpen lugnet.robotics.nxt in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / NXT / 456
455  |  457
Subject: 
Re: HELP! NXT brick flash now read-only!!
Newsgroups: 
lugnet.robotics, lugnet.robotics.nxt
Date: 
Sun, 4 Feb 2007 15:57:02 GMT
Viewed: 
6188 times
  
Nathan Anderson wrote:
On Sun, 4 Feb 2007, Steve Hassenplug wrote:

What software did you use to load V1.04?

The Atmel SAM-BA downloader, included in their In-system Programmer
package: http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3883

I was using an older version than the one currently available on their
site, though (1.7 vs. 1.8).

It sounds like there is something in there that set the firmware to
read-only after it loaded it.  Can you find any settings like that in that
software?

OK, everybody take a deep breath and slow down. first of all, the SAMBA
version I'm using is 1.11, available here:

<http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3894>

And for anyone that's going to get busy hacking firmware, this is
a great place to start:

<http://www.at91.com>

Yes, there is a script that will set the security bit in the FLASH
firmware, and yes, if you set it, your brick is "bricked"

However, unlocking and locking the FLASH does NOT set the security
bit it merely locks the sectors, which can be unlocked again.

Well, it would be nice to be able to get back IN to the software to check
for such an option.  I can't bring up the software because it can't find
the Atmel chip to talk to (main screen doesn't display until the software
makes the connection), and it can't find the Atmel chip because the NXT
brick won't go into download mode, and it won't go into download mode
because the stupid flash chip won't allow me to write to it!  Argh!!

Sorry; not mad at you, just a bit frustrated is all.

Even if such an option were present, I don't know how I'm supposed to undo
it if the NXT can't go back into download mode in the first place.

I do recall it prompting me, during the upload of 1.04, to "unlock" (I
think that was the verbiage used) some pages of the flash, and I said
"okay."  I figured this was normal as I remembered reading something about
how there was some sort of "lock" or "security" bit(s) that needed to be
toggled every time the flash procedure was attempted on the NXT (doesn't
putting the unit into download/SAM-BA mode either lock or unlock these
bits?).

Like I said before, locking is normal, but setting security bit prevents
and subsequent access to the FLASH.

Can you please make sure that you press the reset button in the hole
under the USB connector for a full 5 seconds until you hear a big CLICK
from the speaker?

If you don't hear the big click, then you've got other issues.

After the click, it goes quiet for 2 or 3 seconds and then starts
ticking. It should then enumerate as a new device.

You may want to do this on another PC just in case your USB config
is hosed and you are actually just misreading the chip.

Hope this helps,

Ralph

connector



Message has 1 Reply:
  Re: HELP! NXT brick flash now read-only!!
 
Hi Nathan, hi Ralph, (...) actually for the adventurous hardware hacker it might be possible to revive it using the ERASE pin. Though in this case, and if you are sure you didn't run the script for setting the security bit, I'd ask LEGO for a (...) (18 years ago, 4-Feb-07, to lugnet.robotics)

Message is in Reply To:
  Re: HELP! NXT brick flash now read-only!!
 
(...) The Atmel SAM-BA downloader, included in their In-system Programmer package: (URL) was using an older version than the one currently available on their site, though (1.7 vs. 1.8). (...) Well, it would be nice to be able to get back IN to the (...) (18 years ago, 4-Feb-07, to lugnet.robotics, lugnet.robotics.nxt)

8 Messages in This Thread:


Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    
Active threads in...

Robotics

 
Verified and Trusted Team of Hackers
3 hours ago

NXT programmable brick

 
Verified and Trusted Team of Hackers
3 hours ago
Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR