02-27-2019 12:06 PM - edited 02-27-2019 12:06 PM
I'm using VC707 board intending to run Linux on MicroBlaze, my design is down below :
The bitstream is generated with no problem and I can program the FPGA by JTAG but when I try to execute a simple 'Hello World' nothing is printed on the first try, if I try again a message is printed indicating that MicroBlaze is stalled
Failed to download /home/jamelly/Documents/UFA_19/my_tasks/ETHERNET_LINUX/ETHERNET_LINUX.sdk/Hello_world/Debug/Hello_world.elf Cannot stop MicroBlaze. Stalled on instruction fetch invoked from within "::tcf::eval -progress { apply {{info} { switch -- [lindex $info 0] { "info" { puts -nonewline "\r[lindex $info 1]" } "warning" { puts "\n[lindex $info 1]" } "data" { puts -nonewline "\r[lindex $info 1] of [lindex $info 2] complete" } "done" { puts "\n[lindex $info 1]" } } flush stdout ::xsdb::abort_check }}} {::tcf::cache_enter tcfchan#0 {tcf_cache_eval {download_cache_client ::tcfclient#0::arg}}}" (procedure "::tcf::cache_eval_with_progress" line 2) invoked from within "::tcf::cache_eval_with_progress $params(chan) [list download_cache_client $argvar] { apply {{info} { switch -- [lindex $info 0] { "info" ..." (procedure "dow" line 67) invoked from within "dow $elf_file" (file "program_microblaze.tcl" line 6)
Using a design similar to the above, but removing the linear flash, the 'Hello World' and other examples work fine. I need to use the flash to store the mcs file generated by petalinux 2016.4 and that's why I use it on my design(Linux works fine when the flash is not on design).
PS: the SW11 is configured as 0b00010 (Master BPI)