Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SPI NAND Flash Driver with AS5F38G04SND-08LIN memory (IEC-106) #323

Open
3 tasks done
Jayegit opened this issue Apr 30, 2024 · 2 comments
Open
3 tasks done

SPI NAND Flash Driver with AS5F38G04SND-08LIN memory (IEC-106) #323

Jayegit opened this issue Apr 30, 2024 · 2 comments

Comments

@Jayegit
Copy link

Jayegit commented Apr 30, 2024

Answers checklist.

  • I have read the component documentation ESP-IDF Components and the issue is not addressed there.
  • I am using target and esp-idf version as defined in component's idf_component.yml
  • I have searched the issue tracker for a similar issue and not found any related issue.

Which component are you using? If you choose Other, provide details in More Information.

Other

ESP-IDF version.

v5.1.2

Development Kit.

ESP32-S3

Used Component version.

0.1.0

More Information.

I tried Alliance AS5F38G04SND-08LIN Flash memory with using spi_nand_flash (SPI NAND Flash Driver) Component Driver but its did not work. Do I have to edit something of source code to use Alliance AS5F38G04SND-08LIN (1GB) SPI Nand Flash memory?

This is serial monitor out put of after flashed the program:
**E (371) nand: spi_nand_flash_init_device(191): Failed to detect nand chip
ESP_ERROR_CHECK failed: esp_err_t 0x108 (ESP_ERR_INVALID_RESPONSE) at 0x42008911
0x42008911: example_init_nand_flash at C:/Espressif/workspace2/nand_flash/main/spi_nand_flash_example_main.c:145 (discriminator 1)

file: "./main/spi_nand_flash_example_main.c" line 145
func: example_init_nand_flash
expression: spi_nand_flash_init_device(&nand_flash_config, &nand_flash_device_handle)

abort() was called at PC 0x4037a527 on core 0
0x4037a527: _esp_error_check_failed at C:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_system/esp_err.c:50**

@Jayegit Jayegit added the Type: Bug Bugs in components label Apr 30, 2024
@github-actions github-actions bot changed the title SPI NAND Flash Driver with AS5F38G04SND-08LIN memory SPI NAND Flash Driver with AS5F38G04SND-08LIN memory (IEC-106) Apr 30, 2024
@Jayegit Jayegit closed this as completed May 2, 2024
@Jayegit Jayegit reopened this May 2, 2024
@igrr
Copy link
Member

igrr commented May 20, 2024

@Jayegit Sorry for the late reply. In order to add support for this flash memory, you need to do changes similar to this other PR: #327. This involves adding a device-specific init function and call it based on the ID of the chip. We don't have this specific flash chip, but if you do the necessary changes and submit a PR, we can merge it.

@Jayegit
Copy link
Author

Jayegit commented May 28, 2024

Thank you very much for your reply,
I want to working 8 Gbit (1GB) Flash with ESP32-S3 in my project. please let me know what kind of 1GB Flash ROM (maker/device) can use with ESP32-S3 with this IDF component. Thank you...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants