@@ -1383,6 +1383,8 @@ qspi_status_t QSPIFBlockDevice::_qspi_update_4byte_ext_addr_reg(bd_addr_t addr)
1383
1383
qspi_status_t QSPIFBlockDevice::_qspi_send_read_command (qspi_inst_t read_inst, void *buffer, bd_addr_t addr,
1384
1384
bd_size_t size)
1385
1385
{
1386
+ tr_debug (" Inst: 0x%xh, addr: %llu, size: %llu" , read_inst, addr, size);
1387
+
1386
1388
size_t buf_len = size;
1387
1389
1388
1390
qspi_status_t status = _qspi_update_4byte_ext_addr_reg (addr);
@@ -1422,6 +1424,7 @@ qspi_status_t QSPIFBlockDevice::_qspi_send_read_command(qspi_inst_t read_inst, v
1422
1424
qspi_status_t QSPIFBlockDevice::_qspi_send_program_command (qspi_inst_t progInst, const void *buffer, bd_addr_t addr,
1423
1425
bd_size_t *size)
1424
1426
{
1427
+ tr_debug (" Inst: 0x%xh, addr: %llu, size: %llu" , prog_inst, addr, *size);
1425
1428
1426
1429
qspi_status_t status = _qspi_update_4byte_ext_addr_reg (addr);
1427
1430
if (QSPI_STATUS_OK != status) {
@@ -1466,6 +1469,8 @@ qspi_status_t QSPIFBlockDevice::_qspi_send_general_command(qspi_inst_t instructi
1466
1469
const char *tx_buffer,
1467
1470
mbed::bd_size_t tx_length, const char *rx_buffer, mbed::bd_size_t rx_length)
1468
1471
{
1472
+ tr_debug (" Inst: 0x%xh, addr: %llu, tx length: %llu, rx length: %llu" , instruction, addr, tx_length, rx_length);
1473
+
1469
1474
qspi_status_t status = _qspi_update_4byte_ext_addr_reg (addr);
1470
1475
if (QSPI_STATUS_OK != status) {
1471
1476
tr_error (" QSPI Generic command - Updating 4-byte addressing extended address register failed" );
0 commit comments