Both Canada and the US have similar rules for visiting. They count your 6 months in North America. It does not matter if you spent 6 months in Canada and then try to spend 6 months in the US. Same applies if you started in the US and wanted to go to Canada. You already used up your 6 months. There is no border hopping to reset the 6 months. They expect you to actually leave North America.