Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please provide source for prebuild helloworld_riscv.elf #1

Open
skiphansen opened this issue Dec 3, 2019 · 0 comments
Open

Please provide source for prebuild helloworld_riscv.elf #1

skiphansen opened this issue Dec 3, 2019 · 0 comments

Comments

@skiphansen
Copy link
Contributor

I've added support for the second generation Panologic device to this project and it's almost working.

However the output of the prebuilt hello world program isn't as expected. Having source would help me debug the problem.

I tried lowering the baudrate to 115200 thinking that my FTDI serial cable might not be able to keep up at 1megabit but that didn't seem to help.

Here's what I get:
--- snip ---
skip@dell-790:~/pano/working/fpga_test_soc$ ./run.py -d /dev/ttyUSB0 -f prebuilt/helloworld_riscv.elf
/home/skip/pano/working/fpga_test_soc/run/poke.py -t uart -d /dev/ttyUSB0 -b 1000000 -a 0xF0000000 -v 0x0
/home/skip/pano/working/fpga_test_soc/run/load.py -t uart -d /dev/ttyUSB0 -b 1000000 -f prebuilt/helloworld_riscv.elf -p ''
ELF: Loading 0x0 - size 15KB
|XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX| 100.0%
/home/skip/pano/working/fpga_test_soc/run/console-uart.py -t uart -d /dev/ttyUSB0 -b 1000000 -f prebuilt/helloworld_riscv.elf
helloworld!0123456789ABCDEF0123456789abcdefÔàààààààäðààààààààààààààààààààààààààààààààààààààààààààà<ààààààààààààüàààtààðààààtUnhandled IRQ!Unhandled exception: PC 0x%08x Cause %d!
/home/rob/repo/software/arch/riscv/exception.c!"Unhandled exception"ASSERTException: PC=%08x Cause=%x Status=%08x
REG %.2d: %08x
stackstack_size != 0%s: %s (%s:%d)
ÿè28I%IHIxIøÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ
--- snip ---

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant