Standard libs appear to be causing an address error
Closed this issue · 0 comments
roscopeco commented
This issue can be replicated by using the fill
command in the vterm
example program with FW 1.3.
When the fill
command is executed, the board bombs out with an address error. With the debug handler in the firmware, this reports as:
You can type with a working backspace, or use the arrow keys to move around.
Available commands: clear, color4, color8, trucolor, invert, bold, underline, normal, bell, blink, fill, cursor-pos, screen-size, help
$
Unknown command: ""
$ fill
Enter a character to fill the screen with:
*** Software Failure: Address error (fault addr 000FFF3B)
PC=0000432A op=2F7C SR=2000 USP=7F7F6FFF
d0=00000032 d1=0000000A d2=00000032 d3=0000000A
d4=00000010 d5=000F0000 d6=F7FF5FDF d7=FFFE7BFF
a0=00006938 a1=0000682E a2=00006938 a3=000069A8
a4=00006A1C a5=00005AE4 a6=000FFFF8 a7=000FFEDA
A glance at the .map
file for vterm suggests this is in __utoa
in libcstdlib.a
.