Hi, We are debugging a custom board based on K22 + SP141 (QCA4002). We use ART to program QCA4002 first and looks no error but we see no waveforms on SPIM (QCA4002 to external flash, CS, CLK, MISO, MOSI). Is there any preburned code in QCA4002's on chip ROM that can drive QCA4002 to read from external flash or we have to burn something to activate it? How to do? We check the bootstrap on GPIO0 & PIO2. It is OK. Appreciated with any help.
QCA4002 on-chip ROM
Posted: Wed, 2014-08-27 03:35
Hi Paul, which host interface are you using? If you use SPI you need to do a few things first (from the Host MCU) to initialize the chip before it will load the firmware from the external SPI FLASH. Look at section "6.6.4. Boot Process" in the "Programmer's Guide". I am not sure about UART or host less mode. I suppose if you use that it should boot from SPI by itself.
Hi Paul,
For seeing the SPIM lines toggle you can use the ART commands :
address and values should be entered in Hex
menu -> tools --> send command :
you can get more help by typing for example : help xr
xr: flash read (xr a=50)
xw: flash write