/var/www/restricted/ssh/stm32/www/stm32circle/ STM CircleOS forum / compile errors circleos 3.3

Username:     
Password:     
             

Forum

# 1   2009-01-16 11:41:49 compile errors circleos 3.3

zwieblum
Member
Registered: 2008-12-19
Posts: 68

compile errors circleos 3.3

CIRCLE.RPRJ: after unpacking I load Circle.rprj. This give an error

and "Make Poject". Build fails with this error messge:

----------------Make Started: 'Hello' in configuration 'Standard'--------------------------
 
Building C:\Dokumente und Einstellungen\nik\Desktop\CircleOS-3.3\Applications\Hello\Hello.rapp
Unknown tool: $(Target.Tools.Linker)
 
Build failed


PRIMER2_CIRCLE.RPRJ: after a list of these errors:
"Unable to find c:\rep\circle\os\util.s"
"Unable to find c:\rep\circle\os\circle.h"
"Unable to find c:\rep\circle\os\circlestartup.h"
when first loading the project it compiles fine.

ride is from primer2 cd.
any suggestions?

Offline

 

# 2   2009-01-16 13:03:12 compile errors circleos 3.3

zwieblum
Member
Registered: 2008-12-19
Posts: 68

Re: compile errors circleos 3.3

BTW: when I flash CircleOS 3.3 with RFlasher, the primer hangs. power it off and on again leads to a white screen, nothing more. this is same problem for circleos 2.0 and up. citcleos 1.7 works.

Last edited by zwieblum (2009-01-16 13:03:44)

Offline

 

# 3   2009-01-16 13:15:04 compile errors circleos 3.3

Francis
Administrator
From: France-Grenoble
Registered: 2007-07-09
Posts: 890

Re: compile errors circleos 3.3

zwieblum :

PRIMER2_CIRCLE.RPRJ: after a list of these errors:
"Unable to find c:\rep\circle\os\util.s"
"Unable to find c:\rep\circle\os\circle.h"
"Unable to find c:\rep\circle\os\circlestartup.h"
when first loading the project it compiles fine.

This is probably because the project has been saved with some files opened in the editor. Just ignore these messages.
We check the rest...
To program the hex file download stm32-primer2.zip  in the Resources|Primer2  section. 
We will publish later today a note 'how to upgrade'...

Offline

 

# 4   2009-01-16 16:11:48 compile errors circleos 3.3

Francis
Administrator
From: France-Grenoble
Registered: 2007-07-09
Posts: 890

Re: compile errors circleos 3.3

I tried, and it works here..
BTW, we updated CicleOS3.3 (same versioning) after optimizing the map (to leave room for the MAP). The ZIP file has been replaced today.

Offline

 

# 5   2009-01-16 23:35:31 compile errors circleos 3.3

zwieblum
Member
Registered: 2008-12-19
Posts: 68

Re: compile errors circleos 3.3

aehm, there is no 'stm32-primer2.zip' in the  Resources|Primer2  section ...

Offline

 

# 6   2009-01-17 10:11:24 compile errors circleos 3.3

Francis
Administrator
From: France-Grenoble
Registered: 2007-07-09
Posts: 890

Re: compile errors circleos 3.3

sorrry... It has been renamed  'Primer2_upgrade'.

Offline

 

# 7   2009-01-17 14:34:39 compile errors circleos 3.3

zwieblum
Member
Registered: 2008-12-19
Posts: 68

Re: compile errors circleos 3.3

it looks like the rlink has died on my primer2. I get error 303 "Unabel to read IdCode", sometimes 304. the primer2 is running (circleos 3.2 - factory default) but i cannot flash it anymore. maybe primer3 will be more stable - and hopefully come with a jtag adapter.

Anyway, this does not solve the problem with the sourcecode, that is not building a working circleos, neither for primer2 nor primer1.

So I consider this "update" is a workaround and not a solution but the solution is soon to come, isn't it?

