Skip to main content
bicci
Associate II
January 21, 2008
Question

cortex with Crossworks

  • January 21, 2008
  • 3 replies
  • 792 views
Posted on January 21, 2008 at 12:53

cortex with Crossworks

    This topic has been closed for replies.

    3 replies

    bicci
    bicciAuthor
    Associate II
    May 17, 2011
    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.

    ivan239955_stm1_st
    Associate II
    May 17, 2011
    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

    jsmaia
    Associate
    May 17, 2011
    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