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

FAQ:使用开源UBOOT升级后VM读写失败问题? #103

Open
KKyer opened this issue May 17, 2023 · 0 comments
Open

FAQ:使用开源UBOOT升级后VM读写失败问题? #103

KKyer opened this issue May 17, 2023 · 0 comments

Comments

@KKyer
Copy link

KKyer commented May 17, 2023

一、问题原因

V1.4.0的SDK(对应开源版本V1.6.0),使用开源UBOOT进行在线升级后,UBOOT传递给SDK的flash容量可能不准确
SDK使用该容量值判断写入地址是否超出范围时出错,导致无法正常写入数据;

二、涉及SDK版本

  • ad140-release_v1.4.0
  • ad150-release_v1.4.0
  • ac104n-release_v1.4.0
  • ad14n_ad15n_ac104n-release_v1.6.0(开源SDK)

三、解决办法

  1. 在SDK中重新获取正常的flash容量,并覆盖UBOOT传递过来的值
    boot_info.flash_size = capacity;

图片

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