After trying to establish communication for many hours, I find out the datasheet info for used flash memory include wrong Device ID number: 0x1f8401 instead of 0x1f8501. With proper config file (i.e. Adesto.txt) the xflash returns the following (Don't forget to first run source SetEnv on Linux!):
./xflash --spi-read-id 0x9f --spi-spec Adesto.txt --target EEZ-XE216-512-EVAL --verbose
XFlash_Options::ListDevices : xgdb --batch -q --ex listdevices devl-b5da9800
XFlash::DoXFlash
XFlash::DoReadWriteErase
XFlash_Programmer_ReadDeviceID::ReadDeviceId
XFlash_Programmer_ReadDeviceID::GenerateSource
XFlash_SPI_DeviceId::IssueCompileCommand : xcc -Xmapper --dontenablesodlinks -Xmapper --wnoXN -x xc "sqi-ad4453d6" -x xn "/media/denis/SSD_256GB/BACKUP/EEZ/XMOS/Community_14.3.2/targets/EEZ-XE216-512-EVAL/EEZ-XE216-512-EVAL.xn" -o "sqi-2245beff" -lquadflash -D xnPORT_SQI_CS0=PORT_SQI_CS -D xnPORT_SQI_SCLK0=PORT_SQI_SCLK -D xnPORT_SQI_SIO0=PORT_SQI_SIO
XFlash_Utils::BuildRunCommand : xrun --io sqi-2245beff
Response to SPI ID command on tile[0]: 0x1f, 0x85, 0x1.
Custom flash support in xTIMEcomposer Topic is solved
- Attachments
-
- Adesto.txt
- (873 Bytes) Downloaded 206 times
- Adesto.txt
- (873 Bytes) Downloaded 206 times
Last edited by eez-open on Wed Mar 14, 2018 10:55 am, edited 1 time in total.
View Solution
Hi. Thanks for the closure. Is it possible that you actually soldered into your PCB the AT25SF081 device?
From the AT25SF081 datasheet:
https://www.adestotech.com/wp-content/u ... 81_045.pdf
From the AT25SF041 datasheet:
https://www.adestotech.com/wp-content/u ... 41_044.pdf
From the AT25SF081 datasheet:
https://www.adestotech.com/wp-content/u ... 81_045.pdf
From the AT25SF041 datasheet:
https://www.adestotech.com/wp-content/u ... 41_044.pdf
Argh, that's crazy! Yes, you are right, for some reason a wrong flash is ordered and soldered on two boards :(. Updated header and config files are attached for further reference.
- Attachments
-
- QuadSpecEnum.h
- (283 Bytes) Downloaded 220 times
- QuadSpecEnum.h
- (283 Bytes) Downloaded 220 times
-
- QuadSpecMacros.h
- (10.4 KiB) Downloaded 209 times
- QuadSpecMacros.h
- (10.4 KiB) Downloaded 209 times
-
- Adesto_AT25SF081.txt
- (873 Bytes) Downloaded 223 times
- Adesto_AT25SF081.txt
- (873 Bytes) Downloaded 223 times
On a positive note, you have more code space than you originally thought for more complex led blinky projects :) That is what I hear from my staff members all the time :)