Skip to the content.

Z1-Mini/How to flash

Once a .hex file is created, there are 2 ways to flash Z1-Mini whit it:

With CC-Debugger or SmartRF04EB

  1. Download and install SmartRF Flash programmer 1.12.8 (not V2) from Texas Instruments site
  2. Connect CC-Debugger or SmartRF04EB to PC: check if driver are automatically recognized in device manager.
  3. Disconnect CC-Debugger or SmartRF04EB from PC; connect 10 pin flat cable between programmer and Z1-Mini. Pay attention to the correct connector alignment and orientation (pin 1 on pin 1)!!!. Depending on programmer features, board should be powered externally or not; if board doesn’t appear in Flash programmer software, must be powered externally (pins V+ and GND). Connect again debugger to the PC.
  4. Open Flash programmer software: debugger and CC2530 should appear in System on chip section; if not press reset button on debugger.
  5. Set options as image below and choose .hex file to flash in Flash image frame.
  6. Press Perform action and wait until Program and verify OK message appear.
  7. Done! Z1-Mini start and try to connect to the available coordinator (orange led flash quickly). Once connected led will flash slowly. Now can shut off, disconnect programmer and PC.

With a Raspberry without any programmer

  1. Install Wiringpi:
     sudo apt-get install wiringpi
    
  2. Install software flash_cc2531:
     git clone https://github.com/jmichault/flash_cc2531.git
    
  3. Turn off; connect Z1-Mini to Raspberry as image below.
  4. Turn On and check connection and installation:
     cd flash_cc2531
     ./cc_chipid
    
  5. should return..
     ID = b524
    
  6. Using WinSCP copy .hex created firmware to flash in flash_cc2531 folder of the raspberry.
  7. Again in SSH: erase cc2530 chip:
     ./cc_erase
    
  8. Flash .hex firmware file on cc2530:
     ./cc_write NAME-OF-YOUR-FILE.hex -m 300
    
  9. Done! Z1-Mini start and try to connect to the available coordinator (orange led flash quickly). Once connected led will flash slowly. Now can shut off and disconnect Z1-Mini from Raspberry.