tapasco
tapasco copied to clipboard
Allow loading of programs which are not a multiple size of 8 Bytes on Ultra96
Error Description
When loading a program (e.g. simple_sum) on ultra96, a Bus Error occurs if the program is not a multiple of 8 Bytes in size.
Expected Behaviour
A program of any size should load.
Current Behaviour
A Bus Error occurs:
[root@alarm bld]# ./simple_sum_host /home/alarm/simple_sum.bin
Finished reading binary file. Received 16401 bytes.
Bus error (core dumped)
Workarounds
This can be fixed by introducing an 8-aligned section filled with 8 Bytes at the end of the linker file (but this is a dirty hack.
This should probably be moved to https://github.com/esa-tu-darmstadt/tapasco-riscv, sorry
Moved: https://github.com/esa-tu-darmstadt/tapasco-riscv/issues/26
We should be able to close this due to #368, shouldn't we?