AnsweredAssumed Answered

download a program to external flash (hello_world_qspi)

Question asked by Eyal Barzilay on Aug 17, 2016
Latest reply on Aug 22, 2016 by Eyal Barzilay

Hi, I'm a user of KSDK 1.3 on the FRDM-K82f board. I use KDS as my toolchain. I've been using the QSPI driver successfully to read and modify external flash. Now for the first time I'm trying to run a program from the external flash. I decided to use the hello_world_qspi example as a starting point. However I can't find documentation on programming the external flash from the KDS. I see hints here and there like the .srec file and the .bd file inside the project folder and people have also been talking about a .sb file. I think this is relevant information but I can't find a documented procedure which ties all this info together and explains step by step how to download and run a program from external flash. Can someone point me to the right document?


Note: perhaps this is obvious but trying to download hello_world_qspi from KDS fails. The log clearly says that all code blocks in the address range 0x68xxxxxx failed verification. This tells me that the tools doesn't know how to program the external flash, at least not the way I use it.


Any help on this would be greatly appreciated!