Hi,
Can any one help me on this issue?
Issue: as subjected.
Target : MCIMX6S5
JTAG: JLINK
GDB Server
IDE: Atollic True studio Free version
Here is the code which am currently working on :
int main(void){
FILE *fp;
SystemClkInit();
fp =fopen ("C:\\temp\\File.txt", "w+");
if (fp!=NULL){
fputs("SampleText file created",fp);
fclose(fp);}
While(1);
}
I discussed with out India support team, They said we have to use Semihosting. I tried understanding,
Tried these methods:
In the GDB script(Script present in Atollic True Studio RUN--> Debug Configurations...inside the tab "EmbeddedC/C++ Application" - Under "Startup Scripts") I used the following commands but NO use:
monitor semihosting enable
monitor semihosting IOclient 3
With this also am unable to get the file out.
When I debug file pointer fp is coming as NULL.
Please Help me to resolve this issue ?( . Thanks in advance.
Can any one help me on this issue?
Issue: as subjected.
Target : MCIMX6S5
JTAG: JLINK
GDB Server
IDE: Atollic True studio Free version
Here is the code which am currently working on :
int main(void){
FILE *fp;
SystemClkInit();
fp =fopen ("C:\\temp\\File.txt", "w+");
if (fp!=NULL){
fputs("SampleText file created",fp);
fclose(fp);}
While(1);
}
I discussed with out India support team, They said we have to use Semihosting. I tried understanding,
Tried these methods:
In the GDB script(Script present in Atollic True Studio RUN--> Debug Configurations...inside the tab "EmbeddedC/C++ Application" - Under "Startup Scripts") I used the following commands but NO use:
monitor semihosting enable
monitor semihosting IOclient 3
With this also am unable to get the file out.
When I debug file pointer fp is coming as NULL.
Please Help me to resolve this issue ?( . Thanks in advance.