2025-12-12 6:08 AM
Hello,
I'm using the board NUCLEO-H563ZI paired with RVA35HI screen.
When I just created the project and generated the code i could download the touchgfx project with the touchgfx application ("program and run target" option), but after trying to download it with IAR IDE (and having problems with it) the system is not working anymore; the screen stays white and when i try to generate with cubemx, the popup message on touchgfx asking if i want to reload after the changes is not showing up anymore.
It seems that touchgx and cubemx aren't synchronized anymore.
When i said i have problems with IAR i mean these messages when i try to debug:
1- "There were warnings while generating flash loader input. See the Debug Log window for details"
2- "There were 2 errors and 1 warning during the initialization of the debugging session. There is more infrmation in the Debug Log window. Do you want to continue the "Run to" command?"
The dubugger stops in the HardFault_Handler.
Do you have any experience with this issue?
2025-12-18 2:36 AM
Hello @Coccodrillo19.
If we address the IAR flash issue first, your issue is that you are trying to flash an application that uses both internal and external (available on the RVA35HI) flash memory. However, IAR does not provide an external flash loader for Nucleo-H563ZI+RVA35HI. We have created an external loader that is bundled with the TBS in the gcc folder. This external loader is only compatible with STM32CubeProgrammer and is used in the TBS when you press "Run Target" in TouchGFX Designer or when you flash or debug the application in STM32CubeIDE.
To flash the IAR-compiled application, follow the procedure below:
By following this procedure, you should be able to flash the application without issues. You can still debug the application in IAR.
Regarding the other issue, I have not heard about synchronization issues before. What happens if you simply try to reload the project in TouchGFX Designer?
Best regards,
Johan
2025-12-18 3:05 AM
Good morning Johan, thanks for your answer!
I've already tried what you wrote and it's giving the same error about failing to erase external memory.
The first time programming it doesn't show any error but the display remains white.
The second time trying to download it gives the error I wrote above.
I'll probably proceed asking the producer for assistance.
Thanks.
2025-12-18 3:53 AM
Which version of the RVA35HI do you have?
Can you erase and write specific bytes in the external flash memory with STM32CubeProgrammer in the "Memory & File editing" tab?
I have previously heard about cases where it is suddenly not possible to erase external flash on RVA35HI. I am quite sure Riverdi will replace the board, if this is the case. Therefore, I think you are correct that the best next step is to contact Riverdi.
Best regards,
Johan
2025-12-18 4:51 AM
I have the RVA35HI REV 1.1
Yes I can erase and write specific bytes in the external flash memory.
Thanks for your help again.