dnf鬼泣黑魂9怎么样那dspw怎么用

黑魂1怎么传送?_黑暗之魂吧_百度贴吧
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&签到排名:今日本吧第个签到,本吧因你更精彩,明天继续来努力!
本吧签到人数:0可签7级以上的吧50个
本月漏签0次!成为超级会员,赠送8张补签卡连续签到:天&&累计签到:天超级会员单次开通12个月以上,赠送连续签到卡3张
关注:41,416贴子:
黑魂1怎么传送?
如题,新人求指导…黑魂1怎么向2一样在篝火传送?难道只能步行回祭坛吗?
随后会放制作过程
真是迫不及待啊?
解读热点,就来百闻不如...
幼儿园老师的日常!
楼主向来是用实力说话天...
说起林更新,大家会想起...
美国总统选举初步结果揭...
据说关注【绝味美食吧】...
爆照吧2016年年度吧花吧...
男生吧吧务组是由一群...
没错,本贴就是来说说明...
电影一旦开始在院线上映...
找开会酒店上会小二,30分钟提供3-6套年会场地方案,免服务费,省钱30%-50%!
前期是的,后期拿到王器可以传送
进度到一半左右才能传送
打过最难boss后可以了,
你得先一路披襟斩棘杀进城堡找到大胸妹
有王器就可以了,在王城打过boss后去见太阳公主就会给你
但是不是像二代那样每个篝火都可以传送...
《侠客风云传前传》侠客风云传正统新作,年度武侠单机,带来全新的游戏体验.游戏将继承《侠客风云传》自由开放的游戏核心,打造还原一个新的武林世界.
魂1打完直接结束,真辣鸡。魂1前期不能传送,真辣鸡。魂1不能洗点,真辣鸡。然而大部分游戏在这三点上和魂1一样,魂2那样反倒是少数
前期不行,后期可以
等过完王城才行,前期就得受苦一下
看到11楼笑出声
好像是打王城双鸡后
一代篝火是你的家
贴吧热议榜
使用签名档&&
保存至快速回贴玩黑魂到底用什么牌型号手柄好?_黑暗之魂吧_百度贴吧
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&签到排名:今日本吧第个签到,本吧因你更精彩,明天继续来努力!
本吧签到人数:0可签7级以上的吧50个
本月漏签0次!成为超级会员,赠送8张补签卡连续签到:天&&累计签到:天超级会员单次开通12个月以上,赠送连续签到卡3张
关注:41,416贴子:
玩黑魂到底用什么牌型号手柄好?
rt北通这个真不经用。买来没两天跑走切换就不灵敏了。无法绕背。。。
我是持盾癌,瞎几把乱滚...
现在人是怎么了。 在网...
法师妹纸镇楼
感人的帧数和键位错乱的...
新买的xone手柄 gta5正...
2333,从病村一直往下走...
找年会酒店上会小二,30分钟提供3-6套年会场地方案,免服务费,省钱30%-50%!
买什么北通,必须xone精英版,听说某东正打折呢,只需要860哦亲
你想凑合就买北通,想玩的爽果断xone
贴吧热议榜
使用签名档&&
保存至快速回贴需要确认注册邮箱后才能开通博客,
&&&W5100在DSP远程以太网数据通信系统中的应用
4年会员勋章目前未领取。领取条件:?凡是注册时间四年以上的活跃用户即可领取该勋章。
WIZnet微知纳特的博客——WIZnet网络芯片探究
博主:????
我是一个电子爱好者,喜欢单片机、硬件TCP/IP芯片开发、无线模块研究,嵌入式等电子产品。
官方博客:/
官方主页:
企业官方微博: /wiznet2012/
文章(808)????
访问(467016)????
评论(115)????
投票(215)????
订阅本博??
博文列表查看方式:
需要确认注册邮箱后才能下载,
W5100是嵌入式以太网硬件协议栈芯片,它同时集TCP/IP协议栈、以太网MAC和PHY于一体,支持多种网络协议。文中描述了W5100的内部架构和寄存器设置方法,通过简易的编程操作,即可实现方便的以太网接入,省去了繁琐的以太网协议编写和调试步骤。以基于W5100与TMS320C6713的DSP远程以太网通信系统的设计为例,介绍了其具体的使用方法、接口方式、时序,以及程序实现等。
本文作者是上海交通大学电气工程系的邹依依,郭灿新,黄成军,王瑶和江秀臣?,发表于《工业控制计算机》2008年第8期
详细请见:
更多有关W5100的博文请看这里:
也可进入我们的官方网站或博客查看更多。
如果您对WIZnet的产品或是技术感兴趣,请随时与我们联系。
可以直接留言或登录WIZnet官方网站:
公司微博是:?
公司博客是:
打开微信“扫一扫”,打开网页后点击屏幕右上角分享按钮
1.扫描左侧二维码
2.点击右上角的分享按钮
3.选择分享给朋友
??????有[ 0 ]名读者喜欢此文
阅读(219)??
评论是对思考最好的总结…
你还可以输入1000字
转发到我的博客
评论??的“W5100在DSP远程以太网数据通信系统中的应用”
W5100是嵌入式以太网硬件协议栈芯片,它同时集TCP/IP协议栈、以太网MAC和PHY于一体,支持多种网络协议。文中描述了W5100的内部架构和寄存器设置方法,通过简易的编程操作,即可实现方便的以太网接入,省去了繁琐的以太网协议编写和调试步骤。以基于W5100与TMS320C6713的DSP远程以...
你还可以输入30000字
同时评论给?WIZnet微知纳特
你还可以输入1000字
你还可以输入1000字
WIZnet致力于全硬件TCP/IP协议栈芯片和模块的开发,节约成本和资源,欢迎电子发烧友们和我一起探讨。
联系我:Tel: 010-
官方博客:/
官方微博:/wiznet2012
官方主页: (中文主页)
zcz2004??15:54 01-23
可口呵乐??13:46 01-08
jwdxu2009??22:24 12-13
omania??20:39 10-15
jwdxu2009??22:25 09-28
单片机网络卸载平台
成员24名创建者:
网络芯片研究探讨
成员26名创建者:
EDN助学—FPGA/CPLD学习小组
成员18983名创建者:
成员4177名创建者:
成员11373名创建者:
STM32爱好者之家
成员6661名创建者:
EDN帮助小组
成员405名创建者:
C8051F单片机
成员3918名创建者:
成员800名创建者:
振南的znFAT 单片机上的FAT32文件系统
成员714名创建者:
Microblaze
成员105名创建者:
《Arduino开发实战指南》书友会
成员265名创建者:
成员56名创建者:
特权同学FPGA书友会
成员1699名创建者:
单片机殿堂
成员2461名创建者:
电子制作交流区
成员4841名创建者:
Cortex-M0团队
成员77名创建者:
DIY创意无限
成员589名创建者:
Altium Designer
成员482名创建者:
Quartus ii 和Xilinx ise
成员219名创建者:
nodic 2.4G射频 nRF24LE1
成员23名创建者:
infineon(英飞凌)XC2000学习小组
成员22名创建者:
EDN助学—AVR/51单片机学习
成员134名创建者:
ARM技术交流
成员75名创建者:
译文资料共享小组
成员105名创建者:
SmartM-USB/网络开发
成员86名创建者:
单片机知识
成员10名创建者:
成员24名创建者:
HOT51单片机开发板小组
成员25名创建者:
avr 单片机
成员18名创建者:
EDN助学---Arduino 学习小组
成员104名创建者:
STM8S105学习
成员5名创建者:
单片机设计
成员11名创建者:
成员6名创建者:
成员9名创建者:
NUVOTON社区
成员9名创建者:
SONIX松翰单片机
成员14名创建者:
基于单片机的一些设计
成员16名创建者:
51系列单片机联盟
成员14名创建者:
Android6410
成员15名创建者:
-- Use of this website is subject to its terms of use.
京ICP备号-4 |
京公网安备37 |
新版社区已上线,旧版论坛、博客将停用
1、为防数据丢失,旧版论坛、博客不再接受发帖;
2、老用户只需重设密码,即可直接登录新平台;
3、新版博客将于8月底完美归来,敬请期待;
4、全新论坛、问答,体验升级、手机阅读更方便。DSP5509开发板如何烧写? - C5000(TM) 超低功耗 DSP - 德州仪器在线技术支持社区
DSP5509开发板如何烧写?
发表于1年前
<input type="hidden" id="hGroupID" value="30"
&table cellspacing=&0& cellpadding=&0&>
&td class=&t_f& id=&postmessage_4970412&>我们公司做了一个5509开发板,用到了CPLD。&br>现在板子仿真的差不多了,不知道如何烧写。&/td>
&/table>&div style=&clear:&>&/div>" />
DSP5509开发板如何烧写?
此问题已被解答
All Replies
进士3976分
我们公司做了一个5509开发板,用到了CPLD。现在板子仿真的差不多了,不知道如何烧写。
为江山踏坏了乌骓马,为社稷拉断了宝雕弓。
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
进士3976分
为江山踏坏了乌骓马,为社稷拉断了宝雕弓。
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
进士3976分
第一幅图是CPLD原理图,第二幅图
GPIO0,GPIO1,GPIO2,GPIO3处留了跳线,方便烧写完成后从FLASH启动。GPIO0-3分别对应LED1-4.
为江山踏坏了乌骓马,为社稷拉断了宝雕弓。
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
进士3976分
这一幅是DSP的原理图。
为江山踏坏了乌骓马,为社稷拉断了宝雕弓。
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
进士3976分
这是外扩SDRAM和FLASH的图。请高手指教,谢谢!
为江山踏坏了乌骓马,为社稷拉断了宝雕弓。
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
状元71180分
这个要自己写flash程序,根据flash手册中的clear/erase/program命令进行烧写。
烧写时DSP需要控制CPLD选通高位地址来烧写flash的高地址空间。
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
进士3976分
这是我调试成功的FLASH程序:
#include &csl.h&#include &csl_pll.h&#include &csl_emif.h&#include &csl_chip.h&
#define CESECT1 0x200000#define CESECT2 0x400000#define CESECT3 0x600000#define CESECT4 0x200a00
Uint16Uint32CSLB
unsigned int datacount = 0;unsigned int databuffer[1000] ={0};int *souraddr,*int *fwaddr, *Uint16Uint16 fstatus, fstatus2;Uint16
/*锁相环的设置*/PLL_Config myConfig = { 0, //IAI: the PLL locks using the same process that was underway
//before the idle mode was entered 1, //IOB: If the PLL indicates a break in the phase lock,
//it switches to its bypass mode and restarts the PLL phase-locking
//sequence 12, //PLL multiply 12 times 1 //Divide by 2 PLL it can be either PLL divide value
//(when PLL is enabled), or Bypass-mode divide value //(PLL in bypass mode, if PLL multiply value is set to 1)};/*SDRAM的EMIF设置*/EMIF_Config emiffig = { 0x221, //EGCR : the MEMFREQ = 00,the clock for the memory is equal to cpu frequence // the WPE = 0 ,forbiden the writing posting when we debug the EMIF // the MEMCEN = 1,the memory clock is reflected on the CLKMEM pin // the NOHOLD = 1,HOLD requests are not recognized by the EMIF
0xFFFF, //EMI_RST: any write to this register resets the EMIF state machine 0x3FFF, //CE0_1: CE0 space control register 1 // MTYPE = 011,Synchronous DRAM(SDRAM),16-bit data bus width 0xFFFF, //CE0_2: CE0 space control register 2 0x00FF, //CE0_3: CE0 space control register 3 // TIMEOUT = 0xFF; 0x1FFF, //CE1_1: CE0 space control register 1 // Asynchronous, 16Bit 0xFFFF, //CE1_2: CE0 space control register 2 0x00FF, //CE1_3: CE0 space control register 3
0x1FFF, //CE2_1: CE0 space control register 1 // Asynchronous, 16Bit 0xFFFF, //CE2_2: CE0 space control register 2 0x00FF, //CE2_3: CE0 space control register 3
0x1FFF, //CE3_1: CE0 space control register 1 // Asynchronous, 16Bit 0xFFFF, //CE3_2: CE0 space control register 2 0x00FF, //CE3_3: CE0 space control register 3
0x2911, //SDC1: SDRAM control register 1 // TRC = 8
// SDSIZE = 0;SDWID = 0 // RFEN = 1 // TRCD = 2 // TRP = 2 0x0410, //SDPER : SDRAM period register // 7ns *4096 0x07FF, //SDINIT: SDRAM initialization register // any write to this register to init the all CE spaces, // do it after hardware reset or power up the C55x device 0x0131 //SDC2: SDRAM control register 2 // SDACC = 0; // TMRD = 01; // TRAS = 0101; // TACTV2ACTV = 0001;
void delay(Uint16 k){ while(k&0) { k--; }}
void ddelay(Uint16 kt){ Uint16 jj, for(jj=0;jj&65535;jj++) { kk = while(kk&0) { kk--; } }}
/*************以下内容为AM29LV800BT的读写等函数**************//* 参考:AM29LV800BT的芯片手册 TMS320VC5509 DSP External Memory Interface (EMIF) Reference Guide HX-5509A 开发板使用手册*/void Flash_CS(){
souraddr = (int *)CESECT2; *souraddr = 0x00}
void Flash_disCS(){ }
void Flash_Reset() //AM29LV800复位{ deminaddr = (int *)CESECT4; *deminaddr &= 0x00
delay(1000); *deminaddr |= 0x0001; }
Uint16 Flash_Erase_all() //AM29LV800芯片擦除{ Flash_CS();
deminaddr = (int *)CESECT2; addbias = 0x0555; *(deminaddr+addbias) = 0x00 addbias = 0x02 *(deminaddr+addbias) = 0x0055; addbias = 0x0555; *(deminaddr+addbias) = 0x0080; addbias = 0x0555; *(deminaddr+addbias) = 0x00 addbias = 0x02 *(deminaddr+addbias) = 0x0055; addbias = 0x0555; *(deminaddr+addbias) = 0x0010; delay(100); fstatus = *(deminaddr+addbias); fstatus &= 0x0040; fstatus2 = *(deminaddr+addbias); if((fstatus&fstatus2)!=0) { //Flash_disCS(); return 0; } else { while(fstatus!=0x00ff) { ddelay(500); //ddelay(500); //ddelay(500); fstatus =*(deminaddr+addbias); fstatus &= 0x00 } Flash_disCS(); return 1; }}
Uint16 Flash_Erase_sector() //AM29LV800分段擦除{ return 1;}
void Flash_Write_init() //AM29LV800烧写初始化{ Flash_CS();
deminaddr = (int *)CESECT2; addbias = 0x0555; *(deminaddr+addbias) = 0x00 addbias = 0x02 *(deminaddr+addbias) = 0x0055; addbias = 0x0555; *(deminaddr+addbias) = 0x0020; }
Uint16 Flash_Write(Uint16 waddr, Uint16 wdata) //AM29LV800烧写{ *(fwaddr+waddr) = 0x00a0; *(fwaddr+waddr) = delay(10000); fstatus = *(fwaddr+waddr); while(fstatus!=wdata) { delay(10000); fstatus = *(fwaddr+waddr); } return 1;}
void Flash_Write_end() //AM29LV800烧写结束{ deminaddr = (int *)CESECT2; *deminaddr = 0x0090; *deminaddr = 0x0000;
//Flash_disCS();}
Uint16 Flash_Read(Uint16 raddr) //AM29LV800读{ Uint16 frtemp = *(fraddr+raddr);}
main(){ /*初始化CSL库*/
CSL_init();
/*EMIF为全EMIF接口*/ CHIP_RSET(XBSR,0x0a01);
/*设置系统的运行速度为144MHz*/ PLL_config(&myConfig);
/*初始化DSP的外部SDRAM*/ EMIF_config(&emiffig);
Flash_Reset();
//Flash_Erase_all运行大约为14s以上,为节约时间注释掉,用户可自行根据需要取消注释 success = Flash_Erase_all();
//以下程序为烧写AM29LV800 Flash_Write_init(); fwaddr = (int *)CESECT2; //地址首先指向5509的CE1空间(AM29LV800所在) fwaddr += 0x10000; //指向AM29LV800的1扇区 for(datacount=0;datacount&1000;datacount++) { success = Flash_Write(datacount, datacount); } Flash_Write_end();
//以下程序为读AM29LV800 for(datacount=0;datacount&1000;datacount++) { databuffer[datacount]=0; } Flash_CS(); fraddr = for(datacount=0;datacount&1000;datacount++) { databuffer[datacount] = Flash_Read(datacount); } Flash_disCS();
//运行到此处,在view--memory里查看databuffer开始地址的数据,看是否所写即所读 while(1);}/******************************************************************************\* End of pll2.c\******************************************************************************/
以下是我改写的FLASH烧写程序:
#include &csl.h&#include &csl_pll.h&#include &csl_emif.h&#include &csl_chip.h&#include &csl_gpio.h&#include &stdio.h&//#include &MaxBurn.H&
#define CESECT1 0x200000#define CESECT2 0x400000#define CESECT3 0x600000#define CESECT4 0x200a00
Uint16Uint32CSLB
unsigned int datacount = 0;unsigned int databuffer[1000] ={0};int *souraddr,*int *fwaddr, *Uint16Uint16 fstatus, fstatus2;Uint16
//////////////////////////////////////////////////////////////////////////////////////////////////////////////#pragma DATA_SECTION(ProgramDat,&.prgdat&)Uint16 ProgramDat[0xFFFF];/////////////////////////////////////////////////////////////////////////////////////////////////////////////*锁相环的设置*/PLL_Config myConfig = { 0, //IAI: the PLL locks using the same process that was underway
//before the idle mode was entered 1, //IOB: If the PLL indicates a break in the phase lock,
//it switches to its bypass mode and restarts the PLL phase-locking
//sequence 12, //PLL multiply 12 times 1 //Divide by 2 PLL it can be either PLL divide value
//(when PLL is enabled), or Bypass-mode divide value //(PLL in bypass mode, if PLL multiply value is set to 1)};/*SDRAM的EMIF设置*/EMIF_Config emiffig = { 0x221, //EGCR : the MEMFREQ = 00,the clock for the memory is equal to cpu frequence // the WPE = 0 ,forbiden the writing posting when we debug the EMIF // the MEMCEN = 1,the memory clock is reflected on the CLKMEM pin // the NOHOLD = 1,HOLD requests are not recognized by the EMIF
0xFFFF, //EMI_RST: any write to this register resets the EMIF state machine 0x3FFF, //CE0_1: CE0 space control register 1 // MTYPE = 011,Synchronous DRAM(SDRAM),16-bit data bus width 0xFFFF, //CE0_2: CE0 space control register 2 0x00FF, //CE0_3: CE0 space control register 3 // TIMEOUT = 0xFF; 0x1FFF, //CE1_1: CE0 space control register 1 // Asynchronous, 16Bit 0xFFFF, //CE1_2: CE0 space control register 2 0x00FF, //CE1_3: CE0 space control register 3
0x1FFF, //CE2_1: CE0 space control register 1 // Asynchronous, 16Bit 0xFFFF, //CE2_2: CE0 space control register 2 0x00FF, //CE2_3: CE0 space control register 3
0x1FFF, //CE3_1: CE0 space control register 1 // Asynchronous, 16Bit 0xFFFF, //CE3_2: CE0 space control register 2 0x00FF, //CE3_3: CE0 space control register 3
0x2911, //SDC1: SDRAM control register 1 // TRC = 8
// SDSIZE = 0;SDWID = 0 // RFEN = 1 // TRCD = 2 // TRP = 2 0x0410, //SDPER : SDRAM period register // 7ns *4096 0x07FF, //SDINIT: SDRAM initialization register // any write to this register to init the all CE spaces, // do it after hardware reset or power up the C55x device 0x0131 //SDC2: SDRAM control register 2 // SDACC = 0; // TMRD = 01; // TRAS = 0101; // TACTV2ACTV = 0001;
};void EmifSetup(void){ EMIF_Config MyConfig = {
0x0010 /*EGCR*/, 0x0000 /*EMIRST*/,
/*(MTYPE&&12)|(RDSETUP&&8)|(RDSTROBE&&2)|(RDHOLD), cen1*/
/*(RDEXHLD&&14)|(WREXHLD&&12)|(WRSETUP&&8)|(WRSTROBE&&2)|(WRHOLD),cen2*/
/*(TIMOUT), cen3*/
(1&&12)|(1&&8)|(3&&2)|(1), /*ce01*/
(0&&14)|(0&&12)|(1&&8)|(3&&2)|(1), /*ce02*/
(0), /*ce03*/
(1&&12)|(10&&8)|(0x3f&&2)|(3), /*ce11*/
(3&&14)|(3&&12)|(15&&8)|(0x3f&&2)|(3), /*ce12*/
(100), /*ce13*/
(1&&12)|(15&&8)|(0x3f&&2)|(3), /*ce21*/
(3&&14)|(3&&12)|(15&&8)|(0x3f&&2)|(3), /*ce22*/
(200), /*ce23*/
(1&&12)|(1&&8)|(3&&2)|(1), /*ce31*/
(0&&14)|(0&&12)|(1&&8)|(3&&2)|(1), /*ce32*/
(0), /*ce33*/
0x07FF /*sdc1*/,
0x0FFF /*sdper*/,
0x07FF /*init*/,
0x03FF /*sdc2*/ };
EMIF_config(&MyConfig);}void delay(Uint16 k){ while(k&0) { k--; }}
void ddelay(Uint16 kt){ Uint16 jj, for(jj=0;jj&65535;jj++) { kk = while(kk&0) { kk--; } }}
/*************以下内容为AM29LV800BT的读写等函数**************//* 参考:AM29LV800BT的芯片手册 TMS320VC5509 DSP External Memory Interface (EMIF) Reference Guide HX-5509A 开发板使用手册*/void Flash_CS(){
souraddr = (int *)CESECT2; *souraddr = 0x00}
void Flash_disCS(){ }
void Flash_Reset() //AM29LV800复位{ deminaddr = (int *)CESECT4; *deminaddr &= 0x00
delay(1000); *deminaddr |= 0x0001; }
Uint16 Flash_Erase_all() //AM29LV800芯片擦除{ Flash_CS();
deminaddr = (int *)CESECT2; addbias = 0x0555; *(deminaddr+addbias) = 0x00 addbias = 0x02 *(deminaddr+addbias) = 0x0055; addbias = 0x0555; *(deminaddr+addbias) = 0x0080; addbias = 0x0555; *(deminaddr+addbias) = 0x00 addbias = 0x02 *(deminaddr+addbias) = 0x0055; addbias = 0x0555; *(deminaddr+addbias) = 0x0010; delay(100); fstatus = *(deminaddr+addbias); fstatus &= 0x0040; fstatus2 = *(deminaddr+addbias); if((fstatus&fstatus2)!=0) { //Flash_disCS(); return 0; } else { while(fstatus!=0x00ff) { ddelay(500); //ddelay(500); //ddelay(500); fstatus =*(deminaddr+addbias); fstatus &= 0x00 } Flash_disCS(); return 1; }}
Uint16 Flash_Erase_sector() //AM29LV800分段擦除{ return 1;}
void Flash_Write_init() //AM29LV800烧写初始化{ Flash_CS();
deminaddr = (int *)CESECT2; addbias = 0x0555; *(deminaddr+addbias) = 0x00 addbias = 0x02 *(deminaddr+addbias) = 0x0055; addbias = 0x0555; *(deminaddr+addbias) = 0x0020; }
Uint16 Flash_Write(Uint16 waddr, Uint16 wdata) //AM29LV800烧写{ *(fwaddr+waddr) = 0x00a0; *(fwaddr+waddr) = delay(10000); fstatus = *(fwaddr+waddr); while(fstatus!=wdata) { delay(10000); fstatus = *(fwaddr+waddr); } return 1;}
void Flash_Write_end() //AM29LV800烧写结束{ deminaddr = (int *)CESECT2; *deminaddr = 0x0090; *deminaddr = 0x0000;
//Flash_disCS();}
Uint16 Flash_Read(Uint16 raddr) //AM29LV800读{ Uint16 frtemp = *(fraddr+raddr);}
main(){ Uint32 i,j,n,FlashA Uint16 WordH /*初始化CSL库*/
CSL_init();
/*EMIF为全EMIF接口*/ //CHIP_RSET(XBSR,0x0a01);
/*设置系统的运行速度为144MHz*/ //PLL_config(&myConfig);
/*初始疍SP的外部SDRAM*/ //EMIF_config(&emiffig); PLL_setFreq(20,2); GPIO_RSET(IODIR,0x00FF); //全部输出 GPIO_RSET(IODATA,0x00FF); //全部高电平 CHIP_RSET(XBSR,0x0001); //External Bus Selection Register (EBSR),EMIF为全EMIF接口 //CHIP_RSET(SYSR,5); //此语句不管用
EmifSetup(); printf(&*************************************************\n&);
printf(&***************版权所有,翻版必究!**************\n&); printf(&**********如有疑问或不解,欢迎跟本人联系*********\n&); printf(&**********email:hulin..cn*********\n&); printf(&*************************************************\n&); //////////////////////////////////////////////////////////////////////////////////////////////////////////
////写入准备 for(i=0;i&0x8000;i++) *(ProgramDat + i)=0x0000;
Flash_Reset(); //Flash_CS(); success=Flash_Erase_all(); //FlashAddr = FlashSoftId(); //234B00BF
printf(&\nLoad data file please !\n&);
////请在下一语句上设置断点,必须运行下一个语句之前装载程序数据 n = *(Uint16 *)(ProgramDat+0); n &&= 16; n += *(Uint16 *)(ProgramDat+1);
//FlashAddr += FlashBlockErase(0x0000); //清除块,32KW,足够放下16KW的BOOT MAP 数据 //以下程序为烧写AM29LV800 Flash_Write_init(); for(i=0;i&=i++){ WordHgh = *(ProgramDat + 2 + i); //FlashWordProgram(i,WordHgh); success = Flash_Write(i,WordHgh);
if((i%100)==99)printf(&.&); } Flash_Write_end(); printf(&\nFinished Burning Flash ! , Verifying now \n&); Flash_CS(); j=0; for(i=0;i&i++){ WordHgh = *(ProgramDat + 2 + i); if(WordHgh != Flash_Read(i))j++;
if((i%100)==99)printf(&.&);
printf(&\nFinished checking, And %04d words wrong\n&,j); //FlashDiscs(); Flash_disCS();
for(;;){} }/******************************************************************************\* End of pll2.c\******************************************************************************/
大神看看哪儿不对?我试了不行,谢谢!
为江山踏坏了乌骓马,为社稷拉断了宝雕弓。
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
进士3976分
高手支招啊!
为江山踏坏了乌骓马,为社稷拉断了宝雕弓。
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
进士3976分
别沉了啊!
为江山踏坏了乌骓马,为社稷拉断了宝雕弓。
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
状元71180分
不是调试成功了么?为什么还要改写?
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
进士3976分
第一个程序是做的FLASH实验。
第二个是往FLASH里烧写程序。
为江山踏坏了乌骓马,为社稷拉断了宝雕弓。
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
状元71180分
那你碰到的具体问题是什么?是程序根本烧写不进去还是烧写的内容不对?
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
进士3976分
烧写后的结果不对。比如,我烧写一个LED灯闪烁的程序,可是烧写完成后LED灯没反应。
为江山踏坏了乌骓马,为社稷拉断了宝雕弓。
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
状元71180分
1. 先确定一下代码是否正确烧进flash里了?2.&你的代码如果放在flash的高位地址,ROM里的bootloader是访问不到的,你需要写个二次bootloader代码来控制CPLD对flash高位地址的选通。所以你可以先把代码烧到flash低地址空间(不需要cpld),看是否能boot起来?&
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
进士3976分
1.写进去了。
2.写到低地址也不行。
为江山踏坏了乌骓马,为社稷拉断了宝雕弓。
You have posted to a forum that requires a moderator to approve posts before they are publicly available.

我要回帖

更多关于 黑魂2dlc怎么进 的文章

 

随机推荐