dashesy / cc-tool

Mirror of cc-tool from SourceForge
http://sourceforge.net/projects/cctool/files/
GNU General Public License v2.0
154 stars 58 forks source link

Support Newer Chip? #24

Open cloudlakecho opened 3 years ago

cloudlakecho commented 3 years ago

This isn't an issue. I like to receive some advices on current software modification.

First of all, thanks for putting the code in GitHub.

We have the Texas Instrument chip model CC2652. I noticed that the CC-Tool version 0.26 supported up to the CC2545.

Is there way to support newer chips like the CC2652 by modifying the existing code? If yes, which sections of code need to be changed?

Thanks.

heartinstaller commented 1 year ago

I've a CC2541 dev kit and jtag debugger. but not able to install boost and cc-tool on my apple m1. Till now i have installed sdcc for compiling. You can help me.

cloudlakecho commented 1 year ago

@gaurav3015 My runtime environment was Linux (Ubuntu 16.04) not Apple M1.

I think that the best bet is building from source for Boost and then try to install CC-Tool.

heartinstaller commented 1 year ago

Thankfully i did the same. Now Boost and cc-tool are installed from source. Trying to flash cc2541 .

do you happend to know any lib or git where i can get basic example codes for cc2541?

cloudlakecho commented 1 year ago

I see.

I haven't used CC2541. Have you searched in GitHub? This is my search result. The first one looks good though used in Windows OS.

My chip set was CC2652 and we stopped the task in summer 2021.

heartinstaller commented 1 year ago

last night i tried to flash cc2541 using cc-tool with an ledblink program. But even sinced i flashed it cc-debugger started showing RED led. I tried pressing reset, replacing cable, connect cable with 180 flip, also it shows GREEN led when connected to CC2540 USB sniffer stick. Any solution/suggetion?

cloudlakecho commented 1 year ago

@gaurav3015 It looks like your flashing didn't go through. Is there way to flash again?

If not, you may want to open new Issue in this repository.

heartinstaller commented 1 year ago

@cloudlakecho im highly doubting that i have flashed into the bootloader space. and may be that's why ever since then board it not detecting to 'cc-tool -t' command. please comment

cloudlakecho commented 1 year ago

@gaurav3015 Thanks for sharing current situation. I don't have another guess. Please, consider put new issue in the repository.

Have you consider contact Texas Instruments? I remember they had software package.

heartinstaller commented 1 year ago

Thank you @cloudlakecho, Will be posting issue on TI's e2e forum as you suggest.