kendryte-standalone-sdk | Standalone SDK for kendryte K210 | Machine Learning library
kandi X-RAY | kendryte-standalone-sdk Summary
kandi X-RAY | kendryte-standalone-sdk Summary
This SDK is for Kendryte K210 without OS support. If you have any questions, please be free to contact us.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of kendryte-standalone-sdk
kendryte-standalone-sdk Key Features
kendryte-standalone-sdk Examples and Code Snippets
Community Discussions
Trending Discussions on kendryte-standalone-sdk
QUESTION
I am working on a project using the Kendryte K210 which is a 64-bit duel-core RISC-V machine. I am using the Kendryte GNU toolchain and the starting point was the Kendryte standalone SDK.
I am experiencing some frustrating core faults. The fault, a misaligned load, is happening after a balr
to _Balloc in _ldtoa_r, where a ld
instruction in _Balloc is attempting to load from an invalid address pointed to by one of the function argument registers (a0 in this case).
I have been trying to figure out when/where/how _Balloc and _ldtoa_r are used, but they are part of libc. My map file shows _ldtoa_r is somehow related to lib_a-ldtoa.o and lib_a-svfprintf.o and _Balloc is somehow related to lib_a-strtod.o and lib_a-mprec.o. I'm not sure because I am new to interpreting map files.
If anyone can help educate me on what _ldtoa_r and _Balloc are, how they are used, their relationship to these object files, and possibly how to properly interpret relevant lines in the map file, then I would be very grateful.
Thank you.
...ANSWER
Answered 2022-Mar-09 at 15:03Cannyone explain the use of libc functions _ldtoa_r
Is used to convert a long double
value to a string, with many customization options, and is reentrant in the Newlib sense takes _REENT state.
It used for example when printing a double
value.
and _Balloc?
Balloc
allocate an _Bigint
value. _Bigint
represents a floating point value as a "big integer".
It is used in various places, mostly when printing and reading a long double
values from/to a string.
their relationship to these object files
The compiled code is stored in "these object files".
how to properly interpret relevant lines in the map file
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install kendryte-standalone-sdk
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page