first post, perplexed by printf()
Wed Oct 8 18:04:00 GMT 2014
On 10/8/14 10:36 AM, Dave McGuire wrote:
> On 10/07/2014 09:07 AM, Jonathan Roelofs wrote:
>>>> If I do printf("%d\n", 1); everything works fine. If I do
>>>> printf("%d\n", 10);, my processor hangs. (again with no debugging
>> Pointed question: where did you get your implementation of __aeabi_divmod?
> Well I certainly didn't write it. ;) Isn't that in libgcc?
Yeah, that comes from libgcc. The pointed question was aimed at whether you were
using the one from llvm's compiler_rt, which had a bug which has subsequently
been fixed, that manifested itself in a similar manner. But since you're not
using that, it's probably not the same problem.
When your processor hangs, can you tell if it's hitting an interrupt, and if so
CodeSourcery / Mentor Embedded
More information about the Newlib