anjali wrote on Friday, November 03, 2017:
Hello,
I want to have a port of freertos on cc3200 launchpad, though TI provides an official port, it uses outdated freertos version (8.0.1). So I started with the cc3220 freertos port. AFAIK cc3220 and cc3200 are pin-to-pin compatible with the same ARM architecture, with the only differences being, cc3220 providing better power management, security and leaner driver libraries. I have followed the porting a demo guide, but I am not able to debug my application. If I skip debugging and just program my board from uniflash, the scheduler does not start, actually, the prvHardwareInit also does not start.
This is what I tried:
I imported the cc3220 demo in CCS, I updated the hardware includes to use the files from cc3200 SDK, instead of TI folder in the demo. Updated board initialisation and gpio api. I also updated target configuration which updates the ccxml.
First I tried only LED toggling without scheduling which works okay.
Then I tried with the scheduler, but after vPortStartFirstTask I was stuck at the IntDefaultHandler() because I was using CCS’ default linker .cmd file and cc3200’s default startup_ccs.c
Then I copied these two files from the Demo folder (CC3220SF_LAUNCHXL_FREERTOS.cmd and startup_cc32xx_ccs.c).
On debugging I receive the following error and the debugger does not start:
Cortex_M4_0: Loader: One or more sections of your program falls into a memory region that is not writable. These regions will not actually be written to the target. Check your linker configuration and/or memory map.
Cortex_M4_0: Can’t Run Target CPU: Timed out while waiting for target powerup/polling a hardware resource.
And I also have a warning:
entry-point symbol other than “cint00” specified: “resetISR”
I am not sure what could be missing. Any help is appreciated!