Tuesday, July 01, 2014

How to check ASPM on PCIE device

Most of BIOS engineer may face such topic during development phase. I wrote this down in case I won't forget next time... I always easily forgot so many basic things..

First of all, before we learn how to check the ASPM on this PCIE device, we should understand how to find the correct register of ASPM.

Key point: PCI Capability Pointer

1. Look the Standard PCIE space, yes, the PCI Capability Pointer is the entry of this topic.
 
 2. Why we should find Capability Pointer first? Because ASPM information can be found at Link Control Register. The register under Capability Structure.
    Now, the first job is, according to the Capability Pointer, to find out where the Structure is.
 
Key point: PCI Capability ID is 0x10
3. Second, as we are looking for Capability Structure, we are according to Capability Pointer to find the entry. However, not every entry are the base of Capability Structure. We should check every entry's offset 0x00 bit[7:0], if the Capability ID is not 0x10, go to next the Capability Pointer to check Capability ID again.
 
 
4. Untill we found the Capability ID is 0x10, then we can ensure this Capability Pointer is the correct base of Capability Structure.
5. The Link Control Register is offset 0x10 of Capability Structure. Example, if the Capability Structure entry is at 0xE0h, then Link Control Register should be at offset 0xF0h
6. Check 0xF0h bit[1:0], that's the ASPM information is.
 
 
 
..... End

Tuesday, April 01, 2014

2014 Happy Mom's birthday ~

Cute cake brought from 神戶菓子工房(美麗華店)

Replace the USB Dock charger connector for iPhone 4s

As the title, I got a problem that my iPhone was not able to communicate through the computer. I guess the connector had a problem. So I decide to replace it, with OEM type connector.

Sunday, March 30, 2014

The bottom component of Electrolux MCM100T


There is a trigger, white plastic, was broken and unable to make the heater connects to the power source. I made a little hinge to improve that trigger to fix such problem. Now it works fine again ~
PS: I forgot to capture my solution, so there is no picture :(

Saturday, March 22, 2014

Azzurri Forza Pro Ultegra Di2 22

2014-03-16 My new bike. Brought from CyclingExpress website.
An Azzurri Forza Pro Ultegra Di2 22 Bike with Look Keo 2 Max paddles








Also post the opening on Mobile01 forum @ 2014-03-16