Other Parts Discussed in Thread: UNIFLASH, , CC3120
Hello,
I am working on an in-system programming method for the CC3220MODAS, and after an incomplete programming attempt with Uniflash I can no longer complete a connection.
Every time I click Connect, it starts the handshake then comes back with Operation Failed: (80, 'API Blocked/File System Locked') as shown in this screen.
My previous programming attempt that failed was stuck at 21% and I removed power at that time:
I have compared serial sniff of the Connect sequence before and after.
When Connect was working, the host sends 00 07 33 31 00 00 00 02, which is Get Storage Info for serial flash and the CC3220S responds with 00 CC 00 0A 14 10 00 04 00 00 C2 28 16 (Ack + Storage Info).
At the moment that Connect is failing, the host sends 00 07 33 31 00 00 00 02, which is Get Storage Info for serial flash and the CC3220S responds with 00 33 (NACK).
After the NACK, the host sends 00 03 23 23 (Get Status) and the CC3220S responds with 00 CC 00 03 50 50 (Ack + Last Status). I have not found documentation for the status codes, but I assume the 0x50 in this response is the same as 80 in the Uniflash on screen message.
Question for the experts here, did my botched first time programming operation permanently lock me out, or is there some way to recover from this? I started out with no program in the CC3220MODAS, so not sure if factory reset options are available. I did try the POR with SOP0=1 and SOP1=1 and that didn't seem to do anything.
Thinking outside the box, our next rev of board brings out the SPI flash pins from the CC3220MODAS, I am wondering if I could erase via program pins to start over.
Also wondering if the Raw Storage Erase – SFLASH is an option to erase the external SPI flash of the CC3220MODAS, or if that command is limited to internal XIP flash of the CC3220MODASF.
Please let me know what it means to the state of CC3220S to have an incomplete programming, and if there's a way I can get it unstuck to retry my Uniflash programming.
Thanks!
Chris Norris