Topic : I get ***SYSTEM ERROR 301 : INPUT FILE ERROR when trying to build

Forum : ST7/STM8

Original Post
Post Information Post
July 7, 2010 - 11:45pm
Guest

Hi,

I have just created my first, very simple C-code to try using the Ride7 for STM8S. But when trying to build or make to debug i get the above error code. I cannot find thid code in th manuals.
This is the text below the Error message: SIGNALTEST2.AOF EXCEPTION 2 : No such file or directory

How do I create this file?

I'm using the Simulator for debugging, later I will try the STM8S-Discovery.
I have followed the "Raisonance Tools for ST7/STM8S - Getting Started" document and think I have installed all files correct.
What am I doing wrong?

Greateful for help.

/Mats

Replies
Post Information Post
+1
0
-1
July 8, 2010 - 10:57am
Raisonance Support Team

Hi,

We would like to help you as quickly as possible on this issue. But we need to have more information about the problem before we can help further.

In order to understand the issue you are facing, we need the following information about your configuration:

- Version of Windows: At a command prompt type the following command: "systeminfo.exe", which will give you a report about your system. We need the full "Operating System" and "Version" entries from the report.

- Version of Ride7 and RKit-STM8 that you are using. You can get these from the Ride7 "Help | About" dialog box.
Please check from the Raisonance free downloads page at http://www.mcu-raisonance.com/mcu_downloads.html that you are using the latest version of the tools.

Concerning the precise problem you encounter:

- Provide the steps you followed to raise the error.

- The precise error message you received, and which tool emits it. If possible, a screenshot of the message (using the PrtScr keyboard key) is helpful.

- Does the problem show up when using the examples given with Ride7 (From the raisonance installation directory, default being "C:\Program Files\Raisonance\Ride\Examples\STM8")?

You may encounter a specific issue related to 64-bit Windows. If you have a 64-bit system, just read this forum entry that decribes the problem and its solution.

Another known issue is about some Windows versions that do not have the script engine properly registered. You can check this from http://forum.raisonance.com/viewtopic.php?id=3296.

Let us know how you proceed through.
Regards,
Bruno

+1
0
-1
July 8, 2010 - 12:19pm
Guest

When putting all information together I believe I found the problem:

When doing some testing I used ”Add item” under Project menu to add a new file to the project, now it works when going to debug(I just get the normal warnings and errors, but the are code related). Earlier I opened a new file with the ”new file” button and assumed it would be incorporated in the project.
This was not described in the documentation (atleast I have not seen it). For ST7 the Rbuilder does alot automatically, but for STM8S the description of what needs to be done to get to a basic project, and how to do it manually, is missing.

Since I have put all the rest together I'll include it anyway, perhaps useful. As you see below, I do not understand why the Towers project works today, I have not done (as far as I'm aware of) anything different or in a different order today compared to yesterday.

I have installed Ride7 on two different PC's, one with XP and one with Windows7, same problem. I have installed the Ride7 in it's default directory on the C: in both cases and use a USB-stick for the projects. On the XP-PC (laptop) I have not installed the 32k code expansion, which I have done on the W7-PC (stationary)

I tried to build the ”Towers” example with the same result a couple of times over the last days, but today when opening the Towers project build works fine. I have opened a new project in a folder under the Ride7 installation folder on the C: but it does not help.

Windows: XP Professional, version: 5.1.2600 SP3 Build 2600

Ride7: version 7.30.10.0159, installed 2010-06-29
Rkit-STM8 for Ride7: version 2.28.10.0092, installed 2010-06-29
Ride7 Patch: 7.30.10.0169, installed 2010-06-29

To build the project I follow the documentation ”Raisonance Tools for ST7/STM8S Getting started” version 2010-03-15.

I click: Project/New Project, choose the STM8S105C6, write a project name, enter the path to my USB-stick, Finish.
I click the ”new file” button and write some code in the edit window.
I click the ”debug” or Ctrl-D or make and I get the error message.

Error message:

----------------Make Started: 'Signaltest2' in configuration 'Standard'--------------------------

Building F:\Mats USBminne\u-cons\ST\Programkod\C\signaltest2\Signaltest2.rapp
Running: ST7/STM8 Linker
"C:\Program\Raisonance\Ride\Bin\RLSTM8.EXE" -CP "F:\Mats USBminne\u-cons\ST\Programkod\C\signaltest2\Signaltest2.aof" TO("F:\Mats USBminne\u-cons\ST\Programkod\C\signaltest2\Signaltest2.aof") "LIBPATH(C:\Program\Raisonance\Ride\Lib\ST7)" PR("F:\Mats USBminne\u-cons\ST\Programkod\C\signaltest2\Signaltest2.map") SCINAME(STM8S105) GENERATEDEPFILE CODESIZE(0x8000) CODESTART(0x8000) RAMSIZE(0x800) DATASTART(0x0000) EEPROMSTART(0x4000) EEPROMSIZE(0x400) STACKSIZE(0x200) STACKTOP(2048) REMOVEUNCALLED IX XML("F:\Mats USBminne\u-cons\ST\Programkod\C\signaltest2\Signaltest2.Standard.xml") XMLRIDE("F:\Mats USBminne\u-cons\ST\Programkod\C\signaltest2\Signaltest2-globals.Standard.xml") CODE(0x8080)
LINKER/LOCATOR RLST7 V2.28.10.092 Evaluation (4 Kb code limited)
Copyright (c) Raisonance S.A.S. 1987-2010. All rights reserved.
***SYSTEM ERROR 301 : INPUT FILE ERROR
NAME: F:\MATS USBMINNE\U-CONS\ST\PROGRAMKOD\C\SIGNALTEST2\SIGNALTEST2.AOF EXCEPTION 2 : No such file or directory
RLST7 ABORTED

Build failed

So, sorry for occupying your time, but I appreciated the serious interest in your response.

/Mats

+1
0
-1
July 9, 2010 - 10:34am
Raisonance Support Team

Hi,

Thanks for this clear problem description. We will correct this in Ride7 in the future, so that "Create new source file" adds an option that automatically adds it to the project.

Regards,