Font table copy to sdram for used and display error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-02-13 6:56 PM
I saved font table in norflash and copy to sdram for used.
I want to show text “abcdefghijklmn�? but it actually shows is “a#c#e#g#i#j#m#�?, and the strange thing is that all the odd chars are correct and the even chars have this strange behavior.
The text show normal when font table is used in norflash by memory-map mode.
What's the problem?
Solved! Go to Solution.
- Labels:
-
TouchGFX
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-02-16 4:23 PM
After debug for some time, I found It is fault of my hardware board configuration. The font table access is not 4 byte aligned. It's ok after I enabled sdram's cache function.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-02-16 4:13 AM
Hello V.H,
For your typography, do you use 4bpp? Is the problem also there if you use 8bpp ?
Have you set the ByteAlign bit (previously known as A4) ? You can refer to this link if you're unsure.
I can suggest you to try a similar configuration as our TouchGFX Designer demo : "STM32G071 Unmapped font demo" for your project.
/Osman
ST Software Developer | TouchGFX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-02-16 4:23 PM
After debug for some time, I found It is fault of my hardware board configuration. The font table access is not 4 byte aligned. It's ok after I enabled sdram's cache function.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-02-17 12:33 AM
Glad to hear that your problem is solved :)
I invite you to close this post if you have no more question about this issue.
/Osman
ST Software Developer | TouchGFX
