Getting error after Using printf in embedded c

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
RajeevElzrando
Level 1
Level 1
First question asked Welcome!

I am working on the Aurix microcontroller on eclipse i need to display unsigned char values on the console, I did like that

  printf ("% hhx", tab [j]);

but I had this error:

  error: AppKit_TC277TFT_TimeDemo.elf section `.inttab' will not fit in 
  region `PMI_PSPR'

  error: region `PMI_PSPR' overflowed by 16788 bytes

Is there anyone who could help me

0 Likes
1 Solution
Di_W
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 250 solutions authored

PSPR overflowed by 16788 bytes, looks like the variable is too large to fit PSPR. You should check the .lsl file and .map file to use proper size of array.

View solution in original post

0 Likes
2 Replies
Jeremy_Z
Moderator
Moderator
Moderator
1000 replies posted 250 sign-ins 100 likes received

Hi @RajeevElzrando ,

Thank you for your interest in Infineon Semiconductor products and for the opportunity to serve you.
I was wondering if you can illustrate the code modifications you did with the sample demo in detail.

BR,

Jeremy

0 Likes
Di_W
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 250 solutions authored

PSPR overflowed by 16788 bytes, looks like the variable is too large to fit PSPR. You should check the .lsl file and .map file to use proper size of array.

0 Likes