519 views
in Platform Packages by

Hi,

Incident :

  1. While trying to show a junk character loaded from target ex(0x8D, 0x55, 0x57, 0xE6, 0xA2, 0xDD, 0x35, 0x0, 0x0, 0x0, 0x0) corresponding characters (, U, W, æ, ¢, Ý, 5, , , ,), EwGetGlyphMetrics function triggers EwPrint function which causes the target to reset
Root cause for triggering the EwPrint function is not known and what exactly is happening while trying to show this text by using Roboto Condensed font of range 0x0001-0xFFFF is not exactly known
Kindly provide necessary support to figure out this issue and Corrective action to take to resolve the reset action from target

1 Answer

0 votes
by
Hello,

EwPrint should not reset your target - it should print some message over the serial interface to a connected terminal window (e.g. Tera Term or Putty). EwPrint is used to report runtime error messages from your target.

The error message contains the root cause. Let us know the error message then we can go ahead.

Best regards,

Manfred.
by
Hi Manfred,

Error code : 180

What might be the issue it's causing
by

Hi,

this is the error message. Check the character that you want to print and if the font contains the corresponding glyph.

Best regards,

Manfred.

by
Hi Manfred,

What will happen if the font does not contains the corresponding glyph, whether it'll try to load a null value in runtime
by

It will not "try to load a null value in runtime" - it will report an error message and use the default character instead.

Maybe the section Specify the Text is helpful.

Ask Embedded Wizard - Archive

Welcome to the Ask Embedded Wizard archive. This community forum served us well for many years, but we've evolved our support approach!

Your resources:

The Embedded Wizard Online Documentation provides comprehensive documentation, tutorials, examples and ready-to-use software packages.

For dedicated assistance, explore our Embedded Wizard Product Support.

You can still browse the valuable discussions from our community history here.

Embedded Wizard Website | Privacy Policy | Imprint

...