RedBearLab / CCLoader

Burn BLE Mini (CC2540) firmware using Blend Micro board.
230 stars 170 forks source link

CCloader - how to use it ? #7

Open Netoperz opened 7 years ago

Netoperz commented 7 years ago

Hello, stupid question, but i can't find any info about construction of command line command to start flashing.

I have got Leonardo with sketch uploaded, and CCloader.exe and HCI_UART_115200bps_20130429.bin

And i want to flash it. My Leonardo is on on COM12

Sorry for that question, but no idea where to put switch for com port and i do not want to damage the CC2540 IC by using flasher in a wrong way.

I do have CCdebuger also, with their flasher downloaded from TI website, but it cannot recognize the .bin files, because it works with .hex When i use bin2hex to convert the files the TI software is saing that it cannot read that file, so i need help.

  1. upload also .hex files in addition to .bin cince they are generated by IAR and you have them already
  2. Add in readme info abut exact command people should use in order to use your flasher and arduino with sketch.

Thank yoy :)

XuGuohui commented 7 years ago

You can simply type CCLoader.exe and press Enter, it will print prompt information about the usage.

Netoperz commented 7 years ago

Thank You, in deed it works, there is a bug in win 10, when you just drop the .exe to the terminal window sometimes it adds the path to file twice, i didn't noticed that, and that was the main problem.

Usage: C:\Users\miros\TI\CCLoader.exe Example: C:\Users\miros\TI\CCLoader.exe 2 abc.bin 0

: 0 -- Default (e.g. UNO) 1 -- Leonardo so in my case it is: **CCloader.exe 12 HCI_UART_115200bps_20130429.bin 1** so everything is fine.