¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: Question on #consolecommands


 

I'm slowly working my way through understand all the Wiki shellcommands.
A couple of the consolecommands aren't clear to me
Join the club!

1. dump - Prints output buffer. What exactly is in the output buffer? I've haven't been able to corelate the returned numbers.
For USB device to support SPP (virtual COM port), it must be prepared
to send many bytes, so STM32 needs a buffer.
Unlike other chips, STM32 integrates USB. That is why it can appear
as a different device in DFU mode.

2. The "trace" command returns the following example data:

['0 LOGMAG CH0 1.000000000 7.000000000', '1 LOGMAG CH1 1.000000000 7.000000000', '2 SMITH CH0 1.000000000 0.000000000', '3 PHASE CH1 1.000000000 4.000000000']
What are the two numbers that follow the channel number?
SCALE/DIV and REFERENCE POSITION

I was also going to ask about the "gamma" command and its use but I see you have a question mark in the description field, so I assume its use is not defined.
Question mark was not mine; it is returned by shell in current firmware.
Originally printed gamma[0]& gamma[1] - see message #101
It is presumably now replaced by 'sample gamma'
I suppose 'sample' works with 'port' command, but have not tested
enough to be certain.
I guess that 'sample' works with 'scan' and 'data' commands (which
implies 'pause') for results

See message #1219 for definition of gamma AKA S11

Join [email protected] to automatically receive all group messages.