ΣSigmaStudio Ask AI Русский Log in

bf561程序加载问题

Processors & DSP linrimao Dec 9, 2013 00:00 3 replies Original on forum ↗
Subscribe
linrimao Question
Dec 9, 2013 00:00

大家好,请教一个问题:

我在bf561程序开发中,当挂上仿真器调试程序时,程序可以正常工作。但是当我把程序作为ldr文件下载到flash后,程序却不能加载起来,处理器一上电就不停的复位。请大家帮忙解决一下。谢谢了

ADIApproved Reply
Dec 10, 2013 00:00

Hi,

Could you please repost your question in English - we are unfortunately unable to offer support in other languages. You may prefer to use our Chinese EngineerZone.

Regards,
Craig.

ADIApproved Reply
Dec 16, 2013 00:00

Hi,

You will find some instructions on how to boot from flash available in the VisualDSP++ installation. You can find it here: C:\Program Files\Analog Devices\VisualDSP 5.0\Blackfin\Examples\. Its called 'Booting from Flash readme.txt', which i have also attached to this email.

In addition the following FAQ may be of use as its discusses how to debug a program loaded to flash:

FAQ: How to debug a target board which boots from Flash?

Regards,

Colin.

linrimao Reply
Dec 16, 2013 00:00

Hi,Craig

When I developed programs on bf561,I encountered a problem.The phenomenon is as follows:

When I built the program as executable files,and then debug the program with emulator,the program executed accurately;But when I built the program as loader file,and download the loader file in the flash memory,and then restart the board,the board reset constantly.In this case ,when I deleted some codes in my program,and rebulit the program as loader file again,and downloaded the program in the flash memory,the board was no longer reseting,and executed accurately.But I don't want to delete the codes,can you tell me what can I do.

Thanks