π
<-

Des nouvelles du firmware tiers HP-Prime en vidéo

Des nouvelles du firmware tiers HP-Prime en vidéo

Unread postby critor » 16 Jan 2016, 00:39

Dans un article précédent, nous vous présentions en vidéo le firmware tiers de Jean-Baptiste Boric pour calculatrice HP-Prime.

Ce firmware ne faisait pas grand chose et n'allumait même pas l'écran, mais il n'empêche qu'il démontrait quand même un contrôle total sur le matériel en étant capable d'allumer les diodes examen, composants censés être les plus critiques de la machine et donc les plus sécurisés ! :bj:

64616460Mais depuis il a évolué, est capable d'afficher sur l'écran et commence même à gérer les touches clavier ! :)

Pour le plaisir, voici donc l'installation et le lancement en vidéo de la toute dernière version de ce firmware :


A bientôt ! ;)


Source + téléchargement : https://github.com/boricj/ripem
Image
User avatar
critorAdmin
Niveau 19: CU (Créateur Universel)
Niveau 19: CU (Créateur Universel)
Level up: 48%
 
Posts: 41981
Images: 15887
Joined: 25 Oct 2008, 00:00
Location: Montpellier
Gender: Male
Calculator(s):
MyCalcs profile
YouTube: critor3000
Twitter: critor2000
GitHub: critor

Re: Des nouvelles du firmware tiers HP Prime en vidéo

Unread postby compsystems » 17 Jan 2016, 22:52

Great,
What is the next progress of project?
User avatar
compsystems
Niveau 9: IC (Compteur Infatigable)
Niveau 9: IC (Compteur Infatigable)
Level up: 40.2%
 
Posts: 256
Joined: 30 May 2011, 13:44
Gender: Male
Calculator(s):
MyCalcs profile

Re: Des nouvelles du firmware tiers HP Prime en vidéo

Unread postby jean-baptiste boric » 17 Jan 2016, 23:55

compsystems wrote:Great,
What is the next progress of project?


I haven't worked on it since I'm too busy at school at the moment, but here's the overly optimistic roadmap.

Short-term goals include :
  • figuring out the rest of the hardware,
  • porting a proper GDB stub,
  • carrying more than one payload and having a menu to select which one to launch.
Long-term goals (a.k.a pipe dreams) include :
  • launching payloads from NAND,
  • launching payloads from USB Mass Storage,
  • GDB stub over USB.

Long-term goals will probably require porting a real time operating system (RTOS) beforehand.

Ridiculously long-term goals include :
  • porting NetBSD.

However, since I'm the only guy working on this, even clearing the short-term goals would probably take an infinite amount of time (procrastinating is one of my many weaknesses). As native development on the HP Prime requires ripping open said calculator and soldering a few wires to access the UART (hence the code name Rip'em), I expect to remain the only guy working on this for a very, very long time...
User avatar
jean-baptiste boricPremium
Niveau 10: GR (Guide de Référence)
Niveau 10: GR (Guide de Référence)
Level up: 5.5%
 
Posts: 379
Joined: 21 Dec 2015, 22:22
Gender: Not specified
Calculator(s):
MyCalcs profile
GitHub: boricj

Re: Des nouvelles du firmware tiers HP Prime en vidéo

Unread postby compsystems » 18 Jan 2016, 23:05

wish a C compiler and python interpreter or at least one QBASIC interpreter

> .. As native development on the HP Prime requires ripping open said calculator and soldering a few wires to access the UART
>> please can include images of pin RS232 connection

Thanks
User avatar
compsystems
Niveau 9: IC (Compteur Infatigable)
Niveau 9: IC (Compteur Infatigable)
Level up: 40.2%
 
Posts: 256
Joined: 30 May 2011, 13:44
Gender: Male
Calculator(s):
MyCalcs profile

Re: Des nouvelles du firmware tiers HP Prime en vidéo

Unread postby Adriweb » 18 Jan 2016, 23:09

- C compiler: same issue as on the Nspire: you'd need to port a compiler to this device/ARM, and the RAM is low...
- Python interpreter: once some console I/O lib has been done, probably MicroPython can be ported as it was done on the Nspire
- QBasic : don't know about this one, but probably the same sentence as the python interpreter applies

MyCalcs: Help the community's calculator documentations by filling out your calculators info!
MyCalcs: Aidez la communauté à documenter les calculatrices en donnant des infos sur vos calculatrices !
Inspired-Lua.org: All about TI-Nspire Lua programming (tutorials, wiki/docs...)
My calculator programs
Mes programmes pour calculatrices
User avatar
AdriwebAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Level up: 78.9%
 
Posts: 14744
Images: 1119
Joined: 01 Jun 2007, 00:00
Location: France
Gender: Male
Calculator(s):
MyCalcs profile
Twitter: adriweb
GitHub: adriweb

Re: Des nouvelles du firmware tiers HP Prime en vidéo

Unread postby jean-baptiste boric » 19 Jan 2016, 00:19

compsystems wrote:> .. As native development on the HP Prime requires ripping open said calculator and soldering a few wires to access the UART
>> please can include images of pin RS232 connection

Thanks


The pads (UART_RX, UART_TX) are labeled on the motherboard, BAT- can be used for ground. On the revision A hardware they are located to the right of the SoC chip, on the revision C hardware they are located above the NAND chip.

