On the FRDM-KL25Z development board is it possible to use the flash memory at U5. It is an AT45DB161E chip, and I need to store program variables.
If the chip is mounted on the board it will be Ok but I don't think that they are delivered mounted (note the "DNP" in the circuit diagram) - you may need to solder one it.
Keep in mind that this flash chip is connected to the K20, and not to the KL25Z. So you need to have your program running on the OpenSDA K20.
I am agree with Erich. This flash is connect to K20. So if you change K20 code, I am afraid that you cannot use OpenSDA.
The FRDM-KL25Z development board is for development so you can connect SPI Flash to its board connectors or solder one onto the available pads, cut the tracks to the K20 and wire up the device to the KL25.
To store program variables it is also possible to use the internal Flash of the KL25 (when enough space is free).
Yes, you are correct. Another solution is using pin out hole to connect to flash. This can reserve a good FRDM-KL25Z.
I took a look at using the SO-8 wide footprint on the board but it is not so simple as the laout routes the signals 'through' the footprint pads. This makes it difficult to isolate the pads without interrupting signals that look to be required by the K20 debugger. Therefore it is probably best to add such a device to the connector pins.
Looking at the pins available I would chose the following connection (most pins close together on one connector) and use SPI1:
[VDD J9-4 / 0V J9-14]
SPI1_CS PTE-4 (J9-13)
SPI1_SCK PTE-2 (J9-9)
SPI1_MOSI PTE-1 (J2-20)
SPI1_MISO PTE-3 (J9-11)
Yes, you are correct. As I mentioned, you need to connect SPI flash to KL25 freedom board separately.
Retrieving data ...