This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
请问一下:
1.添加Flash API库时,选择添加2806x_BootROM_API_TABLE_Symbols_fpu32.lib还是添加Flash2806x_API_V100.lib,根据什么选择?添加这两个不同的库,APP需要设置哪些不同的参数?
2.我在代码中添加了2806x_BootROM_API_TABLE_Symbols_fpu32.lib和rts2800_fpu32.lib之后,debug时代码停在了memcyp()函数中,请问会是什么原因?
下面是我添加的库和配置
代码Debug时停在了memcpy()函数那里,麻烦帮忙分析一下原因,谢谢!
Flash api quick start我看了这个问题:“1.添加Flash API库时,选择添加2806x_BootROM_API_TABLE_Symbols_fpu32.lib还是添加Flash2806x_API_V100.lib,根据什么选择?添加这两个不同的库,APP需要设置哪些不同的参数?”还是没有找到答案。里面就举例了选择使用符号库的例程。我也是按照里面来进行添加相应的库文件的。
Flash api quick start里面描述了使用符号库时需要添加2806x_BootROM_API_TABLE_Symbols_fpu32.lib和rts2800_fpu32.lib。但是我把这两个库添加到代码里面时,就出现了上述的问题2。我把rts2800_fpu32.lib去掉之后debug正常,请问为啥?
感谢回复!
1.是的,在Bootloader中对APP所在的Flash扇区进行擦除和编程,烧录完成之后跳转到app是没问题的。
现在想可以在Bootloader中升级Bootloader自身,或者在APP中升级APP。我把升级用到的代码都已经搬运到RAM中运行了,应该可以才对呀,麻烦帮忙分析一下,会是哪里有问题?感谢!
2.我在代码中添加的是2806x_BootROM_API_TABLE_Symbols_fpu32.lib(符号库),在这个模式下是不需要把擦除、编程、验证等库函数搬到RAM里面的是吧
请参考下工程师的回复:
For this device, the Flash API is embedded in the boot-ROM itself, so there is no need to transfer the API from the host and copy it to RAM. Whether you want to upgrade the bootloader or the application, the procedure is the same.