Forum Replies Created
-
AuthorPosts
-
sidpriceParticipant
I re selected the SVD file in the hardware register window and a file named “STM32411xx.mcudef” is now in my project folder. That name also appears in “STM32.XML”. I am not sure what makes it “dissappear”, however in the past the hardware register window seems to “forget” this setting. I will try to monitor when it occurs.
Thanks,
Sid.
sidpriceParticipantI think I may have got it. Using the dark theme it is impossible to know when an option is selected so I had to try each button in the toolbar until I got the result I expected.
Sid.
sidpriceParticipantMuch better, I get suggestions but I don’t see any methods or variables from my project.
Sid
sidpriceParticipantThat opens a popup but not the Intellisense popup. It shows the active tool window and active files list.
Sid.
sidpriceParticipantThanks, however that did not help. There is no error I just don’t get any Intellisense “prompts when I am typing code. I suspect that I may have changed an option somewhere by accident. One thing I remember was a small colorful horizontal toolbar that popped up, perhaps I clicked on it by accident. However I don’t seem to be able to get it to appear again and I cannot find a setting to turn this back on.
I did not change any project options just before this happened, this is aproject I have been working on for several months now.
Sid
sidpriceParticipantThanks, Sid
sidpriceParticipantCode snippet:
144 int sl_IfWrite( Fd_t fd, unsigned char *pBuffx, int len )
145 {
146 _CC3100_ChipSelect(); // Assert the chip select
147 //
148 // Write the data as words
149 //
150 u_int16_t * pOutput = (u_int16_t * )pBuffx;
151 for ( int iLoop = 0; iLoop < len ; iLoop += 2, pOutput++ )
152 {
153 spi_xfer( SPI1, _CC3100_ByteSwap( *pOutput ) );
154 }
155 _CC3100_ChipDeselect(); // Negate the chip select
156 return ( len ) ;
157 }With the MCU stopped at a breakpoint on line #157 I “Set Next Statment” on line #146:
info line “C:/DataRoot/Projects/bmp_windows_build/bmp_windows_build/bmp_windows_build/platforms/WifiF4/cc3100.c”:146
&”info line \”C:/DataRoot/Projects/bmp_windows_build/bmp_windows_build/bmp_windows_build/platforms/WifiF4/cc3100.c\”:146\n”
~”Line 146 of \”platforms/WifiF4/cc3100.c\” starts at address 0x80023cc <sl_IfWrite+4> and ends at 0x80023d0 <sl_IfWrite+8>.\n”
^done
-var-create – * $pc
^done,name=”var11″,numchild=”0″,value=”0x80023fe <sl_IfWrite+54>”,type=”void (*)()”,has_more=”0″
-var-assign var11 0x80023cc
^done,value=”0x80023cc <sl_IfWrite+4>”
-var-delete var11
^done,ndeleted=”1″
-stack-list-frames –thread 1
^done,stack=[frame={level=”0″,addr=”0x080023cc”,func=”sl_IfWrite”,file=”platforms/WifiF4/cc3100.c”,fullname=”C:\\DataRoot\\Projects\\bmp_windows_build\\bmp_windows_build\\bmp_windows_build\\platforms\\WifiF4\\cc3100.c”,line=”146″},frame={level=”1″,addr=”0x080034d6″,func=”_SlDrvRxHdrRead”,file=”simplelink/source/driver.c”,fullname=”C:\\DataRoot\\Projects\\bmp_windows_build\\bmp_windows_build\\bmp_windows_build\\simplelink\\source\\driver.c”,line=”1583″},frame={level=”2″,addr=”0x080034d6″,func=”_SlDrvMsgRead”,file=”simplelink/source/driver.c”,fullname=”C:\\DataRoot\\Projects\\bmp_windows_build\\bmp_windows_build\\bmp_windows_build\\simplelink\\source\\driver.c”,line=”964″},frame={level=”3″,addr=”0x08003a6c”,func=”_SlDrvMsgReadSpawnCtx”,file=”simplelink/source/driver.c”,fullname=”C:\\DataRoot\\Projects\\bmp_windows_build\\bmp_windows_build\\bmp_windows_build\\simplelink\\source\\driver.c”,line=”1424″},frame={level=”4″,addr=”0x0800409e”,func=”_SlNonOsMainLoopTask”,file=”simplelink/source/nonos.c”,fullname=”C:\\DataRoot\\Projects\\bmp_windows_build\\bmp_windows_build\\bmp_windows_build\\simplelink\\source\\nonos.c”,line=”189″},frame={level=”5″,addr=”0x0800413e”,func=”_SlNonOsSemGet”,file=”simplelink/source/nonos.c”,fullname=”C:\\DataRoot\\Projects\\bmp_windows_build\\bmp_windows_build\\bmp_windows_build\\simplelink\\source\\nonos.c”,line=”111″},frame={level=”6″,addr=”0x08003c54″,func=”_SlDrvSyncObjWaitTimeout”,file=”simplelink/source/driver.c”,fullname=”C:\\DataRoot\\Projects\\bmp_windows_build\\bmp_windows_build\\bmp_windows_build\\simplelink\\source\\driver.c”,line=”2075″},frame={level=”7″,addr=”0x080029c4″,func=”sl_Start”,file=”simplelink/source/device.c”,fullname=”C:\\DataRoot\\Projects\\bmp_windows_build\\bmp_windows_build\\bmp_windows_build\\simplelink\\source\\device.c”,line=”146″},frame={level=”8″,addr=”0x080024ea”,func=”_CC3100_Setup”,file=”platforms/WifiF4/cc3100.c”,fullname=”C:\\DataRoot\\Projects\\bmp_windows_build\\bmp_windows_build\\bmp_windows_build\\platforms\\WifiF4\\cc3100.c”,line=”296″},frame={level=”9″,addr=”0x080026c8″,func=”cc3100_init”,file=”platforms/WifiF4/cc3100.c”,fullname=”C:\\DataRoot\\Projects\\bmp_windows_build\\bmp_windows_build\\bmp_windows_build\\platforms\\WifiF4\\cc3100.c”,line=”488″},frame={level=”10″,addr=”0x080028a0″,func=”platform_init”,file=”platforms/WifiF4/platform.c”,fullname=”C:\\DataRoot\\Projects\\bmp_windows_build\\bmp_windows_build\\bmp_windows_build\\platforms\\WifiF4\\platform.c”,line=”113″},frame={level=”11″,addr=”0x08001538″,func=”main”,file=”main.c”,fullname=”C:\\DataRoot\\Projects\\bmp_windows_build\\bmp_windows_build\\bmp_windows_build\\main.c”,line=”54″}]
-stack-list-arguments –thread 1 0
^done,stack-args=[frame={level=”0″,args=[name=”fd”,name=”pBuffx”,name=”len”]},frame={level=”1″,args=[name=”pAlignSize”,name=”pBuf”]},frame={level=”2″,args=[]},frame={level=”3″,args=[name=”pValue”]},frame={level=”4″,args=[]},frame={level=”5″,args=[name=”pSyncObj”,name=”WaitValue”,name=”SetValue”,name=”Timeout”]},frame={level=”6″,args=[name=”pSyncObj”,name=”timeoutVal”,name=”apiIdx”]},frame={level=”7″,args=[name=”pIfHdl”,name=”pDevName”,name=”pInitCallBack”]},frame={level=”8″,args=[]},frame={level=”9″,args=[]},frame={level=”10″,args=[]},frame={level=”11″,args=[name=”argc”,name=”argv”]}]
-stack-list-frames –thread 1
^done,stack=[frame={level=”0″,addr=”0x080023cc”,func=”sl_IfWrite”,file=”platforms/WifiF4/cc3100.c”,fullname=”C:\\DataRoot\\Projects\\bmp_windows_build\\bmp_windows_build\\bmp_windows_build\\platforms\\WifiF4\\cc3100.c”,line=”146″},frame={level=”1″,addr=”0x080034d6″,func=”_SlDrvRxHdrRead”,file=”simplelink/source/driver.c”,fullname=”C:\\DataRoot\\Projects\\bmp_windows_build\\bmp_windows_build\\bmp_windows_build\\simplelink\\source\\driver.c”,line=”1583″},frame={level=”2″,addr=”0x080034d6″,func=”_SlDrvMsgRead”,file=”simplelink/source/driver.c”,fullname=”C:\\DataRoot\\Projects\\bmp_windows_build\\bmp_windows_build\\bmp_windows_build\\simplelink\\source\\driver.c”,line=”964″},frame={level=”3″,addr=”0x08003a6c”,func=”_SlDrvMsgReadSpawnCtx”,file=”simplelink/source/driver.c”,fullname=”C:\\DataRoot\\Projects\\bmp_windows_build\\bmp_windows_build\\bmp_windows_build\\simplelink\\source\\driver.c”,line=”1424″},frame={level=”4″,addr=”0x0800409e”,func=”_SlNonOsMainLoopTask”,file=”simplelink/source/nonos.c”,fullname=”C:\\DataRoot\\Projects\\bmp_windows_build\\bmp_windows_build\\bmp_windows_build\\simplelink\\source\\nonos.c”,line=”189″},frame={level=”5″,addr=”0x0800413e”,func=”_SlNonOsSemGet”,file=”simplelink/source/nonos.c”,fullname=”C:\\DataRoot\\Projects\\bmp_windows_build\\bmp_windows_build\\bmp_windows_build\\simplelink\\source\\nonos.c”,line=”111″},frame={level=”6″,addr=”0x08003c54″,func=”_SlDrvSyncObjWaitTimeout”,file=”simplelink/source/driver.c”,fullname=”C:\\DataRoot\\Projects\\bmp_windows_build\\bmp_windows_build\\bmp_windows_build\\simplelink\\source\\driver.c”,line=”2075″},frame={level=”7″,addr=”0x080029c4″,func=”sl_Start”,file=”simplelink/source/device.c”,fullname=”C:\\DataRoot\\Projects\\bmp_windows_build\\bmp_windows_build\\bmp_windows_build\\simplelink\\source\\device.c”,line=”146″},frame={level=”8″,addr=”0x080024ea”,func=”_CC3100_Setup”,file=”platforms/WifiF4/cc3100.c”,fullname=”C:\\DataRoot\\Projects\\bmp_windows_build\\bmp_windows_build\\bmp_windows_build\\platforms\\WifiF4\\cc3100.c”,line=”296″},frame={level=”9″,addr=”0x080026c8″,func=”cc3100_init”,file=”platforms/WifiF4/cc3100.c”,fullname=”C:\\DataRoot\\Projects\\bmp_windows_build\\bmp_windows_build\\bmp_windows_build\\platforms\\WifiF4\\cc3100.c”,line=”488″},frame={level=”10″,addr=”0x080028a0″,func=”platform_init”,file=”platforms/WifiF4/platform.c”,fullname=”C:\\DataRoot\\Projects\\bmp_windows_build\\bmp_windows_build\\bmp_windows_build\\platforms\\WifiF4\\platform.c”,line=”113″},frame={level=”11″,addr=”0x08001538″,func=”main”,file=”main.c”,fullname=”C:\\DataRoot\\Projects\\bmp_windows_build\\bmp_windows_build\\bmp_windows_build\\main.c”,line=”54″}]
-stack-list-arguments –thread 1 0
^done,stack-args=[frame={level=”0″,args=[name=”fd”,name=”pBuffx”,name=”len”]},frame={level=”1″,args=[name=”pAlignSize”,name=”pBuf”]},frame={level=”2″,args=[]},frame={level=”3″,args=[name=”pValue”]},frame={level=”4″,args=[]},frame={level=”5″,args=[name=”pSyncObj”,name=”WaitValue”,name=”SetValue”,name=”Timeout”]},frame={level=”6″,args=[name=”pSyncObj”,name=”timeoutVal”,name=”apiIdx”]},frame={level=”7″,args=[name=”pIfHdl”,name=”pDevName”,name=”pInitCallBack”]},frame={level=”8″,args=[]},frame={level=”9″,args=[]},frame={level=”10″,args=[]},frame={level=”11″,args=[name=”argc”,name=”argv”]}]
-stack-list-frames –thread 1
^done,stack=[frame={level=”0″,addr=”0x080023cc”,func=”sl_IfWrite”,file=”platforms/WifiF4/cc3100.c”,fullname=”C:\\DataRoot\\Projects\\bmp_windows_build\\bmp_windows_build\\bmp_windows_build\\platforms\\WifiF4\\cc3100.c”,line=”146″},frame={level=”1″,addr=”0x080034d6″,func=”_SlDrvRxHdrRead”,file=”simplelink/source/driver.c”,fullname=”C:\\DataRoot\\Projects\\bmp_windows_build\\bmp_windows_build\\bmp_windows_build\\simplelink\\source\\driver.c”,line=”1583″},frame={level=”2″,addr=”0x080034d6″,func=”_SlDrvMsgRead”,file=”simplelink/source/driver.c”,fullname=”C:\\DataRoot\\Projects\\bmp_windows_build\\bmp_windows_build\\bmp_windows_build\\simplelink\\source\\driver.c”,line=”964″},frame={level=”3″,addr=”0x08003a6c”,func=”_SlDrvMsgReadSpawnCtx”,file=”simplelink/source/driver.c”,fullname=”C:\\DataRoot\\Projects\\bmp_windows_build\\bmp_windows_build\\bmp_windows_build\\simplelink\\source\\driver.c”,line=”1424″},frame={level=”4″,addr=”0x0800409e”,func=”_SlNonOsMainLoopTask”,file=”simplelink/source/nonos.c”,fullname=”C:\\DataRoot\\Projects\\bmp_windows_build\\bmp_windows_build\\bmp_windows_build\\simplelink\\source\\nonos.c”,line=”189″},frame={level=”5″,addr=”0x0800413e”,func=”_SlNonOsSemGet”,file=”simplelink/source/nonos.c”,fullname=”C:\\DataRoot\\Projects\\bmp_windows_build\\bmp_windows_build\\bmp_windows_build\\simplelink\\source\\nonos.c”,line=”111″},frame={level=”6″,addr=”0x08003c54″,func=”_SlDrvSyncObjWaitTimeout”,file=”simplelink/source/driver.c”,fullname=”C:\\DataRoot\\Projects\\bmp_windows_build\\bmp_windows_build\\bmp_windows_build\\simplelink\\source\\driver.c”,line=”2075″},frame={level=”7″,addr=”0x080029c4″,func=”sl_Start”,file=”simplelink/source/device.c”,fullname=”C:\\DataRoot\\Projects\\bmp_windows_build\\bmp_windows_build\\bmp_windows_build\\simplelink\\source\\device.c”,line=”146″},frame={level=”8″,addr=”0x080024ea”,func=”_CC3100_Setup”,file=”platforms/WifiF4/cc3100.c”,fullname=”C:\\DataRoot\\Projects\\bmp_windows_build\\bmp_windows_build\\bmp_windows_build\\platforms\\WifiF4\\cc3100.c”,line=”296″},frame={level=”9″,addr=”0x080026c8″,func=”cc3100_init”,file=”platforms/WifiF4/cc3100.c”,fullname=”C:\\DataRoot\\Projects\\bmp_windows_build\\bmp_windows_build\\bmp_windows_build\\platforms\\WifiF4\\cc3100.c”,line=”488″},frame={level=”10″,addr=”0x080028a0″,func=”platform_init”,file=”platforms/WifiF4/platform.c”,fullname=”C:\\DataRoot\\Projects\\bmp_windows_build\\bmp_windows_build\\bmp_windows_build\\platforms\\WifiF4\\platform.c”,line=”113″},frame={level=”11″,addr=”0x08001538″,func=”main”,file=”main.c”,fullname=”C:\\DataRoot\\Projects\\bmp_windows_build\\bmp_windows_build\\bmp_windows_build\\main.c”,line=”54″}]
-stack-list-arguments –thread 1 0
^done,stack-args=[frame={level=”0″,args=[name=”fd”,name=”pBuffx”,name=”len”]},frame={level=”1″,args=[name=”pAlignSize”,name=”pBuf”]},frame={level=”2″,args=[]},frame={level=”3″,args=[name=”pValue”]},frame={level=”4″,args=[]},frame={level=”5″,args=[name=”pSyncObj”,name=”WaitValue”,name=”SetValue”,name=”Timeout”]},frame={level=”6″,args=[name=”pSyncObj”,name=”timeoutVal”,name=”apiIdx”]},frame={level=”7″,args=[name=”pIfHdl”,name=”pDevName”,name=”pInitCallBack”]},frame={level=”8″,args=[]},frame={level=”9″,args=[]},frame={level=”10″,args=[]},frame={level=”11″,args=[name=”argc”,name=”argv”]}]
-var-create –frame 0 –thread 1 – * “while”
^error,msg=”-var-create: unable to create variable object”If I then use the “Continue command” the MCU stays on line #146:
-var-create –frame 0 –thread 1 – * “select”
^error,msg=”-var-create: unable to create variable object”
-var-create –frame 0 –thread 1 – * “sl_Select”
^error,msg=”-var-create: unable to create variable object”
-exec-continue
^running
*running,thread-id=”all”
=breakpoint-modified,bkpt={number=”2″,type=”breakpoint”,disp=”keep”,enabled=”y”,addr=”0x080023cc”,func=”sl_IfWrite”,file=”platforms/WifiF4/cc3100.c”,fullname=”C:\\DataRoot\\Projects\\bmp_windows_build\\bmp_windows_build\\bmp_windows_build\\platforms\\WifiF4\\cc3100.c”,line=”146″,thread-groups=[“i1″],times=”2″,original-location=”C:/DataRoot/Projects/bmp_windows_build/bmp_windows_build/bmp_windows_build/platforms/WifiF4/cc3100.c:146″}
~”\n”
~”Breakpoint 2, sl_IfWrite (fd=0x0, pBuffx=0x7856 \”W\322\260\365\\001OT\320H\362\\020\\023\\230BP\320\”, pBuffx@entry=0x80169a8 <g_H2NCnysPattern+4> \”e\207xV\\377\356\335\273!C4\\022/\234\\030\\004\\064\234\\f\\004\\062\204\\b\\004m\214\\004\\004\265\214\\b\\004\264\214\\004\\004\\060x%lx: 0x%lx <- does not match preamble (0x%X)\\n\”, len=1024, len@entry=4) at platforms/WifiF4/cc3100.c:146\n”
~”146\t\t_CC3100_ChipSelect();\t\t// Assert the chip select\n”
*stopped,reason=”breakpoint-hit”,disp=”keep”,bkptno=”2″,frame={addr=”0x080023cc”,func=”sl_IfWrite”,args=[{name=”fd”,value=”0x0″},{name=”pBuffx”,value=”0x7856 \”W\322\260\365\\001OT\320H\362\\020\\023\\230BP\320\””},{name=”pBuffx@entry”,value=”0x80169a8 <g_H2NCnysPattern+4> \”e\207xV\\377\356\335\273!C4\\022/\234\\030\\004\\064\234\\f\\004\\062\204\\b\\004m\214\\004\\004\265\214\\b\\004\264\214\\004\\004\\060x%lx: 0x%lx <- does not match preamble (0x%X)\\n\””},{name=”len”,value=”1024″},{name=”len@entry”,value=”4″}],file=”platforms/WifiF4/cc3100.c”,fullname=”C:\\DataRoot\\Projects\\bmp_windows_build\\bmp_windows_build\\bmp_windows_build\\platforms\\WifiF4\\cc3100.c”,line=”146″},thread-id=”1″,stopped-threads=”all”
-break-after 2 0
^done
-stack-list-frames –thread 1
^done,stack=[frame={level=”0″,addr=”0x080023cc”,func=”sl_IfWrite”,file=”platforms/WifiF4/cc3100.c”,fullname=”C:\\DataRoot\\Projects\\bmp_windows_build\\bmp_windows_build\\bmp_windows_build\\platforms\\WifiF4\\cc3100.c”,line=”146″},frame={level=”1″,addr=”0x080034d6″,func=”_SlDrvRxHdrRead”,file=”simplelink/source/driver.c”,fullname=”C:\\DataRoot\\Projects\\bmp_windows_build\\bmp_windows_build\\bmp_windows_build\\simplelink\\source\\driver.c”,line=”1583″},frame={level=”2″,addr=”0x080034d6″,func=”_SlDrvMsgRead”,file=”simplelink/source/driver.c”,fullname=”C:\\DataRoot\\Projects\\bmp_windows_build\\bmp_windows_build\\bmp_windows_build\\simplelink\\source\\driver.c”,line=”964″},frame={level=”3″,addr=”0x08003a6c”,func=”_SlDrvMsgReadSpawnCtx”,file=”simplelink/source/driver.c”,fullname=”C:\\DataRoot\\Projects\\bmp_windows_build\\bmp_windows_build\\bmp_windows_build\\simplelink\\source\\driver.c”,line=”1424″},frame={level=”4″,addr=”0x0800409e”,func=”_SlNonOsMainLoopTask”,file=”simplelink/source/nonos.c”,fullname=”C:\\DataRoot\\Projects\\bmp_windows_build\\bmp_windows_build\\bmp_windows_build\\simplelink\\source\\nonos.c”,line=”189″},frame={level=”5″,addr=”0x0800413e”,func=”_SlNonOsSemGet”,file=”simplelink/source/nonos.c”,fullname=”C:\\DataRoot\\Projects\\bmp_windows_build\\bmp_windows_build\\bmp_windows_build\\simplelink\\source\\nonos.c”,line=”111″},frame={level=”6″,addr=”0x08003c54″,func=”_SlDrvSyncObjWaitTimeout”,file=”simplelink/source/driver.c”,fullname=”C:\\DataRoot\\Projects\\bmp_windows_build\\bmp_windows_build\\bmp_windows_build\\simplelink\\source\\driver.c”,line=”2075″},frame={level=”7″,addr=”0x080029c4″,func=”sl_Start”,file=”simplelink/source/device.c”,fullname=”C:\\DataRoot\\Projects\\bmp_windows_build\\bmp_windows_build\\bmp_windows_build\\simplelink\\source\\device.c”,line=”146″},frame={level=”8″,addr=”0x080024ea”,func=”_CC3100_Setup”,file=”platforms/WifiF4/cc3100.c”,fullname=”C:\\DataRoot\\Projects\\bmp_windows_build\\bmp_windows_build\\bmp_windows_build\\platforms\\WifiF4\\cc3100.c”,line=”296″},frame={level=”9″,addr=”0x080026c8″,func=”cc3100_init”,file=”platforms/WifiF4/cc3100.c”,fullname=”C:\\DataRoot\\Projects\\bmp_windows_build\\bmp_windows_build\\bmp_windows_build\\platforms\\WifiF4\\cc3100.c”,line=”488″},frame={level=”10″,addr=”0x080028a0″,func=”platform_init”,file=”platforms/WifiF4/platform.c”,fullname=”C:\\DataRoot\\Projects\\bmp_windows_build\\bmp_windows_build\\bmp_windows_build\\platforms\\WifiF4\\platform.c”,line=”113″},frame={level=”11″,addr=”0x08001538″,func=”main”,file=”main.c”,fullname=”C:\\DataRoot\\Projects\\bmp_windows_build\\bmp_windows_build\\bmp_windows_build\\main.c”,line=”54″}]
-stack-list-arguments –thread 1 0
^done,stack-args=[frame={level=”0″,args=[name=”fd”,name=”pBuffx”,name=”len”]},frame={level=”1″,args=[name=”pAlignSize”,name=”pBuf”]},frame={level=”2″,args=[]},frame={level=”3″,args=[name=”pValue”]},frame={level=”4″,args=[]},frame={level=”5″,args=[name=”pSyncObj”,name=”WaitValue”,name=”SetValue”,name=”Timeout”]},frame={level=”6″,args=[name=”pSyncObj”,name=”timeoutVal”,name=”apiIdx”]},frame={level=”7″,args=[name=”pIfHdl”,name=”pDevName”,name=”pInitCallBack”]},frame={level=”8″,args=[]},frame={level=”9″,args=[]},frame={level=”10″,args=[]},frame={level=”11″,args=[name=”argc”,name=”argv”]}]
-stack-list-frames –thread 1
^done,stack=[frame={level=”0″,addr=”0x080023cc”,func=”sl_IfWrite”,file=”platforms/WifiF4/cc3100.c”,fullname=”C:\\DataRoot\\Projects\\bmp_windows_build\\bmp_windows_build\\bmp_windows_build\\platforms\\WifiF4\\cc3100.c”,line=”146″},frame={level=”1″,addr=”0x080034d6″,func=”_SlDrvRxHdrRead”,file=”simplelink/source/driver.c”,fullname=”C:\\DataRoot\\Projects\\bmp_windows_build\\bmp_windows_build\\bmp_windows_build\\simplelink\\source\\driver.c”,line=”1583″},frame={level=”2″,addr=”0x080034d6″,func=”_SlDrvMsgRead”,file=”simplelink/source/driver.c”,fullname=”C:\\DataRoot\\Projects\\bmp_windows_build\\bmp_windows_build\\bmp_windows_build\\simplelink\\source\\driver.c”,line=”964″},frame={level=”3″,addr=”0x08003a6c”,func=”_SlDrvMsgReadSpawnCtx”,file=”simplelink/source/driver.c”,fullname=”C:\\DataRoot\\Projects\\bmp_windows_build\\bmp_windows_build\\bmp_windows_build\\simplelink\\source\\driver.c”,line=”1424″},frame={level=”4″,addr=”0x0800409e”,func=”_SlNonOsMainLoopTask”,file=”simplelink/source/nonos.c”,fullname=”C:\\DataRoot\\Projects\\bmp_windows_build\\bmp_windows_build\\bmp_windows_build\\simplelink\\source\\nonos.c”,line=”189″},frame={level=”5″,addr=”0x0800413e”,func=”_SlNonOsSemGet”,file=”simplelink/source/nonos.c”,fullname=”C:\\DataRoot\\Projects\\bmp_windows_build\\bmp_windows_build\\bmp_windows_build\\simplelink\\source\\nonos.c”,line=”111″},frame={level=”6″,addr=”0x08003c54″,func=”_SlDrvSyncObjWaitTimeout”,file=”simplelink/source/driver.c”,fullname=”C:\\DataRoot\\Projects\\bmp_windows_build\\bmp_windows_build\\bmp_windows_build\\simplelink\\source\\driver.c”,line=”2075″},frame={level=”7″,addr=”0x080029c4″,func=”sl_Start”,file=”simplelink/source/device.c”,fullname=”C:\\DataRoot\\Projects\\bmp_windows_build\\bmp_windows_build\\bmp_windows_build\\simplelink\\source\\device.c”,line=”146″},frame={level=”8″,addr=”0x080024ea”,func=”_CC3100_Setup”,file=”platforms/WifiF4/cc3100.c”,fullname=”C:\\DataRoot\\Projects\\bmp_windows_build\\bmp_windows_build\\bmp_windows_build\\platforms\\WifiF4\\cc3100.c”,line=”296″},frame={level=”9″,addr=”0x080026c8″,func=”cc3100_init”,file=”platforms/WifiF4/cc3100.c”,fullname=”C:\\DataRoot\\Projects\\bmp_windows_build\\bmp_windows_build\\bmp_windows_build\\platforms\\WifiF4\\cc3100.c”,line=”488″},frame={level=”10″,addr=”0x080028a0″,func=”platform_init”,file=”platforms/WifiF4/platform.c”,fullname=”C:\\DataRoot\\Projects\\bmp_windows_build\\bmp_windows_build\\bmp_windows_build\\platforms\\WifiF4\\platform.c”,line=”113″},frame={level=”11″,addr=”0x08001538″,func=”main”,file=”main.c”,fullname=”C:\\DataRoot\\Projects\\bmp_windows_build\\bmp_windows_build\\bmp_windows_build\\main.c”,line=”54″}]
-stack-list-arguments –thread 1 0
^done,stack-args=[frame={level=”0″,args=[name=”fd”,name=”pBuffx”,name=”len”]},frame={level=”1″,args=[name=”pAlignSize”,name=”pBuf”]},frame={level=”2″,args=[]},frame={level=”3″,args=[name=”pValue”]},frame={level=”4″,args=[]},frame={level=”5″,args=[name=”pSyncObj”,name=”WaitValue”,name=”SetValue”,name=”Timeout”]},frame={level=”6″,args=[name=”pSyncObj”,name=”timeoutVal”,name=”apiIdx”]},frame={level=”7″,args=[name=”pIfHdl”,name=”pDevName”,name=”pInitCallBack”]},frame={level=”8″,args=[]},frame={level=”9″,args=[]},frame={level=”10″,args=[]},frame={level=”11″,args=[name=”argc”,name=”argv”]}]NOTE: There is a breakpoint on line #146, if I remove the breakpoint, set the next line to #146, and continue it works correctly,
Sid
sidpriceParticipantWhat ItemType entries should I use for the linker script files, this is what I have so far:
<FolderContents>
<Name>LinkerScripts</Name>
<Subfolders />
<Files>
<FileReference>
<FileName>f4.ld</FileName>
<IsExternal>false</IsExternal>
<IsExcludedFromBuild>true</IsExcludedFromBuild>
<ItemType>ClCompile</ItemType>
</FileReference>
</Files>
</FolderContents>Sid
sidpriceParticipantThank you, I will look at the “zip” file.
I am happy to help track this down if you think it is a bug in VisualGDB. Here is some more information about the project that is being used as a template source.
It has simple linker script for the main application. This script is entered in the VisualGDB options for LFLAGS. Since each of the projects in this test suite uses the same static library the main linker script has an “include” for the library linker script. Both scripts are placed in the project folder.
Sid.
sidpriceParticipantIt would seem to be useful to be able to add files manually to the template when it is created, or even to be able to edit the template to add required files.
Sid
sidpriceParticipantThe main linker script is already in the VisualGDB properties for the project. That main script includes the library script. Adding the main linker script to the project gives warnings, I tried pasting the warnings here but the formatting gets messed up and it is not readable
And, as I said if I exclude them from the build VS removes them from the project files.
Sid
sidpriceParticipantI already tried that, unfortunately they need to be excluded from the build and then VS removes them from the solution explorer.
Sid
sidpriceParticipantYes, I can understand that, it is unfortunate and has already led me to spend alot of time looking for problems when the issue was a simple option being incorrect in one of the configurations.
Sid
sidpriceParticipantThanks, unfortunately figuring out the “environment” for it is a bit problematic so I may need to use another approach.
Sid
- This reply was modified 7 years, 11 months ago by sidprice.
sidpriceParticipantThanks I will do that,
Sid
-
AuthorPosts