Author Topic: Reflash your Nspire Diags without RS232!!!  (Read 11476 times)

0 Members and 1 Guest are viewing this topic.

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: Reflash your Nspire Diags without RS232!!!
« Reply #15 on: October 24, 2011, 04:42:40 pm »
I think it was something about OSlanucher.
Unfortunately, I don't know how to use it D:
Sig wipe!

Offline ExtendeD

  • CoT Emeritus
  • LV8 Addict (Next: 1000)
  • *
  • Posts: 825
  • Rating: +167/-2
    • View Profile
Re: Reflash your Nspire Diags without RS232!!!
« Reply #16 on: October 25, 2011, 04:27:27 pm »
Nice :)

bsl, what was then wrong with the previous routines used to write to the NAND?

But you could soon be able to patch your ClickPad/TouchPad Boot2 or replace it totally by a 3rd party Boot2...

Well, today we can't sign 3rd party boot2.
« Last Edit: October 25, 2011, 04:27:40 pm by ExtendeD »
Ndless.me with the finest TI-Nspire programs

Offline bsl

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 157
  • Rating: +14/-0
    • View Profile
Re: Reflash your Nspire Diags without RS232!!!
« Reply #17 on: October 25, 2011, 11:25:28 pm »
bsl, what was then wrong with the previous routines used to write to the NAND?
I looked at how boot2 updates a new diags or boot2 in the preload area and found
0x11950148 preload_update_boot2_or_diags, which is also called write_nand on the noncas1.7 listings.
It made sense for me to try it because it did more checking before writing a page. It also saves you writing a loop.

Its prototype is:
write_nand(void *source, ulong size, ulong NandOffset);

Offline critor

  • Editor
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2079
  • Rating: +439/-13
    • View Profile
    • TI-Planet
Re: Reflash your Nspire Diags without RS232!!!
« Reply #18 on: October 27, 2011, 06:35:38 pm »
FlashDiags is released:
http://tiplanet.org/index.php?mod=archives&ac=voir&id=3744


Grab it while you can ;)

You can now downgrade/upgrade your diagnostic software, or flash a new one if you've deleted it.

Be sure to read the Readme.
You'll need an officially signed diagnostic image and none of them are included or findable on TI-Planet for now.

Don't flash a diagnostic image not suited for your hardware, as diagnostic softwares are storing their status/configuration in NAND ROM and don't use to clean/reset them.
If an unsuited diags does corrupt these informations, it can make the diagnostic softwares unusable.
- basic ClickPad -> only non-CAS 1.X Diags images
- CAS ClickPad -> only CAS 1.X Diags images
- TouchPad -> only 2.X Diags images

And if you dig with the source code, be sure of what you're doing!
Writing at different NAND ROM addresses can brick your Nspire, and it won't be fixable through software...
« Last Edit: October 27, 2011, 06:39:58 pm by critor »
TI-Planet co-admin.

Offline JustCause

  • CoT Emeritus
  • LV8 Addict (Next: 1000)
  • *
  • Posts: 810
  • Rating: +115/-5
    • View Profile
Re: Reflash your Nspire Diags without RS232!!!
« Reply #19 on: October 27, 2011, 07:35:50 pm »
They keep trying to lock us down, and we keep on opening everything back up. Way to go, guys. Stay awesome. :P
See you, space cowboy...

Offline critor

  • Editor
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2079
  • Rating: +439/-13
    • View Profile
    • TI-Planet
Re: Reflash your Nspire Diags without RS232!!!
« Reply #20 on: October 28, 2011, 08:11:56 am »
Minor update:
http://tiplanet.org/index.php?mod=archives&ac=voir&id=3744

The calculator does not reboot any more after flashing a diagnostic.
TI-Planet co-admin.

Offline compu

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 275
  • Rating: +63/-3
    • View Profile
Re: Reflash your Nspire Diags without RS232!!!
« Reply #21 on: October 28, 2011, 04:53:55 pm »
Of course, the development Boot1 would have to be replaced by the production Boot1 too, or the production Boot2 won't be run. But we're getting nearer and nearer... ;)
Does this mean that replacing the boot1 would be theoretically possible?
(I always thought it is read-only or something...)

Offline Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
Re: Reflash your Nspire Diags without RS232!!!
« Reply #22 on: October 28, 2011, 04:54:36 pm »
It's in a NOR memory, and for now we can't really do anything with it (yet..)
My calculator programs
TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation

Offline critor

  • Editor
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2079
  • Rating: +439/-13
    • View Profile
    • TI-Planet
Re: Reflash your Nspire Diags without RS232!!!
« Reply #23 on: October 28, 2011, 05:56:22 pm »
The Boot1 is in NOR ROM on ClickPad Nspires and if writeable, will probably need a completly different code.

On TouchPad/CX Nspires, the NOR ROM seems to have disappeared and the Boot1 must have been moved into the Zevio ASIC, which shouldn't be writeable.
TI-Planet co-admin.