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

cc2538-cc2592-dk flashing issue #2710

Open
ceylanim opened this issue Oct 18, 2022 · 3 comments
Open

cc2538-cc2592-dk flashing issue #2710

ceylanim opened this issue Oct 18, 2022 · 3 comments

Comments

@ceylanim
Copy link

Hi.

I bought a couple of cc2538-cc2592-dk for test.

https://www.alibaba.com/product-detail/CC2538-CC2592-DK-Development-Board-for_1600456619006.html

I am not good at these boards. Before I bought, I have used cooja simulation software under contiki-ng.
There was cc2538 demo example on the boards. I didnt know how i can flash the board. I compiled the hello world example with ‘make TARGET=cc2538dk hello-world’ command and than I copied the hex file under build/c2538dk to windows. On windows side, I have used Smartrf flash programmer software. In the first test, I flashed that but disable bootloader was selected. I couldnt flash the same board again. It was failed.
After that, I have typed a code in hello-world.c . That was

#define FLASH\_CCA\_BOOTLDR\_CFG\_ENABLE 0xF0FFFFFF

Compiled again, copied the hex file to windows side. And unselected the disable bootloader.

Before flashed I have unplugged the board and holding the select button, plugged again.

I have flashed the board. After that I was able to flash the board again. But that wasnt printing on serial. I tried to connect on putty, I couldnt see anything. I tried to flash the cc2538 demo, it was successfull, but there was nothing again. Even blinking…

My first question is about the first board. I couldnt flash it again. I think it is about bootloader. How can I flash it again? Maybe with jtag?

I have this jtag.

jtag

But I dont know how i do it. There is not a document for it.

Second question is why my methods are not working, why cant I see anything on board.

Is my method right?

What do you advice me?

@mistergomes
Copy link

mistergomes commented Oct 18, 2022 via email

@ceylanim
Copy link
Author

Thank you for information. I think it will be difficult for me.

@mistergomes
Copy link

mistergomes commented Oct 18, 2022 via email

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