/var/www/restricted/ssh/stm32/www/stm32circle/ STM CircleOS forum / Can't program to circle prime1

Username:     
Password:     
             

Forum

# 1   2009-01-06 13:57:39 Can't program to circle prime1 (project: fatfryer 1.0)

michwolo
New member
Registered: 2008-02-14
Posts: 4

Can't program to circle prime1 (project: fatfryer 1.0)

Hello. I've a newest version of Ride installed on my windows and one problem occure with fatfryer. When I start add_to_Circle.bat I've receive communicats about errors C:\Program Files\Raisonance\Ride\LIB\ARM\STM32F10x_thumb.lib(stm32f10x_nvic.o): In function `NVIC_GetBASEPRI':
stm32f10x_nvic.csad.text.NVIC_GetBASEPRI+0x2): undefined reference to `__GetBASEPRI'
C:\Program Files\Raisonance\Ride\LIB\ARM\STM32F10x_thumb.lib(stm32f10x_nvic.o): In function `NVIC_BASEPRICONFIG':
stm32f10x_nvic.csad.text.NVIC_BASEPRICONFIG+0x6): undefined reference to `__BASEPRICONFIG'
C:\Program Files\Raisonance\Ride\LIB\ARM\STM32F10x_thumb.lib(stm32f10x_nvic.o): In function `NVIC_RESETFAULTMASK':
stm32f10x_nvic.csad.text.NVIC_RESETFAULTMASK+0x2): undefined reference to `__RESETFAULTMASK'
C:\Program Files\Raisonance\Ride\LIB\ARM\STM32F10x_thumb.lib(stm32f10x_nvic.o): In function `NVIC_SETFAULTMASK':
stm32f10x_nvic.csad.text.NVIC_SETFAULTMASK+0x2): undefined reference to `__SETFAULTMASK'
C:\Program Files\Raisonance\Ride\LIB\ARM\STM32F10x_thumb.lib(stm32f10x_nvic.o): In function `NVIC_RESETPRIMASK':
stm32f10x_nvic.csad.text.NVIC_RESETPRIMASK+0x2): undefined reference to `__RESETPRIMASK'
C:\Program Files\Raisonance\Ride\LIB\ARM\STM32F10x_thumb.lib(stm32f10x_nvic.o): In function `NVIC_SETPRIMASK':
stm32f10x_nvic.csad.text.NVIC_SETPRIMASK+0x2): undefined reference to `__SETPRIMASK'
collect2: ld returned 1 exit status

I think that problem probably is a new stlib was installed.

What should I do whit this situation.

Offline

 

# 2   2009-01-06 17:25:16 Can't program to circle prime1 (project: fatfryer 1.0)

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

Re: Can't program to circle prime1 (project: fatfryer 1.0)

Hi,

This is indeed related to the new STM32 library.

You just need to add this file in your application:
C:\Program Files\Raisonance\Ride\Lib\ARM\STM32F10x_LIB\project\RIDE\cortexm3_macro.s

I hope it helps,

Vincent

Last edited by VincentC (2009-01-06 17:25:32)

Offline

 

# 3   2009-01-06 19:55:33 Can't program to circle prime1 (project: fatfryer 1.0)

michwolo
New member
Registered: 2008-02-14
Posts: 4

Re: Can't program to circle prime1 (project: fatfryer 1.0)

Hello I've a new cortexm3_macro.s. I've checked this file and everything seems to be allright but still doesn't work. Regards michwolo

Offline

 

# 4   2009-01-07 08:59:01 Can't program to circle prime1 (project: fatfryer 1.0)

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

Re: Can't program to circle prime1 (project: fatfryer 1.0)

Hi,

You must include the Cortex_macro.s in your application and recompile it.

Have you done that?

If yes, then there is another problem and I will need you to send us your application project. (support@raisonance.com)

Best Regards,

Vincent

Offline

 

# 5   2009-01-07 09:19:43 Can't program to circle prime1 (project: fatfryer 1.0)

michwolo
New member
Registered: 2008-02-14
Posts: 4

Re: Can't program to circle prime1 (project: fatfryer 1.0)

Hi.

Probably we misunderstand because I've want to write fatfryer-1.0 application to circle primer1. I've installed the new version of OS to circle but I tried all version and program still exist on all version. I want to write me software on ubuntu and I red that it's exist posibility to program circle under linux. Please help me.

Best Regards michwolo

Offline

 

# 6   2009-01-07 10:55:34 Can't program to circle prime1 (project: fatfryer 1.0)

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

Re: Can't program to circle prime1 (project: fatfryer 1.0)

Hi,

The error messages you receive are NOT related to Linux/Windows issues.
They are link errors, and they come because the new STM32 lib calls some functions that are not available.
These functions are present in Cortex_macro.s.
Or maybe you have other error messages now?

We do not support programming the primer under Linux.
If you manage to do it then it's fine but if you don't, we cannot help you.
The people I have seen that managed to program the primer under Linux had to connect using UART, which prevents from using the Raisonance software utilities like "add_to_circle". Moreover, they had to modify the primer hardware in a way that we cannot guaranty and support.
Or maybe there were others I haven't seen. can you give me a link?

Best Regards,

Vincent

Offline

 

# 7   2009-01-07 15:26:11 Can't program to circle prime1 (project: fatfryer 1.0)

michwolo
New member
Registered: 2008-02-14
Posts: 4

Re: Can't program to circle prime1 (project: fatfryer 1.0)

Thx Vincent.

I use uart to reprogram user app. on my circle in linux now but I red some cases on this forum and think is possible to program user application easyer ?. Someone write software fatfryer but work not good with new software. I colse this subject now.

Best Regards michwolo

Offline

 

Board footer