Questions tagged [coocox]

CooCox is committed to provide free and open ARM Cortex M series development tools to users, especially for ARM Cortex M3 and Cortex M0.

CooCox is committed to provide free and open ARM Cortex M series development tools to users, especially for ARM Cortex M3 and Cortex M0, including Colink and CoLinkEx--Cortex M3 and Cortex M0 JTAG and SW debugging probe, which integrates seamlessly into IAR, MDK and CooCox software; CoOS--free and open embedded RTOS for Cortex M3 and Cortex M0; CoBuilder--an internet-based component-oriented IDE for Cortex M3 and Cortex M0, which has integrated the CDT editor and GCC compiler; CoDebugger--fully-featured debugger for Cortex M3 and Cortex M0; CoFlash--flash programmer for Cortex M3 and Cortex M0; CoAssistant—a register assistant for Cortex M3 and Cortex M0.

24 questions
2
votes
1 answer

Problem with Reading Rx buffer in SPI STM32

I have little bit problem when reading Rx Buffer in STM32 SPI. I can watch my signal when transmit or receive in my scope. But I never can get any data in my Rx Buffer. I just use coocox software for this project. For this project, I use STM32F103…
SkyFrotza
  • 97
  • 11
2
votes
1 answer

"Undefined reference to" no idea why?

Im working on a project for stm32f4 to my school. Im using CooCox IDE. I wanted to add new files "przerwania.c" and "przerwania.h" to write some functions there - not in "main.c". But I have no idea why CooCox is showing me errors. Earlier I wanted…
wiwo
  • 721
  • 1
  • 13
  • 18
2
votes
1 answer

Do you suggest CooCox for Stm32f4 discovery kit?

I'm new with ARM processors, i recently bought STM32F4 Discovery Kit. Do you suggest me to begin proggraming with CooCoz or another IDE? Sorry for English, Good work.
Hakan Erdol
  • 53
  • 1
  • 9
1
vote
1 answer

stm32F4 7-segment display

I have a problem with programming quad 7-segment display. I don't know how to make all multiplexed chars blinking. I'm programming in CooCox multiplexing code (interrupt): void TIM2_IRQHandler(){ if (TIM_GetITStatus(TIM2,TIM_IT_Update)) { …
Kris_1313
  • 79
  • 9
1
vote
2 answers

How to share functions symbols and addresses between projects in C?

I have two distinct projects which are running on the same target. I want my second project to use few functions written in the first project at specific addresses. To do that I thought I could use the symbol table from the first project in the…
LOSnel
  • 161
  • 1
  • 1
  • 8
1
vote
1 answer

STM32L-Discovery step-by-step debugging

I'm using STM32L-Discovery with STM32L152RBT6 onboard with CoIDE. I've created new project, picked STM32L152RBT6 microcontroller and added following components: C_library cmsis_core (which as far as I can see contains boot) STM32L152xB_CUBELIB Now…
jedzej
  • 422
  • 3
  • 12
1
vote
1 answer

STM32F103 Ram issue with FreeRTOS+Trace

just starting with FreeRTOS and I am having problem with task, so I thought it is the best time to start with learning debugging. Trying to use Trace library to assess situation I got stuck on compilation process. I am using CooCox IDE with…
user505160
  • 1,176
  • 8
  • 25
  • 44
1
vote
1 answer

xError When compiling Dcmi

Excuse my English. I want to set up DCMI in HAL, because use CooCox have to copy the code from the generator cubeMX The compiler does not like the line: __HAL_LINKDMA(hdcmi, DMA_Handle, hdma_dcmi); Code: void DCMI_DMA_init(void){ …
Fulrus
  • 801
  • 1
  • 7
  • 13
1
vote
2 answers

How can I align stack to the end of SRAM?

I have a STM32F103VCT6 microcontroller with 48kb of SRAM, and recently i've got a memory collision: I have some static variable (lets call it A) located in heap with size of 0x7000 and I wrote some simple function to get info about stack and…
desertkun
  • 1,027
  • 10
  • 19
1
vote
1 answer

How can we link freetype library to Embedded Projects?

I am a newbie to freetype and embedded system too. I want to use freetype functions in my embedded application (Details are given below). At first i tried the instructions given in "http://www.freetype.org/freetype2/docs/tutorial/step1.html". I…
Tintu Thomas
  • 85
  • 10
1
vote
1 answer

STM32F407 PWM control phase shift, dutycycle

I'm new with the stm32f407 discovery board and I'm trying to make 4 signals which I can control phase shift and dutycycle. The thing is, when i set my timer on PWM mode I can't control phase shift between channel_1 and channel_2. I know I have to…
co2ark5
  • 45
  • 1
  • 3
  • 12
1
vote
0 answers

Running an ARM OS(CooCox) on X86 using qemu

I am new to qemu and have a board that uses the STM32F4103 processor. There is a program on it that runs on CooOS. I want to simulate the embedded code on an X86 machine and believe qemu is the way. Am i on the right path ? Any help will be much…
1
vote
1 answer

Is it possible to do SPI operation using GPIO Pins?

I want to to execute the SPI protocol operation using GPIO Pins, want to configure to single slave operation, in which way I have to configure that, I am using STM32F100RB Microcontroller and Coocox IDE for this executing in windowsxp. if any body…
Pavan Koneru
  • 21
  • 1
  • 2
0
votes
1 answer

Error: Flash driver function execute error Program Download Failed?

I was working with stm32 board. While debugging, I am getting this error possibly error is in rasing flash C:\CooCox\CoIDE>"C:/CooCox/CoIDE/bin\coflash.exe" program STM32F051R8 "D:/Programs/STM/blinker/blinkLeds/Debug/bin/blinkLeds.elf" …
111
  • 1
0
votes
1 answer

Atof is not working in C and without atof is also not working in debug

I have problems with Atof function. I am trying to convert string to float but it is not giving any error when I try in Coocox software in Debug section, Output is not showing anything. I tried two functions Atoi and Atof. When I use Atoi there is…
Nobody
  • 79
  • 13
1
2