Unfortunately I kinda sprayed hot glue all over the place to prevent the wires from ripping out the pads, so aside from a big patch of glue you wouldn't see much. If you have trouble finding the pads, let me know which revision hardware you have. If it's revision A I can highlight the pads on a picture from the web ; if it's revision C I'll need you to post a picture of your motherboard since I can't find one on the web.

Also, please take note that this is not RS232, it's 3.3v TTL. You'll fry the UART and possibly more if you directly hook up a PC serial port to the HP Prime.

Adriweb wrote:- C compiler: same issue as on the Nspire: you'd need to port a compiler to this device/ARM, and the RAM is low...
- Python interpreter: once some console I/O lib has been done, probably MicroPython can be ported as it was done on the Nspire
- QBasic : don't know about this one, but probably the same sentence as the python interpreter applies


Any of which would at least require porting a real-time operating system and figuring out the hardware. I wouldn't hold my breath waiting for a homebrew port of Lua on the HP Prime.

Though I guess TCC or PCC could fit in 32 MiB of RAM.
User avatar
jean-baptiste boricPremium
Niveau 10: GR (Guide de Référence)
Niveau 10: GR (Guide de Référence)
Level up: 5.5%
 
Posts: 379
Joined: 21 Dec 2015, 22:22
Gender: Not specified
Calculator(s):
MyCalcs profile
GitHub: boricj

Re: Des nouvelles du firmware tiers HP Prime en vidéo

Unread postby critor » 19 Jan 2016, 01:27

jean-baptiste boric wrote:
compsystems wrote:if it's revision C I'll need you to post a picture of your motherboard since I can't find one on the web.


Here are some HW-C pictures :
6462 6463 6464 6465
Image
User avatar
critorAdmin
Niveau 19: CU (Créateur Universel)
Niveau 19: CU (Créateur Universel)
Level up: 48%
 
Posts: 41981
Images: 15887
Joined: 25 Oct 2008, 00:00
Location: Montpellier
Gender: Male
Calculator(s):
MyCalcs profile
YouTube: critor3000
Twitter: critor2000
GitHub: critor

Re: Des nouvelles du firmware tiers HP Prime en vidéo

Unread postby jean-baptiste boric » 20 Jan 2016, 21:25

Here are the locations of the UART pads.

HW-A :

Image

HW-C :

Image
User avatar
jean-baptiste boricPremium
Niveau 10: GR (Guide de Référence)
Niveau 10: GR (Guide de Référence)
Level up: 5.5%
 
Posts: 379
Joined: 21 Dec 2015, 22:22
Gender: Not specified
Calculator(s):
MyCalcs profile
GitHub: boricj

Re: Des nouvelles du firmware tiers HP Prime en vidéo

Unread postby Lionel Debroux » 25 Jan 2016, 19:49

A GDBstub over USB would make it easier for developers to start fiddling, and seems therefore higher priority to me than a menu for choosing the payload... but as you wrote, achieving the aim of a GDBstub over USB is easier with a RTOS...

I had gathered several links about emulation at https://tiplanet.org/hpwiki/index.php?t ... /Emulation .
Membre de la TI-Chess Team.
Co-mainteneur de GCC4TI (documentation en ligne de GCC4TI), TIEmu et TILP.
User avatar
Lionel DebrouxSuper Modo
Niveau 14: CI (Calculateur de l'Infini)
Niveau 14: CI (Calculateur de l'Infini)
Level up: 11.3%
 
Posts: 6865
Joined: 23 Dec 2009, 00:00
Location: France
Gender: Male
Calculator(s):
MyCalcs profile
Class: -
GitHub: debrouxl


Return to News HP

Who is online

Users browsing this forum: ClaudeBot [spider] and 1 guest

-
Search
-
Social TI-Planet
-
Featured topics
Comparaisons des meilleurs prix pour acheter sa calculatrice !
"1 calculatrice pour tous", le programme solidaire de Texas Instruments. Reçois gratuitement et sans aucune obligation d'achat, 5 calculatrices couleur programmables en Python à donner aux élèves les plus nécessiteux de ton lycée. Tu peux recevoir au choix 5 TI-82 Advanced Edition Python ou bien 5 TI-83 Premium CE Edition Python.
Enseignant(e), reçois gratuitement 1 exemplaire de test de la TI-82 Advanced Edition Python. À demander d'ici le 31 décembre 2024.
Aidez la communauté à documenter les révisions matérielles en listant vos calculatrices graphiques !
1234
-
Donations / Premium
For more contests, prizes, reviews, helping us pay the server and domains...
Donate
Discover the the advantages of a donor account !
JoinRejoignez the donors and/or premium!les donateurs et/ou premium !


Partner and ad
Notre partenaire Jarrety Calculatrices à acheter chez Calcuso
-
Stats.
915 utilisateurs:
>875 invités
>33 membres
>7 robots
Record simultané (sur 6 mois):
6892 utilisateurs (le 07/06/2017)
-
Other interesting websites
Texas Instruments Education
Global | France
 (English / Français)
Banque de programmes TI
ticalc.org
 (English)
La communauté TI-82
tout82.free.fr
 (Français)