-
可是一直进入中断的话,其它的程序就不能执行了,怎么办
-
oncancel说的sourceformat, reset顺序, 信号极性等,我大概知道就是sourceformat改成656模式,reset顺序主要是reset摄像头模块,与reset Camera接口有关吗? 信号极性就是clock 的极性了,如果不用VSYNC及HREF就不用考虑这两都的极性了。还有什么其他注意的吗?
-
GSTATUS2 0x560000B4 Reset status
GSTATUS2 Bit Description
WDTRST [2] Boot is caused by Watch Dog Reset
cleared by writing “1”
SLEEPRST [1] Boot is caused by wakeup reset in sleep mode
cleared by writing “1”.
PWRST [0] Boot is caused by power on reset
cleared by writing “1”
GSTATUS4 0x560000BC Inform register
GSTATUS4 Bit Description
inform [31:0] Inform register. This register is cleard by power on reset. Otherwise,
preserve data value.
-
找2410,2440的例子参考吧
-
u8 reg,j,result=1;
vu8 i;
-
正要写个获取电池电压的程序,本来打算采用virtualcopy\virtualalloc\virtualFree实现,看来在ce6.0下要重新设计了。
牛人就是牛人啊!希望以后多共享一些学习心得,给我等后辈啊!
-
适当别沉底
-
引用 3 楼 huleide 的回复:
d1=rx;(P1^0=P3^0),51单片机能这么赋值吗?我都不记得了,我觉得好像只有FPGA才能连线这么定义吧
我也不太清楚,等待高人来解答
-
Error: Image is too large for current RAM and RAMIMAGE settings
The default end address of RAM was exceeded
错误很明显啊,楼主检查一下config.bib文件里面对于NK和RAM的配置吧。
-
****************************************
* *
* MODULE MAP *
* *
****************************************
DEFINED ABSOLUTE ENTRIES
*************************************************************************
DEFINED ABSOLUTE ENTRIES
PROGRAM MODULE, NAME : ?ABS_ENTRY_MOD
Absolute parts
ENTRY ADDRESS REF BY
===== ======= ======
_DATA20_HEAP_SIZE 0050
_DATA16_HEAP_SIZE 0050
_STACK_SIZE 0050
*************************************************************************
FILE NAME : D:\IAR430_PROJ\脉冲检测\Debug\Obj\smain.r43
PROGRAM MODULE, NAME : smain
SEGMENTS IN THE MODULE
======================
DATA16_AN
Relative segment, address: 0002 - 0002 (0x1 bytes), align: 0
Segment part 1. Intra module refs: MCUInit
main
ENTRY ADDRESS REF BY
===== ======= ======
IFG1 0002
-------------------------------------------------------------------------
DATA16_AN
Relative segment, address: 0120 - 0121 (0x2 bytes), align: 0
Segment part 2. Intra module refs: MCUInit
ENTRY ADDRESS REF BY
===== ======= ======
WDTCTL 0120
-------------------------------------------------------------------------
DATA16_AN
Relative segment, address: 0020 - 0020 (0x1 bytes), align: 0
Segment part 3. Intra module refs: port1_ISR
ENTRY ADDRESS REF BY
===== ======= ======
P1IN 0020
-------------------------------------------------------------------------
DATA16_AN
Relative segment, address: 0022 - 0022 (0x1 bytes), align: 0
Segment part 4. Intra module refs: MCUInit
ENTRY ADDRESS REF BY
===== ======= ======
P1DIR 0022
-------------------------------------------------------------------------
DATA16_AN
Relative segment, address: 0023 - 0023 (0x1 bytes), align: 0
Segment part 5. Intra module refs: main
port1_ISR
ENTRY ADDRESS REF BY
===== ======= ======
P1IFG 0023
-------------------------------------------------------------------------
DATA16_AN
Relative segment, address: 0024 - 0024 (0x1 bytes), align: 0
Segment part 6. Intra module refs: MCUInit
port1_ISR
ENTRY ADDRESS REF BY
===== ======= ======
P1IES 0024
-------------------------------------------------------------------------
DATA16_AN
Relative segment, address: 0025 - 0025 (0x1 bytes), align: 0
Segment part 7. Intra module refs: MCUInit
ENTRY ADDRESS REF BY
===== ======= ======
P1IE 0025
-------------------------------------------------------------------------
-
大家是不是过年都没兴趣了哇
-
引用 1 楼 veabol 的回复:
友情帮顶!
呵呵,谢谢,上次你都帮我顶了好几次了。
-
会产生内存碎片的
-
引用 5 楼 gooogleman 的回复:
引用 3 楼 yangcuncunzhang 的回复:
用CreatePartition()就可以了。流程
1、用FindFirstStore()和FindNextStore()枚举系统中所有Store设备,根据szStoreName判断是不是我们要的Nand Flash。
2、根据找到的Store句柄调用CreatePartition(),可以指定partition的名字、扇区数
3、调用OpenPartition(),根据Store句柄和Partition的名字打开分区
4、调用DismountPartition()卸载分区。
5、调用FormatVolume()格式化分区,此时可以指定簇大小、FAT版本等。
6、调用MountPartition()加载分区
2---6可以重复多次调用,就可以建立多个分区了。
注意每个分区的大小,不要第一次就用完了Store的所用空间,后面的分区会建立失败的
楼主是ADS bootloader的,估计是自动分区那种,楼主应该 多加载一次驱动,估计就可以了。呵呵
BootLoader是什么编译的应该没关系吧?
我的项目中,BootLoader也是ADS1.2的,WinCE5是PlatForm Builder做的,就是用上面的办法建立多个分区的,注册表中只用了一份驱动。这样有个小缺陷:分区的名字是根据注册表里面指定的,如果用上面的API建立多个分区,各个盘符的名字会是Nand Flash, Nand Flash1, Nand Flash2。
楼主,下面是我的注册表项
; Use Device Manager to load the NAND FMD driver as a built-in block driver.
; This can be used for both WinCE and Windows Mobile builds.
;
; Note: We support Windows Mobile Image Update build for SmartPhone,
; and the registry settings below get conflicts with the ones needed by Image Update.
; So we will overwrite them and setup Storage Manager Autoload keys in SmartPhone section
; to load NAND FMD driver as persistent storage during the early boot phases.
;
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\NANDFMD]
"Profile"="FlashDisk"
"Index"=dword:1
"Dll"="nandfmd.dll"
"Prefix"="DSK"
"Order"=dword:1
"FSD"="FATFS.DLL"
"IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
; Override names in default profile. These settings are also required to
; support the automatic mounting and creation of the "NAND Flash" folder.
;
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\FlashDisk]
"DriverPath"="Drivers\\BuiltIn\\NANDFMD"
"Name"="NAND FLASH"
"Folder"="NAND Flash"
"DefaultFileSystem"="FATFS"
"EnableCache"=dword:1
"CacheSize"=dword:0
; Explicitly specify the use of the TFAT filesystem for NAND flash.
;
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\FlashDisk1\FATFS]
"FormatTfat"=dword:1 ; Format partitions to be TFAT
"Flags"=dword:007C1014 ; reference follow bit flag
-
引用 6 楼 veabol 的回复:
你是开发驱动还是开发设备的?加些打印信息,看看两种情况下有什么不同
各位兄弟,驱动是高丽棒子做的
我只负责安装驱动
现在就是不确定是什么问题,所以请教大家
-
动态和静态结合的,像网卡声音的驱动就是静态申请的,USBD是动态的,我用4.2移植的驱动已经跑通了
-
链接有问题,请楼主检查!!
-
如果清楚单个通过PC是如何烧写的,写成批处理就不难
但是想用超级终端,可能会比较难。自己写吧
-
我也出现了同样的错误
请问后来如何解决的
-
样子很像RIDE