BRT Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

Welcome to the Bridgetek Community!

Please read our Welcome Note

Technical Support enquires
please contact the team
@ Bridgetek Support

Please refer to our website for detailed information on all our products - Bridgetek - Bridging Technology

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - kevin

Pages: [1]
1
Discussion - EVE / Question about ESD FT812 project porting to STM32
« on: December 07, 2022, 08:40:49 AM »
hi everyone ,

I'm try to porting ESD4.15.1.0 export MSVC project(ME812A) to stm32 (NUCLEO-H723ZG).

I used STM32CubeFW_H7 V1.10.0 to develop stm32.
 
I refer to "ESD-4.10-Exported-Project-Porting-Guide-for-STM32L4-Discovery-Board-and-FreeRTOS.pdf" to porting and get some problem.
https://brtchip.com/wp-content/uploads/2021/06/ESD-4.10-Exported-Project-Porting-Guide-for-STM32L4-Discovery-Board-and-FreeRTOS.pdf

I can display some of ESD widgets like buttom and lable on the screen , but not image widgets.
So , I tried to add SD card to STM32 to used FATFS .

After I add MX_SDMMC1_SD_Init() before ESD_Start();
It can not  Start Frame successfu now . (I haven't even added FATFS yet...)

If i annotation MX_SDMMC1_SD_Init() . I get message from serial port will be : success.txt
If I add MX_SDMMC1_SD_Init() . I will get message like : fail.txt

I don't understatnd why this MX_SDMMC1_SD_Init() make it different.

Code: [Select]
//generator by stm32cubeIDE-->stm32cubeMX
int main(void)
{
 
  HAL_Init();
 
  SystemClock_Config();

  /* Initialize all configured peripherals */
  MX_GPIO_Init();
  MX_SPI1_Init();
  MX_DMA_Init();
  MX_USART3_UART_Init();
  MX_SDMMC1_SD_Init();

  osThreadDef(defaultTask, StartDefaultTask, osPriorityNormal, 0, 512);
  defaultTaskHandle = osThreadCreate(osThread(defaultTask), NULL);
 
  osKernelStart();

}

void StartDefaultTask(void const * argument)
{
   ESD_Start(); // this is rename from function main() of App_Generated.c

  for(;
  {
    osDelay(1);
  }
 
}


1. How do I fix this?

2. Is there anything tutorial about used FATFS to make img widgets work from sd card of stm32?

If need more detial , Please leave an email and what info you need.

Thanks for any suggestions and replies.

Pages: [1]