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.

Query related to recurring Uniflash tool errors (ubuntu platform in Instant-Contiki-2.7) cc2538 EM+SmartRF06 EB

Other Parts Discussed in Thread: CC2538, UNIFLASH

Hi e2e Engineers,

I am using CC2538  (EM) over SmartRF06 Evaluation Board (EB). In Instant Contiki-2.7, while using TI’s Uniflash  platform on Ubuntu to flash the Contiki OS ported CC2538 chips, the following 3 types of errors/failures are repeatedly encountered:

1. Despite successfully loading a program (flashing a ‘.elf’ file) onto the cc2538 chip, the previous program output is seen and not the latest program. Why doesn’t the older program cease to exist even (or simply get erased) after being programmed with the different newer program?

2. Sometimes even after being connected, the newer program simply doesn’t load. On the SmartRF06 EB, the XDS100v3 status remains in ‘Advanced Mode’ (with the RED LED glowing). What could be the reason for it getting stuck at this stage?

3. The following error too occurs repeatedly while flashing the cc2538 chips:

SEVERE: Cortex_M3_0: Trouble Halting Target CPU: (Error -2062 @ 0x0) Unable to halt device. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 5.1.402.0)

The desired program output is obtained randomly.

(Although I have successfully manged to get RF and IPv6 communication running, it took a lot of time owing to the above mentioned errors.)

Are there any known bugs?

Thank you in advance,

Indrajit

  • Indrajit, 

    I have also had issues using the UniFlash tool on CC2538, there has been a number of E2E posts about it.

    http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/255389.aspx

    We have recently issued a new appnote on using GCC/GDB with CC2538. It contains lots of good hints, here is a link to it.

    http://www.ti.com/lit/an/swra443/swra443.pdf

    Regards,
    /TA