Other Parts Discussed in Thread: CC2640, CC2650
Hi everbody,
I am a newbie in TI-RTOS world, I have my development board based on CC2640 device. I am trying to blink an LED that I connected to DIO3. I have a CC2650 Launchpad and I am running the Lab1 (BasicTask) example which I found in TI SimpleLİnk Academy.
I have changed the pin number on board.h file because the led on my board connected to DIO3 and the led on cc2650 launchpad is connected to DIO6. I can successfully upload the code to my custom board, using the onboard xds110 of launchpad (I am using jumper wires between my board and launchpad in order to program my custom board using the Launcpad's onboard xds110)
However when I press the resume button on CCS Debug window (so that the pragram that I successfully loaded into my custom board will run and blink the led), the program aborts. I tried the program the CC2650 launchpad before any modification on the board files and the led blinks succesfully. This is the Lab1(BasicTask example) project that I am trying to modify for my custom board ;
software-dl.ti.com/.../tirtos_01_basic.html
In the RTOS Object Viewer, it seems like the task(which blinks LED) never runs. I am attaching the debug window screenshut below ;
And this is what I get on Console after runnig the progrom on CCS debug window ;
[Cortex_M3_0] {module#38}: line 1087: error {id:0x120000, args:[0x4028, 0x0]}
{module#38}: line 1164: error {id:0x140000, args:[0x2050, 0xe000ed38]}
Exception occurred in background thread at PC = 0x000040e8.
Core 0: Exception occurred in ThreadType_Main.
Main name: main(), handle: 0x0.
Main stack base: 0x20004c00.
Main stack size: 0x400.
R0 = 0x00000000 R8 = 0x00000020
R1 = 0x20004f4c R9 = 0x00000000
R2 = 0x00000001 R10 = 0x00000000
R3 = 0xfffffffd R11 = 0x00000000
R4 = 0x20001f4c R12 = 0x00000000
R5 = 0x00000001 SP(R13) = 0x20004f40
R6 = 0x00000020 LR(R14) = 0x00001d23
R7 = 0x20001f58 PC(R15) = 0x000040e8
PSR = 0x21000000
ICSR = 0x00400803
MMFSR = 0x00
BFSR = 0x04
UFSR = 0x0000
HFSR = 0x40000000
DFSR = 0x00000001
MMAR = 0xe000ed34
BFAR = 0xe000ed38
AFSR = 0x00000000
Terminating execution...
I have checked the supply voltages to the cc2640 on my custom board and they are all ok. I know that there is an external flash chip on the CC2650 Launchpad board Hence, maybe I should also edit the "cc26x*f128.cmd" file on the lab1 project(BasicTask example). But I am not sure and I do not have much idea about how and why to modify it.
I am struggling to blink the LED on my custom board for days and could not make much progress, please help, any suggestion is deeply appreciated...
Thanks


