Jan 13, 2016
08:59 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 13, 2016
08:59 AM
Updating component Cy_boot 4.1 to Cy_boot 4.2 (PSoC Creator 3.3) causes gcc printf to fall into an interrupt unhandled trap;
I tried component CY_Boot 5.2 and the problem is still there. It works fine with component Cy_boot 4.1.
What is the new procedure to use gcc printf ?
2 Replies
Jan 13, 2016
09:10 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 13, 2016
09:10 AM
Use sprintf() and copy the string to your device, safest procedure.
In .cydwr file view select System-tab and set Heap Size to 0x200
In project build settings linker set use newlib nano and float formatting
Bob
Jan 18, 2016
07:07 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 18, 2016
07:07 AM
Thank you Bob,
Heap size to 0x200 solved the problem for printf, No need to modify all my code.