FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [October 2009 Threads] fprintf trouble on Atmel 1284p?Posted by kd5uwl on October 22, 2009 When doing this:
fprintf_P(stderr, PSTR("CORE: %dF"), (int)ddsp->coretemp);
It runs as expected for several iterations, then quits (other tasks halt as well). Unusal thing is that it stops after printing the number, but before printing the "F" (which happens to stand for Fahrenheit).
I'm working now to see how to look at stack utilization, but since this MCU has lots of memory, I've tried ridiculously large stack settings in FreeRTOSConfig.h with no noticeable difference in behavior.
I've seen mention of the minimalistic printf-stdargs.c but there is not one for the ATmega 8 bit devices. I've tried to adapt one, but no luck so far.
Anyone had similar issues?
RE: fprintf trouble on Atmel 1284p?Posted by kd5uwl on October 22, 2009 Sorry about the " and > in the code. Those are the double quote and greater than symbol, respectively.
RE: fprintf trouble on Atmel 1284p?Posted by kd5uwl on October 22, 2009 I'm sorry, I may have posted here prematurely. It's starting to look like a problem with my LCD implementation, and nothing regarding printf at all.
RE: fprintf trouble on Atmel 1284p?Posted by kd5uwl on October 23, 2009 Sorry to bother you fine gentlemen, but I have not solved this. Any pointers appreciated!
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|