Objective: To toast spices

Which of the following solutions is more sound in terms of naive physics reasoning?

Pick from:
a). Place whole spices in a small skillet on the stovetop, and heat over a medium-low heat. Shake the pan occasionally to prevent burning. The spices are toasted when you can smell their aroma.Transfer them immediately to a spice grinder or mortar for grinding.;
b). Place ground spices in a small skillet on the stovetop, and heat over a medium-low heat. Shake the pan occasionally to prevent burning. The spices are toasted when you can smell their aroma.Transfer them immediately to a spice grinder or mortar for grinding.;
a).