|
i make a folder under drivers fold of 9261 BSP, and copy the files of comm16550.def, com16550.cpp, pdd16550.cpp under this folder. And make files of makefile, sources, and modified files of platform.bib .reg, and so on. and I make com16550.reg, according to the way found in the internet. [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\S16550_A] "DeviceArrayIndex"=dword:0 "IrqNumber"=dword:83 "IOBase"=dword:10000000 "IOLen"=dword:8 ;"ISTTimeouts"=dword:200 ; every 512 ticks checking Modem status. "Prefix"="COM" "Index"=dword:6 "Dll"="com16550.Dll" "Order"=dword:0 "Priority"=dword:0 ;"Port"="COM6:" ;"DeviceType"=dword:0 ;"FriendlyName"="serial6" ;"IClass"="{CC5195AC-BA49-48a0-BE17-DF6D1B0173DD}" ;"DevConfig"=hex: 10,00, 00,00, 05,00,00,00, 10,01,00,00, 00,4B,00,00, 00,00, 08, 00, 00, 00,00,00,00
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\S16550_B] "IRQ"=dword:84 "Dll"="com16550.dll" "Prefix"="COM" "DeviceArrayIndex"=dword:0 "IClass"="{A32942B7-920C-486b-B0E6-92A702A99B35}" "Index"=dword:7 "Order"=dword:2 "RegStride"=dword:2 "IoLen"=dword:8 "IOBase"=dword:10000008 "InterfaceType"=dword:0 "BusNumber"=dword:0 and then nk.nb0 is produced without any error, and I can find com16550.dll, too. when I boot systeem, I can find these 2 uarts under .../drivers/buildin with using regedit tool. and the information is same as the one I make in com16550.reg file. but when i use uart test tool to test them, i can not find these 2 uarts, there are only 2 original uarts of 9261. who can tell me what the reason is? it is because of wrong IRQ or IOBASE defination? How can I test it? the IRQ is PC3, 4 of 9261, CSA, B is NCS0+y0,y1 of 74lvc138 with A3,A4 input. thanks!
|