TI-Nspire Hack Enables User Programming 88
An anonymous reader writes "Texas Instruments' most recent, ARM-based series of graphing calculators, the TI-Nspire line, has long resisted users' efforts to run their own software. (Unlike other TI calculator models, which can be programmed either in BASIC, C, or assembly language, the Nspire only supports an extremely limited form of BASIC.) A bug in the Nspire's OS was recently discovered, however, which can be exploited to execute arbitrary machine code. Now the first version of a tool called Ndless has been released, enabling users, for the first time, to write and run their own C and assembly programs on the device. This opens up exciting new possibilities for these devices, which are extremely powerful compared to TI's other calculator offerings, but (thanks to the built-in software's limitations) have hitherto been largely ignored by the calculator programming community."
TI announced a new firmware release today (Score:5, Funny)
It fixes some battery reporting issues and other minor bugs. All users are strongly encouraged to upgrade.
ti in the past never really supported assembly/c (Score:2)
all of the crazy stuff was implemented by hobbyists
Re:ti in the past never really supported assembly/ (Score:5, Informative)
The TI83 and TI86 had an ASM command for running assembly-language code without requiring a hacked memory backup. (on the original TI83, the ASM command was 'Send(9', but later models used an actual 'Asm(' command.)
Re:ti in the past never really supported assembly/ (Score:5, Interesting)
Re: (Score:1)
Re:ti in the past never really supported assembly/ (Score:2)
WHY? (Score:3, Interesting)
WHY do they do that? I could see if they had either some expensive dev tool you had to use to make your own powerful apps, or if they were selling a much more expensive calculator that had all the programming options unlocked, but in this case I don't see any profit in it for TI to not let people program them?
Re:WHY? (Score:4, Informative)
For many courses and standardized tests, only a few kinds of graphing calculators are allowed to be used. By allowing outside code to run on their calculators, TI risks losing their place on this list (and thus, sales) since those that administer these courses/tests might find out that TI's calculators allow outside programs to run that allow problems to be solved more easily.
Re: (Score:1)
Re: (Score:2)
Funny, I remember writing BASIC programs for my TI that helped me do my homework. Instead of doing the same tedious problem 10 times, I quick wrote up the equation, took inputs, displayed the output. Of course, in order to do this, I had to understand how to work the equation...
If cheating by storing information on these calculators is really such a big problem, why not just have the students use simple four-function or scientific calculators? They're dirt cheap, can't store programs, and won't give anyone
Re: (Score:2)
My school solved it by having the teacher issue graphing calculators along with the test.
Your school had a budget, at least at some point. ;)
Re: (Score:3, Interesting)
Except that's where a carefully written fake UI program that pretends to wipe the calculator memory when the teacher goes through the menus comes in handy. Special key combo, calc drops into the real UI, and all of your stuff is intact.
(Or, if the calc's an HP 49g+ or 50g, you can just move everything off to an SD or MMC card, pocket the card before going into the class, and after resetting and going to your desk, insert it.)
Re: (Score:2)
TI could fix that by simply providing a hard reset button. They could use a signed OS but instead of refusing to run a modified version, just have the ROM (not updatable) bootloader display "HACKED" on the screen.
So, the teacher hits hard reset. If he/she sees "HACKED" come up on the display, that calculator is banned from the test.
Enthusiasts who need to take a test just back everything up and restore the signed factory default firmware. When done, back to hacking.
From an ethical standpoint, actively preve
Re: (Score:1)
Re: (Score:2)
Keep in mind that I've read plenty of stories of people shoving TI-89 motherboards and LCDs into TI-83 cases to cheat on tests. So, the extremes have been gone to, even using 100% TI parts, no homebrew anything. (It's not hard, though, as the TI-83 uses the exact same physical case as the TI-89. The only problems you'd have are that the buttons wouldn't match up with their actual functions, and the LCD is higher resolution, and an observant teacher may notice that something's "off.")
Also, you could wire the
Re: (Score:2)
Yes. However, had it not been necessary to load a homebrew kernel, there is a MUCH better chance that either nobody would bother or that they would keep it to themselves if TI asked nicely.
By making it absolutely essential to hacking the thing, TI made sure someone would bother and would be sure to spread it far and wide.
In the process they also removed any reasonable presumption that the key would be used only for cheating.
Re: (Score:2)
All the more reason it's silly for TI to block homebrew hacking on their devices. They can easily enough permit unencumbered hacking while having a reasonable level of cheating prevention. None of their current measures will stop the sorts of things you're talking about anyway.
Re: (Score:1)
Archive programs, let teacher wipe calculator, un-archive programs, and there you go.
Re:WHY? (Score:4, Interesting)
I did this for all my Mechanical Engineering courses. I figured for some tests I would spend upwards of 20 hours programming... It just ended up being my way to study. By time I tested all scenarios, worked out problems by hand to make sure that my equations worked and debugged it some more, I had the equations memorized.
It did save my ass a few times when I made a stupid sign mistake ON the test, but my debugged program gave me the right answer. Went back and double checked my work, and found the sign error.
I also had it print out every step of the solving process so in a pinch (time running out) I could just copy from my calculator screen and get credit for full work.
500 lines of code gets quite tedious after a while on a TI-89 screen.
Re: (Score:3, Informative)
what will happen is that the smart kids will write the programs and the dumb kids will copy them from the smart kids (or from the Internet) and then just run them and copy the results (including the "working" displayed by the program), thus learning nothing.
Re: (Score:2, Insightful)
Re: (Score:2)
...and they will sometimes manage to appear just as smart as the...smart kids. Not a great thing if you're among the latter.
Re: (Score:2)
Ha. Good luck with that. If you didn't know what you were doing and didn't know my own acronyms, there was no chance in hell you were going to use my programs.
You may be able to figure it out, but by then the test was over.
Re: (Score:2)
Re: (Score:2)
Wait, we're talking about schools now? The discussion was about someone's Mechanical Engineering course... I don't think they have those in high school.
But that's not really the point. Understanding what the computer is doing is an entirely different thing. You can't fake that by pressing buttons. Don't make the students repeatedly solve problems that could be automated, give them the answer and make them prove that it's correct, showing their workings. Most of the maths exams I had from about age 1
Re: (Score:1)
In fact, educators may as well accept that programmable devices are here and integrate them into the curriculum. You could have programming assignments during the year to ensure that students were not just copying, and by the end of year assessments students would have some pretty awesome tools to work with.
Of course, this might require teachers to "learn" something, s
Re:WHY? (Score:5, Interesting)
TI's calculator division makes its money(and justifies its margins, I'm not sure that the price of a TI-83 has fallen to anything except inflation since I had to buy one back in secondary school) by being the de-facto standard calculator for education. Sure, a few of the hardcore nerds in engineering still have their HP somethings, and anybody doing real crunching will graduate to a full computer running one of the mathematical packages; but TI is it everywhere else.
The Wikipedia page mentions several features aimed specifically at educational testing: "The TI-Nspire also features a "testing mode" LED indicator, designed to stop potential cheating, informing test supervisors that the calculator is still denying access to saved files and possibly restricting geometry features on the handheld during the test. It also features a timer. At the end of a test, the supervisor is required to check the calculator's timer to see if it has not been removed out of "testing mode"." Essentially, because it is commonly used on tests, the educational customers who drive most of the sales(directly or indirectly, some districts purchase, some mandate, some just encourage) would really like the calculator to be a "trusted" black box capable of doing only what it says on the tin, not doing arbitrary computer tasks(like storing notes, or doing symbolic integration and differentiation when the kids are supposed to be learning that).
If it is possible for people to write their own stuff, in something more than a crippled little scripting language, it becomes possible to subvert these testing controls.
Re:WHY? (Score:4, Interesting)
This shows an interesting sliding window of sorts as to where the cutoff between allowed and not-allowed tools come into mathematics.
Day used to be when we had to look up values in a Log table and be able to find roots by hand etc. Using a calculator for that back then would clearly have been cheating. Nowadays that's exactly why we have the calculators on a test, so we're not bogged down doing grindy math and can get to the task of computing derivatives and solving for x, and that has become the banned feature.
I suppose ten years from now we'll have moved on and be working on more advanced mathematics, having left all of algebra to our calculators on the test...
Re:WHY? (Score:4, Funny)
"All Turing qualified expert systems, sentient hypercomputers, and copies of Mathematica version 26 or higher, must give their binding asset to the College Board's Standard Code of Ethics for the Assistance of Puny Humans before being allowed entrance to the test chamber..."
Re: (Score:2)
Not only that, but there are actually two entirely different TI-Nspire models (Nspire and Nspire-CAS) that differ only in software (and cost).
So if it were to become possible to flash one firmware to the other, TI would both lose money and anger standardized testing organizations (most allow only the NSpire and not the CAS, and rely on the different labelling on the hardware to ensure students are using the approved unit).
Re: (Score:2)
Interesting. There's the answer then! They could make the thing boot anything you like, but the bootloader disables the "testing mode" LED if it's not the TI blessed firmware. Problem solved.
Had they done that, the hack would be no issue at all. Because they refused, they now have a real problem.
Re: (Score:2)
... Sure, a few of the hardcore nerds in engineering still have their HP somethings... The TI-Nspire also features a "testing mode" LED indicator, designed to stop potential cheating...restricting geometry features on the handheld during the test. ...Essentially, because it is commonly used on tests, the educational customers who drive most of the sales... would really like the calculator to be a "trusted" black box capable of doing only what it says on the tin, not doing arbitrary computer tasks(like storing notes, or doing symbolic integration and differentiation when the kids are supposed to be learning that).
So, what you're saying essentially is that HP calculators are used by people who actually do engineering, and TI calculators are used by people who are required to fit the artificial restrictions of standardized tests.
Re: (Score:2)
When in the real world are you going to be doing anything beyond basic math in your head anyway?
Why not just recognize that and allow full calculator use on these exams?
Re: (Score:2)
Limited calculators for exams. That's really it.
Re: (Score:2)
WHY do they do that? I could see if they had either some expensive dev tool you had to use to make your own powerful apps, or if they were selling a much more expensive calculator that had all the programming options unlocked, but in this case I don't see any profit in it for TI to not let people program them?
Your inability to program it is what makes it acceptable for certain standardized tests. If the proctor of an exam can reset your device to factory fresh condition, they can be sure that you don't have
No more typing 80085 and 7734! (Score:2)
TI-89 (Score:1)
I knew the TI-89 was awesome, but when I bought it over 10 years ago I had no idea that in 2010 it would still be the best graphing calculator in the world.
It solves algebra problems.
It keeps a useful history of your equations.
It's user-friendly.
You can write simple (but graphics based) games in BASIC while you sit in class.
Or you can play pretty impressive assembly games while you pretend to do your homework.
The TI-89 is what a graphing calculator should be. It's sad to see that TI has gotten greedy.
Re: (Score:2)
Spoken like somebody that hasn't used an HP 48GX or 50G. ;)
The TI-89 is nice in terms of software, but that OS was never designed for a system without a QWERTY keyboard. The 92 is much nicer to use.
But I'd still rather have my HP!
Re: (Score:1)
Besides, after awhile you can type pretty fast on an ABCDE anyway.
Re: (Score:2)
Queue HP vs TI flame war in 3 .. 2 .. 1 ..
P.S.
I'm a HP48SX w/ 2x 128K RAM card 2 man myself. Ah, the good 'ol days of hacking Voyager, and dis-assembling ROM entry points...
Re: (Score:2)
TI is charging so much for the things because they have a near monopoly.
Most schools have designed their lesson plans around the TI calculator and therefore require the purchase of TI calculators by their students.
When I was in high school, I was one of the first group to be allowed to use graphics calculators in the math classes, specifically the Casio CFX-9850G. Great calculator, still have one, used it all the way through University too (well in the one math unit where I was allowed/needed graphics calcu
I still love my TI-89T (Score:1)
Re: (Score:1, Funny)
You kids and your new fangled TI-89s. In my day, all we had were TI-85s, and they did everything we needed and more! I once plotted an entire 40 mile trip to and from school, in the snow uphill both ways.
Re: (Score:2)
What's the point? (Score:1, Troll)
Re:What's the point? (Score:5, Insightful)
It's the fact that it is such a limited piece of hardware that makes it interesting. These people are hackers in the most flattering sense of the term, they take resources that they have and make something more. They get their kicks by seeing what different things they can make calculators do that they were never supposed to, and by besting TI in all things calculators. If you can't see the value or fun in any of that, then quite simply you just lack a proper hacker mindset and I feel sorry for you.
Re: (Score:2)
It's the fact that it is such a limited piece of hardware that makes it interesting.
Well... either that, or the fact that it is such a limited piece of hardware is what makes it so frustrating.
People who have never used a programmable calculator -- or who have never had to do much college math -- don't understand how much better they are for doing math. They are purpose-built devices designed to aid complex calculation. Yes, you could probably install a computer algebra system on an iPhone and get pretty much the same capabilities, but a calculator has actual buttons to do all those operat
Re: (Score:3, Insightful)
DS - 3D accellerator hardware, cool touchscreen stuff, NES style controller,
iPhone - too much cool stuff to list (though not as appealing now that there's an officially supported SDK),
XBox - a powerful (at the time) console that can handle network functionality and play video, or
Calculator - a bunch of butt
Re: (Score:3, Interesting)
The thing with the nspires is they are completely worthless. Complete crap, sure they do arithmetic fine, but besides that they do nothing. What this crack does is allow people to program it, without it there wasn't even the possibility of any sort of "homebrew" community for this calculator.
I still don't think you are getting the concept here though. Unlike programming on other platforms, programming on calculators isn't so much a means to an end, it is the end. People don't program them because they w
Re: (Score:2)
Re: (Score:2)
I take it someone didn't RTFA. ticalc.org not only is still around, it is the article. It, and several forums are still very active now, perhaps even now more than ever. All of the fun goes on on irc though ;)
Game Boy Color Emulator (Score:5, Informative)
http://www.ticalc.org/archives/files/fileinfo/426/42630.html [ticalc.org]
From the program description: "gbc4nspire is a Game Boy and Game Boy Color emulator for the TI-Nspire and TI-Nspire CAS, written from scratch in ARM assembly"
Pretty impressive, if you ask me.
Re: (Score:2)
Certainly great when you have to "study"...
Exciting New Possibilities? (Score:2)
I'm pretty sure in every other story like this we lambast the original programmers for their sloppy coding and demand the heads of the managers in charge.
Any chance someone has documented the exploit that was left so that other programmers can learn how to not make programs in future? Or are bugs in software acceptable when we can all install our own crap on the device in question?
TI-Calc love (Score:1, Interesting)
The latest smartphones appear to have way more proce
Re: (Score:2)
Really these exams should be on computers now days with a basic calculator built in to the program.
Of course doing exams on computers opens up huge cans of worms of it's own.
Plus there is STILL no good method for entering equations on computers (and at least the exams i've done as an EE student required loads of working that was heavy in equations). point and click entry is slow, latex has a steep learning curve and isn't really used anywhere else.
Re: (Score:3, Interesting)
Plus there is STILL no good method for entering equations on computers
I recommend LyX [lyx.org], a front-end to latex. When I was in college I was able to take equation-heavy notes real-time in class. My notes usually looked much better than the professor's official class notes as well. LyX does have a learning curve, but you can always remap the keys to whatever you are used to.
Re: (Score:1)
Re: (Score:2)
We need a cheaper calculator (Score:2, Informative)
High schools and colleges need to get together and encourage industry to make a much-cheaper calculator that is "good" through college math courses that non-technical majors typically take AND good through AB/AP/etc. high school courses as well as all common college entrance exams.
In practice, this would mean 2nd or 3rd semester Calculus.
Think "one laptop per child" but a calculator. This shouldn't run over $40 in America.
Of course, the whole idea of a hand-held dedicated student calculator that students h
Re: (Score:1, Insightful)
See the Casio fx-115MS. Cost me $10, used it for the last 8 years, and I think it still costs $10-15. I've dropped it, sat on it, and otherwise abused it more times than I can count and it still works without so much as a battery replacement. Does all of the mathematics needed to get through a full Chemical Engineering curriculum's worth of exams (can't do some of the tougher stuff, but no reasonable professor requires calculations on exams that must be done with a graphing calculator. For homework I just u
Re: (Score:2)
Seconded. I have a Casio FX-115ES. It's $15 right now from Amazon and it's way more calculator than most high school students should need. Very rugged, solar powered, nice all around.
In no way does it replace my HP 50G, however, which I paid >$100 for and still cling to, even though I haven't had occasion to do much complex math in a long time.
Classes that require students to buy a TI-84 are bad classes, IMHO. At my local community college, none of the calculus classes require calculators. Many instructo
Re: (Score:2)
What's the point of standalone calculators? (Score:2)
Nowadays you always got a computer running, which has more screen space, keys, processing power and features anyway.
Even my mobile phone can do everything a standalone scientific calculator can do, and more. Since there is a great calculator/math software for it, and since it runs Python and JavaScript anyway. Amongst others.
What are the reasons you still limit yourself to standalone calculators? (Honest question.)
To me it’s as pointless as having a standalone mp3 player. My phone has great sound and
Re: (Score:1)
Square root button (Score:3, Interesting)
Mine has: http://fx-602p.krischik.com/index.php/Simulator/SymbianOS [krischik.com]
Re: (Score:2)
Oh hell yeah. It has advanced graphing, programmability, statistics and integration function, tons of constants, etc. And I haven’t even talked about writing small scripts in python yet. :)
About a week after I got the software, it I plotted my first 3D function (interference of two waves on a surface) on it. ;)
To raise the bar of what I can do, I’d have to install Mathematica on it.
Which isn’t possible with this phone, but its bigger brother, the N900 can do that, as it can install Windows
Exams for example (Score:2)
What are the reasons you still limit yourself to standalone calculators? (Honest question.)
How about not being disqualified for cheating in an exam. Besides: in an exam where time is on the essence real buttons rule.
Re: (Score:2)
How about not being disqualified for cheating in an exam.
This is where the educational system of your country limits you. Math is not about doing stupid repetitive stuff that a machine can do. It’s about understanding the whys, and the implications. A calculator, or even the best computer, can’t help you there. Because a computer can’t do creativity and ingenuity. The real essence of mathematics.
My guess (or rather hope) is, that this is why we had no rules on calculators in school (a decade ago), and I had both a graphing and a programmable cal
Re: (Score:2)
My father was the last person to use my TI-86. It's sat on my shelf unused for a few years (I'd not used it since I finished school; university exams didn't allow it), but he needed to do some calculations and was doing most of the work on paper. The calculator's form factor was more useful to him while he was doing it.
If I'd been doing the same thing, I'd probably have used Octave, but he was more comfortable with paper. You can think of a stand-alone calculator as a numeric coprocessor for the paper