Silicon nanowires, whose thermal conductivity is strongly reduced with respect to that of the bulk silicon, are very promising for high-efficient thermoelectric conversion. This work focuses on the development of a technique for the fabrication of thermoelectric generators which are based on vertical silicon nanowire forests, achieved through a metal-assisted chemical etch. As heavily doped nanowires are essential in thermoelectric applications, this chemical process has been applied both on lightly and on highly doped (> 10^19 cm^3) silicon substrates. A comparison of the results shows that the etch behaves in a completely distinct way when applied to the differently doped substrates. The results of this comparison and a preliminary insight into the diverse behavior occurred are reported. The different initial nucleation of silver, which determines the hole injection, essential to the etching of silicon, seems to be the key point of this different behavior.