nxp hosted firmware loading through spi interface

Discussion created by lpcware Employee on Jun 15, 2016
Content originally posted in LPCWare by chitturi123 on Fri Feb 27 03:45:32 MST 2015

I am using nxp lpc51002 board to interface wifi module through spi interface.
I have to upgrade the firmware of my wifi module through spi interface.
My firmware size is around 1.2mb.
nxp has RAM of size 98kb.

I want to develop application when running should dynamically fetch the data (firmware) from PC system in chunks of 20k or 10k through usb jtag cable.
This firmware chunk should be sent to wifi module through spi interface.
After transferring the chunk to the wifi module again the program should fetch another chunk from PC .
Is it possible to develop such application