Thanks skimask for the suggestion but unfortunately the output is still the same. Initially black boxes. On "release from reset", still black boxes. If I pull out the LCD Vdd - strange characters, plug it back in, I get character boxes filled with strange characters corresponding to the number of characters I output with LCDOUT and a blinking cursor at the end.