cancel
Showing results for 
Search instead for 
Did you mean: 

cortex with Crossworks

bicci
Associate II
Posted on January 21, 2008 at 12:53

cortex with Crossworks

3 REPLIES 3
bicci
Associate II
Posted on May 17, 2011 at 12:21

Hello,

I made my first project with Crossworks and ST CORTEX. I have some problems to begin to debug. I think to have made some errors about startup files. Can you tell me if thre are some examples for crossworws with cortex ready to run ??

Thanks.

jsmaia
Associate II
Posted on May 17, 2011 at 12:21

I ported various example projects to Crossworks and they run and debug without any problem. Give more details of your problem.

Regards,

Maia

ivan239955_stm1_st
Associate II
Posted on May 17, 2011 at 12:21

Hi,

the easiest way is to install STM32 packages for Crossworks

There is also whole HW library examples solution ported by Rowley available. To download STM32 support packages go to:

http://www.rowleydownload.co.uk/arm/packages/

right hand menu:

-CPU support packges -> STMicroelectornics->STM32F10x

ST_STM32F10x.hzq

-Board support packages -> STMicroelectornics -> ST_STM32F10x_EVAL

ST_STM32F10x_EVAL.hzq

In Crossworks menu ->Tools -> Install packages install both downloaded .hzq files.

When you create new STM32 project, it comes with complete startup code, flash loader and STM32 libraries.

Even easier is to open example projects from ST_STM32F10x_EVAL package.

I've tried couple of them with my self-build board (see previous posts) without problems with simplest Wiggler JTAG.

However you might need to do some changes if you use different pin mapping than STM eval board.

I suggest you try GPIO example first to blink some LEDs.

Ivan