π
<-
Chat plein-écran
[^]

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

Online

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: 6%
 
Posts: 35487
Images: 9479
Joined: 25 Oct 2008, 00:00
Location: Montpellier
Gender: Male
Calculator(s):
Class: Lycée
YouTube: critor3000
Twitter: critor2000
Facebook: critor.ti

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: 33.6%
 
Posts: 240
Joined: 30 May 2011, 13:44
Gender: Male
Calculator(s):

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 9: IC (Compteur Infatigable)
Niveau 9: IC (Compteur Infatigable)
Level up: 75.4%
 
Posts: 323
Joined: 21 Dec 2015, 22:22
Gender: Not specified
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: 33.6%
 
Posts: 240
Joined: 30 May 2011, 13:44
Gender: Male
Calculator(s):

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
User avatar
AdriwebAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Level up: 54.3%
 
Posts: 12948
Images: 1086
Joined: 01 Jun 2007, 00:00
Location: France
Gender: Male
Calculator(s):
Class: (ingénieur)
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 9: IC (Compteur Infatigable)
Niveau 9: IC (Compteur Infatigable)
Level up: 75.4%
 
Posts: 323
Joined: 21 Dec 2015, 22:22
Gender: Not specified
GitHub: boricj

Online

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: 6%
 
Posts: 35487
Images: 9479
Joined: 25 Oct 2008, 00:00
Location: Montpellier
Gender: Male
Calculator(s):
Class: Lycée
YouTube: critor3000
Twitter: critor2000
Facebook: critor.ti

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 9: IC (Compteur Infatigable)
Niveau 9: IC (Compteur Infatigable)
Level up: 75.4%
 
Posts: 323
Joined: 21 Dec 2015, 22:22
Gender: Not specified
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: 6.9%
 
Posts: 6518
Joined: 23 Dec 2009, 00:00
Location: France
Gender: Male
Calculator(s):
Class: -
GitHub: debrouxl


Return to News HP

Who is online

Users browsing this forum: No registered users and 2 guests

-
Search
-
Featured topics
L'OS 5.5 de la TI-83 Premium CE / 84 Plus CE supprime l'assembleur - la plupart des jeux et certains programme ne fonctionneront plus
Omega, le fork étendant les capacités de ta NumWorks, même en mode examen !
Découvre les nouvelles fonctionnalités en Python de l'OS 5.5 pour la 83PCE/84+C-T Python Edition
Comparaisons des meilleurs prix pour acheter sa calculatrice !
1234
-
Donations / Premium
For more contests, prizes, reviews, helping us pay the server and domains...

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.
342 utilisateurs:
>320 invités
>16 membres
>6 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)