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.

IWR6843ISK: SBL flashed failed

Part Number: IWR6843ISK
Other Parts Discussed in Thread: UNIFLASH

Hello experts,

I tried to flash the sbl(Meta Image1) and demo bin file(Meta Image4) to the xWR6843 ES2.0 with UniFlash V5.3.1,but we don't get what we expected .
it seems that the chip jumped to the Image4 directly to execute the program and skipped the sbl .I'll attach the log file for you .
Could you help me to find out what happened ?

uniflash_gui_debug_log.zip

Thanks & Regards ,
Simon

  • Hi Simon,

    Do you see the same behavior with power on reset after flashing?

    Thanks

    Yogesh

  • Yogesh,

    Yes,you are right.

    Thanks,

    Simon

  • Simon,

    Could you please define the problem that you are trying to solve. Like do you want to update the meta-image when you are doing reboot.

    Thanks

    Yogesh

  • Hi Yogesh,

    This is for mass production.As you can see on the above screnshot ,the chip can't load backup factory default image from flash address 0x180000 .However I can update the application metaimage at address 0x40000 after I erase the flash .Maybe you can reproduce this problem.

    Thanks & Regards,

    Simon

  • Hi Simon,

    Case 1: Meta Image 1 : SBL

                 Meta Image 4 : Back-up Image

                 Power on reset, SBL defaults to loading back-up meta-image but it fails.

    I am not able to follow case 2: "I can update the application metaimage at address 0x40000 after I erase the flash"

    Are you using SBL to update the meta image or uniFlash?

    Quick Question:

    Are you able to flash back-up image as Meta Image 1 in UniFlash and able to run.

    Thanks

    Yogesh

    Thanks

    Yogesh

    Are you able to run the back-up image by directly by flashing with uniFlash as Meta Image 1.

    Thanks

    Yogesh

  • Yogesh,

    Q:Are you using SBL to update the meta image or uniFlash?
     A:Yes,I can update the image with SBL ,but after I flash the sbl and back-up image and power on reset the sbl can't load back-up iamge.
    Q:Are you able to flash back-up image as Meta Image 1 in UniFlash and able to run.
     A:Yes.
    Q:Are you able to run the back-up image by directly by flashing with uniFlash as Meta Image 1.
     A:Yes. 
    Besides,does the debug log help ?


    Thanks,
    Simon

  • Hi Simon,

    Seems strange. Not able to get much from debug log.

    May I ask few more questions to reproduce the issue:

    1) SDK version?

    2) Any changes to SBL or OOB demo?

    3) SOP mode while executing SBL.

    4) Is it possible to share the screen shot of UniFlash with log messages.

    Thanks

    Yogesh

  • Hi Yogesh,


    Sorry for the delay .
    we work on the SDK V3.3.03 and the backup factory default image works well without sbl , you can find the information from the attached files .

    logs.zip

    Thanks ,
    Simon

  • Simon,

    You are getting parsing failure:

    Error: RPRC Parsing Failure!!!

    Could you please try back-up image of size less than 512KB.

     

    Thanks

    Yogesh

     

  • yes , as you can see  mmw_demo.bin works fine with my sbl . 

    Could you tell me why this happen ?

    Thanks,

    Simon

  • Hi Simon,

    Not sure if you are having flash of size greater then 2MB, but boot-loader maps only 2MB. The back-up image starts at 1.5 MB and cannot exceed 512KB in size. Hope this explain the issue.

    Thanks

    Yogesh

  • I see but my bin file size is about to 526KB ,can i change the offset to fix this issue?

    Thanks,
    Simon

  • Hi Yogesh,

    we fix the issue after chaning the back up image address from 0x180 000 to 0x100 000  .However there is still one thing I need to figure it out .

    Could we change the meta image location in UniFlash ?Because we want to flash sbl 、Image A and Image B at the same time .

    Thanks,

    Simon

  • Hi Simon,

    You cannot change the offset in UniFlash. You may need to write you own flash utility.

    Thanks

    Yogesh