150

top, indeed.

BTW: I need help testing AMS transfers (to a calc running PedroM, and to a calc running AMS) with TILP.
avatarMembre de la TI-Chess Team.
Co-mainteneur de GCC4TI (documentation en ligne de GCC4TI), TIEmu et TILP.
Co-admin de TI-Planet.

151

I get a strange behavior. A screenshot will be more explicit. I don't get the 'S' of syntax when I redirect stderr to a file:

tromb Fichier joint : nfSU (redirection000.png)

And the file 'log' has a strange char at the end... confus It could be my fault ?
avatar<<< Kernel Extremist©®™ >>>
Feel the power of (int16) !

152

I got that using the RC9, but I still get that with the lastest one.
avatar<<< Kernel Extremist©®™ >>>
Feel the power of (int16) !

153

Could you try this patch ?
--- a/src/c/files.c
+++ b/src/c/files.c
@@ -260,9 +260,7 @@ __ATTR_STK__ short fputc(short c, FILE *f)
   if (feof(f))
     (*(short*)base)++;
 
-  if (c == 9 && tmode)
-    c = ' ';   // Translate TAB in SPACE
-  if (c=='\n' && tmode)
+  if ((c=='\n' || c == '\r') && tmode)
     {
       poke(base + f->pos++, '\r');
       if (feof(f))
diff --git a/src/c/side.c b/src/c/side.c
index 4f8d683..8c767ee 100644
--- a/src/c/side.c
+++ b/src/c/side.c
@@ -421,7 +421,6 @@ draw_char46 (unsigned short a)
 { if (stream_ptr == curs_ptr) stream_ptr = gap_ptr;           \
   c = *stream_ptr & 0x00FF;                                   \
   if (c == '\r') { stream_ptr++; c = CR; }                    \
-  if (c && c < 16 && c != CR && c != (EOF&0xFF) ) c = 255;    \
   if (c && c != (EOF&0xFF)) stream_ptr++;                     \
 }
 

154

Success, it works in the shell and in SIDE ! top
avatar<<< Kernel Extremist©®™ >>>
Feel the power of (int16) !

155

I was writing "install tib" to disp the RC10. I had typed 'ins', and I pressed 'ON'. The line has been completed with "tall tall" (twice, with a space between the 2 "tall". It's not the first time I get something like that with auto-completion. I'll try to do a test case after the transfert. It doesn't seem to be always reproductible.

edit -> I still got that typing "fflash": "ffl" [on] "ash ash"

ok: This behavior seems to appear when you type [on] twice or more during completion.
avatar<<< Kernel Extremist©®™ >>>
Feel the power of (int16) !

156

Folco (./155) :
I was writing "install tib" to disp the RC10. I had typed 'ins', and I pressed 'ON'. The line has been completed with "tall tall" (twice, with a space between the 2 "tall". It's not the first time I get something like that with auto-completion. I'll try to do a test case after the transfert. It doesn't seem to be always reproductible.

edit -> I still got that typing "fflash": "ffl" [on] "ash ash"

ok: This behavior seems to appear when you type [on] twice or more during completion.


Due to the way it works, it won't be easy to avoid this behaviour.
Completion sends all the missing keys into the key buffer to complete the string.
Then it is parsed by the inputstring function by getting the key.
But if you press ON during this time, ON is priority, so it sends another ON Key, which isself send another keys for completion.
I never get this behavior before; I think we can live with it for 0.82 release. Your opinion?

157

I think too, it's rare, and it occured this afternoon because I had my calc in a weird position when typing, due to the lenght of the ti-pc cable. grin
avatar<<< Kernel Extremist©®™ >>>
Feel the power of (int16) !

158

Folco, add you tried RC10 with Ticonnect?
If it didn't work, could you send me the log?
(PedroM is halted until I bought a new PC. I can't work with my P233).

159

Not @home before ~3 september, sorry... I'll try asap

>>> (PedroM is halted until I bought a new PC. I can't work with my P233).
Now i'll have a Fedora older than yours trioui
avatar<<< Kernel Extremist©®™ >>>
Feel the power of (int16) !

160

Sorry to hear that PedroM is halted sad
avatarMembre de la TI-Chess Team.
Co-mainteneur de GCC4TI (documentation en ligne de GCC4TI), TIEmu et TILP.
Co-admin de TI-Planet.

161

Folco (./159) :
Not @home before ~3 september, sorry... I'll try asap

>>> (PedroM is halted until I bought a new PC. I can't work with my P233).
Now i'll have a Fedora older than yours trioui

And so what? The release of PedroM is waiting for your tests smile I haven't installed a fedora, but a debian

162

Comen back at home today. I'll have performed the tests tomorrow.
avatar<<< Kernel Extremist©®™ >>>
Feel the power of (int16) !

163

TI DeviceInfo gives a "format" error, then TiConnect throws an error (can't reach device or something like that), then I get a "reset" error.

TI DeviceExplorer doesn't throw any error, but I still can't use the vars in the folder (main\abc, main\exp, system\linklog). I reboot to post the logfiles with TiLP.
avatar<<< Kernel Extremist©®™ >>>
Feel the power of (int16) !

164

Comen back under Linux, using TiLP.

I can't send the main\exp file to my PC ('ls -l' says that the file is 65445 bytes long). I get a timeout (very quickly), and PedroM throws a "Link Reset" after ~10 seconds (timeout set in constants.h ?).
This file was created when browsing the vat.
TiLP says the size of this file is 2 ko !?!?!
Lionel ?

I can send the file "abc", created when using "TI DeviceInfo". Here's the file : tromb Fichier joint : main.abc.89t
avatar<<< Kernel Extremist©®™ >>>
Feel the power of (int16) !

165

Folco (./164) :
I can't send the main\exp file to my PC ('ls -l' says that the file is 65445 bytes long). I get a timeout (very quickly), and PedroM throws a "Link Reset" after ~10 seconds (timeout set in constants.h ?). This file was created when browsing the vat.

Trying to open this file with SIDE make the calc turn off !!!
SIDE boots, disp "Loading ...", then the calc turn off.

When turning on the calc, the vat has lost all files (in RAM, I had nothing in archive) in all folders.

confus
avatar<<< Kernel Extremist©®™ >>>
Feel the power of (int16) !

166

Folco (./164) :
Comen back under Linux, using TiLP.

I can't send the main\exp file to my PC ('ls -l' says that the file is 65445 bytes long). I get a timeout (very quickly), and PedroM throws a "Link Reset" after ~10 seconds (timeout set in constants.h ?).
This file was created when browsing the vat.
TiLP says the size of this file is 2 ko !?!?!
Lionel ?

I can send the file "abc", created when using "TI DeviceInfo". Here's the file : tromb Fichier joint : main.abc.89t


Here is the description of the dialog between PedroM and ticonnect while using "TI Devise Info":
# Check READY
MID=08 CID=68 SIZE=00
MID=98 CID=56 SIZE=0
# Request Versions 
MID=08 CID=2d SIZE=0
MID=98 CID=56 SIZE=0
# Clear to send (CTS) aka continue
MID=08 CID=09 SIZE=0
MID=98 CID=56 SIZE=0
# Send data
MID=98 CID=15 SIZE=14 DATA=00.52.01.03.00.01.09.01.00.00.00.00.00.03.CRC OK
MID=08 CID=56 SIZE=0
# Check ready
MID=08 CID=68 SIZE=0
MID=98 CID=56 SIZE=0
# Request Variable : Get IDLIST
MID=08 CID=a2 SIZE=7 DATA=00.00.00.00.22.00.00.CRC OK
MID=98 CID=56 SIZE=0
# Send Variable Header (VAR)
MID=98 CID=06 SIZE=13 DATA=12.00.00.00.22.06.49.44.4c.49.53.54.00.CRC OK
MID=08 CID=56 SIZE=0
# Clear to send (CTS)
MID=08 CID=09 SIZE=0
MID=98 CID=56 SIZE=0
# Send data
MID=98 CID=15 SIZE=18 DATA=00.00.00.00.01.00.0e.00.30.32.33.34.35.36.37.38.39.40.41.42.43.44.CRC OK
MID=08 CID=56 SIZE=0
# End of Transmission (EOT)
MID=98 CID=92 SIZE=0
MID=08 CID=56 SIZE=0


# Check ready
MID=08 CID=68 SIZE=0
MID=98 CID=56 SIZE=0
# Request Versions 
MID=08 CID=2d SIZE=0
MID=98 CID=56 SIZE=0
# Clear to send (CTS) aka continue
MID=08 CID=09 SIZE=0
MID=98 CID=56 SIZE=0
# Send data
MID=98 CID=15 SIZE=14 DATA=00.52.01.03.00.01.09.01.00.00.00.00.00.03.CRC OK
MID=08 CID=56 SIZE=0
# Request Variable : Get certificates
MID=08 CID=a2 SIZE=6 DATA=00.00.00.00.20.00.CRC OK
MID=98 CID=56 SIZE=0
# Send data
MID=98 CID=15 SIZE=14 DATA=00.00.ff.ff.ff.ff.00.00.43.46.00.21.47.6c.CRC OK
# FIXME: No ACK?????
# FIXME: CID=VAR=06 is expected?

# Check ready
MID=08 CID=68 SIZE=0
MID=98 CID=56 SIZE=0
# Request Versions 
MID=08 CID=2d SIZE=0
MID=98 CID=56 SIZE=0
# Clear to send (CTS) aka continue
MID=08 CID=09 SIZE=0
MID=98 CID=56 SIZE=0
# Send data
MID=98 CID=15 SIZE=14 DATA=00.52.01.03.00.01.09.01.00.00.00.00.00.03.CRC OK
MID=08 CID=56 SIZE=0
# Request Variable : folder list
MID=08 CID=a2 SIZE=6 DATA=00.00.00.1b.1a.00.CRC OK
MID=98 CID=56 SIZE=0
#  Send Variable Header (VAR)
MID=98 CID=06 SIZE=11 DATA=1c.00.00.0e.1a.04.6d.61.69.6e.03.CRC OK
# FIXME: No ACK????
#FIXME: Why 1C? According to TI Link protocol, it should be 7E.


I see two problems.

167

Folco (./165) :
Folco (./164) :
I can't send the main\exp file to my PC ('ls -l' says that the file is 65445 bytes long). I get a timeout (very quickly), and PedroM throws a "Link Reset" after ~10 seconds (timeout set in constants.h ?). This file was created when browsing the vat.

Trying to open this file with SIDE make the calc turn off !!!
SIDE boots, disp "Loading ...", then the calc turn off.

When turning on the calc, the vat has lost all files (in RAM, I had nothing in archive) in all folders.

confus

I can't really reproduce it, but on tiemu when I send stdlib while logging, I quicky get a time out, then
a file which is 65443 byte long.
Opening it with side is possible but side really is really, really too slow with it.
To quit it, I have to use ON+ESC, then I get a corrupted heap, then I have to reboot...
It is probably a bug which is not from the link protocol code.

Try sending a much smaller file.

168

But this is the log file... Could you post a patch that would write in the log something like '<data>' instead of a lot of useless infos ?
avatar<<< Kernel Extremist©®™ >>>
Feel the power of (int16) !

169

Folco (./168) :
But this is the log file... Could you post a patch that would write in the log something like '<data>' instead of a lot of useless infos ?

I can't. I need this information in order to debug why it is failing.
(Well in fact, I need every data except the one corresponding to the file, which are the big ones).
Anyway, it shows another bug to fix.

170

Folco (./163) :
TI DeviceInfo gives a "format" error, then TiConnect throws an error (can't reach device or something like that), then I get a "reset" error.


I understand why. TIDevice info tries to get the certificate file which isn't performed by PedroM.
What is the Application Header to send for a certificate?
"12 00 00 00 22 06 I D L I S T 00 " is the Application Header for an id list.
I don't know what it is for a certificate, and ti-89 link protocol doesn't talk about it...

171

I get this Application Header for a certificate:
c8,00,00,00,20,01,ff,03
The certificate is 204 bytes of data.

172

Trying your new version with certificates handling. NEED SPONSOR !!!
avatar<<< Kernel Extremist©®™ >>>
Feel the power of (int16) !

173

We lost Martial wink

174

- Launching TI Device Info
- No more errors !!!
- TI Device Info says :
Device Type : TI-89
Device ID : N/A
OS Version : N/A
BIOS Version : N/A
Language : N/A
Total RAM : 128 KBytes
RAM Available : N/A
Battery Status : Good

ID List : 02345-6789@-+!


I post the logs when I have installed TiLP on Linux (TiLP2 fails to boot on Win...)

Do you want I reinstall AMS to give you the expected values for BIOS version etc... ?
avatar<<< Kernel Extremist©®™ >>>
Feel the power of (int16) !

175

Folco (./174) :
Do you want I reinstall AMS to give you the expected values for BIOS version etc... ?


No. Total RAM is completely wrong, and I know that the certificate and ID-List are wrong.
Did you be able to get some files using ti-connect?

It is good that we don't get any error using Ti Device Info. Thanks for your work.

176

The log when launching TI Device Info : tromb Fichier joint : main.device1.89t

I can't get files from the calc with Ti-Connect, because I don't see them. I got the log with TiLP (now re-installed).

I can't send the the log file of "TI Device Explorer", TiLP still timeout... Perhaps I should write a small program to split it.
avatar<<< Kernel Extremist©®™ >>>
Feel the power of (int16) !

177

Folco (./176) :
I can't send the the log file of "TI Device Explorer", TiLP still timeout... Perhaps I should write a small program to split it.


Maybe. Could you try sending / receiving a file of nearly 64K with TILP?

178

AMS 2.09 Listing:
[nosmile]
ticalcs-INFO: Obtention des dossiers & variables & applications:
ticalcs-INFO:  PC->TI: REQ (size=0x1F000000=520093696, id=1A, name=)
ticalcs-INFO:  TI->PC: ACK
1c.00.00.0e.1a.04.6d.61.69.6e.03.
ticalcs-INFO:  TI->PC: VAR (size=0x0E00001C=234881052, id=1A, name=main, flag=3)
ticalcs-INFO:  PC->TI: ACK
ticalcs-INFO:  PC->TI: CTS
ticalcs-INFO:  TI->PC: ACK
ticalcs-INFO:  TI->PC: XDP (0020=32 bytes)
ticalcs-INFO:  PC->TI: ACK
ticalcs-INFO:  TI->PC: EOT
ticalcs-INFO:  PC->TI: ACK
ticalcs-INFO: Nom:     main | Type:      DIR | Attr: 0  | Size: 00000000
ticalcs-INFO: Nom:   system | Type:      DIR | Attr: 0  | Size: 00000000
ticalcs-INFO: Listage du dossier dans     main...
ticalcs-INFO:  PC->TI: REQ (size=0x1B000000=452984832, id=1A, name=main)
ticalcs-INFO:  TI->PC: ACK
0e.00.00.0e.1a.04.6d.61.69.6e.03.
ticalcs-INFO:  TI->PC: VAR (size=0x0E00000E=234881038, id=1A, name=main, flag=3)
ticalcs-INFO:  PC->TI: ACK
ticalcs-INFO:  PC->TI: CTS
ticalcs-INFO:  TI->PC: ACK
ticalcs-INFO:  TI->PC: XDP (0012=18 bytes)
ticalcs-INFO:  PC->TI: ACK
ticalcs-INFO:  TI->PC: EOT
ticalcs-INFO:  PC->TI: ACK
ticalcs-INFO: 
ticalcs-INFO: Listage du dossier dans   system...
ticalcs-INFO:  PC->TI: REQ (size=0x1B000000=452984832, id=1A, name=system)
ticalcs-INFO:  TI->PC: ACK
1c.00.00.0e.1a.04.6d.61.69.6e.03.
ticalcs-INFO:  TI->PC: VAR (size=0x0E00001C=234881052, id=1A, name=main, flag=3)
ticalcs-INFO:  PC->TI: ACK
ticalcs-INFO:  PC->TI: CTS
ticalcs-INFO:  TI->PC: ACK
ticalcs-INFO:  TI->PC: XDP (0020=32 bytes)
ticalcs-INFO:  PC->TI: ACK
ticalcs-INFO:  TI->PC: EOT
ticalcs-INFO:  PC->TI: ACK
ticalcs-INFO: Nom:   stdlib | Type:      ASM | Attr: 3  | Size: 00005B7D
ticalcs-INFO: 
+------------------+----------+----+----+----------+----------+
|Nom Bin.          |Nom Trad. |Attr|Type| Taille   | Parent   |
+------------------+----------+----+----+----------+----------+
| 6D61696E00000000 |     main |  0 | 1F | 00000000 |          |
| 73797374656D0000 |   system |  0 | 1F | 00000000 |          |
| 7374646C69620000 |   stdlib |  3 | 21 | 00005B7D |   system |
+------------------+----------+----+----+----------+----------+


PedroM listing:
ticalcs-INFO: Obtention des dossiers & variables & applications:
ticalcs-INFO:  PC->TI: REQ (size=0x1F000000=520093696, id=1A, name=)
ticalcs-INFO:  TI->PC: ACK
1c.00.00.0e.1a.04.6d.61.69.6e.03.
ticalcs-INFO:  TI->PC: VAR (size=0x0E00001C=234881052, id=1A, name=main, flag=3)
ticalcs-INFO:  PC->TI: ACK
ticalcs-INFO:  PC->TI: CTS
ticalcs-INFO:  TI->PC: ACK
ticalcs-INFO:  TI->PC: XDP (0020=32 bytes)
ticalcs-INFO:  PC->TI: ACK
ticalcs-INFO:  TI->PC: EOT
ticalcs-INFO:  PC->TI: ACK
ticalcs-INFO: Nom:   system | Type:      DIR | Attr: 0  | Size: 00000001
ticalcs-INFO: Nom:     main | Type:      DIR | Attr: 0  | Size: 00000000
ticalcs-INFO: Listage du dossier dans   system...
ticalcs-INFO:  PC->TI: REQ (size=0x1B000000=452984832, id=1A, name=system)
ticalcs-INFO:  TI->PC: ACK
1c.00.00.0e.1a.04.6d.61.69.6e.03.
ticalcs-INFO:  TI->PC: VAR (size=0x0E00001C=234881052, id=1A, name=main, flag=3)
ticalcs-INFO:  PC->TI: ACK
ticalcs-INFO:  PC->TI: CTS
ticalcs-INFO:  TI->PC: ACK
ticalcs-INFO:  TI->PC: XDP (0020=32 bytes)
ticalcs-INFO:  PC->TI: ACK
ticalcs-INFO:  TI->PC: EOT
ticalcs-INFO:  PC->TI: ACK
ticalcs-INFO: Nom:   stdlib | Type:      ASM | Attr: 3  | Size: 00005B7D
ticalcs-INFO: 
ticalcs-INFO: Listage du dossier dans     main...
ticalcs-INFO:  PC->TI: REQ (size=0x1B000000=452984832, id=1A, name=main)
ticalcs-INFO:  TI->PC: ACK
0e.00.00.0e.1a.04.6d.61.69.6e.03.
ticalcs-INFO:  TI->PC: VAR (size=0x0E00000E=234881038, id=1A, name=main, flag=3)
ticalcs-INFO:  PC->TI: ACK
ticalcs-INFO:  PC->TI: CTS
ticalcs-INFO:  TI->PC: ACK
ticalcs-INFO:  TI->PC: XDP (0012=18 bytes)
ticalcs-INFO:  PC->TI: ACK
ticalcs-INFO:  TI->PC: EOT
ticalcs-INFO:  PC->TI: ACK
ticalcs-INFO: 
+------------------+----------+----+----+----------+----------+
|Nom Bin.          |Nom Trad. |Attr|Type| Taille   | Parent   |
+------------------+----------+----+----+----------+----------+
| 73797374656D0020 |   system |  0 | 1F | 00000001 |          |
| 7374646C69620073 |   stdlib |  3 | 21 | 00005B7D |   system |
| 6D61696E00686F6D |     main |  0 | 1F | 00000000 |          |
+------------------+----------+----+----+----------+----------+


I'll send you a version with 0 for the size of a folder... Except that I don't see any relevant difference.

179

(en français, désolé)

Quand on utilise ON pour compléter un nom de répertoire, un '\' est ajouté à la fin (ce qui est très commode).
Par contre, si ON a proposé le nom du répertoire via un popup, on a pas le '\', mais un espace à la fin.

Ca serait possible de toujours avoir un '\' s'il s'agit d'un répertoire ?
avatar<<< Kernel Extremist©®™ >>>
Feel the power of (int16) !

180

Sorry, when we displayed the menu, we have lost the information that it was a folder. It is not an easy fix. I prefer not doing it for the 0.82 release.