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:
static_delay_ms(50); // system warmup delay
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
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.