Re: Thank you!

2023-05-25 Thread Tomek CEDRO
Good luck with Your project Tim! :-) -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info

Re: Thank you!

2023-05-25 Thread Nathan Hartman
Kudos from me also, and best of luck getting that product released! If I may suggest, perhaps at some future NuttX workshop, you could present about how NuttX is being used in automotive. Cheers Nathan On Thu, May 25, 2023 at 4:23 PM Alan C. Assis wrote: > Hi Tim, > > Congratulations! I'm very

Re: Thank you!

2023-05-25 Thread Alan C. Assis
Hi Tim, Congratulations! I'm very happy that you succeed! We are glad to have you aboard! BR, Alan On 5/25/23, Tim Hardisty wrote: > My NuttX journey started in earnest about a year ago, after an enforced > pause for personal reasons. The processor on my board is ATSAMA5D2. In the > last year

Thank you!

2023-05-25 Thread Tim Hardisty
My NuttX journey started in earnest about a year ago, after an enforced pause for personal reasons. The processor on my board is ATSAMA5D2. In the last year I have submitted (nearly all) merged PRs for this processor: - mcan - flexcom SPI - ClassD audio - SPI DMA - flexcom USART - efuse support

Re: SPI EEPROM

2023-05-25 Thread Tim Hardisty
Thanks for replies. Alan – your video (which I had watched!) is for AT24 I2C EEPROM and it can’t be done in the same way for SPI EEPROM with no device ID to read back We had this same conversation a year or 2 ago when I was very new to NuttX, and I even found an archived email saying I’d sor

Re: SPI EEPROM

2023-05-25 Thread Gregory Nutt
On 5/25/2023 10:35 AM, Tim Hardisty wrote: I have an SPI EEPROM device on my board, and use "ee25xx_initialize" to register it as /dev/at25. That works fine. But I can't do anything with it. Sure you can.  That is a character device, not an MTD or block driver, and it should behave like the wh

Re: SPI EEPROM

2023-05-25 Thread Alan C. Assis
Hi Tim, There are two ways to access EEPROM on NuttX, one is using this character driver that you are using and the other is accessing it as a MTD. I created a video tutorial some years ago explaining how to do it: https://www.youtube.com/watch?v=qzjf2JtgYN0 Keep in mind that using MTD with I2C

Re: SPI EEPROM

2023-05-25 Thread Sebastien Lorquet
Hi, This eeprom is not an mtd device, it is too small for any filesystem, usually. So it's just a character device that makes the eeprom appear as a fixed size file. If you need an eeprom mtd, the driver could be extended to make it behave as a mtd device. Sebastien Le 25 mai 2023 16:35:00 U

SPI EEPROM

2023-05-25 Thread Tim Hardisty
Could have sworn I had this working a year or 2 ago but it's stumped me today... I have an SPI EEPROM device on my board, and use "ee25xx_initialize" to register it as /dev/at25. That works fine. But I can't do anything with it. Unlike at25_initialize, the ee25xx_initialize doesn't return mtd_d