π
<-
Chat plein-écran
[^]

Lua ASI not detecting device

Pour TI-Nspire OS 3.0 ou ultérieur.

Lua ASI not detecting device

Message non lude volkov » 04 Fév 2023, 00:02

I was trying to follow this: https://ticalc.org/archives/files/filei ... 46659.html
,but since i don’t have an arduino micro/leonardo, I wanted to try making this with an esp32 ( cp2102 usb2uart bridge ). I was able to change the vid / pid of the device to match the values in the README ( 0x0451 and 0xBEF3 ) but the device isn’t detected by the nspire. Maybe it’s my cable that’s faulty, but it seems fine ( i checked that every pin is connected properly to the other side with a multimeter ). has anyone else tried this, even with an arduino micro/leonardo?
Also used tried this to look for connections: https://ticalc.org/archives/files/filei ... 46657.html

Ti-Nspire CX II-T
Software version 5.4
Lua API version 2.7 ( asi library is included since 2.7 )
Avatar de l’utilisateur
volkov
Niveau 0: MI (Membre Inactif)
Niveau 0: MI (Membre Inactif)
Prochain niv.: 0%
 
Messages: 5
Inscription: 03 Fév 2023, 23:39
Genre: Non spécifié
Calculatrice(s):
MyCalcs profile
GitHub: Volkov08

Re: Lua ASI not detecting device

Message non lude Adriweb » 04 Fév 2023, 00:08

It would be interesting to try on a recent OS (like 5.4 or 6.0) on a CX II, a previously-known-working configuration ("Arduino Leonardo (after faking the USB VID+PID with the MSP432 values : 0x0451 and 0xBEF3)") to make sure that this still works... it has been many years since we've (Jim, critor, and I) have messed with this...
Image

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...)
Avatar de l’utilisateur
AdriwebAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Prochain niv.: 80%
 
Messages: 14599
Images: 1216
Inscription: 01 Juin 2007, 00:00
Localisation: France
Genre: Homme
Calculatrice(s):
MyCalcs profile
Twitter/X: adriweb
GitHub: adriweb

Re: Lua ASI not detecting device

Message non lude volkov » 04 Fév 2023, 10:30

I could try that on monday/tuesday, ill just need to buy an arduino micro(which is essentially the leonardo, both use the atmega32u4) and a friend of mine could lend me his cx II, ill ask him.
Avatar de l’utilisateur
volkov
Niveau 0: MI (Membre Inactif)
Niveau 0: MI (Membre Inactif)
Prochain niv.: 0%
 
Messages: 5
Inscription: 03 Fév 2023, 23:39
Genre: Non spécifié
Calculatrice(s):
MyCalcs profile
GitHub: Volkov08

Re: Lua ASI not detecting device

Message non lude volkov » 15 Fév 2023, 18:36

Sooo, I got a CX on version 4.3 (I assume that’s about the one you also used originally) hooked up to an arduino micro/leonardo as described previously, still no results. here are a few pics of the setup and important information: https://imgur.com/a/hI93PKi
Avatar de l’utilisateur
volkov
Niveau 0: MI (Membre Inactif)
Niveau 0: MI (Membre Inactif)
Prochain niv.: 0%
 
Messages: 5
Inscription: 03 Fév 2023, 23:39
Genre: Non spécifié
Calculatrice(s):
MyCalcs profile
GitHub: Volkov08

Re: Lua ASI not detecting device

Message non lude Adriweb » 16 Fév 2023, 10:48

So, I asked Jim, and he said it could be the USB adapter that's the issue, OTG may be tricky... if you have a OTG adapter mini-USB <=> USB, you could check with a keyboard or mouse on the CX II (not the CX) that it works fine, first ?
Image

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...)
Avatar de l’utilisateur
AdriwebAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Prochain niv.: 80%
 
Messages: 14599
Images: 1216
Inscription: 01 Juin 2007, 00:00
Localisation: France
Genre: Homme
Calculatrice(s):
MyCalcs profile
Twitter/X: adriweb
GitHub: adriweb

Re: Lua ASI not detecting device

Message non lude volkov » 16 Fév 2023, 12:49

I don’t have a CX II available sadly, I could try with CX or CX II-T though
Avatar de l’utilisateur
volkov
Niveau 0: MI (Membre Inactif)
Niveau 0: MI (Membre Inactif)
Prochain niv.: 0%
 
Messages: 5
Inscription: 03 Fév 2023, 23:39
Genre: Non spécifié
Calculatrice(s):
MyCalcs profile
GitHub: Volkov08

Re: Lua ASI not detecting device

Message non lude Adriweb » 16 Fév 2023, 12:50

Yeah that's what I mean, there's no difference for this anyway
Image

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...)
Avatar de l’utilisateur
AdriwebAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Prochain niv.: 80%
 
Messages: 14599
Images: 1216
Inscription: 01 Juin 2007, 00:00
Localisation: France
Genre: Homme
Calculatrice(s):
MyCalcs profile
Twitter/X: adriweb
GitHub: adriweb

Re: Lua ASI not detecting device

Message non lude volkov » 18 Fév 2023, 19:08

Got it working by swapping the mini port out for a mini-a. now detects the esp32, arduino, and keyboard, although it’ll only communicate with the arduino (the keyboard behaves as expected with the cx, but the esp32 might not work due to using usb 1.1 instead of 2.0) i’ll be able to test everything on the cx II on wednesday
Avatar de l’utilisateur
volkov
Niveau 0: MI (Membre Inactif)
Niveau 0: MI (Membre Inactif)
Prochain niv.: 0%
 
Messages: 5
Inscription: 03 Fév 2023, 23:39
Genre: Non spécifié
Calculatrice(s):
MyCalcs profile
GitHub: Volkov08

Re: Lua ASI not detecting device

Message non lude Adriweb » 18 Fév 2023, 19:09

Great! Let us know :)
Image

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...)
Avatar de l’utilisateur
AdriwebAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Prochain niv.: 80%
 
Messages: 14599
Images: 1216
Inscription: 01 Juin 2007, 00:00
Localisation: France
Genre: Homme
Calculatrice(s):
MyCalcs profile
Twitter/X: adriweb
GitHub: adriweb


Retourner vers Nspire-Lua

Qui est en ligne

Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 6 invités

-
Rechercher
-
Social TI-Planet
-
Sujets à la une
Comparaisons des meilleurs prix pour acheter sa calculatrice !
Aidez la communauté à documenter les révisions matérielles en listant vos calculatrices graphiques !
Phi NumWorks jailbreak
123
-
Faire un don / Premium
Pour plus de concours, de lots, de tests, nous aider à payer le serveur et les domaines...
Faire un don
Découvrez les avantages d'un compte donateur !
JoinRejoignez the donors and/or premium!les donateurs et/ou premium !


Partenaires et pub
Notre partenaire Jarrety Calculatrices à acheter chez Calcuso
-
Stats.
859 utilisateurs:
>835 invités
>18 membres
>6 robots
Record simultané (sur 6 mois):
6892 utilisateurs (le 07/06/2017)
-
Autres sites intéressants
Texas Instruments Education
Global | France
 (English / Français)
Banque de programmes TI
ticalc.org
 (English)
La communauté TI-82
tout82.free.fr
 (Français)