Matthew C. Perry commanded the U.S. Navy expedition that forced Japan to abandon its policy of isolation, triggering the eventual overthrow of the Shogunate's and the Meiji Restoration. Perry arrived in Edo Bay in 1853 to deliver a letter from President Fillmore, and returned the next year to receive Japan's answer. By demonstrating the overwhelming superiority of Western technology, he forced the Japanese delegates to agree to his demands.
In the English Wikipedia article for Commodore Perry, it is mentioned that, when the Japanese tried to turn him away during the first visit, Perry ordered his ships to attack the habour with highly destructive guns. That article cites as a source Arthur Walworth's book, the Black Ships Off Japan: The Story of Commodore Perry's Expedition.
Perry ordered some buildings in the harbor shelled. (Walworth,Arthur; Black Ships Off Japan p. 21) Perry's ships were equipped with new Paixhans shell guns, cannons capable of wreaking great explosive destruction with every shell.
In contrast, the Japanese article says the cannons fired blanks and did not result in any deaths. This seems to match what the Naval History and Heritage Command says, hich seems to suggest (based on the wording of "implied") that the guns weren't actually used on the Japanese.
During this period, the Commodore remained out of sight in his cabin, stating that he would consult personally only with direct representatives of the Emperor. The Japanese procrastinated and equivocated. The Commodore stood firm, supported by the implied threat of the squadron's guns. He refused to move his ships to Nagasaki. He rejected gifts and compromises. He forbade indiscriminate visiting by natives. He herded their guard boats away from the anchorage. Always alert to the possibility of treachery, he exercised his crew at battle stations daily.
The two versions seem to be contradictory. Moreover, although the English wiki mentioned no deaths, it followed the sentence by saying Perry's ships were equipped with devastating gun, which seems like they would have easily killed people had they fired.
So my question is, is it definitively known whether Perry attacked the harbour to forcibly open Japan?