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.

which software for flash programming the CC2538

Other Parts Discussed in Thread: CC2538-SW, CC2531

Hi, 

im wondering which software do i need in order to program a new .bin file to the flash programmer.

I do have a precompiled bin file from the ZNP firmware, which im trying to flash on my CC2538EM. I think i need to use the SmartRF Flash Programmer 2? Am i right? Or do i need to use Embedded Workbench for this?

Or does the SmartRF tool only works with firmware files in hex format?

If i try to upload the bin file i choose Erase All, Program entire source image, Readback and compare...but somehow i stuck at

>start flash programming...

Am i doing something wrong?

thanks!

  • You can use SmartRF Flash Programmer 2 and don't need IAR embedded workbench. Do you use the latest version of SmartRF Flash Programmer 2?

  • Okay,..using the newest version in combination with a native windows (virtual machine is still not working) did the trick, and im able to program the firmware on the board. However, if i disconnect the CC2538EM from the SmartRF06 and plug it in directly (i changed the jumper to USB power) nothing is showing up nowhere. Windows (neither virtual or native) nor linux does recognize any new usb device. Shouldn't it show up as some new device? ttyUSB0 in linux or a virtual com port in windows. 

    thanks

  • Hi,

    2538ZNP configuration doesn't fully support MT over USB with serial over USB driver class yet.

    There's USB serial driver class component that can be downloaded from http://www.ti.com/tool/cc2538-sw but this is not yet integrated onto ZNP workspace.

    Thanks,

    TheDarkSide

  • Hello,

    thanks for the information on this TheDarkSide!

    Are there any plans to fully integrate it into ZNP, that its usable just like the CC2531 (virtual COM port etc.)?

    And if there are such a plans, is there any ETA for this?

  • Hi Thomas,

    As I know, they don't have plan to do it. However, I would suggest you to contact your local TI representative for exact information. TI employee has regulation that they can't reveal this kind of roadmap related information on forum.

  • Ok,

    thats what i need to do seems.

    but as long as the USB communication is not possible i can use it over UART, right?

    I tried to use the UART channel via the SmartRF06, but it didn't seem to work right. Do i need to configure something in the Firmware before i compile it, in order to enable UART communication? I found some part in the zap.cfg file, but im not quite sure.

    thanks!

  • Hi,

    please follow what Yikai suggested in terms of getting information about features in future releases.

    In regards to your question about UART support, yes it is supported.

    If you are using SmartRF06 board please make sure you connect the external host to EM_UART_RX and EM_UART_TX pins of the board. I would recommend you also remove the 'Enable UART over XDS' jumper.

    Please see http://www.ti.com/lit/pdf/swru321 for more information.

    Thanks,

    TheDarkSide