2020-04-23 1:09 PM
We have a custom board based on the 32H743IIT and I'm trying to do board bring-up and get TouchGFX working. We're using TouchGFX Designer 4.13.0, CubeMX 5.6.0, (updating to 5.6.1), and Keil uVision 5.29.0.
I'm trying to follow the information on https://support.touchgfx.com/docs/development/board-bring-up/board-introduction and all seems to be going well until I get to the framebuffer section.
Specifically, when I get to
/* USER CODE BEGIN 2 */
HAL_LTDC_SetAddress(&hltdc, framebuffer, LTDC_LAYER_1);
/* USER CODE END 2 */
I get an error because the HAL_LTDC_SetAddress() signature wants a uint32_t for framebuffer, not a pointer. If I recast framebuffer as an array of uint32 and set the call to framebuffer[0], I get a linker error because there is no .ANY section.
Is this correct? Any clue what's going wrong?
There may be an issue with the SDRAM on the board, I cannot seem to access memory at 0xC0000000. That's more of a board bring-up issue and we're working on it internally.
2020-04-24 2:04 AM
HAL_LTDC_SetAddress(&hltdc, (uint32_t)fbPtr, 0);When you say "array", do you mean that you've allocating an array for this and placing it in SDRAM rather than just specifying an address?
We’re moving the ST Community to a new platform to give you a better and more reliable community experience.