Is there a difference in the way Hyperterminal and the Terminal Emulator (started from the Target Monitoring Tool) handle communication with a FasTrack Supreme? I get the following differences between the two which I can’t explain.
I am using FTP to do DOTA. The file gets downloaded without problems, but then things become strange. If I monitor the DOTA-program’s progress with TMT’s Terminal Emulator everything works fine: the FTP channel, bearer etc. are closed, the A&D cell gets finalized, the new application is installed and the unit reboots with the new software (Hello World sample program) correctly installed. A typical run displays the following:
But if I use Hyperterminal the unit reboots just after the FTP file download is completed, that is
+dota: File download completed
is the last message displayed. The messages about the channels being closed, cell finalized, etc, are never displayed. The reboot InitType is ADL_INIT_REBOOT_FROM_EXCEPTION and the downloaded software is not installed. I ran and compared the two responses (Hyperterminal vs Terminal Emulator) multiple times: it never works when using Hyperterminal, always rebooting immediately after the file is downloaded, and always works when using Terminal Emulator. I do not use TRACE commands; all responses are send using adl_atSendResponse(ADL_AT_RSP, “msg”).
I am not using M2M studio. I’m compiling using wmmake and use Hypeterminal and TMT for dowloading and monitoring. Does the OpenAT IDE (version 2.20) have a similar tool that I can try instead?
I found the problem, it was a stack overflow. I can’t explain why it only manifested itself under Hyperterminal but not in the Target Monitoring Tool. But it seems to working fine now.
well, but the you’d expect to get the same results (overflow) every time, it doesn’t explain why is happens only with hypertrm connected…
(i actually expect the module to reset when a stack overflow occures.)
Oh yes. Don’t try to debug SPI/I2C bus timing issues using RTE - the timing is way out.
That makes sense though - in RTE mode, a lot of processing is being done on the PC, and there is the time lag of commands being sent via the serial port…
as far as i understood the problem, hypertrm was used just for monitoring the dota progress.
i find it a bit disturbing that it seems to matter wich program you use to monitor your module?