Author |
Message |
Forum: AndeSight STD Topic: How to change C standard/default standard |
Hubert Chung |
Posted: Fri Jan 05, 2018 4:35 pm
|
|
Replies: 0 Views: 16490
|
The default standards of gcc is gnu89 and g++ is gnu++98 . To check the default values in the command line, please use the following corresponding commands. gcc: nds32le-elf-gcc -E -dM - < /dev/null | grep __STDC_VERSION__ The absent of output represents gnu89. If the output is “#define __STDC_VERSI... |
|
|
Forum: AndeSight STD Topic: How to initialize registers before loading code |
Hubert Chung |
Posted: Thu Nov 30, 2017 4:15 pm
|
|
Replies: 0 Views: 16634
|
In some cases, you may need to initialize some registers, SRAM controllers for example, before loading code to SRAM. Please refer to the attachment for detail. You should create a new project with correct chip profile first. Why chip profile is needed? AndeSight should know what the CPU is and what ... |
|
|
Forum: AndeSight STD Topic: How to access CPU without any code and adx |
Hubert Chung |
Posted: Thu Nov 30, 2017 4:05 pm
|
|
Replies: 1 Views: 19308
|
In some case, engineers may need to check the CPU initial state without any code. You can follow the attachment. This project is done based on the AndeSight 3.0.0. |
|
|
Forum: AndeSight STD Topic: make -j or make -j8 |
Hubert Chung |
Posted: Thu Nov 30, 2017 3:01 pm
|
|
Replies: 1 Views: 20015
|
|
|
Forum: BSP (Board Support Package) Topic: _SDA_BASE_相關問題 |
Hubert Chung |
Posted: Fri Nov 17, 2017 12:55 pm
|
|
Replies: 1 Views: 18115
|
The value of _SDA_BASE_ can be change in the sag file via "var" like following VAR _ILM_BASE = 0x00600000 ; ILM base address VAR _DLM_BASE = 0x00700000 ; DLM base address VAR _ILM_SIZE = 0x00010000 ; 64Kb VAR _DLM_SIZE = 0x00010000 ; 64Kb VAR _SDA_BASE_ = 0x4000 This only change the value ... |
|
|
Forum: BSP (Board Support Package) Topic: Use stack-size.pl to estimate stack size of an adx file |
Hubert Chung |
Posted: Wed Sep 20, 2017 7:57 pm
|
|
Replies: 0 Views: 11117
|
Andes provides an alternative tool "stack-size.pl" to roughly estimate the stack size of an adx file. Put the file at the adx folder. Then, issue the following command with a toolchain cygwin. A log file is generated. $ ./stack-size.pl --summary xxxx.adx > stack-size.log ------------------... |
|
|
Forum: AndeSight STD Topic: How to set Pre-build & Post-build steps in AndeSight |
Hubert Chung |
Posted: Fri Aug 18, 2017 8:22 pm
|
|
Replies: 1 Views: 12368
|
Add advanced usage. The previous usage is available when there are limit scripts to run. While you got decades of script to run, it's hard to use this scenario to debug and run. You can follow the attachment to use a script file. The key point is how to add parameter/variable into the script file. P... |
|
|
Forum: AndeSight STD Topic: AndeSight toolbar icon too small in high resolution screen |
Hubert Chung |
Posted: Fri Aug 18, 2017 7:00 pm
|
|
Replies: 0 Views: 8347
|
In high resolution screen, the toolbar in AndeSight is too small as like the picture. smalltoolbar.png We provide a solution to fix this issue. fixicon.png Please follow the steps. 1."windows+r" > regedit In HKEY_LOCAL_MACHINE > SOFTWARE > Microsoft > Windows > CurrentVersion > SideBySide ... |
|
|
Sort by: |