AM263P4-Q1: µC behaviour during connection with Uniflash

Part Number: AM263P4-Q1
Other Parts Discussed in Thread: UNIFLASH

Tool/software:

Hey Experts,

ive got a question regarding the actions Uniflash takes during connecting with the µC.

Iam using Uniflash 9.3.0.5401

Ive a systemproject flashed to my µC. It contains projects for core 0-0 and core 1-0.
If i open Uniflash now and hit any botton which inflicts a connection to the µC like flashing, erasing or read out memory, core 0-0 stops (my LED toggling for core 0-0 stops) 
but core 1-0 doesn't ( the LED for this core(Pin D18) suddenly blinks with 8Hz sompared to 2Hz in my code).
I use the flasher_jtag_uniflash_am263px-lp_r5fss0-0_nortos_ti-arm-clang.out 

What exactly happens for example when i hit the botton to read the memory?
Is there a command sended by Uniflash over JTAG to tell the core to stop? Is it only send to core 0-0? Or is there any option where i need to stop core 1-0?
Is the Pin D18 used by Uniflash or can you explain why its blinking?

Best regards

Marcel

  • Hi Marcel,

    Ive a systemproject flashed to my µC. It contains projects for core 0-0 and core 1-0.
    If i open Uniflash now and hit any botton which inflicts a connection to the µC like flashing, erasing or read out memory, core 0-0 stops (my LED toggling for core 0-0 stops) 

    What you are observing is expected.

    This is because when you connect to uc using Uniflash the Uniflash GUI in the backend uses the jtag to load the flasher program(flasher_jtag_uniflash_am263px-lp_r5fss0-0_nortos_ti-arm-clang.out )

    This overwrites your existing led blink example.

    What exactly happens for example when i hit the botton to read the memory?

    This feature works differently for AM26x vs MCU with integrated flash, In AM26x, to read flash memeory you load the flash program which will overwrite any program you are running on R5F0_0

  • Hey Nilabh,

    but what happens to core 1-0? I mean there isn't even running the program i flashed before. But something is running there because my LED which is connected to the SW running at core 1-0 is suddenly blinking much faster.

  • For Core1-0 there is no impact, Can you erase the flash, reflash the binary and check again.

    I am suspecting the behaviour you are observing might be due to flasher program(not 100%), Please check the syscfg once if the GPIO pin or led is shared

  • What do you mean with no impact? The code running at core 1-0 isn't even stoped?

  • When you connect to core while programming using Uniflash, it does not disturb the program running on Core 0-1. Yes, the code is not stopped.