Andes Workshop

It is currently Fri Mar 29, 2024 6:28 am

All times are UTC + 8 hours [ DST ]


Search found 487 matches
Search these results:

Author Message

 Forum: BSP (Board Support Package)   Topic: Andes Predefined Macros

 Post subject: Andes Predefined Macros
Posted: Wed Apr 02, 2014 7:19 pm 

Replies: 0
Views: 6441


Please refer to programming guide 9.4. 9.4. Andes Predefined Macros To see the default values of Andes macros for a particular toolchain or to check if a feature is enabled as default, issue the following command: echo "" | nds32*-elf-cpp -E -dM | grep NDS32 hylai@ubuntu:~/Andestech/BSPv32...

 Forum: AndeSight MCU/RDS   Topic: Export debug launch configuration

Posted: Wed Apr 02, 2014 1:12 pm 

Replies: 1
Views: 8622


The way to export debug launch configuration
We can export the MCU Program Debug setting.

Attachment:
0.png
0.png [ 75.48 KiB | Viewed 8622 times ]


Attachment:
0-1.png
0-1.png [ 6.25 KiB | Viewed 8622 times ]


Attachment:
1.png
1.png [ 37.92 KiB | Viewed 8622 times ]


Attachment:
2.png
2.png [ 54.6 KiB | Viewed 8622 times ]


The .launch is the debug configuration.
Attachment:
3.png
3.png [ 3.88 KiB | Viewed 8622 times ]





Sample:
Attachment:
hello.zip [23 KiB]
Downloaded 698 times

 Forum: Programming   Topic: Cut section (objcopy option -R)

Posted: Fri Mar 21, 2014 3:36 pm 

Replies: 3
Views: 12146


Another way:
Set .mybss as "@nobits!".
Code:
__attribute__((section(".mybss, \"aw\", @nobits!")))

 Forum: AndeSight MCU/RDS   Topic: cut binary files (split) use dd command

Posted: Wed Mar 12, 2014 5:59 pm 

Replies: 1
Views: 8241


If we would like to cut 2 KB file (but skip the first 32 bytes)
dd if=./demo-int-c-ext.bin of=./test.bin bs=1 skip=32 count=2048
It means cut 32~(32+2048) bytes, total 2048 bytes.

Attachment:
dd.png
dd.png [ 19.97 KiB | Viewed 8233 times ]


Reference: (Chinese page)
http://blog.csdn.net/do2jiang/article/details/5069536

 Forum: AndeSight MCU/RDS   Topic: cut binary files (split) use dd command

Posted: Mon Mar 10, 2014 4:47 pm 

Replies: 1
Views: 8241


Use dd command to skip 0x20 bytes. (32 bytes) In other word, we need to delete the first 32 bytes of a binary file. Input file: demo-int-c-ext.bin Outupt file: test.bin In cygwin: $ dd if= ./demo-int-c-ext.bin of= ./test.bin bs=1 skip=32 8004+0 records in 8004+0 records out 8004 bytes (8.0 kB) copie...

 Forum: Programming   Topic: Cut section (objcopy option -R)

Posted: Thu Mar 06, 2014 11:38 pm 

Replies: 3
Views: 12146


This is a example: 3.png The bin file is from 0x0~0x30004, size is 0x30004 bytes. (196612 bytes) 2.png Sample code: cut-section-original.zip ---------------------------------------------------------------- Remove the last section .section2 from bin file. The new bin file is from 0x0~0x2004, size is ...

 Forum: AndeSight STD   Topic: N903A-S VEP模擬問題

 Post subject: Re: N903A-S VEP模擬問題
Posted: Thu Mar 06, 2014 10:42 pm 

Replies: 2
Views: 11453


我研究看看,有心得再跟您說。

 Forum: Programming   Topic: BSE and BSP instruction

 Post subject: Re: BSE and BSP instruction
Posted: Thu Mar 06, 2014 10:41 pm 

Replies: 3
Views: 12586


了解 感謝分享

 Forum: AndeSight MCU/RDS   Topic: AndeSight installation logs

 Post subject: AndeSight installation logs
Posted: Tue Mar 04, 2014 11:17 am 

Replies: 0
Views: 6725


When we install AndeSight, it generates log.
The path:
D:\Andestech\AndeSight201MCU\Uninstall_ASv201MCU\Logs
(My AndeSight is installed in D drive)

We can read this log to understand what happens if it has a problem.
Attachment:
log_pic2.png
log_pic2.png [ 47.06 KiB | Viewed 6725 times ]


Attachment:
log_pic.png
log_pic.png [ 113.08 KiB | Viewed 6725 times ]

 Forum: Programming   Topic: undefined reference to `__adddf3'

Posted: Thu Feb 27, 2014 11:51 pm 

Replies: 0
Views: 7650


#include <stdio.h> #include <stdlib.h> int main(void) { double a = 123456.0; double b = 65432.0; double c ; int d = 5; c= a+b; c= a-b; c= a*b; c= a/b; printf("%lf",c); return EXIT_SUCCESS; } Some errors occur: C:\Andestech\AndeSight201MCU\mcu_64\workspace\float_test\Debug/../src/float_tes...
Sort by:  
Page 7 of 49 [ Search found 487 matches ]


All times are UTC + 8 hours [ DST ]


Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group