Offline

 

# 8   2009-01-19 09:21:26 compile errors circleos 3.3

Francis
Administrator
From: France-Grenoble
Registered: 2007-07-09
Posts: 890

Re: compile errors circleos 3.3

Perhaps you are trying to configured your software for JTAG instead of SWD ? JTAG is not available on Primer2 because the pins are used for I2S (connection to the audio chip).

Offline

 

# 9   2009-01-19 09:27:05 compile errors circleos 3.3

VincentC
Administrator
Registered: 2007-11-08
Posts: 149

Re: compile errors circleos 3.3

Hi,

The error message "Unable to read IdCode" comes when the software is able to communicate with the RLink, the RLink detects the target STM32 power, but the RLink is unable to communicate with the STM32 in JTAG or SWD.

Do you manage to read the RLink Serial Number? (just to confirm that the RLink is running)

Best Regards,

Vincent

Offline

 

# 10   2009-01-19 09:40:55 compile errors circleos 3.3

VincentC
Administrator
Registered: 2007-11-08
Posts: 149

Re: compile errors circleos 3.3

Hi,

Also, the specific error message you reported only comes when the software is in JTAG. (it is a little defferent in SWD)

The Primer2 can only work in SWD, not in JTAG. Please check that you have selected SWD in the Ride or RFlasher options.

Best Regards,

Vincent

Last edited by VincentC (2009-01-19 09:41:52)

Offline

 

# 11   2009-01-19 16:35:31 compile errors circleos 3.3

zwieblum
Member
Registered: 2008-12-19
Posts: 68

Re: compile errors circleos 3.3

Primer 2: Sorry to say, but i did not only get these errors when I tried to flash from RIDE. I  tried also to reset the primer with Restore_Primer2_Circle_Factory.bat, and the errors were was the same. Before this I could read the serial number, but it also somtimes failed (1 out of 10). When it failed, I had to power off the primer (unplug USB, remove jumper).

Primer 1: I still get this error when I try to compile CircleOS 3.3:

----------------Make Started: 'Hello' in configuration 'Standard'--------------------------
 
Building C:\Programme\Raisonance\Ride\Lib\ARM\Circle\Applications\Hello\Hello.rapp
Unknown tool: $(Target.Tools.Linker)
 
Build failed

Offline

 

# 12   2009-01-19 17:11:26 compile errors circleos 3.3

VincentC
Administrator
Registered: 2007-11-08
Posts: 149

Re: compile errors circleos 3.3

Hi,

Can you please open Ride or RFlasher, click "help"/"About" and tell us the versions of the Ride7 and ARM kits installed on your PC?

Best Regards,

Vincent

Offline

 

# 13   2009-01-19 21:53:28 compile errors circleos 3.3

zwieblum
Member
Registered: 2008-12-19
Posts: 68

Re: compile errors circleos 3.3

i installed them from primer2 cd, it says:

ride7 ide             7.15.0000
rkit-arm for ride7  1.14.0811

Last edited by zwieblum (2009-01-19 21:53:51)

Offline

 

# 14   2009-01-22 15:50:35 compile errors circleos 3.3

zwieblum
Member
Registered: 2008-12-19
Posts: 68

Re: compile errors circleos 3.3

Any news on how to build Circle 3.3 for Primer1 ? I still search for a workaround for the linker error....

Offline

 

# 15   2009-01-22 16:32:00 compile errors circleos 3.3

Francis
Administrator
From: France-Grenoble
Registered: 2007-07-09
Posts: 890

Re: compile errors circleos 3.3

Just ignore (or remove) the hello application in the Circle-Primer1 project.

Offline

 

# 16   2009-01-22 22:18:03 compile errors circleos 3.3

zwieblum
Member
Registered: 2008-12-19
Posts: 68

Re: compile errors circleos 3.3

yes, that works smile

Offline

 

Board footer