2008-01-21 03:53 AM
cortex with Crossworks
2011-05-17 03:21 AM
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.2011-05-17 03:21 AM
I ported various example projects to Crossworks and they run and debug without any problem. Give more details of your problem.
Regards, Maia2011-05-17 03:21 AM
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