π
<-

1ère détection réussie Arduino Leonardo sur TI-Nspire CX

:32tins: :32tinsktpb: :32tinsktpn: :32tinscas: :32tinstpkc: :32tinstpktpb: :32tinstp: :32tinscastp: :32tinscmc: :32tinscx: :32tinscxcas:

Re: 1ère détection réussie Arduino Leonardo sur TI-Nspire CX

Unread postby Lionel Debroux » 23 Feb 2016, 19:21

You need to search for hex content rather than string content, and IIRC, you should also search for the little-endian version, i.e. 0x5104 and 0xF3BE :)
What's more, you should be searching either within the portion of Firebird's memory which contains calculator's RAM image, or you should export said RAM image (64 MB from 0x10000000) to a file, and search inside that.
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

Re: 1ère détection réussie Arduino Leonardo sur TI-Nspire CX

Unread postby geckow » 23 Feb 2016, 20:11

Hmm, ok thank you...
64 MB = 536870912 bits
So bloc is 0x10000000 to 0x2FFFFFFF right ? Is it normal that from 0x10000000 to 0x10B90000 there is nothing ?
And do you know how to export a selection with HxD ?
User avatar
geckow
Niveau 8: ER (Espèce Rare: nerd)
Niveau 8: ER (Espèce Rare: nerd)
Level up: 8.2%
 
Posts: 15
Joined: 21 Jul 2013, 10:03
Gender: Male
Calculator(s):
MyCalcs profile
Class: Terminale S SI

Re: 1ère détection réussie Arduino Leonardo sur TI-Nspire CX

Unread postby Lionel Debroux » 23 Feb 2016, 20:30

So bloc is 0x10000000 to 0x2FFFFFFF right ?

64 MB is 0x40*0x100000, therefore you need to export the emulated addressing space from 0x10000000 to 0x13FFFFFF, though most of it should be irrelevant for your purposes, as...

Is it normal that from 0x10000000 to 0x10B90000 there is nothing ?

... the main part of the OS itself (code + const + data) still takes less than 16 MB, the rest of the 64 MB is heap + stacks + a bit more stuff, so yeah, that's mostly normal.

And do you know how to export a selection with HxD ?

Nope, sorry :)
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

Re: 1ère détection réussie Arduino Leonardo sur TI-Nspire CX

Unread postby geckow » 23 Feb 2016, 21:23

No luck for now >:]
Image
User avatar
geckow
Niveau 8: ER (Espèce Rare: nerd)
Niveau 8: ER (Espèce Rare: nerd)
Level up: 8.2%
 
Posts: 15
Joined: 21 Jul 2013, 10:03
Gender: Male
Calculator(s):
MyCalcs profile
Class: Terminale S SI

Re: 1ère détection réussie Arduino Leonardo sur TI-Nspire CX

Unread postby Lionel Debroux » 23 Feb 2016, 22:24

You're dumping Firebird's memory image, and what's more, pointing to areas of your computer's addressing space outside of the memory reachable by the Firebird process. That's not what you want (you want to dump the emulated addressing space), and the OS is right not to let you do that ;)

Simply put, HxD is not the best tool for achieving your aim :)
Firebird's ancestor nspire_emu has made it possible to dump the emulated address space since pretty much the beginning. Obtaining such memory dumps through the emulator's built-in debugger was an integral part of one of the early methods for obtaining clear-binary OS images, I used it multiple times before an off-line program came out. Nowadays, Firebird also provides a GDBstub, inherited and improved from nspire_emu, which itself inherited it from Ncubate.
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

Re: 1ère détection réussie Arduino Leonardo sur TI-Nspire CX

Unread postby geckow » 23 Feb 2016, 23:08

I don't understand how to use GDB debugger...
I should maybe make use of snapshots in Firebird... Are they RAM dumps ? I know that I can ungzip them and the output file is about 67 MB (a bit more than the RAM size), if I edit this file, repack it, and load it into Firebird, should it work ?
User avatar
geckow
Niveau 8: ER (Espèce Rare: nerd)
Niveau 8: ER (Espèce Rare: nerd)
Level up: 8.2%
 
Posts: 15
Joined: 21 Jul 2013, 10:03
Gender: Male
Calculator(s):
MyCalcs profile
Class: Terminale S SI

Re: 1ère détection réussie Arduino Leonardo sur TI-Nspire CX

Unread postby Adriweb » 23 Feb 2016, 23:11

In Firebird, in the menus, you can press "Enter Debugger".
Then, if you type 'h' (help), you'll see the list of commands.

From there, you can simply ask for a memory dump :)
"wm <file> <start> <size> - write memory to file"

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: 1ère détection réussie Arduino Leonardo sur TI-Nspire CX

Unread postby geckow » 23 Feb 2016, 23:25

There is not a lot of docs on github :p
Thanks, to dump the whole memory, I should do "wm dump 10000000 4000000" right ?

A bit too much complicated... I we buy any USB to serial adaptor with changeable VID/PID we could use any dev board with serial connexions (RX/TX) ? (like this cheap one : http://www.aliexpress.com/item/2015-Hot ... 07346.html)
User avatar
geckow
Niveau 8: ER (Espèce Rare: nerd)
Niveau 8: ER (Espèce Rare: nerd)
Level up: 8.2%
 
Posts: 15
Joined: 21 Jul 2013, 10:03
Gender: Male
Calculator(s):
MyCalcs profile
Class: Terminale S SI

Re: 1ère détection réussie Arduino Leonardo sur TI-Nspire CX

Unread postby Wistaro » 01 Nov 2016, 22:20

Good work :)

Is there a way to change PID and VID values on a pic18f mcu?
I didn't find anything on google...
Nouveau sur le site, ClaudeBot [spider] ? Avant de poster sur le chat et sur le forum, n'oublie pas de lire les règles. En cas de problème, tu peux m'envoyer un message, je réponds rapidement.

Liens utiles:
Image
Découvre mes programmes et mon site!
User avatar
WistaroSuper Modo
Niveau 15: CC (Chevalier des Calculatrices)
Niveau 15: CC (Chevalier des Calculatrices)
Level up: 88.4%
 
Posts: 3183
Images: 37
Joined: 25 Feb 2013, 16:21
Location: Toulouse
Gender: Male
Calculator(s):
MyCalcs profile
Class: Ingénieur en électronique
YouTube: Wistaro
Twitter: Wistaro
GitHub: Wistaro

Re: 1ère détection réussie Arduino Leonardo sur TI-Nspire CX

Unread postby jimbauwens » 02 Nov 2016, 17:58

Wistaro wrote:Good work :)

Is there a way to change PID and VID values on a pic18f mcu?
I didn't find anything on google...


As USB is not implemented on hardware level, the VID/PID is probably specified in the USB library (a search through the files for the current VID/PID might help). I found the following link: http://www.picbasic.co.uk/forum/showthread.php?t=6457, however I don't know if it applies to your microcontroller.
User avatar
jimbauwensProgrammeur
Niveau 9: IC (Compteur Infatigable)
Niveau 9: IC (Compteur Infatigable)
Level up: 30.3%
 
Posts: 54
Joined: 13 May 2011, 00:00
Location: Belgium
Gender: Male
Calculator(s):
MyCalcs profile
Class: Computer Science @ VUB University Brussels

PreviousNext

Return to News TI-Nspire

Who is online

Users browsing this forum: ClaudeBot [spider] and 7 guests

-
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.
723 utilisateurs:
>685 invités
>31 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)