FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [July 2015 Threads]
Hello,
I have been using FREERtos demo for STM32F103 on 'IAR embedded Workbench ,version 6.40' on windows XP OS.
I am using the microcontroller STM32F103VET6 in my application. Here I am using I2C-1 in polling mode, my I2c works fine when I set my Flash Address & Vector table address = 0x8000000 , but when I set my Flash Address & Vector table address to 0x08005000 I2c-1 do not respond where as rest of the application and peripherials works properly. Initial part of ROM memory is occupied by Device Firmware Upgradion code.
I have performed all the hardware tests on CRO , I2C-1 is not giving any problems.
Here is my code Snippet:
prvSetupHardware();
static_delay_ms(50); // system warmup delay
NVICConfig();
GPIOConfig();
InitI2C();
I2C_GenerateSTART(I2C1,ENABLE ); // Here I am generating a dummy start.
while(!I2CGetFlagStatus(I2C1,I2CFLAG_SB)); // checking I2c-1 startflag status , here my code
// gets stucked
static_delay(100);
I2C_GenerateSTOP(I2C1, ENABLE);
while(I2CGetFlagStatus(I2C1, I2CFLAG_STOPF));
Is this a FreeRTOS issue? From your code snippet it doesn't look like you have started the scheduler yet.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.