This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Getting aborted when writing to bar0 of pci


HI all,
                 I am using ecos Network grg image for the intel ixp425
processor, i am able to flash the default image and work with it finly by
commenting cyg_hal_plf_pci_init() in the default image.

                                       Now i am working with net image,
where it uses the intel 82559 ethernet controller for this purpose, but here
pci_init_find_82559s() will call
cyg_pci_int() which is calling the same routine  cyg_hal_plf_pci_init() ,
here the axd debugger is blocking at when it is configuring the pci as host

                        if (is_host) {

        HAL_PCI_CFG_WRITE_UINT32(0, 0, CYG_PCI_CFG_BAR_0, 0x00000000);

            
it has even detected the  82559 ethernet controller but when it calls
cyg_pci_int()
it crashes at above situation.the axd shows message as unexpected debug
handler behaviour.
any pointers will be helpful, what is going to toss when he is trying to
write to pci configuration space .
Thanks in advance.

Thanks & regards,
Sumanth.

-- 
View this message in context: http://www.nabble.com/Getting-aborted-when-writing-to-bar0-of-pci-tf1892860.html#a5176507
Sent from the Sourceware - ecos-discuss forum at Nabble.com.


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]