Bricking the NXT Brick

This is where you talk about the NXJ hardware related topics such as the brick, sensors, LEGO pieces, etc

Moderators: roger, 99jonathan, imaqine

Bricking the NXT Brick

Postby Aqualuna » Wed Oct 31, 2012 11:03 pm

I'm wondering if its possible to brick the brick... I didn't see any message when i flashed lego and lejos firmwares, so I'm wondering if its safe...

I'm also wondering if the flash memory wears fast, and I should try to avoid uploading too often while developing...
Aqualuna
New User
 
Posts: 13
Joined: Mon Oct 29, 2012 9:52 pm

Re: Bricking the NXT Brick

Postby gloomyandy » Wed Oct 31, 2012 11:56 pm

I think you will have to try pretty hard to brick it. I've been developing low level code (the leJOS VM) for a few years now and have probably driven the NXT into many states it was never intended to go, so far it is still working fine. The same brick must have been reflashed many hundreds of times and had a huge number of downloads, again still fine. I'm sure it is possible to brick it, and no doubt at some point the flash will go, but I've not come across anyone that has had either happen...
User avatar
gloomyandy
leJOS Team Member
 
Posts: 3012
Joined: Fri Sep 28, 2007 2:06 pm
Location: UK

Re: Bricking the NXT Brick

Postby skoehler » Thu Nov 01, 2012 12:07 am

The ARM CPU of the NXT includes the so-called SAM-BA in-system-programmer firmware. If you push the reset button of the NXT for 4 seconds, this firmware is active and allows to reprogram the Flash memory of the NXT via USB. In other words: no matter how broken the firmware you tried to flash to the NXT is, you can always revert back to the SAM-BA firmware, which allows you to reprogram the brick via USB.

So yes, it's safe to switch between firmwares. Andy's answer seems to be more related to the write cycles of the Flash memory.
skoehler
leJOS Team Member
 
Posts: 1128
Joined: Thu Oct 30, 2008 4:54 pm

Re: Bricking the NXT Brick

Postby gloomyandy » Thu Nov 01, 2012 12:34 am

Just to be clear I think it is possible to brick the brick. If you configure the hardware badly then it is probably possible to cause damage to some of the hardware components like the main mcu chip. But to do this you would probably have to be writing your own firmware or using one of the native programming environments, so it is very unlikely to happen with leJOS etc. Having said this I think the Lego hardware folks did an outstanding job and the NXT is a very robust bit of kit...
User avatar
gloomyandy
leJOS Team Member
 
Posts: 3012
Joined: Fri Sep 28, 2007 2:06 pm
Location: UK

Re: Bricking the NXT Brick

Postby Aqualuna » Thu Nov 01, 2012 1:06 am

Sweet thanks for the comphrensive reply
Aqualuna
New User
 
Posts: 13
Joined: Mon Oct 29, 2012 9:52 pm


Return to NXJ Hardware

Who is online

Users browsing this forum: No registered users and 0 guests

cron
more stuff