Author |
Message |
Forum: Realtime OS Topic: Virtual hosting on FreeRTOS |
Hubert Chung |
Posted: Fri Aug 31, 2018 2:22 pm
|
|
Replies: 0 Views: 40165
|
In the makefile, I modified some of them so that you could just change the value of VH to support virtual hosting. The key ideas are 1) Add -mvh to LDFLAGS 2) Comment/Remove the code for do_printf.c annd printf.c --------------------------- In the makefile, at around line 8, add # VH --> virtual hos... |
|
 |
Forum: AndeSight STD Topic: How to do function code size and static stack analysis? |
Hubert Chung |
Posted: Tue Apr 17, 2018 4:53 pm
|
|
Replies: 0 Views: 22025
|
1. Clean the project 2. Window > Preferences > C/C++ > Build > Static Analysis > check "Enable function code size calculation" and "Enable static stack analysis" > Apply > OK 3. Build the project 4. Results are in the "function code size" view You can download either on... |
|
 |
Forum: BSP (Board Support Package) Topic: Linking a binary object with gcc, objcopy related |
Hubert Chung |
Posted: Fri Mar 23, 2018 1:18 pm
|
|
Replies: 0 Views: 28634
|
1. Open a toolchain console. 2. Use dd if=/dev/urandom of=blob.bin bs=1 count=16 to generate a blob.bin file. You can use hexdump -C blob.bin to check the content. 3. Use nds32 le-mcu lib-objcopy to transform it to an object file. nds32 le-mcu lib-objcopy -I binary -O elf32-nds32 le -B n1h blob.bin ... |
|
 |
Forum: AndeSight STD Topic: Compile time too long |
Hubert Chung |
Posted: Thu Mar 15, 2018 6:55 pm
|
|
Replies: 1 Views: 15704
|
The attachment is a script that helps you to identify if your native PC exists the problem of long time to handle a file. Some of the PC, usually laptop, have the scenario that opening a file would take >2 seconds lag. If your laptop have the problem, it is suggested to reinstall the windows instead... |
|
 |
Forum: AndeSight STD Topic: How to access CPU without any code and adx |
Hubert Chung |
Posted: Wed Feb 07, 2018 11:03 am
|
|
Replies: 1 Views: 16631
|
Renew the file. Add more descriptions for access without reset and hold and using target monitor icon. |
|
 |
Forum: AndeSight STD Topic: Compile time too long |
Hubert Chung |
Posted: Tue Feb 06, 2018 3:36 pm
|
|
Replies: 1 Views: 15704
|
For the build time issues, please check the following items 1. In the task manager, make sure the PC is not busy all the time. 2. In the task manager->performance->Resource monitor, make sure the CPU, Disk I/O is not busy. 3. In the task manager, when cleaning/compiling, make sure there are no other... |
|
 |
Forum: AndeShape Topic: Arduino Plug-in |
Hubert Chung |
Posted: Mon Feb 05, 2018 5:59 pm
|
|
Replies: 1 Views: 26512
|
The attached arduino.tgz is based on AndeSight 3.0.0 and later versions. |
|
 |
Forum: Programming Topic: Q format |
Hubert Chung |
Posted: Thu Feb 01, 2018 5:38 pm
|
|
Replies: 1 Views: 14684
|
q值是介於-1和1之間,小於1,[-1, 1),當使用時,雖說q15當於int16,一般不建議直接給值,因為它相對的值可能會很小,當使用者把這些值放入dsp的運算function中時,常常得到結果為0。所以應以轉換的方式給值,如 q15value = convert_float_to_q15(0.123); 由上式可知q15value的值是0.123 在demo-dsp.tgz中有轉換公式 static inline q15_t convert_float_to_q15(float x) { q31_t q31; q15_t q15; x *= 32768.0f; x += (x < 0.0f... |
|
 |
Forum: AndeShape Topic: Andino-f1 |
Hubert Chung |
Posted: Thu Feb 01, 2018 12:27 pm
|
|
Replies: 0 Views: 10219
|
Andino-f1 is an Andes Andrino demo board. It is different from Andino M1 board. Andino M1 is with an Andes' customer's CPU chip on the board. Andino-f1 is with FPGA on the board. The FPGA is supposed to burn one of AE210P/AE100 platforms with one of Andes CPU cores from N6, N7, ..., D10 without MMU ... |
|
 |
Forum: AndeSight MCU/RDS Topic: A tip to use Andes DSP Library |
Hubert Chung |
Posted: Tue Jan 30, 2018 6:14 pm
|
|
Replies: 1 Views: 18709
|
Newlib or MCUlib toolchains, “ -ldsp ” is needed to link libdsp.a when building applications without DSP ISA Extension. If your applications need the DSP ISA Extension support , please use linking options “ -ldsp -mext-dsp -mext-zol ” instead to obtain better performance. For certain Andes DSP libra... |
|
 |
Sort by: |