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.

AWR6843AOPEVM: Difference between deployment and debug mode when flashing

Part Number: AWR6843AOPEVM
Other Parts Discussed in Thread: AWR6843AOP, UNIFLASH

Hi Sir,

I was middle of  using AWR6843AOP with mmWaveboost mode and reading the user guide,
which is .pdf file, im wondering wht difference is between deployment and debug mode when flashing.
I can't write all my questions because the number of characters is exceeded here.
I attached as an captured image of inquiries.

 .

Thanks.

Regards,

Frank

  • Hi Frank,

    I will gladly assist you with this. I will need to look into your first question about the two build configurations a bit, so I will get back to you on that. In terms of your second question, if you are flashing the images through CCS (meaning debug mode) then yes, you will flash the .xe files. If you are having debug mode issues, there are a few things that you should verify. 

    1. Did you first flash the device with the corresponding ccsdebug.bin file using uniflash?

    2. Did you make sure to disconnect SOP2 before debugging in CCS?

    3. Did you flash both cores with their corresponding file?

    Let me know your thoughts and if you have any additional questions.

    Best Regards,
    Alec

  • Hi Alec,

    Thank you for the reply.
    I checked the content well u sent and I want to add two things.

    First of all, you didn't answer my first question, which was about what difference between deployment and debug mode when rebuilding the project in CCS. I want to know the difference exactly.

    Secondly, in terms of a few things that i should verify, you told me, I just want to double check the exact meaning of them.

    1. Did you first flash the device with the corresponding ccsdebug.bin file using uniflash?
    -> Do I have to flash .bin file also when flashing .xe file through uniflash?

    2. Did you make sure to disconnect SOP2 before debugging in CCS?
    -> What is SOP2 connection? Which mode is it?

    3. Did you flash both cores with their corresponding file?
    -> What is the core respectively as you mention that 'both cores'? Please tell me what it is.

    Thank you in advance.

    Best Regards,

  • Hi Frank,

    If you look at the projectspec file, you'll see that there are no differences between the two configurations by default. Typically, we encourage users to turn off optimization for the debug configuration, but we don't do it by default.

    In terms of the other items:

    1. If you refer to our demos, you will see in their Setup Guide a section called Developer's guide, which discusses debugging from CCS. In this section, there should be a section that is expandable that says something like "Expand for help with Debug Mode". This is what you will want to do if you plan to debug through CCS. In short, you will need to flash a pre-made .bin file using uniflash that supports CCSDebug Mode, and then after you load that once, you will need to load the .xe type files, which i'll discuss more in the next parts.

    2. What does your hardware setup look like? The demo setup guides should have links to pages that tell you how to flash using uniflash and how to set up for functional mode, but the short version is that you usually have to change a jumper when moving between SOP modes.

    3. When you connect to the device using the correct CCS Target Configuration, you will see that there is an ARM core and a DSP core. If you are using a project that utilizes the DSP core, you will need to connect to both cores and flash each one with the correct project file (MSS project for ARM, DSS project for DSP)

    In short, I think the easiest way for you to understand all this is to go through the Out of Box demo and follow the setup guide there. If you want to get familiar without dealing with the DSP, use the HWA version of the project. Let me know if you have any further questions.

    Best Regards,
    Alec