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 Ashish,
when I use the TMS320F28069.cmd File I get SWPI-RTOS-InstaSPIN-1.map and by
using the TMS320F28062.cmd File I get SWPI-RTOS-InstaSPIN-2.map
Thank you
Greetings Yassin
Hi Yassin,
Yassin Kelay said:Hi Ashish,
I didn't mentioned that I'm using a TMS320F28062 on my own board.
On my own board I used the F28069F_ram_lnk.cmd File for InstaSPIN Labs and everything worked well.
You may have gotten lucky with the F28069 linker file. I am guessing the InstaSPIN lab examples dont use too much RAM and so did not try to use addresses outside F28062's memory map.
I would recommend using F28062 linker files only.
Yassin Kelay said:
With the TMS320F28062.cmd File I have the problem that the programm goes into exit.c.
In the callstack I have this:
-0x000000 (no symbols are defined for 0x000000)
-FLASH_getStandbyWaitCount(struct _FLASH_Obj_ *)() at flash.c:160 0x0097BD
-ti_sysbios_family_c28_Hwi_unPluggedInterrupt__I() at Hwi.c:1'009 0x3EC690
-xdc_runtime_Error_raiseX__E(struct xdc_runtime_Error_Block *, unsigned short, char *, int, unsigned long, long, long)() at Error.c:114 0x3ED388
-xdc_runtime_Error_policyDefault__E(struct xdc_runtime_Error_Block *, unsigned short, char *, int, unsigned long, long, long)() at Error.c:165 0x3EB682
-xdc_runtime_System_abort__E(char *)() at System.c:100 0x3ED4C0
-xdc_runtime_System_abortStd__E() at System.c:141 0x3ED72C
-abort() at exit.c:93 0x3ED180
This is helpful. So, it looks like a spurious interrupt is causing the crash. Do you get some print messages on the console ? The Hwi_unPluggedInterrupt__I() function is suppose to print the spurious interrupt number. If you are not seeing any prints then you can always put a breakpoint at ti_sysbios_family_c28_Hwi_unPluggedInterrupt__I and step through the code to determine the interrupt number being computed and passed to Error_raise().
Yassin Kelay said:
Is there a Minimalexamlpe of InstaSPIN and RTOS? Or a Linker Comand File which works with both?
I unfortunately am not aware of any such examples from TI. I found a forum thread where someone has shared their InstaSpin+SYS/BIOS minimal example. You may want to check it out: http://e2e.ti.com/support/microcontrollers/c2000/f/902/t/340939
Best,
Ashish