Author |
Message |
Forum: Programming Topic: force array aligned on 1-byte address |
cindy |
Posted: Wed Jan 22, 2014 5:00 pm
|
|
Replies: 0 Views: 8188
|
If a user write a program array-test.c unsigned char array1[2]={0x77,0x88}; unsigned char array2[3]={0x11,0x22,0x33}; assemble it nds32le-elf-gcc -S array-test.c .file 1 "array-test.c" .abi_2 .section .mdebug.abi_nds32 .previous .section .note.nds32, "", @progbits .string "'... |
|
|
Forum: Programming Topic: Andes C Language Extension for ISR |
cindy |
Posted: Tue Jan 21, 2014 6:15 pm
|
|
Replies: 0 Views: 6910
|
How to enable DLM when reset? ----------- Please reference the note of "Andes Programming Guide" 10.1. _nds32_init_mem(): the name of memory initialization function; called by 1st level reset handler. User must implement this callback function if the memory in the target system needs to be... |
|
|
Forum: Programming Topic: error message: R_NDS32_25_PCREL_RELA against symbol `_start |
cindy |
Posted: Tue Jan 21, 2014 2:44 pm
|
|
Replies: 0 Views: 6299
|
The error message: relocation truncated to fit: R_NDS32_25_PCREL_RELA against symbol `_start' defined in .text section in ./platform/crt0.o Root cause: The first line in crt0.S is j _start The instruction j only can jump +/- 16MB The label _start is too far to jump into. Solution: j MY_Start MY_Star... |
|
|
Forum: AndeSight STD Topic: Andesight v200 STD license之log tool(Win7版) |
cindy |
Posted: Mon Jan 20, 2014 5:57 pm
|
|
Replies: 1 Views: 10074
|
This tool also can be used on Linux. The usage:
Code: cindy@apc047:~/Andestech/AndeSight200STD/ide/logtool$ sh dumplog.sh /home/cindy/Andestech/AndeSight200STD/ide/workspace/logtool Finished to dump log.
Attachment:
Screenshot.png [ 560.24 KiB | Viewed 9133 times ]
|
|
|
Forum: AndeSight MCU/RDS Topic: CPU register file in AndeSight |
cindy |
Posted: Thu Jan 16, 2014 12:15 pm
|
|
Replies: 0 Views: 6768
|
In chip profile, there is a item to describe cpu register. CPU register files of AndeSight is in the following path.
Attachment:
cpu_register.gif [ 25.03 KiB | Viewed 6768 times ]
|
|
|
Forum: BSP (Board Support Package) Topic: How to burn boot code to flash |
cindy |
Posted: Tue Jan 14, 2014 7:02 pm
|
|
Replies: 0 Views: 6974
|
Regarding burn new boot code to flash, there is a flash burner in BSP v3.2.0. The program: C:\Andestech\BSPv320\flash\bin\IntelJ3.exe You can get more information in BSP v320 user manual. In N9 board, use “IntelJ3.exe --image=rominit.bin --target=xc5 --verify “. (As the following snapshot) In N7 and... |
|
|
Forum: Programming Topic: Set different optimization level for partial codes |
cindy |
Posted: Sun Jan 12, 2014 1:05 pm
|
|
Replies: 0 Views: 6305
|
Reference: http://gcc.gnu.org/onlinedocs/gcc/Function-Specific-Option-Pragmas.html The following are two examples. There is a warning message when compiling example 2. It said this syntax is not supported. But actually, it works. The result is correct. Example 1: just set optimization level for sing... |
|
|
Forum: Programming Topic: NOBITS in readelf |
cindy |
Posted: Thu Jan 09, 2014 4:15 pm
|
|
Replies: 0 Views: 6309
|
We mentioned that BSS is a standard part of a binary image since it would be silly to require that binary on disk have 10 megabytes of space allocated to it, when all of that space is going to be zero. Note that this section has a type of NOBITS meaning that it does not have any bytes on disk. Refer... |
|
|
Forum: AndeSight MCU/RDS Topic: Disable memory map of a chip profile |
cindy |
Posted: Wed Jan 08, 2014 6:36 pm
|
|
Replies: 0 Views: 6666
|
Please refer to the following snapshot. Click "Clear" button.
Attachment:
disable-memory.gif [ 26.39 KiB | Viewed 6666 times ]
Install this chip profile.
Attachment:
install.gif [ 9.68 KiB | Viewed 6666 times ]
|
|
|
Forum: AndeSight MCU/RDS Topic: Error message when compile C extension program |
cindy |
Posted: Tue Dec 24, 2013 5:40 pm
|
|
Replies: 0 Views: 6603
|
If we get an error message when compiling C extension program, like the following message: ./src/interrupt-c-ext.o:(.rodata+0x4): undefined reference to `_nds32_vector_01' ./src/interrupt-c-ext.o:(.rodata+0x8): undefined reference to `_nds32_vector_02' ./src/interrupt-c-ext.o:(.rodata+0xc): undefine... |
|
|
Sort by: |