cancel
Showing results for 
Search instead for 
Did you mean: 

STVD displays ''The parameter is incorrect''

anatoli_soltan
Associate II
Posted on March 26, 2011 at 04:17

Just received my STM8L-Discovery, installed STVD 4.2.1 and Raisonance compiler. Whenever I hit F7, STVD shows this non-descriptive message ''The parameter is incorrect''. After that, the only way to exit the application is to kill it in the Task Manager. I tried it on Win XP and Win 7 (32-bit) with same results.

Does anyone experienced a similar problem?

Thanks for help!

35 REPLIES 35
napoleoni.jacques
ST Employee
Posted on April 06, 2011 at 17:00

If we mix all problems with all solutions, I'm not sure this forum will be helpful for anyone. These are basics of support.

If you're complaining about initial error ''the parameter is incorrect'', you may have an issue with Raisonance and we're suggesting to solve it by updating your Raisonance version.

Regards

anatoli_soltan
Associate II
Posted on April 07, 2011 at 03:21

Hello,

I attached the support file generated according to the instructions. It does not contain a lot of information though.

The Raisonance toolset version is RCSTM8 COMPILER V2.32.10.307 Evaluation (1 Kb code limited).

The problem seems to be unrelated to a particular toolset. It occurs even in projects using the ST assembler/linker only. It probably would be a good test to try a previous version (4.2.0 ) but I could not find how to download it.

Thank you

normand
Associate II
Posted on April 07, 2011 at 06:36

Except for an usb hub debugging issue with STM8l, STVD 4.2.0 works ok on all our lab computers. It does build  with no errors using Resonance and Cosmic compilers or Assembler/linker. Version 4.2.0 is also ok building and debugging STM8S with complilers or assembler.

I hope that is the good forum to say so.

Regards

vincent.philippe
Associate II
Posted on April 07, 2011 at 12:17

Hi,

I try to reproduce the problem with the message ''The parameter is incorrect...'';

In my side, on PC (XP) I believe that I have a configuration similar to yours:

STVD 4.2.1 and Raisonance RCSTM8 COMPILER V2.32.10.307.

 I've built the ST project (STM8L discover), I haven't detected the problem.

 I need to know in which context the problem occurs for this:

1/ Could you try to build this full project available on ST site, and could you  give me the results,

2/ If the problem occurs in another context (one particular project), is it possible to send to us a full with the build problem?

 I think that you can have a ''main.c'' source file without personal source files. It's important to us to reproduce the problem and we need to have this context.

3/ In STVD, you can open the OUTPUT WINDOW with ''build'' sheet. After the error message, could you indicate the messages displayed in this windows.

Thanks a lot for these information.

Regards

Philippe

normand
Associate II
Posted on April 07, 2011 at 16:41

This is all what is displayed in the Build window (widows XP 32 and Widows7 32 or 64)

---- Project discover - Resonance - Configuration Debug -----

Trying to quit STVD needs to stop the build process. Using the Build Menue ''Stop Build'' as no effect. To quit STVD we must kill the Stvdebug.exe with the Task Manager.

Regards

Normand Roussel

vincent.philippe
Associate II
Posted on April 08, 2011 at 12:23

Hi

Thanks a lot for this information. In fact we need to know which task generate this message. For this, in task manager please, could you check if you have one of this actived task:

rcstm8 or

rlstm8 or

omf2hex or

omf2elf

If yes, could you kill this task (instead STVDebug) and note the displayed line in STVDebug build window.

Thanks for this.

Best regards

Philippe

normand
Associate II
Posted on April 08, 2011 at 15:20

Hi,

there is no task listed under those names.

Regards!

anatoli_soltan
Associate II
Posted on April 13, 2011 at 00:29

There must be some tricky software dependency. The problem has nothing to do with a version of C compiler. Here is a simple sequence to reproduce the problem:

  1. Make a fresh install of Windows 7 32-bit or Windows XP OS.
  2. Install STVD 4.2.1.
  3. Create a new workspace and a project that uses the 'ST Assembler Linker' toolchain. This will create a project with two .asm files (mapping.asm, main.asm).
  4. Build the project.
  5. A message box showing 'The parameter is incorrect.'' will pop up.

Thanks,

Anatoli

vincent.philippe
Associate II
Posted on April 14, 2011 at 15:09

Hi Anatoli,

thanks a lot for this description.

I've installed a fresh STVD from ST.COM on PC XP (without previous STVD) , I follow yours different steps. ''unfortunatly'' I can't reproduce the problem. I'm really sorry for this!

Could you please save & close the created project(before build of corse)  and created a zip file with all context directory. Please send it in attached file, I will try to reproduce it on my PC.

Thanks a lot for your effort!

Once again sorry for these troubles.

Best regards

Philippe

michaelardai9
Associate
Posted on April 22, 2011 at 19:20

I am selecting a processor and vendor for an upcoming commercial product, and I too am seeing the same problem (using Cosmic, but also with ST Assembler/Linker like Anatoli showed above).  I am using 4.2.1 patch 1 under Vista 32-bit.

I am attaching a zip of the directory.

/mike

[Edited with more information -

  I just tried the same test at home with the same results.  I am running STVD 4.2.1 (no patch) on WinXP ]