cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

destrif
Journeyman III

Implement Watchdog Driver for familly 14h(bobcat)

Dear,

I am currently a new driver developer.

I have to implement a watchdog for a card having a bobcat CPU.

First I need to understand what the watchdog is able to do? Why is there 2 watchdog(CPU,NorthBridge)?

Why would I have to start them at the same time? and why with a higher time count value in NorthBridge?

My mission is to implement a basic watchdog which count down to zero. And if it reach zero it restart the card.

Is it possible to do it with this CPU?(Most important question)

Finally, I have trouble to access the region of:

Device 0 Function 0 (Root Complex) Configuration Registers

I can access the register: cf8, and cfc.

I am also able to access the MSRC001_0058 modele special register.

But after what should I do with it?access the base address given in memory?

And after that: set the address[31:0] with my good information(D18F3x40)?

But at the end after setting the good information in address[31:0], where will I read the data contained in that address??

---------------------------------------------

MMIO configuration: configuration space is a region of memory space.
• The base address and size of this range is specified by
MSRC001_0058 [MMIO Configuration Base

Address]. The size is controlled by the number of configuration-space bus numbers supported by the sys- tem. Accesses to this range are converted configuration space as follows:

• Address[31:0] = {0000b, bus[7:0], device[4:0], function[2:0], offset[11:0]}.

----------------------------------------------

The documentation for 14h family is given here:

http://support.amd.com/TechDocs/43170_14h_Mod_00h-0Fh_BKDG.pdf

Thanks a lot in advance for your time!

Sincerely Yours,

0 Likes
1 Reply
jtrudeau
Staff

You've been white listed. I'm moving this to "General Discussions" We don't get a lot of driver development questions. So I'll poke around among the engineering team to see if there's someone who might be able to help. No promises.

0 Likes