Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /www/wwwroot/chipdebug.com/wp-content/themes/zibll/inc/functions/shop/widgets/widgets-product.php:652 Stack trace: #0 /www/wwwroot/chipdebug.com/wp-content/themes/zibll/inc/csf-framework/classes/widget-options.class.php(676): zib_shop_widget_ui_oneline_product_lists() #1 /www/wwwroot/chipdebug.com/wp-includes/class-wp-widget.php(394): CSF_Widget->widget() #2 /www/wwwroot/chipdebug.com/wp-includes/widgets.php(847): WP_Widget->display_callback() #3 /www/wwwroot/chipdebug.com/wp-content/themes/zibll/inc/functions/bbs/inc/template.php(42): dynamic_sidebar() #4 /www/wwwroot/chipdebug.com/wp-content/themes/zibll/inc/functions/bbs/page/posts.php(36): zib_bbs_page_template() #5 /www/wwwroot/chipdebug.com/wp-includes/template.php(880): require_once('...') #6 /www/wwwroot/chipdebug.com/wp-content/themes/zibll/inc/functions/bbs/inc/class.init.php(426): load_template() #7 /www/wwwroot/chipdebug.com/wp-includes/class-wp-hook.php(353): zib_bbs->template_redirect() #8 /www/wwwroot/chipdebug.com/wp-includes/class-wp-hook.php(377): WP_Hook->apply_filters() #9 /www/wwwroot/chipdebug.com/wp-includes/plugin.php(523): WP_Hook->do_action() #10 /www/wwwroot/chipdebug.com/wp-includes/template-loader.php(23): do_action() #11 /www/wwwroot/chipdebug.com/wp-blog-header.php(19): require_once('...') #12 /www/wwwroot/chipdebug.com/index.php(17): require('...') #13 {main} thrown in /www/wwwroot/chipdebug.com/wp-content/themes/zibll/inc/functions/shop/widgets/widgets-product.php on line 652


1.应该是你的FLASH里烧录的程序是关闭MASTER SPI接口的,所以下载不进去了。这个时候你可以先把用JTAG模式往SRAM里下载一个使能MASTER SPI的程序,下载完成后MASTER SPI就被使能了,这个时候你就可以再次烧录FLASH了,要记得这次烧进FLASH的文件别又是关闭了MASTER SPI的。^_^
2.有时你会发现往FLASH下载完关闭MASTER SPI接口的程序后,还能继续往FLASH下载程序,可是重新上电后就下载不进去了。那是因为没断电的时候FLASH里的程序并未生效,也就说是这个时候MASTER SPI还未关闭,所以你可以继续下载,但一旦断电MASTER SPI就被关闭了,你就会下载FLASH失败。
我就遇到过第2种情况,当时纳闷了半天,原来LATTICE的FPGA下载完不断电是不会自动重新加载的,而CPLD却是下载完就会自动加载的。