Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CCloader - how to use it ? #7

Open
Netoperz opened this issue Dec 7, 2016 · 2 comments
Open

CCloader - how to use it ? #7

Netoperz opened this issue Dec 7, 2016 · 2 comments

Comments

@Netoperz
Copy link

Netoperz commented Dec 7, 2016

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
Copy link
Contributor

XuGuohui commented Dec 8, 2016

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

@Netoperz
Copy link
Author

Netoperz commented Dec 8, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants