This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC3220SF: Original Mac Address for CC3220SF chip

Part Number: CC3220SF
Other Parts Discussed in Thread: UNIFLASH,

Hello!

I have a really big problem, I don't have XDS-programmer or any UART needed for flashing the chip on my custom board via Uniflash.

The only thing I can do is create image in Uniflash and then upload it via SPI to external Flash.

I do that way:

1. Connect to the Launchap, getting it's MAC by Uniflash;

2. Create an image without application and sdk (just empty), but in dev-mode;

2. Writting it via JLink SPI Flash to the external FLASH (because I planned to do it on my custom board);

2. In IAR project adding

#define __SF_DEBUG__

in CC3220SF_LAUNCHXL.h

and 

place at start of FLASH { readonly section INTVEC_init };
define symbol Flash = 1;

in *.icf file

It let's me debug and change internal FLASH as I want from IAR, so that was my goal.

But then I understood that I can create correct dev-mode image only if I know MAC-address of the current chip, but it is provided only by Uniflash when we somehow connect via UART.

Now I don't have this ability on my custom board, I have only SPI and SWD there.

So please could anyone tell me, how can I know the MAC-Address of current chip, not using connection via Uniflash or Uart? May be I can find it out from serial number, or may be there are some settings in the Uniflash Image creator to somehow avoid the problem that the same image won't work on devices with different MACs?

Best Regards,

Boris

  • Hi Boris,

    In case you not have available UART for Uniflash connection, you don't much options how switch your own hardware into development mode. You should to consider change your hardware to be able connect by Uniflash via UART. It is not possible change content of sFlash via JTAG or SWD connected to CC3220 chip.

    One of options may to be create code in production mode and upload this production image into serial flash directly. This image will allow you read MAC address and create development image later. But for production mode you need to have purchased code signing certificate from listed CA already.

    Jan
  • Hello Jan!

    Thanks for your reply!

    I know I cant change external flash by SWD/JTAG, I do it by SPI directly;

    Do you mean, If I want do create prod-mode image I have to purchase certificate? I cant use ones from sdk folder?

    Regards,

    Boris

  • Hi Boris,

    You need to buy code signing certificate from one of listed/supported CA ( \tools\cc32xx_tools\certificate-catalog\readme.html ) in SDK. There is option for usage own root certificate catalogue but for this you need to use Uniflash software with UART.

    Information about certificate for production mode you find at http://www.ti.com/lit/ug/swpu332/swpu332.pdf (1.5.1).

    Jan