如何修改eboot汇编代码,使eboot在执行结束后可以跳转到NK下载? [英] How to modify the eboot assembly code to make the eboot after the end of the execution can jump to NK download?

查看:66
本文介绍了如何修改eboot汇编代码,使eboot在执行结束后可以跳转到NK下载?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用飞思卡尔IMX.283 EVK开发板。

我想在UUT工作中完成以下功能:

下载NK擦除NAND闪存操作之前。

I'm using a Freescale IMX.283 EVK development board.
I want to accomplish the following functions in the UUT works:
Before downloading NK erase NAND FLASH operation.

谁可以给我修改代码的步骤和需要? 谢谢!

Who can give me the steps and the need to modify the code?  Thank you!

推荐答案

这是一个相当简单的过程。

Thats a fairly simple process.

如果你想删除之前下载NK图像,使用Flash.c中提到的Erase API(适合您的内存,可能是SPI,NOR,NAND ..)。

If you want to erase before downloading the NK image,use one of the Erase API's (that suits your memory,could be SPI,NOR,NAND..) mentioned in the Flash.c.

NK图像下载开始时BL_DOWNLOAD开关函数的情况在main.c的OEM_PREDOWNLOAD中执行。

NK image download starts when BL_DOWNLOAD case of the switch function is executed in OEM_PREDOWNLOAD in your main.c

所以把擦除API放在OEM_PREDOWNLOAD中,那应该得到这个工作 完成

So put the erase API in the OEM_PREDOWNLOAD and that should get the job  done

我已经以同样的方式擦除了SPI-NOR,我相信这会有效:)

I have erased SPI-NOR in the Same way and I am sure this would work :)

Cheerios!,

Cheerios!,

如果有用,请标记为答案。

Richard,

Please mark as answer, if useful.
Richard,

nivethrichard.blogspot。在

nivethrichard.blogspot.in


这篇关于如何修改eboot汇编代码,使eboot在执行结束后可以跳转到NK下载?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