Skip to content

hard fault on Serial.print #8

@Vigeant

Description

@Vigeant

I sometimes hit a hard fault when printing a double using the Serial.print( double a, int digit). At first, I thought it was related to the absence of a heap support but could not find any evidence of heap use. It's very hard to debug hard faults on the teensy due to the absence of a debugger.

The problem is that I am not even sure that this print is the cause of the problem but I am not sure how to debug that.

Any tips on how to debug that?

I am afraid I will have to revert back to a big loop design just to make sure nothing breaks in a month or two of uptime. It would be unfortunate as this small RTOS was so promising.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions