henrykotze commented on issue #17809:
URL: https://github.com/apache/nuttx/issues/17809#issuecomment-3744292153

   @fdcavalcanti Thank you for the reply! Currently I just want to get it 
working in the board configuration before looking to update.
   Here is some output:
   ```
   sh> param select /fs/mtd_params
   INFO  [param] selected parameter default file /fs/mtd_params
   nsh> param save
   blkdev="/fs/mtd_params" chardev="/dev/tmpc000001" oflags=0x26
   pathname="/fs/mtd_params"
   /fs/mtd_params is a MTD
   path="/dev/tmpb000001"
   pathname="/dev/tmpb000001"
   Entry
   available: true mediachanged: false writeenabled: true
   nsectors: 256 sectorsize: 256
   Entry
   cmd: 778
   return -25
   sector: 0 nsectors: 1
   esp_flash_read failed 24579
   ERROR: Read 1 blocks starting at block 0 failed: -1
   Read failed: -1
   ERROR [tinybson] killed: write error
   ERROR [parameters] BSON encoder finalize failed
   ERROR [parameters] parameter export to /fs/mtd_blkdev="/fs/mtd_params" 
chardev="/dev/tmpc000002" oflags=0x26
   pathname="/fs/mtd_params"
   /fs/mtd_params is a MTD
   path="/dev/tmpb000002"
   pathname="/dev/tmpb000002"
   Entry
   available: true mediachanged: false writeenabled: true
   nsectors: 256 sectorsize: 256
   Entry
   cmd: 778
   return -25
   sector: 0 nsectors: 1
   esp_flash_read failed 24579
   ERROR: Read 1 blocks starting at block 0 failed: -1
   Read failed: -1
   params failed (-1) attempt 1
   ERROR [tinybson] killed: write error
   ERROR [parameters] BSON encoder finalize failed
   ERROR [parablkdev="/fs/mtd_params" chardev="/dev/tmpc000003" oflags=0x26
   pathname="/fs/mtd_params"
   /fs/mtd_params is a MTD
   path="/dev/tmpb000003"
   pathname="/dev/tmpb000003"
   Entry
   available: true mediachanged: false writeenabled: true
   nsectors: 256 sectorsize: 256
   Entry
   cmd: 778
   return -25
   sector: 0 nsectors: 1
   esp_flash_read failed 24579
   ERROR: Read 1 blocks starting at block 0 failed: -1
   Read failed: -1
   meters] parameter export to /fs/mtd_params failed (-1) attempt 2
   ERROR [tinybson] killed: write error
   ERROR [parameters] BSON encoder finalize failed
   ERROR [parameters] parameter export to /fs/mtd_params failed (-1) attempt 3
   ERROR [parameters] param export failed (-1)
   ERROR [param] Param save failed (-1)
   
   ```
   
   Im using the same SPI flash mode as on Nuttx 10.3
   ```
   CONFIG_ESPRESSIF_FLASH_MODE_QIO=y
   CONFIG_ESPRESSIF_FLASH_FREQ_80M=y
   CONFIG_ESPRESSIF_FLASH_FREQ="80m"
   CONFIG_ESPRESSIF_MTD=y
   CONFIG_ESPRESSIF_SPIFLASH_MTD_BLKSIZE=256
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to