RISC-V/HiFive memory limitations
Denis Obrezkov
denisobrezkov at gmail.com
Mon Jun 19 21:33:07 UTC 2017
2017-06-20 0:19 GMT+03:00 Joel Sherrill <joel at rtems.org>:
> Check the value in gdb without loading it on a target.
>
> Gdb hello.exe
>
> p symbol
>
> Since it is a constant, it should be as expected. If it is, you have a
> code loading issue.
>
Yes, it is 512 in gdb, as expected. So, is the problem with linkcmd file?
>
> Is that value by any chance an instruction?
>
How to check whether it is an instruction or not?
I was also able to run gdb, connect to the target, change the value of the
variable to 512,
reconnect to the target, make loading and read the value equal to 512.
--
Regards, Denis Obrezkov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20170620/ad2d406d/attachment-0002.html>
More information about the devel
mailing list