Hello everyone I would like to try to send the identify(0xEC) command to the AHCI controller of my SATA Hard Disk, so I armed myself with documentation and explanation on this forum understanding that it was necessary to create a FIS and manipulate the registers of my Controller that are mapped in the memory of my pc to send the message, I would like to write some code but I do not understand if I need to examine the documentation of my AHCI controller or that what's on the forum is good for everyone.
how do I check the registers of my AHCI controller.
Send FSI to my AHCI controller
-
- Posts: 1
- Joined: Sun Oct 22, 2023 4:20 am
- Libera.chat IRC: lollo0xC21
-
- Member
- Posts: 5540
- Joined: Mon Mar 25, 2013 7:01 pm
Re: Send FSI to my AHCI controller
All AHCI controllers are pretty much the same. (But you should still read the documentation anyway!)Lorenzocc21 wrote:I would like to write some code but I do not understand if I need to examine the documentation of my AHCI controller or that what's on the forum is good for everyone.
Enumerate PCI to find the AHCI controller, then read the appropriate BAR to find the address of the registers.Lorenzocc21 wrote:how do I check the registers of my AHCI controller.