cancel
Showing results for 
Search instead for 
Did you mean: 

Font table copy to sdram for used and display error.

V.H
Senior

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.

0693W00000JPeSGQA1.png 

The text show normal when font table is used in norflash by memory-map mode.

What's the problem?

1 ACCEPTED SOLUTION

Accepted Solutions

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.

View solution in original post

3 REPLIES 3
Osman SOYKURT
ST Employee

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.

0693W00000JQ1rYQAT.png 

/Osman

Osman SOYKURT
ST Software Developer | TouchGFX

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.

Osman SOYKURT
ST Employee

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

Osman SOYKURT
ST Software Developer | TouchGFX