Hi There!
I am using SmartRF06 with the CC2538, It is working as well but i can only see assembly when it is debugging. How do i fix to show the C code?
In attachment the printscreen.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi There!
I am using SmartRF06 with the CC2538, It is working as well but i can only see assembly when it is debugging. How do i fix to show the C code?
In attachment the printscreen.
Hi,
the no source available is likely indicating you are paused in a function in the run time library.
I would suggest setting some breakpoints in your code or you can press the button in the disassembly view to toggle showing the source on and off.
Hope this helps!
Best Regards,
Lisa
Hi,
if you go to View->Modules ... do you see that all your c code has had symbols generated?
Best Regards,
Lisa
Hi Lisa Thanks for replying again. Nothing in Modules. I did attach the project, will it help? 5140.cc2538_test.zip
Hi,
you are correct you don't seem to have any symbols loaded. Are you loading a standard .out file? How are you doing that? Can you try run->load->load program or load symbols?
Best Regards,
Lisa
Hello Lisa, I think i figure out. Some how, In my project settings wasn't loading the right *.out file.
But now i got this stranger issue.
IcePick_C: Error: (Error -1013 @ 0x1) Unable to access device register. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 5.1.180.0)
IcePick_C: Failed Software Reset
Cortex_M3_0: Trouble Halting Target CPU: Connect to PRSC failed
Cortex_M3_0: GEL: Error while executing WaitForReset(): execution state prevented access at isAtResetIsr=*((int *) 0x20003004) [cc2538.gel:91] at WaitForReset() .
IcePick_C: GEL: Error while executing WaitForSignal(): Evaluation canceled.
Cortex_M3_0: GEL: Error while executing OnFileLoaded( 0, 0): Evaluation canceled.
Wghat do you think?
Hi,
this seems to indicate a problem connecting to the device. I would do the following
1- check your settings/target configuration. feel free to post your ccxml
2 - isolate whether this is hardware or settings/environment/software related.
Best Regards,
Lisa
Hi Mauricio,
I can only suggest two things.
1 - again debug whether this is hardware or software first
2 - post to the low power rf forum. the software comes from them
3 - make sure you are using a ccs version if available. an iar version won't work as they are different compilers.
Best Regards,
Lisa
Hi Mauricio,
great, glad to hear. Thanks for the update and all the best with development.
Best Regards,
Lisa