关于Slave SPI升级方式的问题,怎样可以将JEDEC文件转换成二进制烧录文件?
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


@shawn 的办法生成的bin文件是不含UFM,按我下面这种方法生成的BIN可以包含UFM。
直接生成bin格式就可以了,选择No Header的bin就可以了。
@ganh
1.如果你选择NO HEADER只是表示BIT中不含文件头(你如果有兴趣可以参看文档《LatticeECP3SlaveSPIPortUsersGuide.pdf》中的JEDEC文件格式),但是freature row是数据而不是文件头,所以bit中包含该内容。
2.《LatticeECP3SlaveSPIPortUsersGuide.pdf》文档比较旧,feature fow在之前的软件中是在TOOLS菜单下会有一个选项的,但是现在它就在spreadsheet里面,如下图。从图中你可以看出两点:
a.spreadsheet里这个SLAVE_SPI_PORT有一个默认值。
b.SLAVE_SPI_PORT的这个默认值是DISABLE,你需要把它改成ENABLE,并把MAST_SPI_PORT改成DISABLE。

测试一下,哈哈哈哈啊啊
非常感谢你之前的解答,对于XO2 SSPI,我现在还有两个问题想跟你请教一下, 1. JEDEC文件中包含Feature Row设置,bit文件中是否包含此内容 2.Spreadsheet View中设置后(比如SLAVE_SPI_PORT)生成bit文件,烧录流程不选择烧录Feature Row,那么Spreadsheed View设置是否生效
楼上正解!非常感谢!正好需要。